]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
make all cached coordinates mean the same (0,0) == upper left screen
[lyx.git] / src / ChangeLog
1 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * tabular.h: remove bogus comments
4
5         * tabular.C (getDescentOfRow): 
6         (isPartOfMultiColumn): add assertions
7
8         * lyxlength.C (inPixels): remove #warning
9
10 2004-08-14  André Pönitz  <poenitz@gmx.net>
11
12         * paragraph.h: inline getChar()
13         
14         * BufferView.h: remove unused declarations
15
16 2004-08-14  José Matos  <jamatos@lyx.org>
17
18         * Buffer.[Ch] (readDocument): new name for old readBody.
19         * Buffer.C: new file format, new keywords: \begin_document,
20         \begin_header, \begin_body, \end_body.
21
22         * bufferparams.C (readToken): replace all calls to lex.nextToken
23         by lex.next(). Do the same to eatLine except where really needed.
24
25         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
26         line when writing to the lyx file.
27
28         * output_plaintext.C (asciiParagraph): fix Bibliography style
29         handling.
30
31         * text.C (read): fix end of file handling.
32
33 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * MenuBackend.C (Menu::operator[]): new method to access
36         individual menu items
37         (Menu::hasFunc): new method. search for an item that corresponds
38         to a given func
39         (MenuBackend::specialMenu): new method
40         (MenuBackend::expand): if a special menu has been set, skip
41         entries whose func() appears in this menu
42
43 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
44
45         * text3.C: use Debug::DEBUG a bit more
46
47         * text.C (leftMargin): try to simplify a tiny bit change var x to
48         l_margin. Dont output the wide margins always.
49         (rightMargin): no margin in inner texts
50
51         * rowpainter.h (nestMargin): new func
52         (changebarMargin): new func
53         (rightMargin): new func
54
55         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
56         now functions.
57         (paintLast): ditto
58
59         * factory.C (createInset): modify setDrawFrame
60
61         * cursor.C: use Debug::DEBUG a bit more
62
63 2004-08-14  André Pönitz  <poenitz@gmx.net>
64
65         * coordcache.[Ch]:
66         * Makefile.am: new files to accomodate an 'external' (x,y)-position
67         cache for all insets in (at least partially) visible (top-level)
68         paragraphs.
69         
70         * BufferView_pimpl.C: reset external coord cache before every update.
71         This means the coord cache only contains valid entries.
72
73 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
74
75         bug 1096
76         * BufferView_pimpl.C (getInsetByCode): move function out of class
77         and change in to a template in anon namespace. Also fix to do what
78         suits us better.
79
80 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
81
82         bug 1305
83         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
84         of char
85         (breakParagraph): rename par to par_offset and use a local
86         reference. Add code to keep the language over a rebreak.
87         (breakParagraphConservative): rename par to par_offset, use a
88         local reference
89         (mergeParagraph): ditto
90         (outerHook): ditto
91         (isFirstInSequence): ditto
92         (outerFont): rename pit to par_offset
93
94         * paragraph.C: ws change
95         * paragraph.h: ditto
96         * text3.C: ditto
97         * text.C: ditto
98
99 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
102         treatment for ']'
103
104         * paragraph.C (simpleTeXOnePar): when we have a \item with
105         optional argument, enclose the argument with curly brackets (in
106         case it contains a closing square bracket)
107
108         * text2.C (editXY):
109         * text2.C (editXY):
110         * text3.C (checkInsetHit): constify
111
112 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
115         documents (bug 1629)
116
117 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         Fix toggling of collapsable insets with the mouse (bug 1558)
120
121         * lyxfunc.C (dispatch): adapt to LCursor changes
122
123         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
124         make sure that dispatch is not invoked twice
125
126         * cursor.C (needsUpdate): new method
127         (dispatch): return void
128         (result): new method, to access the DispatchResult of the cursor.
129
130 2004-08-13  José Matos  <jamatos@lyx.org>
131
132         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
133
134 2004-08-13  André Pönitz  <poenitz@gmx.net>
135
136         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
137
138         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
139           multiple cells
140
141 2004-08-12  André Pönitz  <poenitz@gmx.net>
142
143         * text3.C: take out the 'cursor right' form insertInset and only
144         do it in those places when it is really needed. Fixes crash on
145         C-m...
146
147 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
150
151         * BufferView_pimpl.C (setBuffer): initialize the current font of
152         the underlying LyXText
153
154 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * kbsequence.C (print): use UI native formatting for menu
157         shortcuts
158
159         * text.C (insertChar): call Paragraph::insertChar with a font
160         argument (cosmetic)
161
162         * paragraph.C (insertInset, insertChar): the version that takes a
163         LyXFont argument is now a wrapper around the other one (the
164         opposite used to be true).
165
166         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
167         argument. Font setting is done in Paragraph now.
168
169 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * outputparams.h: add new members intitle and lang.
172
173         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
174         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
175
176 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
177
178         * text3.C (dispatch): remove special handling of button 4 and 5,
179         it is now taken care of in the frontend code.
180
181 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
182
183         * Spacing.h: add <string> (STLPort compile fix)
184
185 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
186
187         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
188
189 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
190
191         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
192         to bool.
193
194         * converter.C (showMessage): inherit from unary_function, make
195         operator() const.
196
197         * buffer.C (writeFile): initialize retval
198
199         * InsetList.h: rename private variable list to list_
200         * InsetList.[Ch]: adjust accordingly.
201
202 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
203
204         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
205         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
206         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
207         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
208         * ParagraphParameters.C, LaTeXFeatures.C: replace
209         "support/std_sstream.h" with <sstream>
210
211 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
212
213         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
214         * lyxsocket.C (LyXServerSocket): ditto
215         (serverCallback): ditto
216
217 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
218
219         * LaTeXFeatures.C: check release date when loading jurabib.
220
221 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
222
223         * lyxserver.C (startPipe): call register_socket_callback
224         (endPipe): call unregister_socket_callback
225
226 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
227
228         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
229         (LyXServerSocket): register the callback
230         (LyXServerSocket): unregister the callback
231         (fd): delete function
232         (serverCallback): improve error checking and setup the callbacks.
233         (dataCallback): change arg to fd.
234         (writeln): new func (copied fro the client socket) used for server
235         write to client.
236         (LyXDataSocket): simplify
237         (~LyXDataSocket): close ann unregiser callback
238         (server): delete function
239         (fd): delete function
240         (readln): small changes, improve some std::string usage
241         (writeln): constify a bit
242
243 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
246         Qt frontend
247
248 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * BufferView_pimpl.C (setBuffer): set the layout combox value only
251         after it has been populated
252
253 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * text2.C (insertInset): move cursor when inserting inset.
256
257 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * kbmap.C (findbindings): a couple of new methods. returns a
260         container of kb_sequence objects. The real work is done by the
261         private recursive version
262         (printbindings): uses findbindings to print out a bracketed list
263         of bindings (renamed from findbinding).
264
265         * MenuBackend.C (binding): use kb_keymap::findbindings
266
267         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
268
269 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
270
271         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
272
273 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * paragraph.C (isWord): return true on insets that report
276         isLetter().
277
278         * text.C (getWord): use Paragraph::isWord to decide what is in a
279         word and what is not; fix bug 1609.
280
281 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * tex-strings.C: add "none" to string_paperpackages[], fixes
284         off-by-one-error in the paperpackage selection.
285
286         * lyxlex.[Ch]:
287         * tex-strings.[Ch]: char const * string[n]
288         -> char const * const string[]
289
290 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
293         command, return early.
294
295 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * debug.h: add DEBUG to enum and fix size of ANY.
298
299         * debug.C: add support for Debug::DEBUG
300         (showTags): cast errorTags.level to unsigned int
301
302         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
303         (redoCurrentBuffer): ditto
304         (updateScrollbar): ditto
305         * cursor.C (dispatch): ditto
306         * text2.C (setLayout): ditto
307         (setFont): ditto
308         (updateCounters): ditto
309         (editXY): ditto
310         (deleteEmptyParagraphMechanism): ditto
311
312 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
315         annotations to cleanup the Makefile slightly.
316
317 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * lyxrc.C: do not set user_email to a default value but use empty
320         instead. The entry used to be translated, which does not work
321         since at the point where lyxrc is constructed there is no
322         translation service available
323
324         * messages.C (getLocaleDir): remove and use directly
325         lyx_localedir() instead
326
327 2004-06-02  Angus Leeming  <leeming@lyx.org>
328
329         Fix crash caused by dereferencing null pointer 'exportdata' in
330         OutputParams by creating a new ExportData variable on the heap,
331         storing it in a boost::shared_ptr.
332         The crash was triggered when generating an Instant Preview
333         of an external inset.
334
335         * Makefile.am: add outputparams.C
336
337         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
338         (c-tor): allocate memory to it.
339
340         * exporter.C (c-tor): associated changes.
341
342 2004-06-01  Angus Leeming  <leeming@lyx.org>
343
344         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
345         contains data before calling isInset(0). (Bug 1513.)
346
347 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * exporter.C (checkOverwrite): new method
350         * exporter.C (copyFile): new method
351         * exporter.C (Export): copy referenced files to the document dir
352         * exporter.[Ch]: new class ExportedFile
353         * exporter.[Ch]: new class ExportData. Contains currently the
354         names of referenced external files
355         * outputparams.h: add exportdata member.
356
357 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
358
359         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
360         version.C-tmp
361
362 2004-05-19  Angus Leeming  <leeming@lyx.org>
363
364         * LaTeXFeatures.C:
365         * ToolbarBackend.C:
366         * bufferparams.C:
367         * lyxfunc.C: small changes due to the introduction of namespace
368         lyx::frontend and the moving of namespace biblio to lyx::biblio.
369
370 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * text3.C (dispatch): supress update when only moving the cursor
373         * cursor.C (selHandle): remove commented code
374
375 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
376
377         * paragraph.C (startTeXParParams): correct column count
378         * CutAndPaste.C (pasteSelection): remove const_cast
379         * output_docbook.C (docbookParagraphs): remove const_cast
380         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
381         const_cast and return ParagraphList::const_iterator
382         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
383         * output_plaintext.C (writeFileAscii): remove const_cast
384         * paragraph.[Ch] (simpleTeXOnePar): make const
385         * paragraph_funcs.C (outerPar): use const iterators
386         * paragraph_pimpl.C (validate): use const iterators
387         * text.C (setHeightOfRow): use const iterators
388
389 2004-05-17  Angus Leeming  <leeming@lyx.org>
390
391         * lfuns.h:
392         * LyXAction.C (init): new LFUN_INSET_REFRESH.
393
394         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
395         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
396         if the citation engine has changed.
397
398 2004-05-14  José Matos  <jamatos@lyx.org>
399
400         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
401         if the textclass does not provide it. Have it different for sgml and
402         xml.
403         support the language of document.
404         * output_docbook.C (docbookParagraphs):
405         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
406         first anchor as the id of the paragraph, remove special case code.
407         * sgml.C (escapeChar): escape only < & >.
408
409 2004-05-14  Angus Leeming  <leeming@lyx.org>
410
411         * bufferparams.h: move biblio::CiteEngine enum here to minimize
412         dependencies on src/frontends/controllers/biblio.h. Define a
413         CiteEngine_enum wrapper class to enable the enum to be forward
414         declared.
415
416 2004-05-12  Angus Leeming  <leeming@lyx.org>
417
418         * buffer.C: up LYX_FORMAT to 234.
419         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
420         use_numerical_citations with a single biblio::CiteEngine cite_engine
421         variable.
422         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
423
424 2004-05-13  José Matos  <jamatos@lyx.org>
425
426         * converter.h:
427         * converter.C (Converter, readFlags): add xml member.
428         * outputparams.h: add XML flavor.
429         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
430
431 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * lyxfunc.C (dispatch):
434         (getStatus): fix handling of LFUN_SEQUENCE
435
436 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * debug.C (showLevel): do not forget the end-of-line marker
439
440 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * kbmap.C (read): do not stop parsing a bind file when an error
443         occurs (bug 1575)
444
445 2004-04-29  Angus Leeming  <leeming@lyx.org>
446
447         * cursor.C:
448         * factory.C:
449         * pariterator.C:
450         * text2.C: wrap a bunch of #warning statements
451         inside #ifdef WITH_WARNINGS blocks.
452
453 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
454
455         * buffer.C: increment format to 233.
456
457 2004-04-28  Angus Leeming  <leeming@lyx.org>
458
459         * BufferView_pimpl.C:
460         * lyxfunc.C:
461         * text3.C:
462         s/updateToolbar()/updateToolbars()/
463         s/Toolbar.h/Toolbars.h/
464
465 2004-04-28  Angus Leeming  <leeming@lyx.org>
466
467         * BufferView.[Ch] (c-tor):
468         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
469         No longer passes these data to the WorkArea generator.
470
471 2004-04-28  Angus Leeming  <leeming@lyx.org>
472
473         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
474
475 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
476
477         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
478
479 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * output_latex.C (TeXEnvironment): make sure that there is a line
482         break before \end{foo} for the last paragraph of a document
483         (TeXOnePar): if the paragraph is at the end of the document (or
484         inset) and the language has to be reset, then make sure that the
485         line break is _before_ the language command, not after (fixes bug
486         1225); also make sure that the language reset command is the first
487         thing after the paragraph (to ensure proper nesting of
488         environments and thus fix bug 1404)
489
490 2004-04-21  John Levon  <levon@movementarian.org>
491
492         * ToolbarBackend.h:
493         * ToolbarBackend.C: make "name" be a programmatic name
494         and a gui_name field.
495
496         * lyxfunc.C: display the minibuffer on M-x
497
498 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
501         (bug 1526)
502
503 2004-04-19  Angus Leeming  <leeming@lyx.org>
504
505         * BufferView_pimpl.C (setBuffer): changed preview interface.
506
507         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
508         possible values.
509
510 2004-04-19  John Levon  <levon@movementarian.org>
511
512         * BufferView_pimpl.C:
513         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
514
515 2004-04-05  Angus Leeming  <leeming@lyx.org>
516
517         * text.C (redoParagraphs): add call to updateCounters(), thereby
518         fixing the missing "Figure #:" label from the caption of a
519         figure float.
520
521 2004-04-13  Angus Leeming  <leeming@lyx.org>
522
523         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
524         cursor is clicked out of an inset.
525
526 2004-04-13  Angus Leeming  <leeming@lyx.org>
527
528         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
529         than an InsetOld one.
530
531 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
532
533         * format.[Ch]: add editor to Format
534         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
535         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
536
537 2004-04-08  André Pönitz  <poenitz@gmx.net>
538
539         * metricsinfo.h: remove PainterInfo::width member
540
541 2004-04-08  Angus Leeming  <leeming@lyx.org>
542
543         * lyx_sty.C (boldsymbol_def): modify so that it outputs
544         "\providecommand" rather than "\newcommand", thereby preventing
545         clashes with packages that define "\boldsymbol" themselves.
546         Eg, beamer.
547
548 2004-04-08  Angus Leeming  <leeming@lyx.org>
549
550         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
551         thereby squashing an unnecessary warning.
552
553 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
556         setBuffer()
557
558 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * BufferView.C (setCursor): call redoParagraph (some insets could
561         have been opened)
562         (putSelectionAt): remove the 'double update' trick
563
564         * BufferView_pimpl.C (fitCursor): call refreshPar
565         (workAreaDispatch): remove an uneeded update call
566         (dispatch): remove some manual update calls
567
568         * cursor.[Ch]: remove cached_y_, updatePos
569         (selHandle): set noUpdate when appropriate
570
571         * lyxfunc.C (dispatch): track if we need an update
572
573         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
574
575         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
576         (paintSelection): cheap optimization, do not call cursorX when not
577         needed
578         (paintPars): change signature
579         (refreshPar): add
580         (paintText): adjust
581         (paintTextInset): adjust
582
583         * text.C: adjust
584
585 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * lengthcommon.C: compilation fix: remove explicit array size from
588         unit_name[] and friends
589
590 2004-04-05  Angus Leeming  <leeming@lyx.org>
591
592         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
593
594         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
595         present only for the preferences dialog.
596         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
597
598 2004-04-05  Angus Leeming  <leeming@lyx.org>
599
600         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
601         to enable the frontends to export changes to lyxrc correctly.
602
603         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
604
605 2004-04-07  André Pönitz  <poenitz@gmx.net>
606
607         * cursor.[Ch] (selClear, adjust): remove math
608
609         * cursor_slice.C: more agressive assert
610
611         * lyxfunc.C:
612         * BufferView_pimpl.C: rework mouse event dispatch
613
614         * dociterator.C:
615         * paragraph.C:
616         * text2.C:
617         * text3.C: adjust
618
619 2004-04-05  André Pönitz  <poenitz@gmx.net>
620
621         * cursor.[Ch] (valign, halign...): remove unneeded functions
622
623 2004-04-05  Angus Leeming  <leeming@lyx.org>
624
625         * lyxlength.[Ch] (unit_name et al.): const-correct.
626
627 2004-04-05  Angus Leeming  <leeming@lyx.org>
628
629         * BufferView_pimpl.C:
630         * buffer.C:
631         * counters.C:
632         * cursor.C:
633         * lyxfunc.C
634         * paragraph.C:
635         * pariterator.C:
636         * text.C:
637         * text2.C:
638         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
639
640 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
641
642         * text3.C (getStatus): add LFUN_BEGINNINGBUF
643
644 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
645
646         * lyxfind.C: add a couple of inTexted() tests + other small fixes
647         * BufferView_pimpl.[Ch] (getStatus)
648         * BufferView.[Ch] (getStatus): add
649         * lyxfunc.C (getStatus): move lfuns handled in
650         BufferView::dispatch to te function above
651         * Cursor.C (setSelection): set selection() = true
652
653 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
654
655         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
656
657 2004-03-31  Angus Leeming  <leeming@lyx.org>
658
659         * lyxfunc.C (dispatch): Fall through to the generic
660         Dialogs::show("preamble").
661
662 2004-03-31  Angus Leeming  <leeming@lyx.org>
663
664         * lyxfunc.C (dispatch): Fall through to the generic
665         Dialogs::show("spellchecker").
666
667 2004-03-31  Angus Leeming  <leeming@lyx.org>
668
669         * lyxfunc.C (getStatus, dispatch): changed invocation of the
670         preferences dialog.
671
672 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * BufferView.C
675         * cursor.[Ch]
676         * dociterator.[Ch]:
677         * insetiterator.[Ch]:
678         * lyxfind.C:
679         * lyxfunc.C:
680         * pariterator.[Ch]:
681         * text2.C:
682         * undo.[Ch]: s/DocumentIterator/DocIterator/g
683
684 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
685
686         * BufferView.C (setCursor, putSelectionAt): call edit to open the
687         insets where we are putting the cursor.
688
689 2004-03-31  Angus Leeming  <leeming@lyx.org>
690
691         * lfuns.h:
692         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
693
694         * lyxrc.[Ch] (read, write): overloaded member functions taking
695         a std::[io]stream arguments.
696
697         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
698
699 2004-03-31  Angus Leeming  <leeming@lyx.org>
700
701         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
702         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
703
704         * lyxtextclass.C (load): if the text class couldn't be loaded, then
705         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
706
707 2004-03-31  Angus Leeming  <leeming@lyx.org>
708
709         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
710         the LFUN_ALL_INSETS_TOGGLE code.
711
712 2004-03-30  Angus Leeming  <leeming@lyx.org>
713
714         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
715         has died. Fall through to the generic Dialogs::show("document").
716
717 2004-03-30  Angus Leeming  <leeming@lyx.org>
718
719         * lfuns.h:
720         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
721         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
722
723         * lyxfunc.C (getStatus, dispatch): define the actions for these
724         lfuns. Little more than a cut and pste job from ControlDocument.C
725
726         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
727
728 2004-03-30  Angus Leeming  <leeming@lyx.org>
729
730         * lfuns.h:
731         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
732         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
733
734         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
735         open/closed state of ollapsable insets. Usage:
736
737         all-inset-toggle <state> <name>, where
738         <state> == "open" || "closed" || "toggle" and
739         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
740
741         * lyxtext.h, text2.C (toggleInset): removed.
742
743         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
744         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
745         now passes LFUN_INSET_TOGGLE to the found inset.
746
747         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
748         is now invoked as "all-insets-toggle toggle branch".
749
750 2004-03-30  Angus Leeming  <leeming@lyx.org>
751
752         * dociterator.C:
753         * insetiterator.C:
754         * pariterator.[Ch]: added/corrected header blurb.
755
756 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * dociterator.[Ch]: add an inset_ member
759         (backwardPos): implemented
760         (backwardPos, forwardPos): use inset_ when the stack is empty.
761         (doc_iterator_begin, doc_iterator_end): implemented
762         * pariterator.[Ch]: adjust, add begin, end
763         * insetiterator.[Ch]: adjust, add begin, end
764         * cursor.C:
765         * document.C:
766         * BufferView.C:
767         * BufferView_pimpl.C:
768         * CutAndPaste.C: adjust
769
770 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
771
772         * buffer.C: increment file format to 232.
773         * LaTeXFeatures.C: add bibtopic package.
774         * bufferparams.[Ch]: param \use_bibtopic.
775
776         * lyxrc.[Ch]: add lyxrc bibtex_command
777         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
778
779         * buffer.C: increment file format to 231.
780
781 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * dociterator.C: implement forwardPar
784         * iterators.[Ch]: remove, replaced by
785         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
786         * BufferView.C:
787         * BufferView_pimpl.C:
788         * CutAndPaste.C:
789         * buffer.C:
790         * bufferview_funcs.C:
791         * cursor.C:
792         * lyxfind.C
793         * lyxfunc.C
794         * paragraph_funcs.C
795         * toc.C:
796         * Makefile.am: adjust
797
798 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
799
800         * CutAndPaste.C (pasteSelection): fix 2 crashes
801         (eraseSelection): fix a crash
802         * paragraph_funcs.C: remove a warning
803
804 2004-03-28  Angus Leeming  <leeming@lyx.org>
805
806         * lfuns.h:
807         * LyXAction.C (init): new LFUN_PRINT.
808
809         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
810
811 2004-03-27  Angus Leeming  <leeming@lyx.org>
812
813         * lfuns.h:
814         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
815
816         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
817
818 2004-03-27  Angus Leeming  <leeming@lyx.org>
819
820         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
821         insetlist always contains non-null pointers to insets.
822
823 2004-03-26  Angus Leeming  <leeming@lyx.org>
824
825         * src/BufferView_pimpl.C:
826         * src/CutAndPaste.C:
827         * src/buffer.C:
828         * src/iterators.C:
829         * src/output_plaintext.C:
830         * src/outputparams.h:
831         * src/paragraph_funcs.C:
832         * src/rowpainter.C:
833         * src/text.C:
834         * src/text2.C:
835         * src/frontends/controllers/ControlErrorList.C:
836         * src/frontends/gtk/FileDialogPrivate.C:
837         * src/frontends/gtk/GPainter.C:
838         * src/frontends/gtk/GToolbar.C:
839         * src/frontends/qt2/QRef.C:
840         * src/mathed/math_scriptinset.C: squash compiler warnings.
841
842 2004-03-26  Angus Leeming  <leeming@lyx.org>
843
844         * ispell.C (LaunchIspell::start):
845         * lyx_cb.C (AutoSaveBuffer::start):
846         invoke run(DontWait) rather than runNonBlocking().
847
848 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
849
850         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
851
852 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * kbsequence.C (print): adjust
855
856         * kbmap.C (printKeySym): rename and change signature
857         (printKey): use LyXKeySym::print()
858
859 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * undo.C: add using std::advance to compile for stlport
862
863 2004-03-24  Angus Leeming  <leeming@lyx.org>
864
865         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
866         it leads to a crash when no buffer is present.
867
868 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869             Martin Vermeer  <martin.vermeer@hut.fi>
870
871         * lyxfunc.C (dispatch):
872         * bufferparams.C (readToken): use the new LColor::setColor
873
874         * LColor.[Ch] (setColor): new version that takes two strings as
875         argument and creates a new color entry if necessary
876
877 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
878
879         * buffer.C (makeLaTeXFile): if the main latex file that is
880         processed is usually a subdocument of some master, then pretend
881         for a while that it is actually the master
882
883 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
884
885         * buffer.C (getLabelList):
886         (getBibkeyList): use getMasterBuffer()
887         (getMasterBuffer): new method. Returns the main document in the
888         case where one is using included documents.
889
890 2004-03-25  André Pönitz  <poenitz@gmx.net>
891
892         * Makefile.am:
893         * iterators.[Ch]:
894         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
895
896         * ParagraphList_fwd.h: change ParagraphList to a std::vector
897
898         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
899         text*.C over here. Rename namespace CutAndPaste to lyx::cap
900
901         * ParameterStruct.h: merge with ParagraphParameters
902
903         * lyxtext.h: remove LyXText::parOffset() and getPar()
904
905         * text3.C: Remove all 'manual' update calls. We do now one per user
906         interaction which is completely sufficient.
907
908         * Bidi.C:
909         * BufferView.[Ch]:
910         * BufferView_pimpl.C:
911         * FontIterator.[Ch]:
912         * MenuBackend.C:
913         * ParagraphParameters.[Ch]:
914         * buffer.C:
915         * buffer.h:
916         * bufferlist.C:
917         * cursor.[Ch]:
918         * cursor_slice.[Ch]:
919         * dociterator.[Ch]:
920         * errorlist.[Ch]:
921         * factory.C:
922         * lfuns.h:
923         * lyxfind.C:
924         * lyxfunc.C:
925         * output_docbook.[Ch]:
926         * output_latex.[Ch]:
927         * output_linuxdoc.[Ch]:
928         * output_plaintext.[Ch]:
929         * paragraph.[Ch]:
930         * paragraph_funcs.[Ch]:
931         * paragraph_pimpl.[Ch]:
932         * rowpainter.C:
933         * tabular.[Ch]:
934         * text.C:
935         * text2.C:
936         * toc.C:
937         * undo.[Ch]: adjust
938
939         * frontends/controllers/ControlDocument.C:
940         * frontends/controllers/ControlErrorList.C:
941         * frontends/controllers/ControlSpellchecker.C:
942         * insets/inset.C:
943         * insets/inset.h:
944         * insets/insetbase.h:
945         * insets/insetbibitem.C:
946         * insets/insetbox.C:
947         * insets/insetbranch.C:
948         * insets/insetcaption.C:
949         * insets/insetcharstyle.C:
950         * insets/insetcharstyle.h:
951         * insets/insetcollapsable.C:
952         * insets/insetcollapsable.h:
953         * insets/insetert.C:
954         * insets/insetfloat.C:
955         * insets/insetfoot.C:
956         * insets/insetmarginal.C:
957         * insets/insetnote.C:
958         * insets/insetoptarg.C:
959         * insets/insettabular.C:
960         * insets/insettext.C:
961         * insets/insettext.h:
962         * insets/insetwrap.C:
963         * mathed/math_mboxinset.C:
964         * mathed/math_nestinset.C:
965         * mathed/math_scriptinset.C:
966         * mathed/math_scriptinset.h:
967         * support/types.h:
968
969 2004-03-24  Angus Leeming  <leeming@lyx.org>
970
971         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
972         deal with any child processes that have finished but are waiting to
973         communicate this fact to the rest of LyX.
974
975 2004-03-24  Angus Leeming  <leeming@lyx.org>
976
977         64-bit compile fixes.
978
979         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
980         (c-tor): pass lyx::pos_types rather than ints.
981
982         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
983         lyx::pos_type.
984
985         * text.C (Delete): compile fix.
986         (getPar): ensure that function declaration is the same as that in
987         the header file.
988
989 2004-03-23  Angus Leeming  <leeming@lyx.org>
990
991         * ispell.C (LaunchIspell):
992         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
993         a boost::shred_ptr rather than a std::auto_ptr.
994
995 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
996
997         * lyxfunc.C (getStatus): handle read-only buffers correctly;
998         handle LFUN_FILE_INSERT_*
999
1000         * lyxrc.C (setDefaults, getDescription, output, read):
1001         * lyxrc.h: remove ps_command
1002
1003 2004-03-22  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1006         Ensure that error_handler is processed once only and that all data
1007         is saved before attempting to output any warning messages.
1008
1009         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1010
1011 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1014
1015 2004-03-19  André Pönitz  <poenitz@gmx.net>
1016
1017         * cursor.[Ch] (reset): take main text inset as argument
1018
1019         * BufferView: adjust
1020         * BufferView_pimpl.C: adjust
1021
1022         * paragraph.[Ch]: fix completely broken operator=()
1023
1024 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1025
1026         * LColor.C (getFromLyXName): make sure that the color name is used
1027         as lowercase.
1028
1029 2004-03-17  Angus Leeming  <leeming@lyx.org>
1030
1031         * lfuns.h:
1032         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1033
1034         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1035         dialog and to kill a forked process.
1036
1037 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1038
1039         * text2.C (setCursorFromCoordinates): fix font problem
1040
1041 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1042
1043         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1044         bogus "rebuild cursor" code
1045
1046 2004-03-11  André Pönitz  <poenitz@gmx.net>
1047
1048         * buffer.[Ch]: use InsetText instead of LyXText as container for
1049         the main lyx text.
1050
1051         * dociterator.[Ch]: drop the BufferView * member which is not needed
1052         anymore after the change to buffer.C
1053
1054         * paragraph_funcs.C:
1055         * text.C:
1056         * text2.C:
1057         * BufferView.[Ch]:
1058         * BufferView_pimpl.[Ch]:
1059         * cursor.[Ch]:
1060         * cursor_slice.[Ch]: adjust
1061
1062         * text3.C: fix bug in mathDispatch
1063
1064 2004-03-08  André Pönitz  <poenitz@gmx.net>
1065
1066         * undo.[Ch]: use 'StableDocumentIterator' as base for
1067         the Undo struct.
1068
1069 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1070
1071         * LaTeXFeatures.C:
1072         * bufferparams.[Ch]: add jurabib support and param.
1073
1074         * LaTeX.C: add FIXME/comment.
1075
1076 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1077
1078         * buffer.C: increment file format to 230.
1079
1080 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * cursor.C (dispatch): avoid infinite loops
1083
1084 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1085
1086         * rowpainter.C (paintSelection): fix x coordinates
1087
1088 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * text.C (rowBreakPoint): fix breaking before displayed insets
1091
1092 2004-03-01  André Pönitz  <poenitz@gmx.net>
1093
1094         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1095
1096         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1097
1098         * Makefile.am:
1099         * BufferView.C:
1100         * BufferView_pimpl.C:
1101         * buffer.C:
1102         * lyxfind.C:
1103         * lyxfunc.C:
1104         * text.C:
1105         * text2.C:
1106         * text3.C: adjust
1107
1108 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * lyxtext.h:
1111         * text.C:
1112         * text2.C:
1113         * rowpainter.C:
1114         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1115         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1116
1117 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * Bidi.[Ch] (computeTables): const correctness
1120         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1121         fill_hfill, fill_label_hfill and x from Row
1122         * lyxtext.h: prepareToPrint returns a RowMetrics
1123         * rowPainter.C: adjust
1124         * text.C (prepareToPrint): use width, not textWidth. adjust
1125         (redoParagraphInternal, cursorX): adjust
1126         * text2.C (getColumnNearX): adjust
1127         (init): put a default value to the top LyXText::width
1128
1129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1130
1131         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1132
1133 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1134
1135         * lyxtext.h: add FontIterator class
1136
1137         * text.C (FontIterator, operator*, operator->, operator++): add
1138         (rowBreakPoint, setRowWidth): adjust (fixing a
1139         rebreaking bug)
1140
1141 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * BufferView_pimpl.C (workAreaDispatch): allow also
1144         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1145
1146 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * text.C (rowBreakPoint): fix a bug showing with very large insets
1149
1150 2004-02-25  André Pönitz  <poenitz@gmx.net>
1151
1152         * text3.C:
1153         * cursor.[Ch]: move some mathed specific code to mathed
1154
1155 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1156
1157         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1158         use_tempdir in preferences
1159         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1160         tempfile creation
1161         * lyx_main.C: ensure that tempdir is valid
1162         * lyxlex.h: correct typo
1163         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1164         * paragraph.[Ch] (isMultiLingual): make const
1165         * cursor.[Ch] (openable): make const
1166
1167 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1168
1169         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1170
1171 2004-02-20  André Pönitz  <poenitz@gmx.net>
1172
1173         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1174
1175         * cursor.[Ch]: prepare for localized getStatus()
1176
1177         * lyxtext.h:
1178         * tabular.C:
1179         * text.C:
1180         * text2.C:
1181         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1182
1183 2004-02-20  André Pönitz  <poenitz@gmx.net>
1184
1185         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1186
1187 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1188
1189         * text2.C (setCursorFromCoordinates): switch to absolute coords
1190         (cursorUp): adjust
1191         (cursorDown): adjust
1192         * text3.C (dispatch): adjust
1193
1194 2004-02-16  André Pönitz  <poenitz@gmx.net>
1195
1196         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1197           insets/ChangeLog)
1198
1199         * cursor_slice.[Ch]: remove unneeded acessor function
1200
1201         * lyxtext.h: rename rtl() to isRTL()
1202
1203         * rowpainter.C:
1204         * tabular.C:
1205         * text.C:
1206         * text2.C:
1207         * text3.C: adjust
1208
1209 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1210
1211         * rowpainter.C (paintSelection): coord fix
1212
1213 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1214
1215         * Spacing.C: compile fix
1216
1217 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1218
1219         * cursor.C (dispatch): restore current_ before returning
1220
1221 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * text2.C (cursorUp, cursorDown): fix coords
1224         (moveUp): fix crash
1225
1226 2004-02-12  André Pönitz  <poenitz@gmx.net>
1227
1228         * lyxtext.h:
1229         * text.C:
1230         * text2.C:
1231         * text3.C: add LCursor & parameter to most cursor movement functions
1232           remove usage of LyXText::cursorRow() and cursorPar()
1233
1234         * cursor.[Ch]: add textRow() needed members
1235
1236         * BufferView.C:
1237         * BufferView_pimpl.C:
1238         * paragraph.[Ch]:
1239         * BufferView.C:
1240         * BufferView_pimpl.C: adjust
1241
1242 2004-02-11  André Pönitz  <poenitz@gmx.net>
1243
1244         * lyxfunc.C:
1245         * BufferView.[Ch]:
1246         * BufferView_pimpl.C: shift undo/redo handling
1247
1248         * cursor.[Ch]: fix mathed crash
1249
1250         * lyxfind.C:
1251         * lyxtext.h: move selectionAsText to LCursor
1252
1253         * output_latex.C:
1254         * paragraph.C:
1255         * text.C:
1256         * text2.C:
1257         * text3.C: adjust
1258
1259         * rowpainter.C: fix excessive drawing
1260
1261 2004-02-06  André Pönitz  <poenitz@gmx.net>
1262
1263         * BufferView.[Ch]:
1264         * BufferView_pimpl.[Ch]:
1265         * text3.C: move some text specific LFUN handling
1266
1267 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1268
1269         * text3.C (checkInsetHit): adjust coords
1270         * text2.C (getColumnNearX): adjust coords
1271         (edit): adjust coords
1272         * text.C (getRowNearY): add two asserts
1273
1274 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1275
1276         * converter.C:
1277         * format.C: add using std::distance to compile on gcc 2.95/stlport
1278
1279 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1280
1281         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1282
1283 2004-02-04  André Pönitz  <poenitz@gmx.net>
1284
1285         * BufferView.[Ch] (insertInset):
1286         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1287
1288         * text2.C:
1289         * text3.C: adjust
1290
1291 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1294         on the default clause of the switch
1295         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1296         wasn't catched by LCursor::dispatch
1297
1298 2004-02-03  André Pönitz  <poenitz@gmx.net>
1299
1300         * BufferView.C:
1301         * cursor.[Ch]: some additional asserts
1302
1303         * undo.[Ch]: remove LyXText dependency in interface
1304
1305         * lyxfunc.C: adjust
1306
1307         * lyxtext.h (firstPar, lastPar): remove dead functions
1308
1309         * text.C:
1310         * text2.C:
1311         * text3.C:
1312         * paragraph.[Ch]: adjust
1313
1314 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1315
1316         * lyxfind.C (find): fix argument order in call to ::find
1317
1318 2004-02-02  André Pönitz  <poenitz@gmx.net>
1319
1320         * cursor.[Ch]: remove direct access to anchor
1321
1322         * text.C: remove findText() hack
1323
1324 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * iterators.[Ch] (lockPath): remove in favour of...
1327         * BufferView.[Ch] (setCursor): this addition
1328         * BufferView.C (putSelectionAt): adjust
1329         * undo.C (performUndoOrRedo): adjust
1330         * lyxfunc.C (dispatch): adjust
1331
1332 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1333
1334         * iterators.C (lockPath): add a missing slice
1335         * undo.C (performUndoOrRedo): remove redundant positioning code
1336
1337 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1338
1339         * vc-backend.C (scanMaster): ";" -> ';'
1340
1341 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1342
1343         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1344         std::binary_function
1345
1346         * lyxtextclass.C (compare_name): rename to...
1347         (LayoutNamesEqual): ...this
1348
1349         * lyxlex_pimpl.C (compare_tags): inherit from
1350         std::binary_function, put back into anon namespace
1351
1352         * lyxfind.C (MatchString): inherig from std::binary_function
1353         (findChange): use empty() istead of !size()
1354
1355         * format.C (FormatNamesEqual): new functor
1356         (getFormat): use it
1357         (getNumber): use it
1358         (add): use it
1359         (erase): use it
1360         (setViewer): use it
1361
1362         * converter.C (compare_Converter): rename to...
1363         (ConverterEqual): ...this, and fixup a bit.
1364         (getConverter): use it, and make function const
1365         (getNumber): use it, and make function const
1366         (add): use it
1367         (erase): use it:
1368
1369         * bufferlist.C: add using boost::bind
1370
1371         * MenuBackend.C (MenuNamesEqual): new functor
1372         (hasMenu): use it, and make function const
1373         (hasSubmenu): use nested bind to get rid of compare_memfun.
1374
1375 2004-01-30  André Pönitz  <poenitz@gmx.net>
1376
1377         * BufferView_pimpl.C:
1378         * cursor.C:
1379         * cursor.h:
1380         * cursor_slice.[Ch]:
1381         * lyxfunc.C:
1382         * lyxtext.h:
1383         * paragraph_funcs.C:
1384         * paragraph_funcs.h:
1385         * rowpainter.C:
1386         * text.C:
1387         * text2.C:
1388         * text3.C: move some of the edit(x,y) handling to the insets
1389         some coordinate changes.
1390
1391 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1392
1393         * text.C: add using statements for std::advance and std::distance
1394
1395         * paragraph.C: add using statement for std::distance
1396
1397         * lyxfind.C: add using statement for std::advance
1398
1399         * cursor.C (region): remove std:: from swap
1400         (openable): use nucleus in stead of operator->
1401
1402         * BufferView.C: add using statements for std::distance and std::swap
1403
1404 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1405
1406         * iterators.C: Remove the pimple, move the needed structures to
1407         the header file. Create accessor for the positions stack.
1408         (asPosIterator): remove function
1409
1410         * PosIterator.C (PosIterator): move constructors to top of file
1411         (PosIterator): reimplement the constructor taking a ParIterator in
1412         terms of setFrom.
1413         (setFrom): new function
1414         (operator!=): inline it
1415
1416 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1417
1418         * lyxfind.C (replaceAll): use std::advance
1419
1420         * iterators.h: inherit from std::iterator.
1421
1422         * PosIterator.C (advance, distance): remove
1423         * PosIterator.h: interit from std::iterator.
1424
1425 2004-01-26  André Pönitz  <poenitz@gmx.net>
1426
1427         * BufferView.[Ch]:
1428         * BufferView_pimpl.[Ch]:
1429         * InsetList.[Ch]:
1430         * PosIterator.[Ch]:
1431         * buffer.h:
1432         * bufferview_funcs.C:
1433         * cursor.[Ch]:
1434         * cursor_slice.h:
1435         * factory.[Ch]:
1436         * iterators.[Ch]:
1437         * lyxfind.C:
1438         * lyxfunc.C:
1439         * lyxtext.h:
1440         * output_docbook.C:
1441         * output_latex.C:
1442         * output_linuxdoc.C:
1443         * output_plaintext.C:
1444         * paragraph.[Ch]:
1445         * paragraph_funcs.[Ch]:
1446         * paragraph_pimpl.[Ch]:
1447         * rowpainter.C:
1448         * tabular.C:
1449         * tabular.h:
1450         * text.C:
1451         * text2.C:
1452         * text3.C: more IU:  dumps most of the rest of the mathcursor
1453     implementation into cursor.[Ch]; "globalize" a bit of it.
1454
1455 2004-01-25  Angus Leeming  <leeming@lyx.org>
1456
1457         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1458
1459 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1460
1461         * LaTeXFeatures.h: add nice_ and nice() const
1462         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1463
1464 2004-01-20  André Pönitz  <poenitz@gmx.net>
1465
1466         * BufferView.[Ch]:
1467         * BufferView_pimpl.C:
1468         * PosIterator.C:
1469         * bufferview_funcs.C:
1470         * cursor.[Ch]:
1471         * cursor_slice.[Ch]:
1472         * factory.C:
1473         * iterators.C:
1474         * lyx_cb.C:
1475         * lyxfind.C:
1476         * lyxfunc.C:
1477         * lyxtext.h:
1478         * rowpainter.C:
1479         * text.C:
1480         * text2.C:
1481         * text3.C:
1482         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1483           LCursor and mathcursor parts to LCursor and InsetBase.
1484
1485 2004-01-15  André Pönitz  <poenitz@gmx.net>
1486
1487         * cursor_slice.[Ch]: add a few covienience functions
1488
1489         * funcrequest.[Ch]: remove BufferView * member
1490
1491         * BufferView_pimpl.C:
1492         * cursor.C:
1493         * factory.[Ch]:
1494         * lyxfind.[Ch]:
1495         * lyxfunc.C:
1496         * lyxtext.h:
1497         * text3.C:
1498         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1499
1500 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1503         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1504
1505 2004-01-13  André Pönitz  <poenitz@gmx.net>
1506
1507         * textcursor.[Ch]:
1508         * lyxtext.h: hide cursor and selection anchor behind accessor function
1509
1510         * BufferView.C:
1511         * BufferView_pimpl.[Ch]:
1512         * PosIterator.C:
1513         * bufferview_funcs.C:
1514         * cursor.h:
1515         * lyxfind.C:
1516         * lyxfunc.C:
1517         * text.C:
1518         * text2.C:
1519         * text3.C:
1520         * undo.C: adjust
1521
1522         * cursor.h:
1523         * cursor_slice.[Ch]: some integer type changes for inset unification
1524
1525         * lyxcursor.[hC]: remove, it's CursorSlice now.
1526
1527         * Makefile.am:
1528         * BufferView_pimpl.[Ch]:
1529         * bufferview_funcs.C:
1530         * cursor_slice.C:
1531         * lyxtext.h:
1532         * text.C:
1533         * text2.C:
1534         * text3.C:
1535         * textcursor.[Ch]: adjust
1536
1537 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * text2.C (undoSpan): add and use
1540         * text.C (breakParagraph): use undoSpan (fix bug 578)
1541         * lyxtext.h: adjust
1542
1543 2004-01-08  Angus Leeming  <leeming@lyx.org>
1544
1545         * BufferView_pimpl.C (MenuInsertLyXFile):
1546         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1547         * lyxfunc.C (menuNew, open, doImport):
1548         FileFilterList change to the FileDialog open and save functions.
1549
1550 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1551
1552         * ShareContainer.h: make isEqual and isUnique adaptable
1553
1554         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1555
1556 2004-01-07  Angus Leeming  <leeming@lyx.org>
1557
1558         * LyXAction.C:
1559         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1560
1561         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1562
1563         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1564         functions replacing find, replace and replaceAll.
1565
1566         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1567         LFUN_WORDFIND(FORWARD|BACKWARD).
1568
1569 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * text.C (breakParagraph): remove an outdated #warning
1572
1573 2004-01-07  André Pönitz  <poenitz@gmx.net>
1574
1575         * lyxfind.C: somewhat clearer logic
1576
1577         * text.C: prevent crash in cursorX on unitialized row cache
1578
1579 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * lyxcursor.[Ch] (operator>): add
1582         * textcursor.C (selStart, selEnd): use std::min and std::max
1583
1584 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1585
1586         * Chktex.C: include boost/format.hpp
1587
1588 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * InsetList.C: replace functor MathcIt with adaptable functor
1591         InsetTablePosLess
1592         (insetIterator): modify accordingly
1593
1594         * BranchList.h: move the BranchNamesEqual functor here from...
1595         * BranchList.C: ... to here
1596
1597         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1598         SameName and match.
1599         (add): replace a finding loop with std::find_if.
1600
1601 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1602
1603         * output_docbook.C: moving LatexParam functionality into
1604         .layout files
1605
1606 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1607
1608         * buffer.C: increment format to 229.
1609
1610 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1611
1612         * LaTeXFeatures.C:
1613         * lyx_sty.[Ch]: remove minipageindent_def
1614
1615         * LyXAction.C:
1616         * factory.C:
1617         * lfuns.h:
1618         * lyxfunc.C:
1619         * text3.C: remove LFUN_INSET_MINIPAGE
1620
1621 2003-12-28  Angus Leeming  <leeming@lyx.org>
1622
1623         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1624
1625 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1626
1627         * text2.C (setParagraph): fix off-by-one crash
1628
1629 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1630
1631         * output_docbook.C: header stuff for AGU
1632
1633 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1634
1635         * text2.C (redoCursor): remove
1636         * text.C:
1637         * text3.C:
1638         * BufferView_pimpl.C: remove calls to redoCursor and
1639         setCursor(cursor.par(), cursor.pos()) all around
1640
1641 2003-12-15  Angus Leeming  <leeming@lyx.org>
1642
1643         * buffer.C: up the format to 228.
1644
1645 2003-12-15  André Pönitz  <poenitz@gmx.net>
1646
1647         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1648         slices
1649
1650         * Makefile.am:
1651
1652         * BufferView_pimpl.C:
1653         * cursor.[Ch]:
1654         * lyxcursor.[Ch]:
1655         * rowpainter.[Ch]:
1656         * lyxtext.h:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: adjust
1660
1661 2003-12-15  Angus Leeming  <leeming@lyx.org>
1662
1663         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1664         than getFromGUIName to manipulate the color.
1665
1666 2003-12-14  Angus Leeming  <leeming@lyx.org>
1667
1668         * BranchList.[Ch]: minimize the API.
1669         (Branch::getBranch, getColor): now return a 'const &'.
1670         (Branch::setSelected) now returns a bool set to true if the
1671         selection status changes.
1672         (BranchList::clear, size, getColor, setColor, setSelected,
1673         allBranches, allSelected, separator): removed.
1674         (BranchList::find): new functions, returning the Branch with
1675         the given name.
1676         (BranchList::add, remove): return a bool indicating that
1677         the operation was successful.
1678
1679         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1680         new InsetBranch::isBranchSlected member function.
1681
1682         * LColor.[Ch]: mimimize the API.
1683         (fill): renamed as addColor and made private.
1684         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1685         versions of these functions taking a string arg have been removed.
1686
1687         * bufferparams.C (readToken):
1688         * lyxfunc.C (dispatch):
1689         * lyxrc.C (read): changes due to the altered BranchList and
1690         LColor APIs.
1691
1692         * factory.C (createInset, readInset): changes due to altered
1693         InsetBranch c-tor.
1694
1695 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1696
1697         * factory.C:
1698         * lyxfunc.C: remove insetminipage. "minipage-insert"
1699         now produces a frameless minipage box inset.
1700
1701 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1702
1703         * textcursor.[Ch] (selStart,selEnd): add new methods
1704         remove selection::start, end, use LyXCursor::operator<
1705         * lyxcursor.[Ch] (operator<): add
1706         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1707         * BufferView.[Ch] (unsetXSel): add
1708         * text2.C (clearSelection): use unsetXSel,adjust
1709         * text.C: adjust
1710         * text3.C: adjust
1711         * rowpainter.C: adjust
1712         * bufferview_funcs.C (put_selection_at): adjust
1713
1714 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * BufferView_pimpl.C: small coord. correction
1717
1718 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1719
1720         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1721         dragging over the splash screen.
1722
1723 2003-12-11  Angus Leeming  <leeming@lyx.org>
1724
1725         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1726         as it is now handled in LyXText::dispatch.
1727
1728         * text3.C (doInsertInset): remove a level of nesting.
1729
1730 2003-12-11  Angus Leeming  <leeming@lyx.org>
1731
1732         * factory.C (createInset): changes due to the changed interface to
1733         InsetCommandMailer::string2params.
1734
1735 2003-12-10  Angus Leeming  <leeming@lyx.org>
1736
1737         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1738         'dialog-show-new-inset <inset name>'
1739
1740 2003-12-10  Angus Leeming  <leeming@lyx.org>
1741
1742         * buffer.C: up the format to 227.
1743
1744         * factory.C: the box inset is now identified simply by 'Box'.
1745
1746 2003-12-10  Angus Leeming  <leeming@lyx.org>
1747
1748         * buffer.C: up the format to 226.
1749
1750         * factory.C: the note inset is now identified simply by 'Note'.
1751
1752 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1753
1754         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1755         when a pit is enough. Standarize a couple of loops.
1756
1757 2003-12-05  Angus Leeming  <leeming@lyx.org>
1758
1759         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1760         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1761         data to the re-worked "log" dialog.
1762
1763 2003-12-03  André Pönitz  <poenitz@gmx.net>
1764
1765         * PosIterator.C:
1766         * iterators.C:
1767         * lyxtext.h:
1768         * output_latex.C:
1769         * paragraph_funcs.C:
1770         * text.C:
1771         * text2.C: use Inset::getText instead of Inset::getParagraph
1772
1773 2003-12-03  André Pönitz  <poenitz@gmx.net>
1774
1775         * buffer.[Ch]:
1776         * lyxtext.h:
1777         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1778         InsetText::read() as LyXText::read()
1779
1780 2003-12-02  Angus Leeming  <leeming@lyx.org>
1781
1782         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1783         type. Add a comment in the implementation that the function uses
1784         the stream's bad() function rather than fail() as the std::streams
1785         would do.
1786
1787 2003-12-02  André Pönitz  <poenitz@gmx.net>
1788
1789         * lyxlex.[Ch]: make interface more similar to std::stream
1790
1791         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1792
1793 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1794
1795         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1796
1797 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1798
1799         * vspace.[Ch]: remove VSpace::NONE
1800
1801 2003-12-01  André Pönitz  <poenitz@gmx.net>
1802
1803         * buffer.[Ch]:
1804         * lyxtext.h: move ParagraphList member to LyXText
1805         rename LyXText::ownerParagraphs to LyXText::paragraph
1806
1807         * CutAndPaste.C:
1808         * bufferview_funcs.C:
1809         * iterators.[Ch]:
1810         * lyx_cb.C:
1811         * paragraph.C:
1812         * rowpainter.C:
1813         * tabular.C:
1814         * text.C:
1815         * text2.C:
1816         * text3.C: adjust
1817
1818         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1819
1820         * undo.C: fix cursor positioning
1821
1822 2003-12-01  John Levon  <levon@movementarian.org>
1823
1824         * BufferView_pimpl.C: fix a crash on exit with
1825         a buffer open
1826
1827 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1828
1829         * BranchList.C: fix setSelected() method.
1830
1831 2003-11-28  André Pönitz  <poenitz@gmx.net>
1832
1833         * ParagraphParameters.[Ch]:
1834         * ParameterStruct.h: remove space above/below from Paragraph to
1835          InsetVSpace
1836
1837         * BufferView_pimpl.C:
1838         * factory.C:
1839         * lyxfunc.C:
1840         * lyxtext.h:
1841         * output_latex.C:
1842         * paragraph.C:
1843         * paragraph_funcs.C:
1844         * rowpainter.[Ch]:
1845         * text.C:
1846         * text2.C:
1847         * text3.C: adjust
1848
1849 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1850
1851         * factory.C: Syntax change for CharStyles
1852
1853 2003-11-28  André Pönitz  <poenitz@gmx.net>
1854
1855         * BufferView.[Ch]:
1856         * BufferView.[Ch]:
1857         * buffer.[Ch]:
1858         * buffer.[Ch]: move LyXText member
1859
1860 2003-11-28  André Pönitz  <poenitz@gmx.net>
1861
1862         * BufferView.[Ch]: make LyXText * text a private member
1863
1864         * BufferView_pimpl.C:
1865         * cursor.C:
1866         * iterators.C:
1867         * lyx_cb.C:
1868         * lyxfind.C:
1869         * lyxtext.h:
1870         * rowpainter.[Ch]:
1871         * text.C:
1872         * text2.C:
1873         * undo.C: adjust
1874
1875         * output_plaintext.C: cleanup
1876
1877 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * buffer.C:
1880         * lyxtextclass.[Ch]: parametrize SGML document header
1881
1882 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1883
1884         * converter.[Ch]:
1885         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1886         getFlavor().
1887
1888 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * text2.C (setFont): rework using PosIterator (no more recursive)
1891         (setCharFont): no more needed
1892         (setLayout): no more selection cursors fiddling (done by redoCursor)
1893         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1894         destroy remaining ones)
1895
1896 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1899         * lyxtext.h: ditto
1900         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1901         selection cursors
1902         * lyxfunc.C: adjust
1903         * text3.C: adjust + re-allow multi par depth changes
1904         * textcursor.C: simplify a bit
1905
1906 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1907
1908         * src/buffer.C:
1909         * src/lyxlayout.C:
1910         * src/lyxlayout.h:
1911         * src/lyxtext.h:
1912         * src/output_docbook.C:
1913         * src/output_latex.C:
1914         * src/paragraph.C:
1915         * src/paragraph.h:
1916         * src/sgml.C:
1917         * src/sgml.h:
1918         * src/text2.C: Introducing a number of tags parametrizing various
1919         XML formats that we may want to support
1920
1921 2003-11-25  André Pönitz  <poenitz@gmx.net>
1922
1923         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1924
1925         * lyxtext.h (leftMargin/rightMargin): simplify interface
1926
1927         * rowpainter.C:
1928         * text.C:
1929         * text2.C:
1930         * text3.C: adjust
1931
1932 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1933
1934         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1935         master file to any child files. Fixes bug 546.
1936
1937 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1940
1941 2003-11-24  André Pönitz  <poenitz@gmx.net>
1942
1943         * rowpainter.C: simplification
1944
1945         * text2.C (updateCounters): remove call to redoParagraph on
1946         changed labels as this is far too expensive.
1947
1948 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * converter.C (convert): fix a crash: this function gets
1951         called with buffer == 0 from importer code.
1952
1953 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1954
1955         * text3.C (cursorPrevious): make sure that we do not compare
1956         iterators form different containers.
1957         (cursorNext): ditto
1958
1959         * rowpainter.C (paintSelection): make sure that we do not compare
1960         iterators from different containers.
1961
1962         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1963         iterators from different ParagraphList containers.
1964         [NEXT] ditto
1965
1966         * text2.C (LyXText): change order of initialization slightly
1967         (operator=): new function. copy all variables except cache_par_
1968         (moveUp): make sure that we do not compare iterators from
1969         different ParagraphList constainers.
1970         (moveDown): ditto
1971
1972         * text.C (firstPar): new function
1973         (lastPar): new function
1974         (endPar): new function
1975
1976         * lyxtext.h: move things around and group public functions, public
1977         variables, private functions, private variables
1978
1979 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1980
1981         * factory.C: change call to InsetERT constructor to avoid
1982         additional invocation of method status
1983         * text2.C (toggleInset): remove redundant update() call
1984         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1985         instead of a Bufferview pointer
1986
1987 2003-11-21  André Pönitz  <poenitz@gmx.net>
1988
1989         * rowpainter.C: simplification
1990
1991 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1992
1993         * text3.C (dispatch): make possible to extend a word/row selection
1994         with the mouse
1995
1996 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * lyxtext.h: x0_,y0_ -> xo_,yo_
1999         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2000         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2001         * rowpainter.C (paintRows): paint full paragraphs
2002
2003 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2004
2005         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2006         screen coordinates)
2007
2008 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2009
2010         * lyxtext.h: add x0_, y0_
2011         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2012         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2013
2014 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * text2.C (setCursorIntern): move the x_target update here *
2017         * text3.C: change some bv() to true/false in calls to
2018         cursorUp/Down/Right/Left
2019         * cursor.C: use helper function.
2020
2021 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2022
2023         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2024         * paragraph_funcs.[Ch]: correct comment
2025         * rowpainter.C: do not paint selections away from bv->cursor()
2026         Fix a long standing selection painting bug.
2027         * text3.C: generalize mouse-selection code to LyXTexts other that
2028         top one
2029         * textcursor.C: do not use y coords if we can use par offsets
2030
2031 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2034         cursor position after e.g. inset insert)
2035
2036 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * lyxfind.C (replace): adjust to locking removal + some
2039         code simplification
2040
2041 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2042
2043         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2044         of the path
2045
2046 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * lyxlayout.[Ch]:
2049         * output_docbook.C: XML sanitation: new layout
2050         parameters InnerTag and CommandDepth
2051
2052 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2053
2054         * BufferView_pimpl.C:
2055         * factory.C:
2056         * text3.C: Fix the insertion and modification of button-style
2057         insets
2058
2059 2003-11-13  André Pönitz  <poenitz@gmx.net>
2060
2061         * InsetList.[Ch]: remove deleteLyXText
2062
2063         * paragraph.[Ch]: cache beginOfBody position
2064
2065         * Bidi.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C: remove superfluous update() calls
2069
2070         * vspace.C: cleanup
2071
2072 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2075         * BufferView.C (fitLockedInsetCursor): remove
2076         * cursor.[Ch] (getDim): add
2077         * text.C (getRowNearY): add faster version
2078         * text3.C: remove some update calls
2079
2080 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * LaTeXFeatures.C:
2083         * LyXAction.C:
2084         * MenuBackend.C:
2085         * MenuBackend.h:
2086         * dispatchresult.h:
2087         * factory.C:
2088         * lfuns.h:
2089         * lyxfunc.C:
2090         * lyxtextclass.C:
2091         * lyxtextclass.h:
2092         * text3.C: The Character Style /XML short element patch.
2093
2094 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2095
2096         * text3.C:
2097         * factory.C: Small step to solving 'unable to insert some insets'
2098         problem
2099
2100 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * cursor.[Ch] (updatePos): new function for updating the y
2103         position of the tip inset
2104         * bufferview_funcs.C (put_selection_at):
2105         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2106
2107 2003-11-11  André Pönitz  <poenitz@gmx.net>
2108
2109         * text.C: remove big comment on invalid Paragraph pointers as it is
2110         not valid anymore
2111
2112 2003-11-11  André Pönitz  <poenitz@gmx.net>
2113
2114         * text_funcs.[Ch]: merge with ...
2115
2116         * text.C: ... this
2117
2118         * lyxtext.h:
2119         * text2.C:
2120         * text3.C: adjust
2121
2122         * Makefile.am: remove text_funcs.[Ch]
2123
2124 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * cursor.C (getPos): return absolute cached y coord
2127
2128         * BufferView_pimpl.C (fitCursor): new simplistic code
2129         (workAreaDispatch): add a fitCursor call
2130
2131 2003-11-10  André Pönitz  <poenitz@gmx.net>
2132
2133         * BufferView.[Ch]:
2134         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2135
2136 2003-11-10  André Pönitz  <poenitz@gmx.net>
2137
2138         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2139         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2140         indicate that the cursor needs to leave an inset
2141
2142         * lyxtext.h: remove inset locking
2143
2144         * cursor.[Ch]: re-implement functionality provided by inset locking
2145
2146         * BufferView.[Ch]:
2147         * BufferView_pimpl.[Ch]:
2148         * LyXAction.C:
2149         * bufferview_funcs.[Ch]:
2150         * factory.C:
2151         * funcrequest.[Ch]:
2152         * iterators.C:
2153         * lyx_cb.C:
2154         * lyxfind.C:
2155         * lyxfunc.C:
2156         * text.C:
2157         * text2.C:
2158         * text3.C:
2159         * undo.C: adjust
2160
2161 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2162
2163         * PosIterator.[Ch]: replace the stack with a vector, add inset
2164         accesor
2165         * iterators.[C]: adjust
2166
2167 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2168
2169         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2170         replaced
2171         * paragraph_funcs.C (readParToken): put the correct id in the
2172         error item, not the id of the top paragraph
2173
2174 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2175
2176         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2177         * bufferview_funcs.C (put_selection_at): use the above
2178
2179 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2182
2183 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * output_linuxdoc.h:
2186         * output_plaintext.h:
2187         * output.h:
2188         * output_docbook.h: add #include statements
2189
2190 2003-11-05  José Matos  <jamatos@lyx.org>
2191
2192         * output_docbook.[Ch]:
2193         * output_latex.[Ch]:
2194         * output_linuxdoc.[Ch]:
2195         * output_plaintext.[Ch]: New files for output formats.
2196         * output.[Ch]: New file for helper functions.
2197
2198         * buffer.[Ch]:
2199         * paragraph_funcs.[Ch]: output functions moved to new files.
2200
2201         * outputparams.h: rename of latexrunparams.h
2202
2203         * LaTeX.[Ch]:
2204         * buffer.[Ch]:
2205         * bufferlist.[Ch]:
2206         * converter.[Ch]:
2207         * exporter.C:
2208         * paragraph.[Ch]:
2209         * paragraph_funcs.[Ch]:
2210         * paragraph_pimpl.[Ch]:
2211         * tabular.[Ch]: rename ascii to plaintext
2212         and LatexRunParams to OutputParams.
2213
2214 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2215
2216         * iterators.[Ch] (text): require bv argument
2217         * undo.C (recordUndo):
2218         * lyxfunc.C (dispatch):
2219         * bufferview_funcs.C (put_selection_at): adjust
2220
2221 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2222
2223         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2224
2225 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2228         nestings
2229
2230 2003-11-04  André Pönitz  <poenitz@gmx.net>
2231
2232         * cursor.[Ch]: restructure
2233
2234         * BufferView.[Ch]:
2235         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2236
2237         * iterators.[Ch] (asCursor): remove
2238
2239         * lfuns.h: remove LFUN_INSET_EDIT
2240
2241         * lyxfunc.C:
2242         * tabular.C:
2243         * text.C:
2244         * text2.C:
2245         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2246
2247 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2248
2249         * lyxfind.[Ch]: complete overhaul
2250         * BufferView_pimpl.C:
2251         * lyxfunc.C: adjust
2252         * paragraph.[Ch] (insert): add
2253
2254 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2255
2256         * BufferView.[Ch]:
2257         * lyxtext.h:
2258         * text.C: remove dead spellcheck code
2259
2260 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2261
2262         * dispatchresult.h: add a val setter
2263
2264         * cursor.C (dispatch): use a tempvar for data_[i]
2265
2266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * PosIterator.[Ch]: compile fix
2269
2270 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2271
2272         * text.C (cursorPar): deactivate the cursor cache
2273
2274 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2275
2276         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2277
2278 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2279
2280         * text3.C (dispatch): adjust for new DisptchResult semantics.
2281
2282         * lyxfunc.C (dispatch): handle update when return from
2283         Cursor::dispatch, adjust for new DispatchResult semantics.
2284
2285         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2286         DispatchResult(true) mean to not update. Add class functions for
2287         setting dispatched and update, as well as reading.
2288
2289         * cursor.C (dispatch): don't handle update here
2290
2291 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2292
2293         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2294         * trans_mgr.C: adjust
2295
2296         * paragraph_funcs.C (readParToken): exception safety
2297
2298         * lyxvc.h: store the vcs pointer in a scoped_ptr
2299         * lyxvc.C: adjust
2300
2301         * lyxsocket.C (serverCallback): exception safety
2302
2303         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2304
2305         * ispell.C (clone): make it return a auto_ptr
2306
2307         * factory.C (createInset): exception safety
2308         (readInset): exception safety
2309
2310         * bufferlist.C (newBuffer): exception safety
2311
2312         * Thesaurus.C (Thesaurus): use initialization for aik_
2313
2314         * MenuBackend.C (expandToc): exception safety.
2315
2316 2003-11-03  André Pönitz  <poenitz@gmx.net>
2317
2318         * buffer.C:
2319         * buffer.h:
2320         * bufferview_funcs.C: remove getInsetFromId()
2321
2322         * lyxcursor.[Ch]:
2323         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2324
2325         * lyxfunc.C:
2326         * text2.C:
2327         * text3.C: adjust
2328
2329 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2330
2331         * PosIterator.C (distance, advance): new
2332         * bufferview_funcs.[Ch] (put_selection_at): new
2333         * iterators.[Ch] (lockPath): new
2334
2335 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2336
2337         * iterators.[Ch] (asPosIterator): added
2338         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2339         * PosIterator.[Ch]: added
2340
2341 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * text3.C:
2344         * lyxfunc.C:
2345         * cursor.C (dispatch):
2346         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2347
2348         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2349         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2350         contructor, add a class function dispatched. Remove operator>=
2351
2352 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * debug.C: only use the default constructor for debugstream
2355         (lyxerr) here.
2356
2357         * main.C (main): include debug.h and setup the lyxerr streambuf
2358         here.
2359
2360 2003-10-31  José Matos  <jamatos@lyx.org>
2361
2362         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2363
2364         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2365         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2366         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2367         * paragraph_pimpl.C (simpleTeXSpecialC):
2368         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2369         add LatexRunParams argument.
2370
2371         * exporter.C (Export): change call accordingly.
2372
2373         * latexrunparams.h: add new member to take care of the other backends.
2374 2003-10-30  José Matos  <jamatos@lyx.org>
2375
2376         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2377         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2378         factorise code for paragraph output.
2379         * buffer.[Ch]:
2380         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2381         move functions.
2382
2383 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * text3.C (dispatch):
2386         * lyxfunc.C (dispatch):
2387         * cursor.C (dispatch):
2388         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2389
2390         * dispatchresult.h: make the dispatch_result_t ctor explicit
2391
2392 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * sgml.[Ch]:
2395         * buffer.C: small refactoring of docbook stuff
2396
2397 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2400         meaning.
2401
2402 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2405         operator dispatch_result_t, and operators for == != and >=
2406
2407         * cursor.C (dispatch): adjust for operator dispatch_result_t
2408         removal. comment out call to update
2409
2410         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2411
2412 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2413
2414         * text3.C:
2415         * text2.C:
2416         * text.C:
2417         * lyxtext.h:
2418         * lyxfunc.C:
2419         * cursor.C:
2420         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2421         (dispatch):
2422
2423         * dispatchresult.h: new file, DispatchResult broken out of
2424         insets/insetbase.h
2425
2426         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2427
2428 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * text.C (rowBreakPoint): put a hack inside #if 0
2431
2432 2003-10-28  André Pönitz  <poenitz@gmx.net>
2433
2434         * lyxtext.h:
2435         * metricsinfo.C:
2436         * paragraph_funcs.C:
2437         * rowpainter.C:
2438         * text.C:
2439         * text2.C: general cleanup (lots of small stuff)
2440
2441 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2442
2443         * text2.C (cursorEnd): simple fix to the "end key goes to one
2444         before the end on last row" bug
2445
2446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2447
2448         * text.C (backspace): fix the "zombie characters"
2449
2450 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2451
2452         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2453
2454 2003-10-27  André Pönitz  <poenitz@gmx.net>
2455
2456         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2457
2458         * factory.C: handle new InsetPagebreak, InsetLine
2459
2460         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2461         and move handling into new InsetPagebreak, InsetLine
2462
2463         * BufferView_pimpl.C:
2464         * LyXAction.C:
2465         * ParagraphParameters.C:
2466         * ParameterStruct.h:
2467         * lyxfunc.C:
2468         * lyxtext.h:
2469         * paragraph.C:
2470         * paragraph.h:
2471         * paragraph_funcs.C:
2472         * paragraph_pimpl.C:
2473         * rowpainter.C:
2474         * text.C:
2475         * text2.C:
2476         * text3.C: adjust
2477
2478 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2479
2480         * text.C:
2481         * lyxrow_funcs.[Ch]:
2482         * Bidi.C:
2483         * paragraph.C:
2484         * lyxtext.h:
2485         * rowpainter.C:
2486         * text2.C:
2487         * text3.C: remove lastPos uses in favour of Row::endpos
2488
2489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2490
2491         * undo.C (performUndoOrRedo): fix two crashes by setting a
2492         cursor by hand and reordering some calls. Use bv->lockInset instead
2493         of inset->edit because the latter loses cursor information
2494
2495 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2498         by Martin
2499         (rowBreakPoint): fix width. change point to point + 1.
2500         Add a missing check.
2501
2502 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * MenuBackend.C:
2505         * lyxfunc.C: fix (at least partly) the problems
2506         with the Nav menu and headers inside branch insets
2507         reported by Kayvan
2508
2509 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * paragraph.C (getChar): add strong asserts
2512
2513         * lyxrow_funcs.C (lastPos): remove hideous hack
2514
2515         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2516         (fill): adjust to that (avoid an infinite loop)
2517
2518 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2519
2520         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2521
2522 2003-10-23  André Pönitz  <poenitz@gmx.net>
2523
2524         * RowList_fwd.h: change list<> to vector<> to gain speed
2525         after suggestion from Alfredo
2526
2527 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2528
2529         * lyxtext.h: move the bidi stuff from here...
2530         * text.C: and here
2531         * text2.C: and here
2532         * Bidi.[Ch]: ... to here
2533
2534 2003-10-23  André Pönitz  <poenitz@gmx.net>
2535
2536         * lyxtext.h:
2537         * text.C (isLastRow, isFirstRow): new functions
2538
2539         * paragraph.h: new width cache member
2540
2541         * rowpainter.C: replace RowList::iterator with Row & where possible
2542
2543         * lyxfunc.C: replace several view()->text with a single call
2544
2545         * toc.C: fix 'unused' warning
2546
2547 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2550         when woring with stream::pos_type
2551         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2552
2553 2003-10-22  André Pönitz  <poenitz@gmx.net>
2554
2555         * lyxtext.h:
2556         * text.C: use Row & instead of RowList::iterator
2557
2558         * lyxrow.h: rename end() to endpos()
2559
2560         * rowpainter.C:
2561         * text.C:
2562         * text2.C: adjust
2563
2564 2003-10-22  Angus Leeming  <leeming@lyx.org>
2565
2566         * buffer.[Ch] (fully_loaded): new member function, returning true
2567         only when the file has been loaded fully.
2568         Used to prevent the premature generation of previews and by the
2569         citation inset to prevent computation of the natbib-style label.
2570
2571         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2572         templates are all set up.
2573
2574         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2575
2576 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2577
2578         * text.C: fixed an "oops" in the "is a bit silly"
2579         bug fix
2580
2581 2003-10-21  André Pönitz  <poenitz@gmx.net>
2582
2583         * FuncStatus.[Ch]: small stuff, whitespace
2584
2585         * lyxfont.[Ch]: operator<<() for debug reasons
2586
2587         * lyxfunc.C:
2588         * lyxrow_funcs.C:
2589         * lyxtext.h: whitespace, spelling
2590
2591         * paragraph.C: naming of variables
2592
2593         * text.C:
2594         * text2.C: small stuff
2595
2596
2597 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * text.C: (1) finish off the inset display() work;
2600         (2) fix the "is a bit silly" bug (accessing char
2601         past end of par).
2602
2603 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2604
2605         * text.C: re-introduce display() for insets, fixing the
2606         various bugs (stretch of line above, math inset
2607         positioning, ...)
2608
2609 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * text.C (rightMargin): remove spurious semicolon
2612
2613         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2614         1415)
2615
2616 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2617
2618         * text3.C: fix one crash due to wrong cursor def
2619
2620 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2621
2622         * vc-backend.C (scanMaster): make the regex static
2623
2624         * LaTeX.C (scanAuxFile): make the regexs static
2625
2626         * text3.C (doInsertInset, dispatch, dispatch):
2627         * text2.C (cursorUp, cursorDown):
2628         * text.C (selectNextWordToSpellcheck):
2629         * BufferView_pimpl.C (dispatch):
2630         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2631
2632 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2633
2634         * lyxsocket.C: include <cerrno>
2635
2636 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * lyxfunc.C (dispatch): remove textcache stuff
2639
2640         * bufferlist.C (release): remove textcache stuff
2641         (closeAll): ditto
2642
2643         * TextCache.C: delete file
2644         * TextCache.h: delete file
2645
2646         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2647
2648         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2649         delete of the bv_->text.
2650         (resizeCurrentBuffer): remove texcache stuff
2651         (workAreaResize): ditto
2652
2653 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2656         action.
2657
2658 2003-10-16  André Pönitz  <poenitz@gmx.net>
2659
2660         * lyxrow.[Ch]:
2661         * paragraph.h:
2662         * rowpainter.C:
2663         * text.C:
2664         * text2.C:
2665         * text3.C: speed up by storing y positions per paragraph plus per-row
2666         offset instead of having a 'full' y position in the row.
2667
2668 2003-10-15  André Pönitz  <poenitz@gmx.net>
2669
2670         * iterators.[Ch]:
2671         * iterators.[Ch]:
2672         * undo.[Ch]: make undo aware of inner insets
2673
2674 2003-10-14  Angus Leeming  <leeming@lyx.org>
2675
2676         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2677         static member functions LyX::ref() and LyX::cref.
2678         (lastfiles): new accessor functions for the new lastfiles_ member var.
2679         (addLyXView, views_): add a new LyXView to the list of views_.
2680         (updateInset): loop over all LyXViews to call their own updateInset
2681         member function, returning a pointer to the Buffer owning the inset.
2682
2683         * BufferView_pimpl.C (loadLyXFile):
2684         * MenuBackend.C (expandLastfiles):
2685         * bufferlist.C (MenuWrite, QuitLyX):
2686         lastfiles is no longer a global variable.
2687         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2688
2689         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2690         static function. Access through LyX::cref().emergencyCleanup().
2691
2692 2003-10-14  André Pönitz  <poenitz@gmx.net>
2693
2694         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2695
2696         * undo.[Ch]: restoring part of 'undo in insets'
2697
2698         * Makefile.am:
2699         * undo_funcs.[Ch]: merge with undo.[Ch]
2700
2701         * tabular.C: small cleansing stuff
2702
2703 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * paragraph_funcs.C (readParToken): report unknown insets as error
2706         boxes. Use the outer paragraph as location (also for unknown
2707         tokens).
2708
2709         * factory.C (readInset): do not abort on reading an unknown inset.
2710         Eat it and return 0.
2711
2712 2003-10-13  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2715
2716         * lyxrc.C: displayTranslator is now a function,
2717         declared in GraphicsTypes.h.
2718
2719 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2720
2721         * format.C: new placeholder $$a to pass the socket address.
2722
2723         * bufferlist.[Ch]: new function getBufferFromTmp.
2724
2725         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2726           files in the temporary dir.
2727
2728 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2729
2730         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2731
2732         * Makefile.am: add lyxsocket.[Ch].
2733
2734         * lyx_main.C (error_handler): handle SIGPIPE.
2735
2736 2003-10-13  André Pönitz  <poenitz@gmx.net>
2737
2738         * BufferView_pimpl.C:
2739         * lyxtext.h:
2740         * text.C:
2741         * text2.C:
2742         * text3.C:
2743         * undo_funcs.[Ch]: use paroffset_type instead of
2744           ParagraphList::iterators to prevent multiple conversion
2745           (and get a more robust interface)
2746
2747 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2750         * lyxtext.h: ditto
2751         * text3.C (dispatch): ditto
2752
2753 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2756         move the onlyfile, use onlyfile instead of foundfile in a couple
2757         of places.
2758
2759         * DepTable.C (update): flush the error stream a bit more
2760
2761 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * lyxserver.C (callback): adjust
2764
2765         * lyxfunc.C (getStatus): add a missing brace in commented code
2766         (ensureBufferClean): reindent
2767         (dispatch): delete version taking a string
2768
2769 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * LaTeX.C (deplog): move found file handlig from here...
2772         (handleFoundFile): .. to new function here.
2773         (deplog): make sure to discover several files mentioned on the
2774         same log line.
2775
2776 2003-10-10  André Pönitz  <poenitz@gmx.net>
2777
2778         * lyxfunc.C:
2779         * lyxtext.h:
2780         * tabular.C:
2781         * text.C:
2782         * text2.C:
2783         * text3.C: fix some of the tabular crashes
2784
2785 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2786
2787         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2788
2789         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2790
2791 2003-10-09  André Pönitz  <poenitz@gmx.net>
2792
2793         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2794
2795         * BufferView.C:
2796         * BufferView_pimpl.C:
2797         * bufferview_funcs.C:
2798         * lyx_cb.C:
2799         * lyxcursor.C:
2800         * lyxfind.C:
2801         * lyxfunc.C:
2802         * lyxtext.h:
2803         * text.C:
2804         * text2.C:
2805         * text3.C:
2806         * text_funcs.[Ch]:
2807         * textcursor.[Ch]:
2808         * undo_funcs.C: adjust
2809
2810 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * text2.C (incrementItemDepth): new function, use a backtracking
2813         algorithm to discover the correct item depth.
2814         (resetEnumCounterIfNeeded): new function, use a backtracking
2815         algorithm to discover if counter reset is needed.
2816         (setCounter): use them. Simplify a bit. Add different labels for
2817         different item depths for itemize.
2818
2819         * paragraph.C (Paragraph): remove initialization of enumdepth
2820         (operator=): ditto
2821
2822         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2823         enumerate and itemize. Change the type of itemdepth to signed char.
2824
2825 2003-10-08  André Pönitz  <poenitz@gmx.net>
2826
2827         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2828           thing assignable.
2829         * text.C:
2830         * text2.C: adjust
2831
2832         * tabular.[Ch]: fix crash after 'row-insert'
2833
2834 2003-10-08  Angus Leeming  <leeming@lyx.org>
2835
2836         Fix doxygen warnings.
2837
2838         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2839         Remove CutAndPaste:: prefix from header file declaration.
2840
2841         * LColor.h (fill): remove LColor:: prefix from declaration.
2842
2843         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2844         use lyx::depth_type rather than Paragraph::depth_type so that
2845         header file and .C file match.
2846
2847         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2848
2849         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2850         * aspell.C: \file aspell_local.C -> \file aspell.C
2851         * gettext.C: \file gettext.C -> \file src/gettext.C
2852         * gettext.h: \file gettext.h -> \file src/gettext.h
2853         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2854         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2855         * text.C: \file text.C -> \file src/text.C
2856
2857         * toc.C: move comment so that doxygen is not confused.
2858
2859 2003-10-07  Angus Leeming  <leeming@lyx.org>
2860
2861         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2862
2863 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2864
2865         * aspell.C:
2866         * aspell_local.h: add forgotten std::string's.
2867
2868 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2869
2870         * LaTeXFeatures.C:
2871         * LyXAction.C:
2872         * factory.C:
2873         * lfuns.h:
2874         * lyxfunc.C:
2875         * text3.C: The Box patch. Fancybox support, minipage, parbox
2876
2877 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2878
2879         * CutAndPaste.h:
2880         * DepTable.h:
2881         * FloatList.h:
2882         * LaTeXFeatures.h:
2883         * ParagraphParameters.h:
2884         * TextCache.h:
2885         * Thesaurus.h:
2886         * bufferlist.h:
2887         * exporter.h:
2888         * importer.h:
2889         * lastfiles.h:
2890         * lyxfind.h:
2891         * lyxfont.h:
2892         * lyxlex.h:
2893         * lyxtextclasslist.h:
2894         * messages.h:
2895         * paragraph.h:
2896         * paragraph_pimpl.C:
2897         * textcursor.h: add <string> and other small fixes to make Lars'
2898         std::string patch compile with STLport.
2899
2900 2003-10-06  Angus Leeming  <leeming@lyx.org>
2901
2902         * LColor.h: Add missing #include <string>.
2903
2904 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * All most all file in all subdirs: Make <string> be the prefered
2907         way of getting to std::string, add using declarations.
2908
2909 2003-10-06  André Pönitz  <poenitz@gmx.net>
2910
2911         * metricsinfo.C: initialize LyXFont before changing attribute.
2912         (fixes the 'math in \emph is upright' bug)
2913
2914 2003-10-06  André Pönitz  <poenitz@gmx.net>
2915
2916         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2917
2918 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2919
2920         * graph.C:
2921         * paragraph_pimpl.C: Small fixes to build using STLport
2922
2923 2003-10-02  André Pönitz  <poenitz@gmx.net>
2924
2925         * lyxfunc.C:
2926         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2927
2928 2003-10-01  André Pönitz  <poenitz@gmx.net>
2929
2930         * factory.C: assert early
2931
2932 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * lyx_main.C: remove the global debug object
2935
2936         * debug.h: adjust for new debugstream
2937
2938         * debug.C: adjust for new debugstream and keep the global debug
2939         object here.
2940
2941 2003-09-22  Angus Leeming  <leeming@lyx.org>
2942
2943         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2944         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2945         an incomplete class LyXFont.
2946
2947 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * factory.C: bug fix in branches
2950
2951 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * lyxfunc.C (processKeySym): adjust
2954         (dispatch): adjust
2955         (dispatch): change arg name from ev to func, adjust
2956         (sendDispatchMessage): ditto
2957
2958         * lyx_main.C (defaultKeyBindings): adjust keybindings
2959         (deadKeyBindings): ditto
2960
2961         * kbsequence.C (addkey): return a FuncRequest
2962
2963         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2964
2965         * kbmap.C (bind): take a FuncRequest as arg, adjust
2966         (read): adjust
2967         (lookup): adjust
2968         (defkey): change to take a FuncRequest as arg, adjust
2969         (findbinding): take a FuncRequest as arg, adjust.
2970
2971         * funcrequest.h (operator=): added
2972
2973         * funcrequest.C (FuncRequest): default kb_action changed from
2974         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2975
2976         * buffer.C (dispatch): simplify
2977         (dispatch): adjust to take a FuncRequest as arg, adjust
2978
2979         * boost.C (assertion_failed): change assertion message slightly
2980
2981         * ToolbarBackend.C (read): simplify
2982
2983         * MenuBackend.C (binding): adjust call to findbinding, add a
2984         message if no binding is found.
2985         (read): simplify
2986         (expandToc): correct by adding a empty FuncRequest
2987
2988         * LyXAction.C: include <boost/assert.hpp>
2989         (isPseudoAction): delete function
2990         (LookupFunc): change name to...
2991         (lookupFunc): this. change return type to FuncRequest.
2992         (getActionName): take kb_action as arg, simplify
2993         (funcHasFlag): add an assert, simplify.
2994
2995 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * toc.C (action): return a FuncRequest, simplify
2998
2999         * lyxfunc.C (processKeySym): adjust
3000         (getStatus): delete version that takes an int.
3001         (getStatus): adjust
3002         (dispatch): delete version that takes action as int
3003         (dispatch): adjust
3004         (sendDispatchMessage): simplify and adjust
3005
3006         * funcrequest.C (getArg): take unsigned int as arg
3007
3008         * ToolbarBackend.C (read): adjust
3009         (add): delete version that takes func as a string.
3010         (getIton): take a FuncRequest as arg
3011
3012         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3013         action.
3014
3015         * MenuBackend.C (MenuItem): add a new construct that only takes a
3016         Kind, simplify the constructor use for submenus.
3017         (add): adjust
3018         (expandLastfiles): adjust
3019         (expandDocuments): adjust
3020         (expandFormats): adjust
3021         (expandFloatListInsert): adjust
3022         (expandFloatInsert): adjust
3023         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3024
3025         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3026         Remove class variables lyx_pseudo_map and lyx_arg_map
3027
3028         * LyXAction.C (searchActionArg): delete function
3029         (getPseudoAction): delete function
3030         (retrieveActionArg): delete function
3031         (LookupFunc): make it return kb_action, simplify.
3032         (getActionName): simplify
3033
3034         * factory.C (createInset): fix new bug
3035
3036 2003-09-19  Angus Leeming  <leeming@lyx.org>
3037
3038         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3039         masterFilename_ parameter in the include inset.
3040
3041         * factory.C (createInset): changes due to the changes to InsetInclude.
3042
3043 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3044
3045         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3046
3047 2003-09-18  Angus Leeming  <leeming@lyx.org>
3048
3049         * buffer.C:
3050         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3051         Inset::fillWithBibKeys.
3052         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3053
3054 2003-09-18  Angus Leeming  <leeming@lyx.org>
3055
3056         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3057         variables.
3058         (ctor): pass and store a 'Buffer const &'
3059         (buffer): new member function.
3060
3061         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3062         '*this' to the LaTeXFeatures ctor.
3063
3064 2003-09-18  Angus Leeming  <leeming@lyx.org>
3065
3066         * LColor.h:
3067         * lyxfont.C:
3068         * lyxfont.h:
3069         * lyxtext.h:
3070         * text.C: rename EnumLColor as LColor_color.
3071
3072 2003-09-18  Angus Leeming  <leeming@lyx.org>
3073
3074         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3075         remove #include "insets/insetbase.h" from cursor.h.
3076
3077 2003-09-18  Angus Leeming  <leeming@lyx.org>
3078
3079         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3080         InsetOld_code to remove #include "inset.h".
3081
3082         * iterators.C: add #include "insets/inset.h"
3083
3084 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3085
3086         * BufferView.C: remove more locking stuff that apparently doesn't
3087         do anything sensible.
3088
3089 2003-09-16  André Pönitz  <poenitz@gmx.net>
3090
3091         * paragraph.[Ch]:
3092         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3093           performance boost.
3094
3095 2003-09-16  Angus Leeming  <leeming@lyx.org>
3096
3097         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3098
3099         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3100         arg/return type.
3101
3102         * paragraph.h: remove #include "lyxfont.h". Forward declare
3103         LyXFont_size.
3104
3105 2003-09-16  Angus Leeming  <leeming@lyx.org>
3106
3107         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3108         of support/textutils.h.
3109         (isWord): move the contents of support/textutils.h's IsWordChar here.
3110
3111         * buffer.C:
3112         * lyxfind.C:
3113         * rowpainter.C:
3114         * text.C:
3115         * text2.C: add #include "paragraph.h".
3116
3117         * rowpainter.C:
3118         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3119
3120 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * main.C:
3123         * lyx_main.C:
3124         * lyx_cb.C:
3125         * buffer.C:
3126         * LaTeX.C: use namespace alias for lyx::support::os
3127
3128 2003-09-16  Angus Leeming  <leeming@lyx.org>
3129
3130         * bufferparams.C:
3131         * bufferview_funcs.C:
3132         * factory.C:
3133         * lyxfunc.C:
3134         * paragraph_pimpl.C:
3135         * rowpainter.C:
3136         * text.C: add #include "LColor.h".
3137
3138 2003-09-16  Angus Leeming  <leeming@lyx.org>
3139
3140         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3141         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3142         return LyXFont &.
3143         Store the FontBits::color variable as an int rather than as an
3144         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3145         file.
3146
3147         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3148         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3149         string calls together.
3150
3151         * lyxrc.C: add #include "LColor.h".
3152
3153 2003-09-15  Angus Leeming  <leeming@lyx.org>
3154
3155         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3156         a cow_ptr.
3157
3158 2003-09-15  Angus Leeming  <leeming@lyx.org>
3159
3160         * LColor.h: add an EnumLColor wrapper for LColor::color.
3161
3162         * lyxfont.[Ch] (color, setColor, realColor):
3163         * lyxtext.h, text.C (backgroundColor):
3164         pass EnumLColor args to/from the functions, rather than LColor::color
3165         ones.
3166
3167         * lyxfont.h:
3168         * lyxtext.h: forward declare EnumLColor.
3169
3170         * lyx_main.C: add #include "LColor.h".
3171
3172 2003-09-15  Angus Leeming  <leeming@lyx.org>
3173
3174         * .cvsignore: add lyx-gtk.
3175
3176 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * Chktex.C
3179         * LaTeX.C
3180         * LaTeXFeatures.C
3181         * ParagraphParameters.C
3182         * Spacing.C
3183         * buffer.C
3184         * bufferparams.C
3185         * bufferview_funcs.C
3186         * chset.C
3187         * counters.C
3188         * funcrequest.C
3189         * lyxfont.C
3190         * lyxgluelength.C
3191         * lyxlength.C
3192         * paragraph.C
3193         * paragraph_funcs.C
3194         * text3.C
3195         * vc-backend.C: remove usage of STRCONV
3196
3197 2003-09-15  Angus Leeming  <leeming@lyx.org>
3198
3199         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3200         explicitly define the color passed to the painter.
3201
3202 2003-09-15  Angus Leeming  <leeming@lyx.org>
3203
3204         * bufferparams.C (BufferParams): reorder member initializers to avoid
3205         compiler warning.
3206
3207 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3210         * text.C (updateRowPositions): remove an unusual nop
3211
3212 2003-09-12  André Pönitz  <poenitz@gmx.net>
3213
3214         * BufferView_pimpl.C:
3215         * Bullet.C:
3216         * layout.h:
3217         * lyxfunc.C:
3218         * lyxlayout.[Ch]:
3219         * lyxtextclass.C:
3220         * rowpainter.C:
3221         * text.C:
3222         * text2.C:
3223         * Counters.[Ch]: finish the 'automatic counters' job
3224
3225 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3226
3227         * aspell.C: include <boost/assert.cpp> (compile fix)
3228
3229 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3230
3231         * boost.C (assertion_failed): use lyx::support::abort instead of
3232         assert.
3233
3234 2003-09-10  Angus Leeming  <leeming@lyx.org>
3235
3236         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3237         with their _fwd progeny.
3238
3239 2003-09-09  Angus Leeming  <leeming@lyx.org>
3240
3241         134 files throughtout the source tree: replace 'using namespace abc;'
3242         directives with the appropriate 'using abc::xyz;' declarations.
3243
3244 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3245
3246         * boost.C (emergencyCleanup): moved here from LAssert.c
3247         (assertion_failed): new function, called by BOOST_ASSERT
3248
3249         * several files: change Assert to BOOST_ASSERT
3250
3251 2003-09-09  Angus Leeming  <leeming@lyx.org>
3252
3253         * buffer.[Ch]: Add an Impl class and move Buffer's member
3254         variables into it. As a result move several header files out of
3255         buffer.h.
3256
3257         Add header files to lots of .C files all over the tree as a result.
3258
3259 2003-09-09  Angus Leeming  <leeming@lyx.org>
3260
3261         * buffer.[Ch]: make Buffer's member variables private. Add
3262         accessor functions.
3263
3264         Lots of changes all over the tree as a result.
3265
3266 2003-09-08  Angus Leeming  <leeming@lyx.org>
3267
3268         * graph.C: #include <config.h>.
3269
3270 2003-09-08  Angus Leeming  <leeming@lyx.org>
3271
3272         * BranchList.C:
3273         * BufferView.C:
3274         * BufferView_pimpl.C:
3275         * CutAndPaste.C:
3276         * DepTable.C:
3277         * LaTeX.C:
3278         * LaTeXFeatures.C:
3279         * LyXAction.C:
3280         * MenuBackend.C:
3281         * TextCache.C:
3282         * aspell.C:
3283         * buffer.C:
3284         * bufferlist.C:
3285         * changes.C:
3286         * chset.C:
3287         * converter.C:
3288         * counters.C:
3289         * debug.C:
3290         * graph.C:
3291         * ispell.C:
3292         * lyx_cb.C:
3293         * lyxfind.C:
3294         * lyxfunc.C:
3295         * lyxlex_pimpl.C:
3296         * lyxrc.C:
3297         * lyxrow.C:
3298         * paragraph.C:
3299         * rowpainter.C:
3300         * texrow.C:
3301         * text.C:
3302         * text2.C:
3303         * toc.C: remove redundant using directives.
3304
3305 2003-09-07  Angus Leeming  <leeming@lyx.org>
3306
3307         * LaTeXFeatures.h: remove #include "support/types.h".
3308         * ToolbarBackend.h: remove #include <algorithm>.
3309         * changes.h: remove #include <ctime>.
3310         * debug.h: remove #include <iosfwd>.
3311         * graph.h: remove #include "support/std_string.h".
3312         * lyx_main.h: remove #include <csignal>.
3313         * lyxlex_pimpl.h: remove #include <fstream>.
3314         * sgml.h: remove #include <algorithm>, <utility>.
3315         * toc.h: remove #include "support/std_ostream.h".
3316         Add #include <iosfwd>.
3317
3318 2003-09-07  Angus Leeming  <leeming@lyx.org>
3319
3320         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3321
3322         * converter.h: forward declare LatexRunParams.
3323         * encoding.h: remove #include "lyxrc.h".
3324         * lyxtext.h: remove #include "LColor.h".
3325         * lyxtextclass.h: remove #include "support/types.h".
3326         * trans.h: remove #include "tex-accent.h".
3327         * trans_mgr.h: remove #include "tex-accent.h".
3328         * insets/inset.h: remove #include "support/types.h", <vector>.
3329         * insets/insetcollapsable.h: remove #include "LColor.h".
3330         * insets/insetinclude.h: remove #include "dimension.h".
3331         * insets/insetlatexaccent.h: remove #include "dimension.h".
3332         * insets/insetoptarg.h:: remove #include "insettext.h".
3333         * insets/insettext.h: remove #include "dimension.h",
3334         <boost/shared_ptr.hpp>
3335
3336         * insets/renderers.h: add #include "dimension.h".
3337         * insets/updatableinset.h: add #include "support/types.h".
3338
3339         * many .C files: Associated changes.
3340
3341 2003-09-06  Angus Leeming  <leeming@lyx.org>
3342
3343         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3344         one, inside testInvariant.
3345
3346         * PrinterParams.C: new file.
3347         * PrinterParams.[Ch]: move the function bodies out of line.
3348
3349 2003-09-06  Angus Leeming  <leeming@lyx.org>
3350
3351         * ParagraphParameters.h: forward declare ParameterStruct rather than
3352         including its header file.
3353         (depth): moved out-of-line.
3354
3355 2003-09-06  Angus Leeming  <leeming@lyx.org>
3356
3357         * BufferView_pimpl.h:
3358         * kbmap.h:
3359         * kbsequence.h:
3360         * lyxfunc.h: forward declare LyXKeySym rather than
3361         #include "frontends/LyXKeySym.h".
3362
3363         * BufferView_pimpl.C:
3364         * kbmap.C:
3365         * kbsequence.C:
3366         * lyxfunc.C: associated changes.
3367
3368 2003-09-06  Angus Leeming  <leeming@lyx.org>
3369
3370         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3371         As a result, can remove the #include "insets/inset.h" from BufferView.h
3372
3373 2003-09-06  Angus Leeming  <leeming@lyx.org>
3374
3375         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3376         As a result, can remove the #include "insets/inset.h" from BufferView.h
3377
3378 2003-09-06  Angus Leeming  <leeming@lyx.org>
3379
3380         * buffer_funcs.C:
3381         * buffer.h:
3382         * bufferlist.C:
3383         * BufferView.C:
3384         * bufferview_funcs.C:
3385         * BufferView_pimpl.C:
3386         * CutAndPaste.C:
3387         * lyx_cb.C:
3388         * lyxfunc.C:
3389         * paragraph.h:
3390         * ParagraphParameters.C:
3391         * tabular.C:
3392         * text3.C:
3393         * toc.C:
3394         * undo_funcs.C:
3395         * frontends/controllers/ControlDocument.C:
3396         * insets/insetcaption.C: rearrange the #includes into some sort of
3397         coherent order.
3398
3399         * buffer.h: remove #includes ErrorList.h, undo.h
3400
3401 2003-09-06  Angus Leeming  <leeming@lyx.org>
3402
3403         * support/types.h: add a 'depth_type' typedef, used to store the
3404         nesting depth of a paragraph.
3405
3406         * paragraph.h:
3407         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3408         defining explicitly.
3409
3410         * buffer.h:
3411         * paragraph_funcs.h:
3412         * ParagraphParameters.h:
3413         * sgml.h: use lyx::depth_type rather than Paragraph or
3414         ParameterStruct's depth_type.
3415
3416         * buffer.h
3417         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3418
3419         * BufferView.C:
3420         * BufferView_pimpl.C:
3421         * CutAndPaste.C:
3422         * ParagraphParameters.C:
3423         * buffer_funcs.C:
3424         * bufferlist.C:
3425         * bufferview_funcs.C:
3426         * lyx_cb.C:
3427         * lyxfunc.C:
3428         * tabular.C:
3429         * text3.C:
3430         * toc.C:
3431         * undo_funcs.C:
3432         * frontends/LyXView.C:
3433         * frontends/controllers/ControlDocument.C:
3434         * frontends/controllers/ControlErrorList.C:
3435         * insets/insetbibitem.C:
3436         * insets/insetbranch.C:
3437         * insets/insetcaption.C:
3438         * insets/insetcollapsable.C:
3439         * insets/insetenv.C:
3440         * insets/insetert.C:
3441         * insets/insetfloat.C:
3442         * insets/insetfoot.C:
3443         * insets/insetfootlike.C:
3444         * insets/insetnewline.C:
3445         * insets/insetquotes.C:
3446         * insets/insettabular.C:
3447         * insets/insettext.C:
3448         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3449
3450         * frontends/controllers/ControlChanges.C: #include "changes.h".
3451
3452 2003-09-06  Angus Leeming  <leeming@lyx.org>
3453
3454         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3455         than #including paragraph.h.
3456
3457         * ParagraphList.h:
3458         * RowList.h: deleted. Superfluous.
3459
3460         * CutAndPaste.h:
3461         * iterators.h:
3462         * lyxcursor.h:
3463         * lyxtext.h:
3464         * text_funcs.h:
3465         * undo.h:
3466         * undo_funcs.h:
3467         * insets/inset.h:
3468         * insets/insettext.h: use ParagraphList_fwd.h rather than
3469         ParagraphList.h.
3470
3471         * paragraph.h: don't forward declare ParagraphList.
3472
3473         * buffer.h:
3474         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3475         rather than ParagraphList.h. paragraph.h is still needed for the
3476         Paragraph::depth_type parameters.
3477
3478         * textcursor.h: enable it to compile stand-alone in light of the
3479         above changes.
3480
3481         * bufferview_funcs.C:
3482         * iterators.C:
3483         * lyxfunc.C:
3484         * lyxrow_funcs.C:
3485         * paragraph.C:
3486         * rowpainter.C:
3487         * text.C:
3488         * text2.C:
3489         * text3.C:
3490         * text_funcs.C:
3491         * textcursor.C:
3492         * undo.C:
3493         * frontends/controllers/ControlParagraph.C:
3494         * frontends/controllers/ControlTabular.C:
3495         * insets/insetmarginal.C:
3496         * insets/insetminipage.C:
3497         * insets/insetnote.C:
3498         * insets/insetoptarg.C: add header files needed to compile again.
3499
3500 2003-09-06  Angus Leeming  <leeming@lyx.org>
3501
3502         * RowList_fwd.h: new file, forward-declaring Row rather than
3503         #including lyxrow.h.
3504
3505         * lyxrow_funcs.h:
3506         * lyxtext.h:
3507         * paragraph.h:
3508         * insets/insettext.h: use it instead of RowList.h
3509
3510         * bufferview_funcs.C:
3511         * lyxfunc.C:
3512         * lyxrow_funcs.C:
3513         * paragraph.C:
3514         * rowpainter.C:
3515         * text.C:
3516         * text2.C:
3517         * text3.C: #include "RowList.h".
3518
3519 2003-09-05  Angus Leeming  <leeming@lyx.org>
3520
3521         * factory.C (createInset):
3522         * vspace.C (c-tor): replace sscanf call with an istringstream.
3523         * ispell.C: re-add missing HP/UX headers.
3524         * lyxserver.C: re-add missing  os2 headers.
3525
3526 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3527
3528         * BranchList.C:
3529         * graph.C:
3530         * ispell.C:
3531         * lastfiles.C:
3532         * lyx_cb.C:
3533         * lyxserver.C:
3534         * texrow.C:
3535         * text3.C: re-add missing system headers, needed for 2.95.2.
3536
3537 2003-09-05  Angus Leeming  <leeming@lyx.org>
3538
3539         Changes most place everywhere due to the removal of using directives
3540         from support/std_sstream.h.
3541
3542 2003-09-05  Angus Leeming  <leeming@lyx.org>
3543
3544         Replace LString.h with support/std_string.h,
3545         Lsstream.h with support/std_sstream.h,
3546         support/LIstream.h with support/std_istream.h,
3547         support/LOstream.h with support/std_ostream.h.
3548
3549         Changes resulting throughout the tree.
3550
3551 2003-09-05  Angus Leeming  <leeming@lyx.org>
3552
3553         * sgml.h: ensure that the header file can be compiled stand-alone.
3554         * *.C: strip out redundant #includes. (320 in total.)
3555
3556 2003-09-04  Angus Leeming  <leeming@lyx.org>
3557
3558         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3559         here (from getPackages).
3560
3561         * debug.[Ch]: add a new EXTERNAL tag.
3562
3563 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3564
3565         * text2.C (cursorEnd): simplify
3566         (setCursor): adjust
3567         (getColumnNearX): adjust
3568
3569         * text.C (computeBidiTables): adjust
3570         (fill): adjust
3571
3572         * rowpainter.C (paintChars): adjust
3573         (paintSelection): adjust
3574         (paintChangeBar): adjust
3575         (paintText): adjust
3576
3577         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3578         lastPos instead.
3579         (numberOfSeparators): adjust
3580
3581 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3582
3583         * LyXAction.C:
3584         * box.[Ch]:
3585         * lfuns.h:
3586         * lyxfunc.C:
3587         * text3.C: Restricts the mouse click functionality
3588         of insets like bibtex, include, toc and floatlist to the visible
3589         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3590         up the dialogs. Cursor has to be in front of the inset (i.e.
3591         start of row) for this to function.
3592
3593 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3594
3595         * bufferview_funcs.C (currentState): output row information
3596
3597 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3598
3599         * bufferview_funcs.C (currentState): output paragraph position
3600
3601 2003-09-04  Angus Leeming  <leeming@lyx.org>
3602
3603         * FloatList.h: move out #include "Floating.h".
3604         * LaTeX.h: move out #include "DepTable.h".
3605         * LyXAction.h: move out #include "funcrequest.h".
3606         * buffer.h: move out #include "author.h", "iterators.h".
3607         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3608         * lyx_main.h: move out #include "errorlist.h".
3609         * lyxfunc.h: move out #include "FuncStatus.h".
3610         * lyxtext: move out #include "lyxcursor.h".
3611         * paragraph_pimpl.h: move out #include "counters.h".
3612
3613 2003-09-03  Angus Leeming  <leeming@lyx.org>
3614
3615         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3616         preamble_snippets list, enabling us to add snippets to the preamble
3617         only if the snippet was not there already.
3618
3619 2003-09-04  Angus Leeming  <leeming@lyx.org>
3620
3621         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3622
3623 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3626         update
3627
3628 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3629
3630         * BranchList.C: point fix, earlier forgotten
3631
3632 2003-09-02  Angus Leeming  <leeming@lyx.org>
3633
3634         * box.C (contains): renamed from 'contained' after a fantastic
3635         amount of hot air.
3636
3637 2003-09-02  John Levon  <levon@movementarian.org>
3638
3639         * BufferView.C:
3640         * lyxcursor.h:
3641         * lyxcursor.C:
3642         * lyxfunc.C:
3643         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3644
3645 2003-09-02  John Levon  <levon@movementarian.org>
3646
3647         * text2.C: simplification of cursorEnd(), including partial
3648         fix for bug 1376
3649
3650 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * buffer.C (readFile): add a space
3653
3654 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3657
3658 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * buffer.C (readFile): new function, take a filename and a
3661         ParagraphList::iterator
3662         (readFile): adjust
3663         (readFile): adjust, make it private. don't use setStream, make
3664         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3665         always contain the filename.
3666
3667         * BufferView.C (insertLyXFile): simplify and make it work for
3668         gzipped files.
3669
3670 2003-08-30  John Levon  <levon@movementarian.org>
3671
3672         * Makefile.am: fix dist (from Kayvan)
3673
3674 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * most files: change to use const Buffer refs
3677
3678 2003-08-27  André Pönitz  <poenitz@gmx.net>
3679
3680         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3681         on top of ownerPar().
3682
3683 2003-08-27  John Levon  <levon@movementarian.org>
3684
3685         * funcrequest.C: properly initialise POD members
3686
3687 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * lyxtext.h (top_y): move top_y from here
3690         * text.C:
3691         * text2.C:
3692         * text3.C:
3693         * BufferView.[Ch]:
3694         * BufferView_pimpl.[Ch]: to here
3695         * frontends/screen.C:
3696         * insets/insettabular.C:
3697         * insets/insettext.C: adjust
3698         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3699
3700 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * BufferView.[Ch]:
3703         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3704
3705 2003-08-26  André Pönitz  <poenitz@gmx.net>
3706
3707         * paragraph_func.[Ch] (outerPar): new function
3708
3709         * paragraph.C:
3710         * paragraph_funcs.C:
3711         * paragraph_funcs.h:
3712         * paragraph_pimpl.C:
3713         * text2.C: remove Inset::par_owner
3714
3715 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3716
3717         * lyxrow_funcs.C:
3718         * lyxtext.h:
3719         * text.C:
3720         * text2.C: eliminates the needFullRow/display() stuff
3721         altogether, putting the logic in metrics/draw in the insets.
3722
3723 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * text2.C (redoParagraphInternal, redoParagraphs):
3726         * text.C (redoParagraph): add a call to updateRowPositions at the
3727         end of each 'metrics-like' call. Remove all others.
3728         (getRow): remove the 'y-computing' version.
3729         (getRowNearY): do not compute nor return the real y. Solve the
3730         'y < 0' problem and simplify.
3731
3732 2003-08-22  Angus Leeming  <leeming@lyx.org>
3733
3734         * *.[Ch]: clean-up of licence and author blurbs.
3735         Also move config.h out of a few .h files and into a few .C files.
3736
3737 2003-08-22  André Pönitz  <poenitz@gmx.net>
3738
3739         * lyxrow.[Ch]: add x_ and *fill_ members
3740
3741         * lyxtext.h:
3742         * text.C:
3743         * rowpainter.C:
3744         * text2.C: adjust/remove prepareToPrint() calls
3745
3746 2003-08-22  André Pönitz  <poenitz@gmx.net>
3747
3748         * lyxrow.[Ch]: add  end_ member
3749
3750         * lyxrow_funcs.C: use LyXRow::end_
3751
3752         * lyxtext.h (singleWidth): add LyXFont parameter
3753
3754         * rowpainter.C:
3755         * text2.C: adjust LyXText::singleWidth() calls
3756
3757         * text.C (redoParagraph): simplify row breaking logic
3758
3759
3760 2003-08-19  André Pönitz  <poenitz@gmx.net>
3761
3762         * funcrequest.C: initialize button_ member
3763
3764         * text3.C:
3765         * rowpainter.[Ch]: interface consolidation
3766
3767 2003-08-18  André Pönitz  <poenitz@gmx.net>
3768
3769         * BufferView.C:
3770         * BufferView_pimpl.C:
3771         * lyxfind.C:
3772         * paragraph_funcs.C:
3773         * rowpainter.C:
3774         * text3.C: remove LyXScreen::draw() and fitCursor calls
3775
3776         * BranchList.h: remove spurious semicolons
3777
3778         * MenuBackend.C: fix branchlist related crash
3779
3780 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3781
3782         * BranchList.[Ch]:
3783         * InsetList.[Ch]:
3784         * LColor.[Ch]:
3785         * LyXAction.C:
3786         * Makefile.am:
3787         * MenuBackend.[Ch]:
3788         * bufferparams.[Ch]:
3789         * factory.C:
3790         * lfuns.h:
3791         * lyxfunc.C:
3792         * text3.C: implements the 'branch inset'
3793         idea. This allows the output of various versions of a document
3794         from a single source version, selectively outputing or suppressing
3795         output of parts of the text.
3796         This implementation contains a 'branch list editor' in a separate
3797         tab of the document settings dialog. Branches are user definable
3798         and have a "display colour" to distinguish them on-screen.
3799
3800         ColorHandler was somewhat cleaned up.
3801         (1) make possible a dynamically growing LColor list by allowing
3802         the graphic context cache to grow along (vector);
3803         (2) eliminate an IMHO unnecessary step in colour allocation.
3804
3805 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3806
3807         * BufferView_pimpl.C: compile fix
3808
3809 2003-08-15  André Pönitz  <poenitz@gmx.net>
3810
3811         * rowpainter.C: remove extra metrics calls
3812
3813         * lyxtext.h: merge the two constructors into a single one,
3814           pass reference to owner's par list
3815
3816         * BufferView_pimpl.C:
3817         * text.C:
3818         * text2.C: adjust
3819
3820 2003-08-15  André Pönitz  <poenitz@gmx.net>
3821
3822         * lyxrow_funcs.[Ch]:
3823         * lyxtext.h:
3824         * paragraph.h:
3825         * paragraph_funcs.C:
3826         * rowpainter.C:
3827         * text.C:
3828         * text2.C:
3829         * text3.C:
3830         * text_funcs.C: split LyXText::rowlist_ into individual
3831         Paragraph::rows_ chunks
3832
3833         * BufferView.[Ch]:
3834         * BufferView_pimpl.[Ch]:
3835         * lyxfind.C:
3836         * lyxtext.h:
3837         * text3.C: remove toggleSelection()
3838
3839 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3840
3841         * bufferlist.C: beautify two alerts (shorter text of buttons)
3842         * buffer.C: Remove redundant ' ' from message
3843         * tabular.h:
3844         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3845         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3846         rename VALIGN_CENTER to VALIGN_MIDDLE
3847
3848 2003-08-11  André Pönitz  <poenitz@gmx.net>
3849
3850         * lyxtext.h (getPar):
3851         * text.C: new function
3852
3853 2003-08-11  André Pönitz  <poenitz@gmx.net>
3854
3855         * Makefile.am:
3856         * tracer.[Ch]: remove unneeded files
3857
3858         * InsetList.[Ch]: remove resizeInsetsLyXText()
3859
3860         * lyxtext.h:
3861         * text.C:
3862         * text2.C:
3863         * text3.C: merge insertParagraphs() and appendParagraph()
3864         remove breakAgain(), update()
3865
3866         * BufferView_pimpl.[Ch]:
3867         * bufferview_funcs.[Ch]:
3868         * lyxfunc.C:
3869         * paragraph.[Ch]:
3870         * rowpainter.C:
3871         * tabular.C: adjust after text & InsetList changes.
3872
3873 2003-08-08  André Pönitz  <poenitz@gmx.net>
3874
3875         * text.C (insertChar, backspace): replace rowlist fiddling
3876         with rebreak of full par
3877
3878         * lyxtext.h:
3879         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3880         checkParagraph, updateInset): removed
3881
3882 2003-08-07  André Pönitz  <poenitz@gmx.net>
3883
3884         * paragraph.C:
3885         * text3.C: merge some LFUN handlers, remove dead code
3886
3887 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3888
3889         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3890
3891 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3892
3893         * text2.C (DEPM): fix part of bug 1255 and 1256
3894
3895 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3896
3897         * BufferView_pimpl.C (workAreaDispatch): change to use
3898         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3899         that are no mouse related.
3900
3901 2003-08-05  André Pönitz  <poenitz@gmx.net>
3902
3903         * BufferView.[Ch]:
3904         * BufferView_pimpl.[Ch]:
3905         * bufferview_funcs.C:
3906         * text2.C:
3907         * text3.C: rip out "deep update"
3908
3909         * textcursor.[Ch] (last_sel_cursor): remove unused member
3910
3911 2003-08-04  André Pönitz  <poenitz@gmx.net>
3912
3913         * BufferView.[Ch]:
3914         * BufferView_pimpl.[Ch]:
3915         * ParagraphParameters.C:
3916         * bufferview_funcs.C:
3917         * lyx_cb.C:
3918         * lyxfind.C:
3919         * lyxfunc.C:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: replace "complicated" BufferView::update(...) calls with
3923         simpler ones.
3924
3925         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3926
3927 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3928
3929         * Makefile.am (lyx_SOURCES): add paper.h
3930
3931 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3932
3933         * Makefile.am: move things around so that both lyx-qt and
3934         lyx-xforms can be built (according to --with-frontend). Then lyx
3935         is a symbolic link to lyx-[firstfrontend]
3936
3937 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3938
3939         * Always use std::endl with lyxerr
3940
3941 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3942
3943         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3944
3945 2003-08-01  André Pönitz  <poenitz@gmx.net>
3946
3947         * BufferView.[Ch]:
3948         * BufferView_pimpl.[Ch]:
3949         * lyxfunc.C:
3950         * text3.C: merge BufferView::repaint() and BufferView::update()
3951
3952 2003-08-01  José Matos  <jamatos@lyx.org>
3953
3954         * buffer.[Ch]: file_format is no longer a buffer data element.
3955
3956 2003-08-01  André Pönitz  <poenitz@gmx.net>
3957
3958         * BufferView.C:
3959         * lyxtext.h:
3960         * text.C:
3961         * text2.C: make redoParagraph more independent of current cursor
3962
3963         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3964         * text.C:
3965         * text2.C: remove unneeded members
3966
3967 2003-07-30  André Pönitz  <poenitz@gmx.net>
3968
3969         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3970
3971         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3972           create a single function...
3973
3974         * paragraph_funcs.C (moveItem): ... here.
3975
3976         * text.C:
3977           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3978
3979 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * LColor.[Ch]: Add comment and greyedout logical colors.
3982
3983 2003-07-30  André Pönitz  <poenitz@gmx.net>
3984
3985         * tabular.C: don't use Assert too heavily. This crashes where it
3986           shouldn't
3987
3988 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3991         is disabled (bug 1232)
3992
3993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3994
3995         * factory.C: limited 'arg' scope
3996
3997 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3998
3999         * factory.C: fixed Note submenu issues
4000
4001 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4002
4003         * factory.C: submenu for Note/Comment/Greyedout
4004
4005 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4006
4007         * lyx_main.C (LyX):
4008         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4009
4010 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4011
4012         * LaTeXFeatures.C:
4013         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4014         greyedout. Patch provided by Jürgen Spitzmüller.
4015
4016 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4017
4018         * kbmap.C (read): fix error message when reading bind files
4019
4020 2003-07-29  Angus Leeming  <leeming@lyx.org>
4021
4022         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4023         certainly does not do what it purports to do. I am doing it, and
4024         us, a favour by killing it.
4025
4026 2003-07-28  José Matos  <jamatos@lyx.org>
4027
4028         * buffer.C (readBody, do_writeFile):
4029         * paragraph.C(readParagraph): \end_document replaces \the_end.
4030
4031 2003-07-29  André Pönitz  <poenitz@gmx.net>
4032
4033         * BufferView.[Ch]:
4034         * BufferView_pimpl.[Ch]:
4035         * lyxfunc.C:
4036         * text2.C:
4037         * text3.C:
4038         * textcursor.[Ch]: remove toggleToggle & Co
4039
4040 2003-07-28  José Matos  <jamatos@fep.up.pt>
4041
4042         * buffer.C (readParagraph):
4043         * params_func (readParToken, readParagraph):
4044         * paragraph.C (write): \layout -> \begin_layout.
4045
4046 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * lyxlex_pimpl.C (setFile): clean up slightly.
4049
4050         * bufferparams.h: add compressed var
4051
4052         * buffer_funcs.C (readFile): adjust for LyXLex change
4053         (newFile): ditto + simplify
4054
4055         * buffer.C (writeFile): handle writing of compressed files
4056
4057         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4058         Check if the file is compressed and set a bufferparm if so.
4059
4060         * Makefile.am (lyx_LDADD): remove explicit -lz
4061
4062 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4065         makeDocBookFile): put the real LyX version in the first line of
4066         the file
4067
4068         * version.h:
4069         * version.C.in: remove lyx_docversion
4070
4071         * tabular.C (write_attribute): add a template-based version to
4072         write enums properly
4073
4074 2003-07-28  André Pönitz  <poenitz@gmx.net>
4075
4076         * lyxtext.h:
4077         * text.C:
4078         * text2.C:
4079         * text3.C: use doubles again for x-coordinates. They are needed.
4080
4081 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * messages.C (getLocaleDir): use lyx_localedir()
4084
4085         * lyxlex_pimpl.C (setFile): compress stuff
4086
4087         * buffer.C (writeFile): add some compression stuff
4088         (do_writeFile): new func, dont call expliti close... will this
4089         breake anything?
4090
4091         * Makefile.am (lyx_LDADD): add -lz
4092
4093 2003-07-28  José Matos  <jamatos@fep.up.pt>
4094
4095         * buffer.C: increment file format.
4096         * paragraph_funcs (readParagraph, readParToken):
4097         * paragraph.C (readParagraph): add \end_layout.
4098
4099 2003-07-27  Angus Leeming  <leeming@lyx.org>
4100
4101         * Makefile.am: remove special casing for configure-time setting of
4102         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4103
4104         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4105         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4106
4107 2003-07-26  André Pönitz  <poenitz@gmx.net>
4108
4109         * paragraph_func.[Ch]:
4110         * paragraph.C (realizeFont): inline it whereever it is used
4111
4112         * rowpainter.C:
4113         * text.C:
4114         * text2.C:
4115         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4116
4117
4118 2003-07-26  André Pönitz  <poenitz@gmx.net>
4119
4120         *       lyxtext.h:
4121         * text.C:
4122         * text2.C: get rid of LyXText::need_break_row
4123
4124 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * toc.[Ch]: put namespace toc inside namespace lyx
4127
4128         * MenuBackend.C (expandToc2): adjust for lyx::toc
4129         (expandToc): ditto
4130
4131         * lyxfunc.C (dispatch): adjust for lyx::find
4132
4133         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4134         lyx::find instead. Reorganize a bit.
4135         (LyXReplace): rename to replace
4136         (LyXFind): rename to find
4137
4138         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4139         (dispatch): ditto
4140
4141 2003-07-26  André Pönitz  <poenitz@gmx.net>
4142
4143         * text.C (setHeightOfRow): restrict scope of temporary variable
4144
4145         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4146           code (never has been used?)
4147
4148 2003-07-27  Asger Alstrup  <alstrup@local>
4149
4150         * text.C (fill): Optimise algorithm to exploit that we can reuse
4151         the LyXFont for many characters.
4152         (setHeightOfRow): Same thing.
4153         (rowBreakPoint): Same thing.
4154
4155 2003-07-26  Asger Alstrup  <alstrup@local>
4156
4157         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4158
4159         * text.C (singleWidth): Spurious font copying in hot-spot
4160         singleWidth avoided. Reorder tests for arabic for efficiency.
4161
4162         * text.C (fill): handle empty paragraphs better.
4163
4164 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4165
4166         * ispell.C:
4167         * encoding.h: add includes
4168
4169         * lyxrc.C: remove reading of bind files
4170
4171         * lyx_main.C (init): setup bindings and menus only if we have a
4172         gui.
4173
4174         * kbmap.C (read): new method. Do the actual reading of bind
4175         files.
4176
4177         * converter.C (dvipdfm_options):
4178         * bufferparams.C:
4179         * lyxrc.C (read):
4180         (output): adapt PAPER_* enums.
4181
4182         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4183
4184         * bufferparams.h: remove paper-related enums from there
4185
4186         * paper.h: New file. A trivial header file to hold paper-related
4187         enums. It should later expand to contain many paper-related
4188         horrors access.
4189
4190         * lyxrc.C: declare extern displayTranslator
4191
4192 2003-07-27  José Matos  <jamatos@fep.up.pt>
4193
4194         * tabular.[Ch] (linuxdoc): add support for tables and figures
4195         (linuxdoc).
4196
4197 2003-07-27  José Matos  <jamatos@fep.up.pt>
4198
4199         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4200         consistency in both functions.
4201         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4202
4203 2003-07-26  Asger Alstrup  <alstrup@local>
4204
4205         * rowpainter.C (paintRows): Change algorithm to work directly on
4206         the insets rather than asking every character in the document
4207         whether its an inset.
4208
4209 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * buffer.C (openFileWrite): factorize some code
4212
4213 2003-07-26  Angus Leeming  <leeming@lyx.org>
4214
4215         * lyx_cb.C:
4216         * lyx_main.[Ch]: replace occurances of system_tempdir with
4217         os::getTmpDir().
4218
4219 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * rename Inset to InsetOld
4222
4223 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4224
4225         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4226         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4227         which I think is a bit clearer. EDIT is gone, since it was
4228         premature optimisation, and broken for mathed anyway.
4229         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4230         with cursor positioning in insets as well (math insets still do not
4231         work, but that's a different story anyway.) It mysteriously
4232         crashes sometimes with undo in the first paragraph, but I'm fairly
4233         confident that this is a compiler bug.
4234
4235 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4236
4237         * paragraph.C (Paragraph): adjust for new clone return type
4238         (operator==): ditto
4239         (copyIntoMinibuffer): ditto
4240
4241 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4242
4243         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4244         by not having a special case, and always doing a full rebreak of
4245         the document after undo.
4246
4247 2003-07-23  Angus Leeming  <leeming@lyx.org>
4248
4249         * factory.C (createInset): InsetExternal::setParams now takes a
4250         Buffer const * arg.
4251
4252 2003-07-23  Angus Leeming  <leeming@lyx.org>
4253
4254         * factory.C (createInset): changed interface to the external and
4255         graphics mailers' string2params functions.
4256
4257 2003-07-23  Angus Leeming  <leeming@lyx.org>
4258
4259         * factory.C (createInset): pass a
4260         Buffer const * parameter to InsetExternalMailer's string2params.
4261
4262 2003-07-22  John Levon  <levon@movementarian.org>
4263
4264         * Thesaurus.h: include the right aiksaurus header
4265
4266 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4267
4268         * MenuBackend.C (expand): check menu shortcuts unconditionally
4269
4270 2003-07-21  Angus Leeming  <leeming@lyx.org>
4271
4272         * factory.C (createInset): pass a
4273         buffer_path parameter to InsetGraphicsMailer's string2params.
4274
4275 2003-07-21  Angus Leeming  <leeming@lyx.org>
4276
4277         * BufferView_pimpl.C (buffer):
4278         * buffer.C (d-tor):
4279         * lyx_main.C (LyX):
4280         * lyxfunc.C (dispatch):
4281         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4282         rather than the grfx shortcut.
4283
4284 2003-07-21  André Pönitz  <poenitz@gmx.net>
4285
4286         * rowpainter.C: remove unused variables
4287
4288         * tabular_funcs.C:
4289         * tabular_funcs.h: move to tabular.C
4290         * Makefile.am: adjust
4291
4292         * tabular.[Ch]: basic optical cleaning
4293
4294         * author.h: pass references, not values
4295
4296 2003-07-18  André Pönitz  <poenitz@gmx.net>
4297
4298         * lyxtext.h:
4299         * metricsinfo.C:
4300         * metricsinfo.h:
4301         * rowpainter.C:
4302         * text.C:
4303         * text2.C:
4304         * text3.C: two-phase drawing for InsetText and InsetTabular
4305         some float -> int changes.
4306
4307 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * lyx_main.C: fix the fix
4310
4311 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4312
4313         * lyx_main.C: fix a crash in batch mode if no files specified
4314         * converter.C: ws
4315
4316 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4317
4318         * format.[Ch] (papersize): moved to BufferParams
4319         * converter.[Ch] (dvips_options): moved to BufferParams
4320         (dvipdfm_options): moved to anon namespace
4321         * bufferparams.[Ch]: added above functions.
4322
4323 2003-07-17  André Pönitz  <poenitz@gmx.net>
4324
4325         * lyxtext.h:
4326         * rowpainter.C:
4327         * text2.C: don't call inset->update() anymore
4328
4329         * metricsinfo.[Ch]: add convenience constructor
4330
4331 2003-07-16  André Pönitz  <poenitz@gmx.net>
4332
4333         * lyxcursor.[Ch]:
4334         * lyxfunc.[Ch]:
4335         * text.C:
4336         * text2.C: replace the LyXCursor::irow_ member with
4337          on-demand computation of the value
4338
4339 2003-07-16  John Levon  <levon@movementarian.org>
4340
4341         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4342
4343 2003-07-15  André Pönitz  <poenitz@gmx.net>
4344
4345         * text.C:
4346         * text2.C: remove no more needed refresh_row
4347
4348 2003-07-15  André Pönitz  <poenitz@gmx.net>
4349
4350         * lyxtext.h:
4351         * rowpainter.C:
4352         * text2.C:
4353         * text3.C: refresh_status tristate -> need_update bool
4354
4355 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * lyxtext.h (init): remove reinit argument (act as if always true)
4358         * text2.C: adjust to that
4359
4360 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4361
4362         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4363         * text3.C: use it to delete selections in some cases
4364         (bugs 441, 673, 702, 954).
4365
4366 2003-07-14  André Pönitz  <poenitz@gmx.net>
4367
4368         * rowpainter.[Ch]: reduce interface
4369
4370 2003-07-14  André Pönitz  <poenitz@gmx.net>
4371
4372         * BufferView_pimpl.C:
4373         * text2.C: adjust after removing unused BufferView * argument
4374
4375 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4376
4377         * text2.C (init): fix a crash fired on resize
4378
4379 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * buffer.[Ch]: added new closing signal
4382         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4383         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4384         BufferView::Pimpl via the closing the signal
4385
4386 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4387
4388         * buffer.[Ch]: take out all bv-related from buffer
4389         * BufferView.C:
4390         * BufferView_pimpl.[Ch]: connect to new signals
4391         * CutAndPaste.C: removed useless asserts
4392         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4393         * lyxvc.[Ch]:
4394         * vc-backend.[Ch]:
4395         * lyxfunc.C: moved view-related funciontality from vc here
4396         * paragraph.C: removed outdated comments
4397         * text.C: ws
4398
4399 2003-07-10  André Pönitz  <poenitz@gmx.net>
4400
4401         * BufferView_pimpl.C:
4402         * tabular.h:
4403         * tabular_funcs.C:
4404         * text.C:
4405         * text2.C: remove InsetText::InnerCache, clean up consequences
4406
4407 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4408
4409         * ispell.C: fix two typos in error messages
4410
4411 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4412
4413         * Extend Note inset to other forms of annotation like Comment
4414         and Greyedout. Right button click gives dialog.
4415
4416         Files modified or added (+):
4417
4418         * insetnote.[Ch]
4419         * FormNote.[Ch]      +
4420         * ControlNote.[Ch]   +
4421         * form_note.fd       +
4422         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4423         frontends/controllers
4424         * xforms/Dialogs.C
4425         * factory.C
4426
4427 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4428
4429         * aspell.C: add missing namespace lyx::support
4430
4431 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * BufferView.[Ch] (newFile): Add
4434         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4435         * LaTeX.[Ch] (message): added this signal and use it
4436         * buffer.[Ch] (busy, message): added these signals and use them
4437         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4438         * converter.C:
4439         * exporter.C:
4440         * format.C:
4441         * importer.C: use buffer signals instead of direct bv calling
4442         * lyx_cb.[Ch] (ShowMessage): removed
4443         * lyx_main.C:
4444         * lyxfunc.C:
4445         * paragraph_funcs.C:
4446         * text2.C: use buffer signals
4447
4448 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * introduce namespace lyx::graphics
4451
4452 2003-07-02  André Pönitz  <poenitz@gmx.net>
4453
4454         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4455
4456 2003-07-01  André Pönitz  <poenitz@gmx.net>
4457
4458         * text.C:
4459         * text2.C:
4460         * text3.C:
4461         * text_funcs.[Ch]:
4462         * textcursor.h:
4463         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4464           text*.C to text_func.C
4465
4466 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * introduce namespace lyx::support
4469
4470 2003-06-30  André Pönitz  <poenitz@gmx.net>
4471
4472         * Chktex.C:
4473         * funcrequest.C:
4474         * lyxtext.h:
4475         * text.C: re-enable --with-included-string
4476
4477 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * textcursor.C: add <config.h>
4480
4481         * text.C (getWord): remove const from word_location arg
4482
4483         * lyxvc.C (getLogFile): fix const type order
4484
4485         * lyxtext.h: remove const from word_location arg, add arg name
4486
4487         * lyxlayout.h: currect type on labeltype.
4488
4489         * importer.C: correct \file
4490
4491         * converter.C (intToFormat): use std:: on ret val, ws changes
4492
4493         * bufferlist.h: correct \file
4494
4495         * buffer.C (makeLinuxDocFile): fix const type order
4496         (makeDocBookFile): ditto
4497         (fillWithBibKeys): use std:: on stdlib args.
4498
4499         * CutAndPaste.C: fix authors.
4500         (availableSelections): use std:: on return vector
4501
4502 2003-06-27  André Pönitz  <poenitz@gmx.net>
4503
4504         * BufferView_pimpl.C:
4505         * bufferview_funcs.C:
4506         * lyxcursor.C:
4507         * lyxcursor.h:
4508         * lyxfunc.C:
4509         * lyxtext.h:
4510         * rowpainter.C:
4511         * text.C:
4512         * text2.C:
4513         * text3.C: remove LyXCursor::row_ member
4514
4515         * lyxtext.h:
4516         * text.C: rename fullRebreak() to partialRebreak() and implement
4517           a fullRebreak() that really bereks fully
4518
4519         * textcursor.h: new struct for cursor-related data
4520
4521 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4522
4523         * lyx_main.C (LyX): get full path of document loaded on the
4524         command line
4525
4526 2003-06-26  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4529           remove unused/broken operator>,<,>=.
4530
4531         *       text.C: remove only use of broken operator<= in an Assert().
4532
4533 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4534
4535         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4536         moved errorlist_.clear to showErrorList
4537
4538 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4539
4540         * converter.C (scanLog, runLaTeX):
4541         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4542         move the bv->showErrorList call to the callers
4543         * lyxfunc.C: i.e. here...
4544         * text2.C: and here
4545         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4546         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4547         namespace, the second to...
4548         * buffer_funcs (BufferFormat, parseErrors): added
4549         * errorlist.C (ErrorList(TeXErrors const &)): removed
4550
4551 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4552
4553         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4554
4555 2003-06-24  "Garst R. Reese" <reese@isn.net>
4556
4557         * debug.C: fix typo
4558
4559 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4560
4561         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4562
4563         * version.C.in: change docversion to 1.4
4564
4565 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4566
4567         * buffer.C: fix a bug just introduced
4568
4569 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * buffer.[Ch]: added the parseError signal and use it, removed
4572         sgmlError
4573         * BufferView.[Ch] (addError): moved to ...
4574         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4575         to the Buffer::parseError signal to catch (guess what) parse errors
4576         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4577
4578 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4581         ability to create a buffer and to return an existing one from
4582         the list. Moved these functions to...
4583         * buffer_funcs.[Ch]: added
4584         * BufferView.[Ch] (loadLyXFile): added
4585         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4586         job removed from bufferlist::loadLyXFile.
4587         * buffer.C (setReadOnly): make it work without view
4588         (i.e added an if (users))
4589
4590 2003-06-19  Angus Leeming  <leeming@lyx.org>
4591
4592         * lfuns.h:
4593         * LyXAction.C (init):
4594         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4595         with LFUN_DIALOG_SHOW <name> <data>.
4596
4597 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4598
4599         * CutAndPaste.C (availableSelections): small compilation fix for
4600         ancient (gcc 2.9x) compilers
4601
4602 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * text3.C (cursorNext): add tmp var
4605
4606         * text2.C (updateCounters): for function calling out of for clause
4607         (replaceSelectionWithString): ditto
4608         (insertStringAsParagraphs): ditto
4609         (getColumnNearX): add tmp var
4610         (setCursorFromCoordinates): add tmp var
4611         (cursorDownParagraph): add tmp var
4612         (deleteEmptyParagraphMechanism): add tmp var
4613
4614         * text.C (insertChar): add tmp var
4615
4616         * rowpainter.C (paintDepthBar): add tmp var
4617
4618         * CutAndPaste.C (availableSelections): potentially check all
4619         paragraphs in a cut to fill the shown strings.
4620
4621 2003-06-18  André Pönitz  <poenitz@gmx.net>
4622
4623         * kbmap.[Ch]: use vector<> instead of list<>
4624
4625 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4626
4627         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4628         pasteSelection with index
4629
4630         * text2.C (pasteSelection): modify, call pasteSelection with index
4631
4632         * paragraph.C (asString): reimplement version with no interval to
4633         call the one with interval.
4634
4635         * lyxtext.h: add index arg to pasteSelection
4636
4637         * MenuBackend.C (MenuItem): handle PasteRecent
4638         (Menu::read::Menutags): add md_pasterecent
4639         (read): handle it
4640         (expandPasteRecent): new function
4641         (expand): use it
4642
4643         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4644
4645         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4646         the limited stack
4647         (availableSelections): new function
4648
4649 2003-06-17  Angus Leeming  <leeming@lyx.org>
4650
4651         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4652
4653 2003-06-17  Angus Leeming  <leeming@lyx.org>
4654
4655         * lfuns.h:
4656         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4657
4658         * lyxfunc.C (dispatch): invoke it.
4659
4660 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4661
4662         * iterators.C (operator++, ParPosition): reintroduce some
4663         const_cast for the benefit of older compilers.
4664
4665 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4666
4667         * text3.C (dispatch): do not modify clipboard when doing
4668         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4669         LFUN_DELETE_SKIP on a selection selection
4670
4671 2003-06-16  André Pönitz  <poenitz@gmx.net>
4672
4673         * BufferView.C:
4674         * buffer.C:
4675         * buffer.h:
4676         * paragraph.C:
4677         * tabular.[Ch]: IU of clone() and getLabelList();
4678
4679 2003-06-13  André Pönitz  <poenitz@gmx.net>
4680
4681         * tabular.h: compactification
4682
4683 2003-06-12  André Pönitz  <poenitz@gmx.net>
4684
4685         * tabular.C:
4686         * tabular.h:
4687         * tabular_funcs.h: some renaming plus whitespace
4688
4689 2003-06-12  André Pönitz  <poenitz@gmx.net>
4690
4691         * BufferView.C:
4692         * BufferView_pimpl.C:
4693         * CutAndPaste.C:
4694         * buffer.C:
4695         * iterators.[Ch]:
4696         * lyxfunc.C:
4697         * text.C:
4698         * toc.C: Return a Paragraph & for ParIterator::operator*()
4699
4700 2003-06-11  John Levon  <levon@movementarian.org>
4701
4702         * lyx_main.C:
4703         * ToolbarBackend.h:
4704         * ToolbarBackend.C: add "Toolbars" section and
4705         put the flags there
4706
4707 2003-06-10  Angus Leeming  <leeming@lyx.org>
4708
4709         * lfuns.h:
4710         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4711
4712         * lyxfunc.C (dispatch): invoke it.
4713
4714 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * main.C: protect <ios> with HAVE_IOS
4717         (main): protect sync_with_stdio with HAVE_IOS
4718
4719 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4720
4721         * text2.C (cutSelection): adjust
4722         (pasteSelection): adjust
4723
4724         * messages.C: handle get of empty string
4725
4726         * main.C (main): use sync_with_stdio(false)
4727
4728         * lyxfunc.C (dispatch): adjust
4729
4730         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4731         (WriteAs): remove unneeded BufferView arg.
4732
4733         * bufferparams.h: use correct types on papersize, papersize2 and
4734         paperpackage.
4735
4736         * bufferparams.C (readToken): adjust for type
4737         (writeLaTeX): add missing cases to switch.
4738
4739         * bufferlist.C (quitWriteBuffer): adjust
4740         (close): adjust
4741
4742         * buffer.C (asciiParagraph): remove some commented code.
4743
4744         * CutAndPaste.C: remove current_view extern variable.
4745         (cutSelection): add BufferParams arg.
4746         (eraseSelection): add BufferParams arg.
4747         (pasteSelection): add Buffer const & arg
4748
4749 2003-06-07  John Levon  <levon@movementarian.org>
4750
4751         * buffer.C:
4752         * paragraph_funcs.C:
4753         * paragraph_pimpl.C:
4754         * text.C:
4755         * text2.C:
4756         * paragraph.h:
4757         * paragraph.C: allow InsetERT to freely space lines,
4758         and some consolidation of code
4759
4760 2003-06-06  José Matos  <jamatos@fep.up.pt>
4761
4762         * buffer.C (makeDocBookFile): fix bug #821
4763
4764 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4767
4768 2003-06-04  Angus Leeming  <leeming@lyx.org>
4769
4770         * buffer.C: bump format to 224.
4771
4772 2003-06-05  André Pönitz  <poenitz@gmx.net>
4773
4774         * text2.C (redoParagraphs): remove two const_cast<>
4775
4776 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4777
4778         * ParagraphList.h: remove last remnants of NO_STD_LIST
4779
4780 2003-06-03  Angus Leeming  <leeming@lyx.org>
4781
4782         * factory.C (createInset): small change to the way InsetExternal's params
4783         are set.
4784
4785 2003-06-04  André Pönitz  <poenitz@gmx.net>
4786
4787         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4788
4789         * paragraph_pimpl.h:
4790         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4791
4792         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4793
4794         * undo_funcs.C: make some simple cases of undo work again
4795
4796 2003-06-03  John Levon  <levon@movementarian.org>
4797
4798         * ispell.C: HPUX doesn't have sys/select.h
4799         (from Albert Chin)
4800
4801 2003-06-03  John Levon  <levon@movementarian.org>
4802
4803         * CutAndPaste.C: update tabular and include inset
4804         buffer references
4805
4806         * buffer.h:
4807         * paragraph.h:
4808         * paragraph.C: remove owningBuffer(), don't pass Buffer
4809         to clone()
4810
4811         * factory.C: insetGraphicsParams changed
4812
4813 2003-06-02  John Levon  <levon@movementarian.org>
4814
4815         * LyXAction.C:
4816         * factory.C:
4817         * lfuns.h:
4818         * lyxfunc.C:
4819         * text3.C: remove insetparent
4820
4821 2003-06-02  John Levon  <levon@movementarian.org>
4822
4823         * buffer.h:
4824         * buffer.C: fix inset_iterator.end(), move out of line
4825         (bug 1149)
4826
4827 2003-06-01  John Levon  <levon@movementarian.org>
4828
4829         * text3.C: use a proper cut/paste when doing inset
4830         insert (from Jürgen Spitzmüller)
4831
4832 2003-06-01  John Levon  <levon@movementarian.org>
4833
4834         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4835
4836 2003-05-30  André Pönitz  <poenitz@gmx.net>
4837
4838         * rowpainter.C: unify second drawing phase
4839
4840 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * trans_mgr.C: remove one case of current_view
4843
4844         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4845
4846         * paragraph_funcs.h: remove paragraph.h include
4847
4848         * paragraph.h: delete NO_STD_LIST stuff
4849
4850         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4851
4852         * buffer.h: remove paragraph.h include
4853
4854         * ParagraphList.C: delete file
4855
4856         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4857
4858         * toc.C (getTocList): adjust
4859
4860         * paragraph_pimpl.C (validate): adjust
4861
4862         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4863
4864         * paragraph.C (Paragraph): adjust
4865         (getPositionOfInset): use const_iterator, adjust
4866         (bibitem): use const_iterator, adjust
4867         (setInsetOwner): adjust
4868
4869         * iterators.C (operator++): adjust
4870
4871         * InsetList.[Ch]: Replace selfmade iterator with standard
4872         vector::iterator also introduce const_iterator. Remove getPos,
4873         getInset and setInset from InsetTable. Adjust accordingly.
4874
4875         * BufferView.C (lockInset): adjust
4876         (ChangeInsets): adjust
4877
4878         * tabular.[Ch]: delete commented same_id functions
4879
4880 2003-05-28  John Levon  <levon@movementarian.org>
4881
4882         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4883
4884 2003-05-28  André Pönitz  <poenitz@gmx.net>
4885
4886         * metricsinfo.[Ch]: remove 'fullredraw' member
4887
4888 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4889
4890         * lyxtextclass.C (operator): remove caching.
4891
4892 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * text3.C: adjust
4895
4896         * text2.C (cursorBottom): adjust
4897         (setCounter): use ParagraphList::find, adjust
4898
4899         * text.C (workWidth): use ParagraphList::find, adjust
4900
4901         * lyxcursor.C (LyXCursor): adjust
4902
4903         * buffer.C (inset_iterator): adjust
4904
4905         * ParagraphList.h: make iterator(value_type) private, make
4906         ParagraphList a friend of iterator.
4907
4908         * ParagraphList.C (find): new function
4909
4910         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4911
4912 2003-05-27  André Pönitz  <poenitz@gmx.net>
4913
4914         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4915
4916 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4917
4918         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4919
4920 2003-05-26  John Levon  <levon@movementarian.org>
4921
4922         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4923
4924 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * remove same_id from function signatures, adjust.
4927
4928 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4931
4932         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4933
4934         * paragraph.C (Paragraph): get rid of same_ids parameter
4935
4936         * ParagraphList.C (insert): adjust
4937         (push_back): adjust
4938
4939 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * paragraph_funcs.C (breakParagraph): adjust
4942         (breakParagraphConservative): adjust
4943
4944         * buffer.C (readParagraph): adjust
4945
4946         * ParagraphList.C (insert): take a reference instead of a pointer
4947         (insert): adjust
4948
4949         * paragraph.[Ch] (id): new function
4950
4951         * bufferlist.C (newFile): adjust
4952
4953         * ParagraphList.C (ParagraphList): adjust
4954         (assign): adjust
4955         (push_back): take a reference instead of a pointer.
4956
4957         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4958
4959         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4960         instead.
4961
4962         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4963         set else use old code.
4964
4965         * ParagraphList.C: remove all NO_NEXT code and only compile this
4966         code of NO_STD_LIST is set.
4967
4968 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * BufferView_pimpl.C:
4971         * TextCache.C:
4972         * TextCache.h:
4973         * bufferlist.C:
4974         * errorlist.h:
4975         * format.C:
4976         * format.h:
4977         * graph.C:
4978         * lyxfunc.C:
4979         * lyxrc.C:
4980         * graphics/GraphicsConverter.C:
4981         * graphics/PreviewLoader.C: header adjustment
4982
4983 2003-05-23  Angus Leeming  <leeming@lyx.org>
4984
4985         * LaTeXFeatures.[Ch] (useBabel): new method.
4986         * bufferparams.C (writeLaTeX): use it.
4987
4988 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * ParagraphList.h (set): remove unused function.
4991
4992 2003-05-23  André Pönitz  <poenitz@gmx.net>
4993
4994         * BufferView.C:
4995         * BufferView_pimpl.C:
4996         * buffer.C:
4997         * buffer.h:
4998         * lyxfunc.C:
4999         * undo_funcs.C: setUndo reworked
5000
5001         * iterators.[Ch]: add access to topmost ParagraphList
5002
5003         * lyxtext.[Ch] (workWidth): add a const
5004
5005 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * texrow.[Ch] (increasePos): remove function
5008         * exporter.C (export): removed unused var and outdated comment
5009
5010 2003-05-23  Angus Leeming  <leeming@lyx.org>
5011
5012         * latexrunparams.h: rename fragile as moving_arg.
5013         * paragraph.C (simpleTeXOnePar): ditto.
5014         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5015
5016 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5019         (createUndo): ditto
5020         (textUndoOrRedo): comment out a currently unused var.
5021
5022         * paragraph.h (NO_NEXT): enable NO_NEXT
5023
5024         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5025
5026         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5027
5028         * exporter.C (Export): adjust for removeAutoInsets removal.
5029
5030         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5031
5032         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5033
5034         * BufferView.[Ch] (removeAutoInsets): delete function
5035
5036 2003-05-22  Angus Leeming  <leeming@lyx.org>
5037
5038         * latexrunparams.h: add a free_spacing variable.
5039
5040         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5041         to pass moving_arg, as the data is stored in runparams.fragile.
5042
5043         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5044         to Inset::latexOptional or to simpleTeXOnePar.
5045
5046         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5047         free_spacing arg to Inset::latexOptional.
5048
5049         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5050         free_spacing arg.
5051
5052 2003-05-22  Angus Leeming  <leeming@lyx.org>
5053
5054         * latexrunparams.h: add fragile and use_babel variables.
5055
5056         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5057         * buffer.C (makeLaTeXFile): store this returned value in
5058         runparams.use_babel, thus passing it to the inset::latex methods.
5059
5060         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5061         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5062
5063         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5064         longer has a fragile arg, as it is stored in runparams.fragile.
5065
5066         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5067         moving_arg parameter as the data is stored in runparams.fragile.
5068
5069         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5070         a fragile parameter as the data is stored in runparams.fragile.
5071
5072 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5075
5076 2003-05-22  Angus Leeming  <leeming@lyx.org>
5077
5078         * latexrunparams.h: add a 'bool nice' which defaults to false.
5079
5080         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5081         now encapsulated within runparams.
5082
5083         * bufferlist.C (updateIncludedTeXfiles):
5084         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5085
5086 2003-05-22  Angus Leeming  <leeming@lyx.org>
5087
5088         * latexrunparams.h: new file containing struct LatexRunParams.
5089         * Makefile.am: add new file.
5090
5091         * LaTeX.[Ch] (c-tor, run):
5092         * buffer.[Ch] (makeLaTeXFile):
5093         * bufferlist.[Ch] (updateIncludedTeXfiles):
5094         * converter.C (convert, scanLog):
5095         * converter.[Ch] (runLaTeX):
5096         * exporter.C (Export):
5097         * paragraph.[Ch] (simpleTeXOnePar):
5098         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5099         * paragraph_funcs.[Ch] (latexParagraphs):
5100         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5101         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5102         pass around a LatexRunParams parameter.
5103
5104 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5105
5106         * paragraph.[Ch]: remove unused constructor
5107
5108         * ParagraphList.C (erase): new function, taking two iterators
5109
5110 2003-05-22  André Pönitz  <poenitz@gmx.net>
5111
5112         * undo_funcs.C: remove duplicated code
5113
5114         * iterator.[Ch]: operator=
5115
5116 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * tabular.C (SetMultiColumn): ws changes
5119
5120         * rowpainter.C (paintFirst): get rid of a ->previous
5121
5122         * lyx_cb.C (getPossibleLabel): parlist simplification
5123
5124         * BufferView.C (ChangeInsets): simplify slightly.
5125
5126 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5127
5128         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5129         * lfuns.h: new LFUN_SPACE
5130         * lyxfunc.C: protected space has a new lfun
5131         * paragraph_funcs.C: read new space insets
5132         * text3.C:
5133         * factory.C: handle new space insets
5134
5135 2003-05-22  André Pönitz  <poenitz@gmx.net>
5136
5137         * BufferView.C:
5138         * BufferView_pimpl.C:
5139         * buffer.[Ch]:
5140         * lyxfunc.C:
5141         * undo_funcs.C: return a ParIterator from getParFromID.
5142
5143         * iterators.[Ch]: add two const's
5144
5145 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * toc.C (getTocList): adjust
5148
5149         * iterators.[Ch]: rework for parlist
5150
5151         * buffer.C (par_iterator_begin): adjust
5152         (par_iterator_end): adjust
5153
5154         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5155
5156         * BufferView.C (removeAutoInsets): adjust
5157         (ChangeInsets): adjust
5158
5159 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * text.C (top_y): fix bug 1110
5162
5163 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * errorlist.[Ch]: added
5166         * buffer.C:
5167         * BufferView.[Ch]:
5168         * BufferView_pimpl.C:
5169         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5170         instead
5171
5172 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * Makefile.am: ensure that lyx is relinked upon changes to the
5175         various "convenience" libs.
5176
5177 2003-05-20  Angus Leeming  <leeming@lyx.org>
5178
5179         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5180         files are compiled in alphabetical order again.
5181
5182         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5183
5184 2003-05-19  Angus Leeming  <leeming@lyx.org>
5185
5186         * gettext.[Ch]: remove "char const * _(char const *)".
5187
5188 2003-05-19  André Pönitz  <poenitz@gmx.net>
5189
5190         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5191
5192         * Makefile.am:
5193         * BufferView.C:
5194         * DepTable.h:
5195         * LaTeXFeatures.C:
5196         * buffer.C:
5197         * lyxfont.C:
5198         * lyxlex.h:
5199         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5200
5201 2003-05-19  André Pönitz  <poenitz@gmx.net>
5202
5203         * buffer.C:
5204         * lyxlayout.[Ch]:
5205         * lyxtextclass.[Ch]:
5206         * paragraph.C:
5207         * paragraph_funcs.[Ch]:
5208         * text2.C:
5209         * text3.C: more insetenv work
5210
5211 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5212
5213         * ParagraphParameters.C (params2string): small bug fixed
5214
5215 2003-05-16  André Pönitz  <poenitz@gmx.net>
5216
5217         * debug.C:
5218         * bufferview_funcs.C: patch from Kornel Benko to prevent
5219           crash when _(...) is called twice in a statement
5220
5221 2003-05-16  André Pönitz  <poenitz@gmx.net>
5222
5223         * BufferView.C:
5224         * lyxfunc.C:
5225         * text.C:
5226         * text2.C:
5227         * text3.C:
5228         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5229
5230 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * lyx_main.C (init): remove spurious static_cast
5233
5234 2003-05-14  André Pönitz  <poenitz@gmx.net>
5235
5236         * BufferView.C: fix format string
5237
5238 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * BufferView.[Ch] (insertErrors): removed
5241         * BufferView.[Ch] (showErrorList): added
5242         * buffer.C (runChkTeX):
5243         * converter.C (scanLog): call showErrorList instead of inserterrors
5244
5245 2003-05-13  André Pönitz  <poenitz@gmx.net>
5246
5247         * BufferView_pimpl.C:
5248         * buffer.C:
5249         * bufferview_func.C:
5250         * MenuBackend.C:
5251         * lyxfunc.C:
5252         * lyxrc.C:
5253         * tex-accent.C:
5254         * text3.C:
5255         * toc.C:
5256         * tabular_funcs.h: tostr() from its own header
5257
5258         * ParagraphParameters.C:
5259         * ToolbarBackend.C:
5260         * bufferparams.C:
5261         * format.C:
5262         * lyxlex_pimpl.C:
5263         * text3.C: STRCONV()
5264
5265 2003-05-12  André Pönitz  <poenitz@gmx.net>
5266
5267         * BufferView.C:
5268         * BufferView_pimpl.C:
5269         * CutAndPaste.C:
5270         * LaTeX.C:
5271         * LaTeXFeatures.C:
5272         * ParagraphParameters.C:
5273         * buffer.C:
5274         * bufferlist.C:
5275         * bufferparams.C:
5276         * bufferview_funcs.C:
5277         * converter.C:
5278         * counters.C:
5279         * debug.C:
5280         * exporter.C:
5281         * format.C:
5282         * importer.C:
5283         * lyx_cb.C:
5284         * lyx_main.C:
5285         * lyxfont.C:
5286         * lyxfunc.C:
5287         * lyxvc.C:
5288         * paragraph.C:
5289         * paragraph_funcs.C:
5290         * tabular.C:
5291         * tabular_funcs.C:
5292         * text2.C:
5293         * text3.C:  boost::format -> bformat  all over the place
5294
5295
5296 2003-05-09  André Pönitz  <poenitz@gmx.net>
5297
5298         * LColor.[Ch]: Pimpl the #include <map> away
5299
5300 2003-05-09  John Levon  <levon@movementarian.org>
5301
5302         * bufferlist.C: never remove emergency saves
5303
5304 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * Makefile.am: better lib building
5307
5308 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5311         instead.
5312         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5313         (simpleTeXSpecialChars): adjust
5314         (simpleTeXSpecialChars): adjust
5315         * paragraph.C (simpleTeXOnePar): adjust
5316         * buffer.C (makeLaTeXFile): adjust
5317
5318         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5319
5320         * text2.C (changeDepth): parlist cleanup
5321         (getColumnNearX): ditto
5322
5323         * rowpainter.C (getLabelFont): parlist cleanup
5324
5325         * bufferlist.C (newFile): parlist cleanup
5326
5327         * CutAndPaste.C (eraseSelection): parlist cleanup
5328
5329         * BufferView_pimpl.C (trackChanges): parlist cleanup
5330         (dispatch): ditto
5331
5332         * BufferView.C (lockInset): parlist cleanup.
5333         (ChangeInsets): ditto
5334
5335 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * CutAndPaste.h: Update file header.
5338
5339         * CutAndPaste.C: Update file header.
5340         Store the parts cut out of the Document in a limited_stack.
5341         (copySelection): adjust
5342         (pasteSelection): new function, takes the index in the limited stack.
5343         (nrOfParagraphs): adjust
5344         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5345         simplify error inset insertion.
5346         (checkPastePossible): adjust
5347
5348 2003-05-06  John Levon  <levon@movementarian.org>
5349
5350         * text2.C: don't cast wrap inset to float
5351
5352 2003-05-05  André Pönitz  <poenitz@gmx.net>
5353
5354         * iterator.C:
5355         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5356
5357         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5358           few naked Paragraph *.
5359
5360 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5361
5362         * bufferparams.C: Output warning if a document with missing
5363         TeX document class is loaded
5364         * exporter.C: Disable TeX exports if the document class is missing
5365         * lyxtextclass.C:
5366         * lyxtextclass.h:
5367         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5368         isTeXClassAvailable()
5369
5370 2003-05-03  John Levon  <levon@movementarian.org>
5371
5372         * BufferView.h:
5373         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5374         explicit cursor show/hide
5375
5376         * BufferView_pimpl.h:
5377         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5378         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5379
5380         * lyxfunc.C: hide cursor before dispatching.
5381
5382         * lyx_cb.C:
5383         * lyxfind.C:
5384         * text.C:
5385         * text3.C: remove explicit cursor hides
5386
5387 2003-05-02  André Pönitz  <poenitz@gmx.net>
5388
5389         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5390
5391         * undo_funcs.C:
5392         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5393           linked lists
5394
5395         * text2.C: tiny whitespace
5396
5397 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * undo_funcs.C: almost only ws changes.
5400
5401         * ParagraphList.C (splice): just return if pl is empty.
5402
5403 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5404
5405         * ParagraphList.C (splice): new function.
5406
5407         * CutAndPaste.C (pasteSelection): use it
5408
5409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * CutAndPaste.C (pasteSelection): remove the last next and
5412         previous from this file.
5413
5414 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * CutAndPaste.C (pasteSelection): more clean up, user proper
5417         ParagraphList functions for pasteing.
5418
5419         * ParagraphList.C (insert): new function, three arg insert
5420
5421 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * ParagraphList.C (insert): new function, three arg insert
5424
5425         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5426         not on paragraphs.
5427
5428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5431
5432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5435
5436 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5439         (copySelection): clean up a bit.
5440         (pasteSelection): use make_pair
5441
5442         * ParagraphList.C (ParagraphList): implement copy constructor
5443         (operator=): implement, base on copy constructor.
5444         (assign): new func
5445
5446         * paragraph.C (erase): return a bool
5447
5448         * paragraph_pimpl.C (erasePos): remove function, move contents...
5449         (erase): ... here. Return a bool.
5450         (erase): call erase instead of erasePos.
5451
5452 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5453
5454         * ParagraphList.h: define PitPosPair
5455         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5456         ParagraphList, fix a bug on pasting multiple pars
5457         * text2.C: change interface to C&P
5458
5459 2003-04-30  André Pönitz  <poenitz@gmx.net>
5460
5461         * undo_func.C: revert part of yesterday's patch 2
5462
5463 2003-04-30  John Levon  <levon@movementarian.org>
5464
5465         * LColor.C: s/tabular/table/
5466
5467 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * text3.C (dispatch): do not convert iterator -> pointer
5470         * undo_funcs.C (setCursorParUndo): ditto
5471         * text_funcs.C (transposeChars): ditto
5472
5473         * text2.C (setLayout): ws changes only
5474
5475         * text.C (breakParagraph): do not convert iterator -> pointer
5476         (insertChar): ditto
5477         (acceptChange): ditto
5478         (rejectChange): ditto
5479         (changeCase): ditto
5480         (Delete): ditto
5481         (backspace): ditto
5482
5483         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5484         pointer
5485
5486 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * text3.C (gotoInset): YABG (yet another bad getChar)
5489
5490 2003-04-29  André Pönitz  <poenitz@gmx.net>
5491
5492         * paragraph.h: make operator= private unimplemented as long as
5493           it is unusable
5494
5495         * ParagraphList.C: whitespace
5496
5497         * paragraph.[Ch]:
5498         * paragraph_pimpl.[Ch]:
5499         * paragraph_funcs.C:
5500         * CutAndPaste.C:
5501         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5502
5503         * text2.C:
5504           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5505
5506 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5507
5508         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5509         * paragraph.[Ch] (erase):
5510         * paragraph_pimpl.[Ch] (erase): change return type and value
5511         * text2.C (cutSelection): some rework
5512
5513 2003-04-28  John Levon  <levon@movementarian.org>
5514
5515         * bufferlist.C: changes for unsaved changes dialog
5516
5517 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * bufferlist.C (newFile): set language (messages_) for new
5520         documents also.
5521
5522         * buffer.C (readFile): ws changes only.
5523
5524 2003-04-28  André Pönitz  <poenitz@gmx.net>
5525
5526         * undo_funcs.C:
5527         * lyxfunc.C:
5528         * buffer.[Ch]:
5529         * BufferView_pimpl.C:
5530         * BufferView.C: getParFromID related ParagraphList::iterator changes
5531
5532 2003-04-28  André Pönitz  <poenitz@gmx.net>
5533
5534         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5535           Changes
5536
5537 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * messages.C: remove one more localedir class variable.
5540
5541 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * messages.C (getLocaleDir): singleton generation function
5544         (Pimpl): use it.
5545         (Messages): add a default constructor.
5546
5547         * main.C (main): do not setup localedir here, do not call
5548         gettext_init.
5549
5550         * gettext.C (_): use it.
5551         (gettext_init): delete funciton
5552
5553 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * gettext.C (getLyXMessages): new singleton generating function.
5556
5557         * buffer.C (updateDocLang): adjust
5558
5559         * Makefile.am (messages.o): add target
5560         (main.o): remove target
5561
5562 2003-04-27  John Levon  <levon@movementarian.org>
5563
5564         * bufferlist.C:
5565         * lyx_cb.C:
5566         * lyxfunc.C:
5567         * lyxvc.C: specify cancel button in Alert::prompt
5568
5569 2003-04-26  John Levon  <levon@movementarian.org>
5570
5571         * text3.C:
5572         * lyxfunc.C:
5573         * lfuns.h:
5574         * LyXAction.C: add LFUN_INSET_SETTINGS
5575
5576         * lyxfunc.C: don't enable tabular-feature when there's
5577         just any locking inset
5578
5579 2003-04-26  John Levon  <levon@movementarian.org>
5580
5581         * bufferlist.C: re-add Cancel to buffer close question
5582
5583         * lyxfunc.C: fix import UI a bit
5584
5585 2003-04-25  John Levon  <levon@movementarian.org>
5586
5587         * gettext.C: remove the broken asserts for now
5588
5589 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * messages.C: make case where setlocale cannot comply work better.
5592
5593         * buffer.C (updateDocLang): new function
5594         (changeLanguage): use it
5595         (readFile): use it
5596
5597         * text2.C (setCounter): use B_ a bit.
5598
5599         * lyxlayout.C (Read): be sure to trim the label strings.
5600
5601         * messages.C (Messages): fix typo in comment
5602
5603         * buffer.C (readFile): set message_ after file is loaded.
5604         (makeDocBookFile): remove double return
5605         (changeLanguage): reset message_ upon language change.
5606         (B_): new func, use this to get translated buffer strings.
5607
5608         * main.C: add myself and Jean Marc as authors.
5609
5610 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * messages.[hC]: pimplify Messages, and three different pimpls to be
5613         used in different circumstances.
5614
5615         * gettext.[Ch]: change for use with new message code.
5616
5617 2003-04-24 André Pönitz <poenitz@gmx.net>
5618
5619         * factory.C: support for eqref
5620
5621 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * messages.[Ch]: add missing char
5624
5625         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5626
5627         * messages.[Ch]: New files
5628
5629 2003-04-18  John Levon  <levon@movementarian.org>
5630
5631         * BufferView.h:
5632         * BufferView.C:
5633         * BufferView_pimpl.C:
5634         * lfuns.h:
5635         * LyXAction.C:
5636         * lyxtext.h:
5637         * text2.C: remove layout-copy/paste (bug 778)
5638
5639 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5642
5643 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5644
5645         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5646         if they succeed. Act accordingly.
5647
5648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * text2.C (setCharFont): adjust
5651         (setCounter): adjust
5652         (insertStringAsLines): adjust
5653
5654         * text.C (leftMargin): adjust
5655         (setHeightOfRow): adjust
5656
5657         * rowpainter.C (paintFirst): adjust
5658         (paintLast): adjust
5659
5660         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5661         (outerHook): ditto
5662         (isFirstInSequence): ditto
5663         (getEndLabel): ditto
5664         (outerFont): adjust
5665
5666         * paragraph.C (getParLanguage): comment out some hard stuff.
5667
5668         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5669         (sgmlError): ditto
5670         (simpleDocBookOnePar): ditto
5671         (makeDocBookFile): use ParagraphList::iterator
5672
5673         * CutAndPaste.C (pasteSelection): adjust
5674
5675 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * text2.C (getFont): adjust
5678         (getLayoutFont): adjust
5679         (getLabelFont): adjust
5680
5681         * paragraph_funcs.C (TeXOnePar): adjust
5682
5683         * buffer.C (simpleLinuxDocOnePar): adjust
5684         (simpleDocBookOnePar): adjust
5685
5686         * CutAndPaste.C (pasteSelection): adjust
5687
5688         * BufferView.C (getEncoding): adjust
5689
5690         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5691
5692 2003-04-16  John Levon  <levon@movementarian.org>
5693
5694         * lyxfind.C: use parlist stuff for search/changes
5695
5696 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5699
5700         * text2.C (deleteEmptyParagraphMechanism): adjust
5701
5702         * text2.[Ch] (ownerParagraph): delete func (both of them
5703
5704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5707
5708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * ParagraphList.C: prepare for NO_NEXT
5711
5712 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * text2.C (getFont): adjust
5715         (getLayoutFont): adjust
5716         (getLabelFont): adjust
5717
5718         * paragraph.C (getFont): adjust
5719         (getLabelFont): adjust
5720         (getLayoutFont): adjust
5721
5722         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5723
5724 2003-04-15  John Levon  <levon@movementarian.org>
5725
5726         From Angus Leeming
5727
5728         * lyx_main.C: handle Include in .ui files
5729
5730 2003-04-15  John Levon  <levon@movementarian.org>
5731
5732         * MenuBackend.C: make the doc files length shorter
5733
5734         * ToolbarBackend.h:
5735         * ToolbarBackend.C: handle toolbar placement flags,
5736         Minibuffer
5737
5738 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5741         adjust
5742
5743         * paragraph_funcs.C (TeXOnePar): adjust
5744
5745         * paragraph.C (getLabelFont): add outerfont arg, adjust
5746         (getLayoutFont): ditto
5747         (simpleTeXOnePar): adjust
5748
5749         * paragraph_pimpl.C (realizeFont): delete func
5750
5751 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5752
5753         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5754         row argument, constify cur argument.
5755
5756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * text2.C (getFont): adjust
5759         (getLayoutFont): adjust
5760         (getLabelFont): adjust
5761
5762         * paragraph_funcs.C (TeXOnePar): adjust
5763         (outerFont): new func...
5764         (realizeFont): ...moved out from here, changed this to facilitate
5765         transition
5766
5767         * paragraph.C (getFont): take outerfont as arg, adjust
5768         (simpleTeXOnePar): add outerfont arg, adjust
5769
5770         * buffer.C (simpleLinuxDocOnePar): adjust
5771         (simpleDocBookOnePar): adjust
5772
5773         * CutAndPaste.C (pasteSelection): adjust
5774
5775         * BufferView.C (getEncoding): adjust
5776
5777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * text2.C (setCharFont): adjust
5780         (setCounter): adjust
5781
5782         * text.C (leftMargin): adjust
5783         (setHeightOfRow): adjust
5784
5785         * rowpainter.C (paintFirst): adjust
5786         (paintLast): adjust
5787
5788         * paragraph_pimpl.C (realizeFont): adjust
5789
5790         * paragraph.C (isFirstInSequence): move from here...
5791         * paragraph_funcs.C (isFirstInSequence): ...to here
5792
5793         * paragraph.C (outerHook): move from here...
5794         * paragraph_funcs.C (outerHook): ...to here
5795
5796         * paragraph.C (depthHook): move from here...
5797         * paragraph_funcs.C (depthHook): ...to here
5798
5799         * paragraph.C (getEndLabel): move from here...
5800         * paragraph_funcs.C (getEndLabel): ...to here
5801
5802         * text2.C (realizeFont): move from here...
5803         * paragraph_funcs.C (realizeFont): ...to here
5804
5805 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5808
5809 2003-04-14  Angus Leeming  <leeming@lyx.org>
5810
5811         * LColor.[Ch]: scrap LColor mathcursor.
5812
5813 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * lyxlex.[Ch] (text): delete function
5816         * trans.C (Load): adjust
5817         * paragraph_funcs.C (readParToken): adjust
5818
5819 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5820
5821         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5822         vector<char> instead of a char[].
5823
5824         * lyxlex_pimpl.C (getString): adjust
5825         (next): adjust
5826         (lex): use getString
5827         (eatLine): adjust
5828         (nextToken): adjust
5829
5830         * lyxlex.C (text): use pimpl_->getString()
5831         (getBool): ditto
5832         (findToken): ditto
5833
5834 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5837         (makeFontEntriesLayoutSpecific): temp var for par.size()
5838         (setLayout): temp var for ownerParagraphs().end()
5839         (fullRebreak): temp var for rows().end()
5840         (selectionAsString): temp var for boost::next(startpit), realize
5841         that the while really is a regular for loop.
5842         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5843         setCursor in one place.
5844         (setParagraph): temp vr for ownerParagraphs().end()
5845         (updateCounters): make the while loop a for loop
5846         (cutSelection): temp var for ownerParagraphs().end()
5847         (updateInset): make the do {} while() a regular for loop
5848         (getCursorX): use temp vars
5849         (setCurrentFont): use temp vars
5850         (getColumnNearX): use temp vars
5851
5852 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * text.C (transformChar): use temp var for getChar
5855         (computeBidiTables): use temp var for row->par()
5856         (fill): move temp vars for row->par() and pit->layout() earlier in
5857         the function.
5858         (labelFill): use temp var for row->par()
5859         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5860         asc and desc, realize that pit never changes and that firstpit is
5861         just a duplicate and not needed. Exchange rit->par() with pit in a
5862         lot of places.
5863         (breakAgain): use a temp var for boost::next(rit)
5864         (breakAgainOneRow): ditto
5865         (breakParagraph): use a temp var for rows().begin()
5866         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5867         (cursorRightOneWord): use temp var for cursor.par() and
5868         cursor.pos(), remove usage of tmpcursor.
5869         (cursorLeftOneWord): use temp var for cursor.par() and
5870         cursor.pos() only set cur at end of function.
5871
5872 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * text.C, text2.C: exchange all usage of Paragraph::next with
5875         boost::next(ParagraphList::iterator)
5876
5877         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5878
5879         * text2.C (cursorTop): simplify implementation
5880         (cursorBottom): ditto
5881         (setParagraph): use ParagraphList::iterator
5882         (setCurrentFont): adjust
5883         (getColumnNearX): adjust
5884         (cursorRight): adjust
5885         (cursorLeft): remove usage of Paragraph::previous
5886         (cursorUpParagraph): ditto
5887         (deleteEmptyParagraphMechanism): slight cleanup
5888
5889         * text.C (isBoundary): take a Paragraph const & instead of a
5890         pointer as arg.
5891         (addressBreakPoint): ditto
5892         (leftMargin): remove usage of Paragraph::previous.
5893         (setHeightOfRow): ditto
5894         (cursorLeftOneWord): ditto
5895         (selectNextWordToSpellcheck): ditto
5896         (Delete): ditto
5897         (backspace): ditto
5898         (breakParagraph): remove one usage of Paragraph::next
5899         (redoParagraph): ditto
5900         (acceptChange): ditto
5901         (insertChar): adjust
5902         (rowBreakPoint): adjust
5903
5904         * bufferview_funcs.C (toggleAndShow): adjust
5905
5906 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5907
5908         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5909         methods to access it.
5910         * lyxtext.h:
5911         * text.C: Added updateRowPositions to compute all row positions.
5912         Make top_y and getRowNearY() to use the cached y position
5913
5914 2003-04-11  John Levon  <levon@movementarian.org>
5915
5916         * text.C (rowBreakPoint): reintroduce the labelEnd
5917         checks, code copied from the row fill stuff. Deep voodoo.
5918
5919         * text.C (fill): add a comment and debugging for the
5920         next poor soul.
5921
5922 2003-04-11  John Levon  <levon@movementarian.org>
5923
5924         * text.C: make sure fullrow insets get wrapped to the next line,
5925         even when they're in a manual label
5926
5927 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * text2.C (insertParagraph): make it take ParagraphList::iterator
5930         as arg.
5931         (setLayout): make it return ParagraphList::iterator
5932         (redoParagraphs): ditto
5933         (setCounter): ditto
5934         (checkParagraph): ditto
5935
5936         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5937
5938         * text2.C: adjust several funcs.
5939         (realizeFont): take a ParagraphList::iterator as arg.
5940         (getLayoutFont): ditto
5941         (getLabelFont): ditto
5942         (setCharFont): ditto
5943
5944         * text.C: adjust several funcs.
5945
5946 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * text.C (selectNextWordToSpellcheck): don't accidentally
5949         skip insets
5950
5951 2003-04-10  John Levon  <levon@movementarian.org>
5952
5953         * ToolbarBackend.C (getIcon): special handling for
5954         LFUN_MATH_DELIM
5955
5956 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * text2.C (cursorRight): a getChar assert fixed
5959
5960 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * text2.C (getFont): change to take a ParagraphList::iterator
5963         instead of Paragraph*
5964         Adjust several functions.
5965
5966         * text.C (transformChar): change to take a ParagraphList::iterator
5967         instead of Paragraph*
5968         (singleWidth): ditto
5969         Adjust several functions.
5970
5971         * rowpainter.C: adjust several functions
5972         * rowpainter.h:store a ParagraphList::iterator and not a
5973         Paragraph&.
5974
5975
5976 2003-04-09  John Levon  <levon@movementarian.org>
5977
5978         * lyxfunc.C:
5979         * lfuns.h:
5980         * LyXAction.h:
5981         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5982         and the "help" bits as well
5983
5984 2003-04-09  John Levon  <levon@movementarian.org>
5985
5986         * ToolbarBackend.h:
5987         * ToolbarBackend.C: allow multiple toolbars
5988
5989 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * undo_funcs.C (setCursorParUndo): adjust
5992
5993         * text_funcs.C (transposeChars): adjust
5994
5995         * text3.C (gotoNextInset): adjust
5996         (dispatch): adjust
5997
5998         * text2.C (setLayout): adjust
5999         (changeDepth): adjust
6000         (setFont): adjust
6001         (redoParagraphs): adjust
6002         (selectionAsString): adjust
6003         (setParagraph): adjust
6004         (insertInset): adjust
6005         (cutSelection): adjust
6006         (copySelection): adjust
6007         (pasteSelection): adjust
6008         (insertStringAsLines): adjust
6009         (updateInset): adjust
6010         (setCursor): change to take a ParagraphList::iterator parameter
6011         (setCursorIntern): change to take a ParagraphList::iterator parameter
6012         (setCurrentFont): adjust
6013         (cursorLeft): adjust
6014         (cursorRight): adjust
6015         (deleteEmptyParagraphMechanism): adjust
6016
6017         * text.C (breakParagraph): adjust
6018         (insertChar): adjust
6019         (acceptChange): adjust
6020         (rejectChange): adjust
6021         (selectNextWordToSpellcheck): adjust
6022         (changeCase): adjust
6023         (Delete): adjust
6024         (backspace): adjust
6025
6026         * lyxfind.C (SearchForward): adjust
6027         (SearchBackward): adjust
6028         (nextChange): adjust
6029
6030         * lyxcursor.C (par): adjust
6031
6032         * lyxcursor.h: store a ParagraphList::iterator instead of a
6033         Paragraph*
6034
6035         * lyx_cb.C (getPossibleLabel): adjust
6036
6037         * bufferview_funcs.C (toggleAndShow): adjust
6038
6039         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6040         (dispatch): adjust
6041
6042         * BufferView.C (removeAutoInsets): adjust
6043         (lockedInsetStoreUndo): adjust
6044
6045 2003-04-09  John Levon  <levon@movementarian.org>
6046
6047         * ToolbarBackend.C: try icon without argument
6048         if with argument fails
6049
6050 2003-04-08  John Levon  <levon@movementarian.org>
6051
6052         * ToolbarBackend.h:
6053         * ToolbarBackend.C: add getIcon(), handle tooltip,
6054         and change from "Icon" to "Item".
6055
6056 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6057
6058         * BufferView.C (lockInset): another bad getchar crunched
6059
6060 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6063         again)
6064
6065 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6066
6067         * lyxfind.C (searchForward, searchBackwards): bug 782
6068
6069 2003-04-07  John Levon  <levon@movementarian.org>
6070
6071         * paragraph.C: remove dead comment
6072
6073         * text.C: remove troublesome depth-fiddling code
6074         in leftMargin() and rightMargin() (bug 1017)
6075
6076         * text.C: fix breaking of rows in nested lists
6077         (bug 1004)
6078
6079         * text2.C (updateCounters): fix up depth values
6080         (bug 1013)
6081
6082 2003-04-07  John Levon  <levon@movementarian.org>
6083
6084         * BufferView_pimpl.C: clear message when doc finishes resizing,
6085         and after a mouse event
6086
6087         * lyxfunc.C: clear message after exiting inset
6088
6089 2003-04-07  John Levon  <levon@movementarian.org>
6090
6091         * bufferview_funcs.C: show math status not outside
6092         status in the statusbar
6093
6094 2003-04-07  John Levon  <levon@movementarian.org>
6095
6096         * lyxfunc.C: note status changed after a depth change
6097
6098 2003-04-04  Angus Leeming  <leeming@lyx.org>
6099
6100         * LaTeX.h: move AuxInfo operator==, != out of line.
6101         Remove LaTeX virtual destructor; nothing derives from it.
6102         Move operator()() out of public area and rename it startscript().
6103         Change protected for private.
6104
6105 2003-04-04  Angus Leeming  <leeming@lyx.org>
6106
6107         * lyxfunc.C:
6108         * text2.C: remove unneeded #includes.
6109
6110 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6111
6112         * text2.C (dEPM): fix the heigth of the next row
6113
6114 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6115
6116         * text.C: squashed an invalid getChar requester + some ws changes
6117
6118 2003-04-03  John Levon  <levon@movementarian.org>
6119
6120         * bufferview_funcs.h:
6121         * bufferview_funcs.C:
6122         * lyxfunc.C:
6123         * lyxtext.h:
6124         * text2.C: make getStatus work for the env depth lfuns
6125
6126 2003-04-03  John Levon  <levon@movementarian.org>
6127
6128         * bufferview_funcs.h:
6129         * bufferview_funcs.C:
6130         * lyxfunc.C:
6131         * lyxtext.h:
6132         * text2.C: parlistize decDepth(), by merging it with incDepth()
6133
6134 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * lyxrow.h: store a ParagraphList::iterator instead of a
6137         Paragraph* and adjust other class functions to suit.
6138
6139         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6140         above.
6141
6142 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6143
6144         * text2.C (setCursor): do not anchor to cursor row for the time being
6145
6146 2003-04-02  John Levon  <levon@movementarian.org>
6147
6148         * LyXAction.C:
6149         * lfuns.h:
6150         * lyx_main.C:
6151         * lyxtext.h:
6152         * text.C:
6153         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6154
6155 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * paragraph.h: make ParagraphList and ParagraphList::iterator
6158         friends of Paragraph.
6159
6160         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6161
6162         * ParagraphList.C: Use the private next_ and previous_ from
6163         Paragraph.
6164
6165 2003-04-01  John Levon  <levon@movementarian.org>
6166
6167         * ToolbarBackend.h:
6168         * ToolbarBackend.C:
6169         * Makefile.am: rename, remove defaults gunk
6170
6171         * MenuBackend.h:
6172         * MenuBackend.C: remove defaults gunk
6173
6174         * Languages.h:
6175         * Languages.C: remove defaults gunk
6176
6177         * lyx_main.h:
6178         * lyx_main.C: error out if files couldn't be found.
6179
6180 2003-04-02  John Levon  <levon@movementarian.org>
6181
6182         * text2.C: make incDepth() use parlist
6183
6184 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * undo_funcs.C (firstUndoParagraph): adjust
6187
6188         * text3.C (gotoInset): adjust
6189         (dispatch): adjust, and rewrite loop.
6190
6191         * text2.C (init): adjust, and rewrite loop.
6192         (redoParagraphs): adjust
6193         (updateInset): adjust, and rewrite loop.
6194         (deleteEmptyParagraphMechanism): adjust
6195
6196         * tabular.C (LyXTabular): adjust
6197         (SetMultiColumn): adjust
6198         (TeXRow): adjust
6199
6200         * lyxtext.[Ch] (ownerParagraph): delete function
6201         (ownerParagraphs): new function returns a ParagraphList.
6202
6203         * BufferView.C (removeAutoInsets): adjust
6204         (insertErrors): adjust
6205         (setCursorFromRow): adjust
6206
6207 2003-04-01  Angus Leeming  <leeming@lyx.org>
6208
6209         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6210         in the frontends.
6211
6212 2003-04-02  John Levon  <levon@movementarian.org>
6213
6214         * lyxtext.h:
6215         * text.C:
6216         * Makefile.am:
6217         * text_funcs.h:
6218         * text_funcs.C: make transposeChars a free function
6219
6220         * lyxrow_funcs.C: remove wrong comment
6221
6222 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * lyxtext.h: adjust
6225         * rowpainter.C: adjust
6226         * text.C: adjust
6227         * text2.C: adjust
6228         * text3.C: adjust
6229
6230         * lyxrow_funcs. [Ch]: new files
6231
6232         * lyxrow.[Ch]: remove next and previous pointers
6233         (next,previous): remove accessor functions
6234         (isParEnd): move to lyxrow_funcs
6235         (lastPos): move to lyxrow_funcs
6236         (nextRowIsAllInset): move to lyxrow_funcs
6237         (lastPrintablePos): move to lyxrow_funcs
6238         (numberOfSeparators): move to lyxrow_funcs
6239         (numberOfHfills): move to lyxrow_funcs
6240         (numberOfLabelHfills): move to lyxrow_funcs
6241         (hfillExpansion): move to lyxrow_funcs
6242
6243         * lyxfunc.C: adjust
6244
6245         * bufferview_funcs.C (toggleAndShow): adjust
6246
6247         * RowList.h: Remove class RowList from file leave just a
6248         std::list<Row>.
6249
6250         * RowList.C: delete file
6251
6252         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6253         and lyxrow_funcs.h
6254
6255 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * text3.C (cursorPrevious): adjust
6258         (cursorNext): adjust
6259         (dispatch): adjust
6260
6261         * text2.C (redoHeightOfParagraph): adjust
6262         (redoDrawingOfParagraph): adjust
6263         (setCursor): adjust
6264
6265         * text.C (breakParagraph): adjust
6266         (insertChar): adjust
6267         (backspace): adjust
6268
6269         * rowpainter.C (RowPainter): adjust
6270         (leftMargin): simplify and adjust
6271         (most rowpainter functions): adjust.
6272
6273         * rowpainter.h: store the row as RowList::iterator not as Row*
6274
6275         * lyxcursor.C (row): taka RowList::iterator as arg
6276         (irow): ditto
6277
6278         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6279         of Row*.
6280
6281 2003-04-01  Angus Leeming  <leeming@lyx.org>
6282
6283         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6284         stuff like bool Bool.
6285
6286 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6289         rewrite a loop
6290
6291 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6294         RowList::iterator.
6295
6296         * lyxtext.h (rows): drop one version and leve a const variant that
6297         returns a RowList::iterator.
6298
6299 2003-03-31  Angus Leeming  <leeming@lyx.org>
6300
6301         * text.C (fill): ensure that the signature is the same as that in the
6302         header file.
6303
6304 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * text2.C (redoParagraphs): adjust
6307         (updateCounters): adjust
6308         (checkParagraph): adjust
6309         (getColumnNearX): adjust and reformat a bit.
6310
6311         * text.C (top_y): adjust
6312         (workWidth): adjust
6313         (leftMargin): adjust
6314         (prepareToPrint): adjust
6315         (getRow): adjust
6316         (getRowNearY): adjust
6317
6318         * lyxtext.h: make rowlist_ mutable.
6319
6320         * RowList.h: add const_iterator
6321         * RowList.C: adjust for RowList::const_iterator.
6322
6323         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6324         adjust.
6325
6326 2003-03-31  John Levon  <levon@movementarian.org>
6327
6328         * lyxrc.h:
6329         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6330
6331         * lyx_main.C: set default fonts from using lyx_gui funcs
6332
6333         * exporter.C: pdf_mode moved from lyxrc
6334
6335         * lyx_cb.C:
6336         * lyxfunc.C: changes from above
6337
6338 2003-03-31  John Levon  <levon@movementarian.org>
6339
6340         * lyx_main.C: fix to the last fix
6341
6342 2003-03-31  John Levon  <levon@movementarian.org>
6343
6344         * bufferlist.C: "Load original" -> "Load Original"
6345
6346         * converter.C:
6347         * exporter.C:
6348         * importer.C:
6349         * lyx_main.C:
6350         * format.C: more Alert cleanups
6351
6352 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * text2.C (removeParagraph): make it take a RowList::iterator as
6355         arg, adjust.
6356         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6357         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6358
6359         * text.C (anchor_row): make it take a RowList::iterator as arg,
6360         adjust.
6361         (computeBidiTables): make it take a const reference to Row instead
6362         of Row pointer, adjust.
6363         (leftMargin): make it take a RowList::iterator as arg, adjust.
6364         (rowBreakPoint): adjust
6365         (breakAgainOneRow): make it take a RowList::iterator as arg,
6366         adjust.
6367         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6368
6369         * bufferview_funcs.C (toggleAndShow): adjust
6370
6371 2003-03-30  John Levon  <levon@movementarian.org>
6372
6373         * Makefile.am:
6374         * BoostFormat.h:
6375         * boost-inst.C: moved to support
6376
6377         * several files: changes as a result
6378
6379 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * text2.C (LyXText): adjust.
6382         (init): adjust
6383         (removeRow): make it take a RowList::iterator as arg, adjust.
6384         (fullRebreak): adjust
6385         (deleteEmptyParagraphMechanism): adjust
6386         (clearPaint): adjust
6387         (postPaint): adjust
6388
6389         * text.C (top_y): adjust
6390         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6391         (breakAgain): make it take a RowList::iterator as arg, adjust.
6392         (breakParagraph): adjust
6393         (insertChar): adjust
6394         (backspace): adjust
6395
6396         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6397         need_break_row, and refresh_row.
6398
6399         * text3.C (dispatch): adjust
6400
6401         * text2.C (checkParagraph): adjust
6402         (setCursor): adjust
6403         (setCursorFromCoordinates): adjust
6404
6405         * text.C (top_y): adjust
6406         (workWidth): adjust
6407         (getRow): make it return a RowList::iterator, adjust
6408         (getRowNearY): make it return a RowList::iterator, adjust
6409
6410         * text2.C (init): adjust
6411         (insertRow): remove function
6412         (insertParagraph): adjust
6413         (redoParagraphs): adjust
6414         (fullRebreak): adjust
6415         (updateCounters): adjust
6416
6417         * text.C (top_y): rewrite to use RowList iterators.
6418         (top_y): adjust
6419         (setHeightOfRow): rewrite to sue RowList iterators.
6420         (appendParagraph): adjust
6421         (breakAgain): adjust
6422         (breakAgainOneRow): adjust
6423         (breakParagraph): adjust
6424         (getRow): adjust
6425         (getRowNearY): adjust, and remove commented code.
6426
6427         * lyxtext.h (firstRow): delete function
6428         (lastRow): delete function
6429         (rows): new function (const and non-const versions.)
6430         (insertRow): delete function
6431
6432         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6433
6434 2003-03-29  John Levon  <levon@movementarian.org>
6435
6436         * BufferView_pimpl.C: always update scrollbar top
6437         because pasting text when we're anchored could mean we
6438         miss an update altogether
6439
6440 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * text2.C (init): use rowlist_.end() and not 0.
6443         (insertRow): change to take a RowList::iterator as arg, adjust
6444         for this.
6445         (insertParagraph): change to take a RowList::iterator as arg,
6446         adjust for this.
6447         (redoParagraphs): remove some debug msgs.
6448
6449         * text.C (appendParagraph): change to take a RowList::iterator
6450         arg, adjust for this.
6451         (breakAgain): add an assert
6452         (breakAgainOneRow): ditto
6453
6454 2003-03-29  John Levon  <levon@movementarian.org>
6455
6456         * text2.C: do not clear selection after inc/decDepth
6457         (bug 550)
6458
6459 2003-03-29  John Levon  <levon@movementarian.org>
6460
6461         * BufferView.C:
6462         * buffer.C: fix broken strerrors according to Lars
6463
6464 2003-03-29  John Levon  <levon@movementarian.org>
6465
6466         * converters.C: more Alert cleanups
6467
6468 2003-03-29  John Levon  <levon@movementarian.org>
6469
6470         * bufferview_funcs.C: remove pointless Alert
6471
6472         * buffer.C: fix confusing error message when
6473         a template is chmoded 000
6474
6475 2003-03-29  John Levon  <levon@movementarian.org>
6476
6477         * BufferView.C:
6478         * BufferView.h:
6479         * BufferView_pimpl.C: Alert fixes
6480
6481         * Makefile.am:
6482         * tabular.C:
6483         * tabular-old.C: remove unused table compat reading
6484
6485 2003-03-29  John Levon  <levon@movementarian.org>
6486
6487         * BufferView.C:
6488         * buffer.C:
6489         * lyx_cb.h:
6490         * lyx_cb.C: more Alert cleanups
6491
6492         * lyxfunc.C: don't allow chktex if not latex document
6493
6494 2003-03-29  John Levon  <levon@movementarian.org>
6495
6496         * lyx_cb.C:
6497         * BufferView.C:
6498         * buffer.C: warnings pushed down from support/,
6499         kill err_alert
6500
6501 2003-03-29  John Levon  <levon@movementarian.org>
6502
6503         * lyxfunc.C: safety check for C-r (revert)
6504
6505 2003-03-29  John Levon  <levon@movementarian.org>
6506
6507         * bufferlist.h:
6508         * bufferlist.C: several UI fixes using Alert::prompt.
6509         Fix the pointless looping quit code. Fix stupid revert
6510         behaviour (bug 938)
6511
6512         * lyxvc.h:
6513         * lyxvc.C:
6514         * lyx_cb.C: use Alert::prompt
6515
6516         * lyx_main.C: remove a silly question
6517
6518         * lyxfunc.C: remove a couple of silly questions,
6519         use Alert::prompt
6520
6521 2003-03-28  John Levon  <levon@movementarian.org>
6522
6523         * text2.C: fix bug 974 (End on empty par)
6524
6525 2003-03-28  John Levon  <levon@movementarian.org>
6526
6527         * BufferView_pimpl.C:
6528         * LyXAction.C:
6529         * lfuns.h: remove do-nothing math greek lfuns
6530
6531 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * lyxgluelength.h (isValidGlueLength): add default arg on
6534         parameter 2. Remove default arg from friend in class.
6535
6536         * lyxlength.h (isValidLength): add default arg on parameter 2.
6537         Remove default arg from friend in class.
6538
6539         * text2.C (LyXText): adjust, initialize refresh_row.
6540         (init): adjust
6541         (removeRow): adjust
6542         (insertRow): adjust
6543         (insertParagraph): adjst
6544         (redoParagraphs): adjust
6545         (fullRebreak): adjust
6546         (updateCounters): adjust
6547         (deleteEmptyParagraphMechanism): first attempt at fixing a
6548         crashing bug.
6549
6550         * text.C (top_y): adjust
6551         (setHeightOfRow): adjust
6552         (getRow): adjust
6553         (getRowNearY): adjust
6554
6555         * lyxtext.h: include RowList.h
6556         (~LyXText): not needed anymore, deleted.
6557         (firstRow): modify for RowList
6558         (lastRow): new function
6559         Delete firstrow and lastrow class variables, add a Rowlist
6560         rowlist_ class variable.
6561
6562         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6563         paragraph is empty.
6564
6565         * RowList.C (insert): fix case where it == begin().
6566
6567 2003-03-26  Angus Leeming  <leeming@lyx.org>
6568
6569         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6570         the thesaurus dialog.
6571
6572 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6575
6576         * RowList.[Ch]: new files
6577
6578         * ParagraphList.C (erase): handle the case where it == begin
6579         correctly.
6580
6581 2003-03-25  John Levon  <levon@movementarian.org>
6582
6583         * Makefile.am:
6584         * aspell_local.h:
6585         * aspell.C: add new aspell support
6586
6587         * lyxrc.h:
6588         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6589         have it accessible.
6590
6591 2003-03-25  Angus Leeming  <leeming@lyx.org>
6592
6593         * lfuns.h:
6594         * LyXAction.C (init): new LFUN_INSET_INSERT.
6595
6596         * BufferView_pimpl.C (dispatch): split out part of the
6597         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6598
6599         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6600         LFUN_INSET_APPLY.
6601
6602 2003-03-25  Angus Leeming  <leeming@lyx.org>
6603
6604         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6605
6606 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * text2.C:
6609         * text3.C: remove useless row->height(0)
6610
6611 2003-03-25  John Levon  <levon@movementarian.org>
6612
6613         * lyxtext.h:
6614         * text2.C:
6615         * text3.C: rename the refreshing stuff to better names
6616
6617 2003-03-24  John Levon  <levon@movementarian.org>
6618
6619         * BufferView_pimpl.h:
6620         * BufferView_pimpl.C: update layout choice on a mouse
6621         press/release
6622
6623 2003-03-23  John Levon  <levon@movementarian.org>
6624
6625         * Makefile.am: fix commandtags.h reference
6626
6627 2003-03-22  John Levon  <levon@movementarian.org>
6628
6629         * BufferView_pimpl.C:
6630         * lyxtext.h:
6631         * rowpainter.C:
6632         * rowpainter.h:
6633         * text.C:
6634         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6635
6636 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6637
6638         * lyxtext.h:
6639         * text.C: take the rtl methods out of line
6640
6641 2003-03-21 André Pönitz <poenitz@gmx.net>
6642
6643         * metricsinfo.[Ch]: new files containing structures to be passed around
6644         during the two-phase-drawing...
6645
6646 2003-03-21 André Pönitz <poenitz@gmx.net>
6647
6648         * lyxtextclass.C: read 'environment' tag.
6649
6650 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * text2.C (removeRow): fix bug 964
6653
6654 2003-03-20  John Levon  <levon@movementarian.org>
6655
6656         * rowpainter.C:
6657         * text.C:
6658         * text2.C: paint cleanups. Inset::update() dropped font
6659         parameter
6660
6661 2003-03-19  John Levon  <levon@movementarian.org>
6662
6663         * lyxfunc.C: only fitcursor/markDirty if available()
6664
6665 2003-03-19  John Levon  <levon@movementarian.org>
6666
6667         * commandtags.h: rename to ...
6668
6669         * lfuns.h: ... this, and renumber / cleanup
6670
6671 2003-03-19  John Levon  <levon@movementarian.org>
6672
6673         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6674         fit the cursor after an lfun
6675
6676         * BufferView.h:
6677         * BufferView.C:
6678         * BufferView_pimpl.h:
6679         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6680
6681         * LyXAction.C: layout-character should have ReadOnly
6682
6683         * ParagraphParameters.C:
6684         * buffer.C:
6685         * bufferview_funcs.C:
6686         * lyx_cb.C:
6687         * lyxfind.C:
6688         * lyxtext.h:
6689         * text.C:
6690         * text2.C:
6691         * text3.C:
6692         * undo_funcs.C: changes from above
6693
6694 2003-03-18  John Levon  <levon@movementarian.org>
6695
6696         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6697         remove it from update()
6698
6699         * lyxfunc.C: update layout choice after an lfun
6700
6701         * text3.C: remove extra updateLayoutChoice()s
6702
6703 2003-03-18  John Levon  <levon@movementarian.org>
6704
6705         * text.C: top_y change means full repaint, fix
6706         a drawing bug with cursor movement
6707
6708 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6709
6710         * lyxtext.h:
6711         * text.C:
6712         * text2.C: anchor row on setCursor
6713
6714 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6715
6716         * lyxtext.h: remove almost all mutable keywords
6717         * text.C:
6718         * text2.C:
6719         * text3.C: remove const keywords accordingly
6720
6721 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6724         anon namespace
6725         (TeXEnvironment): ditto
6726         (TeXOnePar): ditto
6727
6728 2003-03-17  John Levon  <levon@movementarian.org>
6729
6730         * text.C (rowBreakPoint): remove attempt to fix displayed
6731         math insets inside a manual label
6732
6733 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * lyxtext.h: remove BufferView* as first arg from almost all class
6736         functions.
6737         * other files: adjust.
6738
6739 2003-03-17  John Levon  <levon@movementarian.org>
6740
6741         * lyxtext.h:
6742         * undo_funcs.C:
6743         * text2.C: more paint cleanups
6744
6745         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6746
6747         * rowpainter.h:
6748         * rowpainter.C: remove "smart" background painting code
6749
6750 2003-03-16  John Levon  <levon@movementarian.org>
6751
6752         * lyxtext.h:
6753         * text.C:
6754         * text2.C:
6755         * text3.C: add helper functions for setting refresh_row/y
6756
6757 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6758
6759         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6760         newline inset which *can* get inserted in the pass_thru layouts.
6761         This is primarily for literate documents.
6762
6763 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6764
6765         * buffer.C: increment LYX_FORMAT to 223
6766
6767 2003-03-14 André Pönitz <poenitz@gmx.net>
6768
6769         * textclass.h: prepare for environment handling, ws changes
6770         * lyxlayout.C: read latexheader and latexfooter tags
6771
6772 2003-03-14  John Levon  <levon@movementarian.org>
6773
6774         * text2.C: rewrite ::status() a bit
6775
6776 2003-03-13  John Levon  <levon@movementarian.org>
6777
6778         * lyxtext.h: add some docs
6779
6780 2003-03-13  John Levon  <levon@movementarian.org>
6781
6782         * lyxtext.h:
6783         * text.C:
6784         * text2.C:
6785         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6786
6787 2003-03-13  John Levon  <levon@movementarian.org>
6788
6789         * text3.C: fix appendix redrawing
6790
6791 2003-03-13  John Levon  <levon@movementarian.org>
6792
6793         * text.C (setHeightOfRow):
6794         * rowpainter.h:
6795         * rowpainter.C: make appendix mark have the text
6796           "Appendix" so the user knows what it is
6797
6798         * LColor.h:
6799         * LColor.C: s/appendixline/appendix/ from above
6800
6801 2003-03-13  John Levon  <levon@movementarian.org>
6802
6803         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6804
6805         * text.C: fix a getChar(pos) bug properly
6806
6807 2003-03-13  Angus Leeming  <leeming@lyx.org>
6808
6809         * commandtags.h:
6810         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6811         Probably only temporary. Let's see how things pan out.
6812
6813         * BufferView.C (unlockInset):
6814         * BufferView_pimpl.C (fitCursor):
6815         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6816
6817         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6818         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6819
6820         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6821         new functions that convert ParagraphParameters to and from a string.
6822
6823         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6824         BufferView::Pimpl's dispatch.
6825         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6826
6827 2003-03-13 André Pönitz <poenitz@gmx.net>
6828
6829         * lyxfunc.C:
6830         * text3.C:
6831         * factory.C: make it aware of InsetEnv
6832
6833 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * text2.C (setCursor): never ask for one past last
6836         (setCursor): add some debugging messages.
6837
6838         * text.C (singleWidth): never ask for one past last
6839         (singleWidth): ditto
6840         (leftMargin): ditto
6841         (rightMargin): ditto
6842         (rowBreakPoint): ditto
6843         (setHeightOfRow): ditto
6844         (prepareToPrint): ditto
6845
6846         * rowpainter.C (paintBackground): never ask for one past last
6847         (paintText): never ask for one past last
6848
6849         * paragraph_pimpl.C (getChar): make the assert stricter, never
6850         allow the one past last pos to be taken
6851
6852         * paragraph.C (getChar): ws changes only
6853
6854         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6855         (numberOfSeparators): ditto
6856         (numberOfHfills): ditto
6857
6858 2003-03-12  John Levon  <levon@movementarian.org>
6859
6860         * author.h:
6861         * author.C:
6862         * bufferparams.h:
6863         * bufferparams.C:
6864         * paragraph_funcs.C: fix per-buffer authorlists
6865
6866 2003-03-12  John Levon  <levon@movementarian.org>
6867
6868         * text.C: fix newline in right address
6869
6870 2003-03-12  Angus Leeming  <leeming@lyx.org>
6871
6872         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6873         duplicate those in LyXFunc::dispatch.
6874
6875         * commandtags.h:
6876         * LyXAction.C:
6877         * ToolbarDefaults.C:
6878         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6879         Add LFUN_FONTFREE_UPDATE.
6880
6881         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6882         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6883
6884         * bufferview_func.[Ch]: several new functions to facilliate
6885         transfer of data to and from the character dialog.
6886
6887 2003-03-12  John Levon  <levon@movementarian.org>
6888
6889         * buffer.C:
6890         * paragraph.h:
6891         * paragraph.C:
6892         * paragraph_funcs.C:
6893         * paragraph_pimpl.C:
6894         * sgml.C:
6895         * tabular.C:
6896         * text.C:
6897         * text3.C: remove META_NEWLINE in favour of an inset
6898
6899         * rowpainter.h:
6900         * rowpainter.C: remove paintNewline (done by inset)
6901
6902 2003-03-12  John Levon  <levon@movementarian.org>
6903
6904         * paragraph_pimpl.C: complain about bad getChar()s
6905         for a while at least
6906
6907 2003-03-12  John Levon  <levon@movementarian.org>
6908
6909         * buffer.h:
6910         * buffer.C: move paragraph read into a separate function,
6911         a little renaming to reflect that.
6912
6913         * bufferparams.h:
6914         * bufferparams.C: remove the author_ids map, not necessary now
6915
6916         * factory.h:
6917         * factory.C: moved Buffer::readInset to here
6918
6919         * paragraph_funcs.h:
6920         * paragraph_funcs.C: readParagraph free function moved from
6921         buffer.C
6922
6923         * tabular.C: name change
6924
6925 2003-03-12  John Levon  <levon@movementarian.org>
6926
6927         * buffer.C:
6928         * ParagraphParameters.C: move par params input to
6929         a read() method
6930
6931         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6932         behave like a normal read from the stream wrt reading
6933         a line vs. a \\token
6934
6935 2003-03-12  John Levon  <levon@movementarian.org>
6936
6937         * paragraph.C:
6938         * ParagraphParameters.h:
6939         * ParagraphParameters.C: move output code to a
6940         ::write() method
6941
6942 2003-03-12  John Levon  <levon@movementarian.org>
6943
6944         * BufferView.C (insertLyXFile):
6945         * buffer.h:
6946         * buffer.C:
6947         * tabular.C: use a parlist iterator for creating the
6948           document.
6949
6950 2003-03-12  John Levon  <levon@movementarian.org>
6951
6952         * buffer.C: make current_change static local not
6953           static file-scope
6954
6955 2003-03-12  John Levon  <levon@movementarian.org>
6956
6957         * buffer.C: fix insertStringAsLines for change tracking
6958
6959 2003-03-12  John Levon  <levon@movementarian.org>
6960
6961         * BufferView.C:
6962         * tabular.C:
6963         * buffer.h:
6964         * buffer.C:
6965         * bufferparams.h:
6966         * bufferparams.C: move author list into params. Rename some
6967           functions. Move the header reading into a separate token
6968           loop. Move the header token reading into BufferParams.
6969
6970 2003-03-12  John Levon  <levon@movementarian.org>
6971
6972         * changes.C: put debug inside lyxerr.debugging() checks
6973
6974 2003-03-11 André Pönitz <poenitz@gmx.net>
6975
6976         * factory.C: make it aware of InsetHFill
6977
6978 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6979
6980         * buffer.C (latexParagraphs): move function from here...
6981         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6982         args.
6983
6984 2003-03-10  Angus Leeming  <leeming@lyx.org>
6985
6986         * LyXAction.C (init): fix bug in poplating array with multiple entries
6987         with the same LFUN (spotted by JMarc).
6988
6989 2003-03-10  John Levon  <levon@movementarian.org>
6990
6991         * text.C:
6992         * text2.C: move getColumnNearX() near its
6993         only call site
6994
6995 2003-03-10  John Levon  <levon@movementarian.org>
6996
6997         * text.C: fix break before a minipage
6998
6999 2003-03-10  John Levon  <levon@movementarian.org>
7000
7001         * text.C: fix the last commit
7002
7003 2003-03-09  John Levon  <levon@movementarian.org>
7004
7005         * lyxtext.h:
7006         * text.C:
7007         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7008         bug 365 (don't break before insets unless needed). Don't
7009         return a value > last under any circumstances.
7010
7011 2003-03-09  Angus Leeming  <leeming@lyx.org>
7012
7013         * BufferView_pimpl.C (trackChanges, dispatch): call
7014         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7015
7016 2003-03-09  Angus Leeming  <leeming@lyx.org>
7017
7018         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7019         than Dialogs::showAboutlyx().
7020
7021 2003-03-09  Angus Leeming  <leeming@lyx.org>
7022
7023         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7024         than Dialogs::showTabularCreate().
7025
7026 2003-03-09  John Levon  <levon@movementarian.org>
7027
7028         * lyxtext.h:
7029         * text.C:
7030         * text2.C: 3rd arg to nextBreakPoint was always the same.
7031           Use references.
7032
7033 2003-03-08  John Levon  <levon@movementarian.org>
7034
7035         * lyxrow.C:
7036         * paragraph.C:
7037         * paragraph.h:
7038         * rowpainter.C:
7039         * text.C:
7040         * text2.C: Remove the "main" bit from the "main body"
7041           notion.
7042
7043 2003-03-08  John Levon  <levon@movementarian.org>
7044
7045         * text.C (leftMargin): The left margin of an empty
7046         manual label paragraph should not include the label width
7047         string length.
7048
7049         * text.C (prepareToPrint): don't attempt to measure hfills
7050         for empty manual label paragraphs - the answer should be 0
7051
7052 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * CutAndPaste.C: remove commented code and reindent.
7055
7056 2003-03-08  John Levon  <levon@movementarian.org>
7057
7058         * lyxfunc.h:
7059         * lyxfunc.C: move reloadBuffer()
7060
7061         * BufferView.h:
7062         * BufferView.C: to here
7063
7064         * lyxvc.C: add comment
7065
7066         * vc-backend.h:
7067         * vc-backend.C: call bv->reload() to avoid
7068           getStatus() check on MENURELOAD
7069
7070 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7071
7072         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7073         to an old format .dep file.
7074
7075 2003-03-07  Angus Leeming  <leeming@lyx.org>
7076
7077         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7078         when the LFUN_MOUSE_RELEASE should have been handled by
7079         inset->localDispatch.
7080
7081 2003-03-07  Angus Leeming  <leeming@lyx.org>
7082
7083         * BufferView_pimpl.C (dispatch):
7084         * LyXAction.C (init):
7085         * ToolbarDefaults.C (init):
7086         * commandtags.h:
7087         * lyxfunc.C (getStatus):
7088         remove LFUN_INSET_GRAPHICS.
7089
7090         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7091
7092 2003-03-07  Angus Leeming  <leeming@lyx.org>
7093
7094         * commandtags.h:
7095         * LyXAction.C (init):
7096         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7097
7098         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7099
7100         * commandtags.h:
7101         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7102
7103         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7104         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7105
7106 2003-03-07  Angus Leeming  <leeming@lyx.org>
7107
7108         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7109         remove "ert".
7110
7111 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * ParagraphList.C (front): new function
7114         (back): implement
7115
7116 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7117
7118         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7119         and top_row_offset_. removed var first_y.
7120         * text.C (top_y):
7121         * text2.C (LyXText, removeRow):
7122         * text3.C:
7123         * BufferView_pimpl.C:
7124         use these methods instead of using first_y
7125
7126 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * text2.C (pasteSelection): adjust for checkPastePossible
7129
7130         * CutAndPaste.C: remove Paragraph * buf and replace with
7131         ParagraphList paragraphs.
7132         (DeleteBuffer): delete
7133         (cutSelection): change the tc type to textclass_type
7134         (copySelection): change the tc type to textclass_type
7135         (copySelection): adjust for ParagraphList
7136         (pasteSelection): change the tc type to textclass_type
7137         (pasteSelection): adjust for Paragraphlist
7138         (nrOfParagraphs): simplify for ParagraphList
7139         (checkPastePossible): simplify for ParagraphList
7140         (checkPastePossible): remove unused arg
7141
7142         * ParagraphList.C (insert): handle the case where there are no
7143         paragraphs yet.
7144
7145         * CutAndPaste.h: make CutAndPaste a namespace.
7146
7147         * text3.C (dispatch): adjust
7148
7149         * text.C (breakParagraph): add a ParagraphList as arg
7150
7151         * paragraph_funcs.C (breakParagraph): change to take a
7152         BufferParams and a ParagraphList as args.
7153         (breakParagraphConservative): ditto
7154         (mergeParagraph): ditto
7155         (TeXDeeper): add a ParagraphList arg
7156         (TeXEnvironment): ditto
7157         (TeXOnePar): ditto
7158
7159         * buffer.C (readLyXformat2): adjust
7160         (insertStringAsLines): adjust
7161         (latexParagraphs): adjust
7162
7163         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7164         (cutSelection): adjust
7165         (pasteSelection): adjust
7166
7167         * BufferView_pimpl.C (insertInset): adjust
7168
7169 2003-03-05  Angus Leeming  <leeming@lyx.org>
7170
7171         * commandtags.h:
7172         * LyXAction.C (init):
7173         * BufferView_pimpl.C (dispatch):
7174         * lyxfunc.C (getStatus):
7175         remove LFUN_CHILD_INSERT.
7176
7177         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7178
7179 2003-03-05  Angus Leeming  <leeming@lyx.org>
7180
7181         * commandtags.h:
7182         * LyXAction.C (init):
7183         * src/factory.C (createInset):
7184         * lyxfunc.C (getStatus):
7185         * text3.C (dispatch):
7186         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7187
7188         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7189
7190 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * ParagraphList.C (insert): handle insert right before end()
7193         (erase): fix cases where it can be first or last paragraph.
7194
7195 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7198         Paragraph::next and Paragraph::previous
7199         (TeXOnePar): ditto
7200
7201         * text.C (breakParagraph): adjust
7202
7203         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7204         BufferParams& as arg.
7205         (breakParagraph): use ParagraphList::insert
7206         (breakParagraphConservative): take a Buffer* instead of a
7207         BufferParams& as arg.
7208         (breakParagraphConservative): use ParagraphList::insert.
7209
7210         * buffer.C (insertStringAsLines): un-const it
7211         (insertStringAsLines): adjust
7212
7213         * ParagraphList.C (insert): new function
7214
7215         * CutAndPaste.C (pasteSelection): adjust
7216
7217         * text.C (backspace): adjust
7218
7219         * tabular.C (SetMultiColumn): adjust
7220
7221         * CutAndPaste.C (cutSelection): adjust
7222         (pasteSelection): adjust
7223
7224         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7225         Buffer const * as arg
7226
7227         * ParagraphList.C (erase): new function
7228         * paragraph_funcs.C (mergeParagraph): use it
7229         (mergeParagraph): make it take a Buffer* instead of a
7230         BufferParams* as arg
7231
7232         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7233         as arg
7234         (breakParagraphConservative): ditto
7235
7236         * paragraph.h: remove the breakParagraph friend
7237
7238         * paragraph.C (eraseIntern): new function
7239         (setChange): new function
7240
7241         * paragraph_funcs.C (mergeParagraph): make it take a
7242         ParagraphList::iterator instead of a Paragraph *, adjust
7243         accordingly.
7244
7245         * paragraph.h: move an #endif so that the change tracking stuff
7246         also works in the NO_NEXT case.
7247
7248 2003-03-04  Angus Leeming  <leeming@lyx.org>
7249
7250         * commandtags.h:
7251         * LyXAction.C: new LFUN_INSET_MODIFY.
7252
7253         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7254         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7255
7256 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * several files: ws changes only
7259
7260         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7261         (TeXEnvironment): ditto
7262         (TeXDeeper): ditto
7263
7264         * buffer.C (makeLaTeXFile): adjust
7265         (latexParagraphs): make it take ParagraphList::iterator as args
7266
7267 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * buffer.C (latexParagraphs): adjust
7270
7271         * paragraph.C (TeXOnePar): move function...
7272         (optArgInset): move function...
7273         (TeXEnvironment): move function...
7274         * paragraph_pimpl.C (TeXDeeper): move function...
7275         * paragraph_funcs.C: ...here
7276
7277         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7278
7279 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * buffer.C (readInset): remove compability code for old Figure and
7282         InsetInfo insets
7283
7284 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * buffer.C: ws changes
7287         (readInset):
7288
7289         * BufferView_pimpl.C: ditto
7290         * author.C: ditto
7291         * buffer.h: ditto
7292         * bufferlist.h: ditto
7293         * changes.h: ditto
7294         * lyxfunc.C: ditto
7295
7296 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7297
7298         * converter.[Ch]: split into itself +
7299         * graph.[Ch]
7300         * format.[Ch]
7301         * Makefile.am: += graph.[Ch] + format.[Ch]
7302         * MenuBackend.C
7303         * buffer.C
7304         * exporter.C
7305         * importer.C
7306         * lyx_main.C
7307         * lyxfunc.C
7308         * lyxrc.C: added #include "format.h"
7309
7310 2003-02-27  Angus Leeming  <leeming@lyx.org>
7311
7312         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7313           a label.
7314
7315         * factory.C (createInset): add "label" to the factory.
7316
7317         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7318           string and do no more.
7319
7320 2003-02-27  Angus Leeming  <leeming@lyx.org>
7321
7322         * commandtags.h:
7323         * LyXAction.C (init):
7324         * factory.C (createInset):
7325         * BufferView_pimpl.C (dispatch):
7326           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7327
7328         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7329
7330         * lyxfunc.C (dispatch):
7331         * text3.C (dispatch): pass name to params2string.
7332
7333 2003-02-26  Angus Leeming  <leeming@lyx.org>
7334
7335         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7336           blocks together.
7337           Rearrange the ~includes. Strip out the unnecessary ones.
7338
7339         * factory.C (createInset): reformat.
7340           create new insets for the various LFUN_XYZ_APPLY lfuns.
7341
7342 2003-02-26  John Levon  <levon@movementarian.org>
7343
7344         * lyxrow.h:
7345         * lyxrow.C: add isParStart,isParEnd helpers
7346
7347         * paragraph.h: make isInserted/DeletedText take refs
7348
7349         * paragraph_funcs.h:
7350         * paragraph_funcs.C: remove #if 0'd code
7351
7352         * lyxtext.h:
7353         * text3.C:
7354         * text2.C:
7355         * text.C: use lyxrow helpers above.
7356           Move draw and paint routines to RowPainter.
7357           Make several methods use refs not pointers.
7358           Make backgroundColor() const.
7359           Add markChangeInDraw(), isInInset().
7360           Merge changeRegionCase into changeCase.
7361           Make workWidth() shouldn't-happen code into an Assert.
7362
7363         * rowpainter.h:
7364         * rowpainter.C: new class for painting a row.
7365
7366         * vspace.h:
7367         * vspace.C: make inPixels take a ref
7368
7369 2003-02-26  Angus Leeming  <leeming@lyx.org>
7370
7371         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7372         LFUN_REF_APPLY.
7373
7374 2003-02-25  John Levon  <levon@movementarian.org>
7375
7376         * ispell.C: give the forked command a more accurate name
7377
7378 2003-02-22  John Levon  <levon@movementarian.org>
7379
7380         * toc.h:
7381         * toc.C: make TocItem store an id not a Paragraph *
7382           (bug #913)
7383
7384 2003-02-21  Angus Leeming  <leeming@lyx.org>
7385
7386         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7387           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7388           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7389           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7390           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7391           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7392
7393         * BufferView_pimpl.C (dispatch):
7394         * LyXAction.C (init):
7395         * factory.C (createInset):
7396         * lyxfunc.C (getStatus, dispatch):
7397         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7398
7399 2003-02-21  Angus Leeming  <leeming@lyx.org>
7400
7401         * BufferView_pimpl.C (MenuInsertLyXFile):
7402         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7403         * lyxfunc.C (menuNew, open, doImport):
7404           no longer pass a LyXView & to fileDlg.
7405
7406 2003-02-21  Angus Leeming  <leeming@lyx.org>
7407
7408         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7409         * LyXAction.C: change, BIBKEY to BIBITEM.
7410         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7411         Change InsetBibKey to InsetBibitem.
7412         Change BIBKEY_CODE to BIBITEM_CODE.
7413         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7414         * factory.C: replace insetbib.h with insetbibitem.h.
7415         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7416         * paragraph.C: replace insetbib.h with insetbibitem.h.
7417         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7418         Change bibkey() to bibitem().
7419         * text.C: remove insetbib.h.
7420         * text2.C: replace insetbib.h with insetbibitem.h.
7421         change bibkey() to bibitem().
7422         * text3.C: remove insetbib.h.
7423         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7424
7425 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7426
7427         * lyxrc.C (output): enclose user email in quotes (in case there are
7428         several words)
7429
7430 2003-02-18  John Levon  <levon@movementarian.org>
7431
7432         * buffer.h: add std::
7433
7434 2003-02-17  John Levon  <levon@movementarian.org>
7435
7436         * SpellBase.h:
7437         * ispell.h:
7438         * ispell.C:
7439         * pspell.h:
7440         * pspell.C: reworking. Especially in ispell, a large
7441           number of clean ups and bug fixes.
7442
7443         * lyxfunc.C: fix revert to behave sensibly
7444
7445 2003-02-17 André Pönitz <poenitz@gmx.net>
7446
7447         * LyXAction.C:
7448         * commandtags.h: new LFUN_INSERT_BIBKEY
7449
7450         * layout.h:
7451         * lyxlayout.C:
7452         * buffer.C:
7453         * factory.C:
7454         * text.C:
7455         * text2.C:
7456         * text3.C:
7457         * paragraph.[Ch]:
7458         * paragraph_func.C: remove special bibkey handling
7459
7460 2003-02-17  John Levon  <levon@movementarian.org>
7461
7462         * text.C (Delete): fix case where delete at the end of
7463           the very first paragraph would not merge the pars
7464
7465 2003-02-17  John Levon  <levon@movementarian.org>
7466
7467         * lyxrow.C: fix lastPrintablePos()
7468
7469 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7470
7471         * bufferparams.C (writeLaTeX): add a std:here
7472
7473         * buffer.C: and remove a using directive there
7474
7475 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7476
7477         * buffer.C (makeLaTeXFile): move the code that generates the
7478           preamble...
7479
7480         * bufferparams.C (writeLaTeX): ... in this new method
7481
7482         * LaTeXFeatures.C (getEncodingSet): make const
7483           (getLanguages): make const
7484
7485         * MenuBackend.C (binding): returns the binding associated to this
7486           action
7487           (add): sets the status of each item by calling getStatus. Adds
7488           some intelligence.
7489           (read): add support for OptSubMenu
7490           (expand): remove extra separator at the end of expanded menu
7491
7492 2003-02-15  John Levon  <levon@movementarian.org>
7493
7494         * BufferView.C:
7495         * BufferView_pimpl.C:
7496         * bufferlist.h:
7497         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7498           inset code that had no actual effect. Remove unneeded status
7499           code.
7500
7501 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7502
7503         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7504           in preamble
7505
7506 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7507
7508         * text.C (drawLengthMarker): also draw an arrow marker for
7509           symbolic lengths (medskip...)
7510
7511 2003-02-14  John Levon  <levon@movementarian.org>
7512
7513         * tabular.h:
7514         * tabular.C: better method names
7515
7516 2003-02-14  John Levon  <levon@movementarian.org>
7517
7518         * BufferView_pimpl.C:
7519         * bufferlist.C:
7520         * buffer.C:
7521         * converter.C:
7522         * lyx_cb.C:
7523         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7524           it's a more accurate name. Remove some pointless uses.
7525
7526 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7527
7528         * text2.C (LyXText): change order of initilizers to shut off
7529           warnings
7530
7531 2003-02-14  John Levon  <levon@movementarian.org>
7532
7533         * buffer.C: use ParIterator for getParFromID()
7534
7535         * paragraph.h:
7536         * paragraph.C:
7537         * paragraph_pimpl.h:
7538         * paragraph_pimpl.C: remove unused getParFromID()
7539
7540 2003-02-14  John Levon  <levon@movementarian.org>
7541
7542         * buffer.C: remove some very old #if 0'd parse code
7543
7544 2003-02-13  John Levon  <levon@movementarian.org>
7545
7546         * text.h:
7547         * text.C:
7548         * text2.C: move hfillExpansion(), numberOfSeparators(),
7549           rowLast(), rowLastPrintable(), numberofHfills(),
7550           numberOfLabelHfills() ...
7551
7552         * lyxrow.h:
7553         * lyxrow.C: ... to member functions here.
7554
7555         * paragraph.h:
7556         * paragraph.C:
7557         * lyxtext.h:
7558         * text.C: remove LyXText::beginningOfMainBody(), and call
7559           p->beginningOfMainBody() directly. Move the check for
7560           LABEL_MANUAL into the latter.
7561
7562         * text.h:
7563         * text.C:
7564         * text2.C:
7565         * vspace.C:
7566         * BufferView.h:
7567         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7568
7569         * text.h:
7570         * text.C:
7571         * text2.C:
7572         * text3.C:
7573         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7574           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7575
7576 2003-02-13  John Levon  <levon@movementarian.org>
7577
7578         * CutAndPaste.C: remove debug
7579
7580 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7581
7582         * paragraph.C (asString): remove two unused variables
7583
7584         * lyxtextclass.C (readTitleType):
7585           (Read):
7586           (LyXTextClass): handle new members titletype_ and titlename_
7587
7588         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7589
7590 2003-02-09  John Levon  <levon@movementarian.org>
7591
7592         * buffer.h:
7593         * buffer.C: replace hand-coded list with a map for the dep clean
7594
7595 2003-02-08  John Levon  <levon@movementarian.org>
7596
7597         * LaTeX.C: consolidate code into showRunMessage() helper
7598
7599 2003-02-08  John Levon  <levon@movementarian.org>
7600
7601         * lyxfind.C:
7602         * lyxtext.h:
7603         * text2.C:
7604         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7605           and pass the size in explicitly
7606
7607         * BufferView_pimpl.h:
7608         * BufferView_pimpl.C:
7609         * BufferView.h:
7610         * BufferView.C: add getCurrentChange()
7611
7612         * BufferView_pimpl.h:
7613         * BufferView_pimpl.C: handle change lfuns
7614
7615         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7616           for changes. Mark pasted paragraphs as new.
7617
7618         * support/lyxtime.h:
7619         * support/lyxtime.C:
7620         * DepTable.C: abstract time_t as lyx::time_type
7621
7622         * LColor.h:
7623         * LColor.C: add colours for new text, deleted text, changebars
7624
7625         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7626           package use "usenames" option.
7627
7628         * commandtags.h:
7629         * lyxfunc.C:
7630         * LyXAction.C: add change lfuns
7631
7632         * Makefile.am:
7633         * author.h:
7634         * author.C: author handling
7635
7636         * buffer.h:
7637         * buffer.C: add a per-buffer author list, with first entry as
7638           current author. Handle new .lyx tokens for change tracking. Output
7639           author list to .lyx file. Output dvipost stuff to .tex preamble.
7640           Bump lyx format to 222.
7641
7642         * bufferlist.h:
7643         * bufferlist.C: add setCurrentAuthor() to reset current author details
7644           in all buffers.
7645
7646         * bufferparams.h:
7647         * bufferparams.C: add param for tracking
7648
7649         * bufferview_funcs.C: output change info in minibuffer
7650
7651         * Makefile.am:
7652         * changes.h:
7653         * changes.C: add change-tracking structure
7654
7655         * debug.h:
7656         * debug.C: add CHANGES debug flag
7657
7658         * lyxfind.h:
7659         * lyxfind.C: add code for finding the next change piece
7660
7661         * lyxrc.h:
7662         * lyxrc.C: add user_name and user_email
7663
7664         * lyxrow.h:
7665         * lyxrow.C: add a metric for the top of the text line
7666
7667         * lyxtext.h:
7668         * text.C: implement accept/rejectChange()
7669
7670         * lyxtext.h:
7671         * text.C: paint changebars. Paint new/deleted text in the chosen
7672         colours. Strike through deleted text.
7673
7674         * paragraph.h:
7675         * paragraph.C:
7676         * paragraph_pimpl.h:
7677         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7678           in the current change to the insert functions. Rework erase to
7679           mark text as deleted, adding an eraseIntern() and a range-based
7680           erase(). Implement per-paragraph change lookup and
7681           accept/reject.
7682
7683         * paragraph_funcs.C: Fixup paste for change tracking.
7684
7685         * tabular.C: mark added row/columns as new.
7686
7687         * text.C: fix rowLast() to never return -1. Don't allow
7688           spellchecking of deleted text. Track transpose changes. Don't
7689           allow paragraph break or merge where appropriate.
7690
7691         * text2.C: leave cursor at end of selection after a cut.
7692
7693 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7694
7695         * text.C (getLengthMarkerHeight):
7696         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7697         visible on screen too.
7698
7699 2003-02-07  John Levon  <levon@movementarian.org>
7700
7701         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7702
7703 2003-02-05  Angus Leeming  <leeming@lyx.org>
7704
7705         * lyxserver.C (read_ready): revert my patch of 11 September last year
7706         as it sends PC cpu through the roof. Presumably this means that
7707         the lyxserver will no longer run on an Alpha...
7708
7709 2003-01-30  Angus Leeming  <leeming@lyx.org>
7710
7711         * factory.C (createInset): create an InsetCommandParam of type "index"
7712         and use it to 'do the right thing'.
7713
7714         * text2.C (getStringToIndex): ensure that cursor position is always
7715         reset to the reset_cursor position.
7716
7717 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7718
7719         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7720         disabled.
7721
7722 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7723
7724         * bufferview.C:
7725         * lyxcb.C:
7726         * lyxfunc.C: Output messages with identical spelling, punctuation,
7727         and spaces
7728
7729 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7730
7731         * MenuBackend.C (expandFormats): List only viewable export formats
7732         in "View" menu
7733
7734         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7735         message
7736
7737         * lyxfunc.C (getStatus): Make sure that formats other than
7738         "fax" can also be disabled
7739
7740 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7741
7742         * text3.C (dispatch): put the lfuns that insert insets in 3
7743         groups, and call doInsertInset with appropriate arguments.
7744         (doInsertInset): new function, that creates an inset and inserts
7745         it according to some boolean parameters.
7746
7747 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * buffer.C (readFile): remember to pass on 'par' when calling
7750         readFile recursively.
7751
7752 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7753
7754         * MenuBackend.C (expandFormats): add "..." to import formats.
7755
7756 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7757
7758         * paragraph.C (asString): Remove XForms RTL hacks.
7759
7760 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7761         * buffer.C: fix typo
7762
7763 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * Makefile.am (LIBS): delete var
7766         (lyx_LDADD): add @LIBS@ here instead.
7767
7768 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7769
7770         * Clarify the meaning of "wheel mouse jump"
7771
7772 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7773
7774         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7775         tabular in a float
7776
7777 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7778
7779         * importer.C (Loaders): do not preallocate 3 elements in the
7780         vector, since one ends up with 6 elements otherwise
7781
7782 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7783
7784         * DepTable.C (write): write the file name as last element of the
7785         .dep file (because it may contain spaces)
7786         (read): read info in the right order
7787
7788 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7789
7790         * paragraph_pimpl.C (simpleTeXBlanks):
7791         (simpleTeXSpecialChars):
7792         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7793
7794         * tabular.C (latex): add some missing case statements. Reindent.
7795
7796         * MenuBackend.C (expandToc): remove unused variable.
7797
7798 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7799
7800         * LColor.C:
7801         * LaTeX.C:
7802         * LyXAction.C:
7803         * MenuBackend.C:
7804         * buffer.C:
7805         * exporter.C:
7806         * lyxfunc.C:
7807         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7808         and the like.
7809
7810 2003-01-05  John Levon  <levon@movementarian.org>
7811
7812         * BufferView.h:
7813         * BufferView.C: add getEncoding()
7814
7815         * kbsequence.h:
7816         * kbsequence.C: do not store last keypress
7817
7818         * lyxfunc.h:
7819         * lyxfunc.C: store last keypress here instead. Pass encoding
7820           to getISOEncoded()
7821
7822 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7823
7824         * lyx_main.C (init): remove annoying error message when following
7825         symbolic links (bug #780)
7826
7827 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7828
7829         * text.C (insertChar):
7830         * lyxrc.C (getDescription): remove extra spaces
7831
7832 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7833
7834         * lyxrc.C (getDescription): remove extra spaces
7835
7836 2002-12-20  John Levon  <levon@movementarian.org>
7837
7838         * text3.C: hack fix for page up/down across tall rows
7839
7840 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7841
7842         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7843         not been invoked
7844
7845 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7846
7847         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7848         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7849         thesaurus is not compiled in
7850
7851 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7852
7853         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7854
7855 2002-12-16  Angus Leeming  <leeming@lyx.org>
7856
7857         * lyxrc.[Ch]:
7858         * lyx_main.C (init): remove override_x_deadkeys stuff.
7859
7860 2002-12-12  John Levon  <levon@movementarian.org>
7861
7862         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7863           insert. Only remove shift modifier under strict
7864           circumstances.
7865
7866 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * MenuBackend.C (expandToc): fix crash.
7869
7870 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * MenuBackend.C (expandToc): gettext on float names.
7873
7874 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7875
7876         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7877         implement bool empty() [bug 490]
7878
7879 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7882
7883 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7884
7885         * several files: ws changes
7886
7887 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * text2.C (setCounter): clean up a bit, use boost.format.
7890         (updateCounters): initialize par upon declaration.
7891
7892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7893         if the layout exists. We do not just store the layout any more.
7894         (SwitchLayoutsBetweenClasses): use boost.format
7895
7896 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7897
7898         * converter.C (convert): if from and to files are the same, use a
7899         temporary files as intermediary
7900
7901 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7902
7903         * commandtags.h:
7904         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7905
7906 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7907
7908         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7909
7910 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * tabular.C (asciiPrintCell): use string(size, char) instead of
7913         explicit loop.
7914
7915         * sgml.C (openTag): fix order of arguments to string constructor
7916         (closeTag): ditto
7917
7918         * lyxfunc.C (dispatch): use boost.format
7919
7920         * lots of files: change "c" -> 'c'
7921
7922 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7923
7924         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7925
7926 2002-11-25  Angus Leeming  <leeming@lyx.org>
7927
7928         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7929
7930         * lyx_main.C (init): compile fix.
7931
7932 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * lyx_cb.C (start): boost.formatify
7935         do not include <iostream>
7936
7937         * lengthcommon.C: ws only
7938
7939         * boost-inst.C,BoostFormat.h: add more explict instantations
7940
7941 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * lots of files: handle USE_BOOST_FORMAT
7944
7945 2002-11-21  John Levon  <levon@movementarian.org>
7946
7947         * pspell.C: fix compile
7948
7949 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7950
7951         * lyxfunc.C (dispatch): use boost::format
7952         (open): ditto
7953         (doImport): ditto
7954
7955         * lyxfont.C (stateText): use boost::format
7956
7957         * lyx_main.C (LyX): use boost::format
7958         (init): ditto
7959         (queryUserLyXDir): ditto
7960         (readRcFile): ditto
7961         (parse_dbg): ditto
7962         (typedef boost::function): use the recommened syntax.
7963
7964         * importer.C (Import): use boost::format
7965
7966         * debug.C (showLevel): use boost::format
7967
7968         * converter.C (view): use boost::format
7969         (convert): ditto
7970         (move): ditto
7971         (scanLog): ditto
7972
7973         * bufferview_funcs.C (currentState): use boost::format
7974
7975         * bufferlist.C (emergencyWrite): use boost::format
7976
7977         * buffer.C (readLyXformat2): use boost::format
7978         (parseSingleLyXformat2Token): ditto
7979
7980         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7981
7982         * LaTeX.C (run): use boost::format
7983
7984         * Chktex.C (scanLogFile): use boost::format
7985
7986         * BufferView_pimpl.C (savePosition): use boost::format
7987         (restorePosition): ditto
7988         (MenuInsertLyXFile): ditto
7989
7990         * BoostFormat.h: help file for explicit instation.
7991
7992 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7993
7994         * tabular.C (latex): Support for block alignment in fixed width
7995         columns.
7996
7997 2002-11-17  John Levon  <levon@movementarian.org>
7998
7999         * BufferView_pimpl.C:
8000         * lyx_cb.C:
8001         * lyxfunc.C: split filedialog into open/save
8002
8003 2002-11-08  Juergen Vigna  <jug@sad.it>
8004
8005         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8006         by my last patch (hopefully).
8007
8008 2002-11-08  John Levon  <levon@movementarian.org>
8009
8010         * iterators.h:
8011         * iterators.C:
8012         * buffer.h:
8013         * buffer.C:
8014         * paragraph.h:
8015         * paragraph.C:
8016         * toc.h:
8017         * toc.C: ParConstIterator, and use it (from Lars)
8018
8019 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8020
8021         * lyxtextclass.[Ch]: revise and add doxygen comments
8022
8023 2002-11-07  John Levon  <levon@movementarian.org>
8024
8025         * text.C: fix progress value for spellchecker
8026
8027         * toc.C: fix navigate menu for insetwrap inside minipage
8028
8029         * paragraph_funcs.C: added FIXME for suspect code
8030
8031 2002-11-07  John Levon  <levon@movementarian.org>
8032
8033         * BufferView_pimpl.C: fix redrawing of insets
8034           on buffer switch
8035
8036 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8037
8038         * text2.C (updateCounters): fix bug 668
8039
8040 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8041
8042         * text3.C (dispatch): Do not make the buffer dirty when moving the
8043         cursor.
8044
8045 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8046
8047         * vc-backend.C: STRCONV
8048         (scanMaster): ditto
8049
8050         * text2.C (setCounter): STRCONV
8051
8052         * paragraph.C (asString): STRCONV
8053
8054         * lyxlength.C (asString): STRCONV
8055         (asLatexString): ditto
8056
8057         * lyxgluelength.C (asString): STRCONV
8058         (asLatexString): ditto
8059
8060         * lyxfunc.C (dispatch): STRCONV
8061         (open): ditto
8062
8063         * lyxfont.C (stateText): STRCONV
8064
8065         * importer.C (Import): STRCONV
8066
8067         * counters.C (labelItem): STRCONV
8068         (numberLabel): ditto
8069         (numberLabel): remove unused ostringstream o
8070
8071         * chset.C: STRCONV
8072         (loadFile): ditto
8073
8074         * bufferview_funcs.C (currentState): STRCONV
8075
8076         * buffer.C (readFile): STRCONV
8077         (asciiParagraph): ditto
8078         (makeLaTeXFile): ditto
8079
8080         * Spacing.C (writeEnvirBegin): STRCONV
8081
8082         * LaTeXFeatures.C (getLanguages): STRCONV
8083         (getPackages): ditto
8084         (getMacros): ditto
8085         (getBabelOptions): ditto
8086         (getTClassPreamble): ditto
8087         (getLyXSGMLEntities): ditto
8088         (getIncludedFiles): ditto
8089
8090         * LaTeX.C: STRCONV
8091         (run): ditto
8092         (scanAuxFile): ditto
8093         (deplog): ditto
8094
8095         * LString.h: add the STRCONV macros
8096
8097         * BufferView_pimpl.C (savePosition): STRCONV
8098         (restorePosition): ditto
8099         (MenuInsertLyXFile): ditto
8100
8101         * vc-backend.C (scanMaster): change from submatch[...] to
8102         submatch.str(...)
8103
8104         * funcrequest.C: include config.h
8105
8106         * factory.C: include config.h
8107
8108         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8109
8110         * box.C: include config.h
8111
8112         * LaTeX.C (scanAuxFile): change from submatch[...] to
8113         submatch.str(...)
8114         (deplog): ditto
8115
8116 2002-10-25  Angus Leeming  <leeming@lyx.org>
8117
8118         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8119
8120         * ispell.[Ch] (setError): new method.
8121         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8122         Use setError() insetead of goto END.
8123
8124         * lyx_cb.C (AutoSave): move out child process into new class
8125         AutoSaveBuffer.
8126
8127 2002-10-30  John Levon  <levon@movementarian.org>
8128
8129         * text3.C: make start appendix undoable
8130
8131 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8132
8133         * lyxlength.C (inPixels): Fix returned value.
8134
8135         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8136         environment.
8137
8138 2002-10-24  Angus Leeming  <leeming@lyx.org>
8139
8140         * lyxgluelength.h: no need to forward declare BufferParams
8141         or BufferView, so don't.
8142
8143 2002-10-21  John Levon  <levon@movementarian.org>
8144
8145         * BufferView.C: menuUndo ->undo, redo
8146
8147         * BufferView.h: document, remove dead, make some methods private
8148
8149         * paragraph_funcs.h:
8150         * paragraph_funcs.C:
8151         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8152
8153         * buffer.h:
8154         * buffer.C:
8155         * sgml.h:
8156         * sgml.C: move sgml open/close tag into sgml.C
8157
8158         * bufferview_funcs.h: unused prototype
8159
8160         * lyxfunc.h:
8161         * lyxfunc.C: remove unused
8162
8163         * lyxtext.h:
8164         * text.C: remove unused
8165
8166 2002-10-21  John Levon  <levon@movementarian.org>
8167
8168         * BufferView.h:
8169         * BufferView.C:
8170         * BufferView_pimpl.h:
8171         * BufferView_pimpl.C: fix mouse wheel handling based on
8172           patch from Darren Freeman
8173
8174 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8175
8176         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8177
8178 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8179
8180         * lyxlength.C (inPixels): Fix hanfling of negative length.
8181         Fix LyXLength::MU case.
8182
8183 2002-10-16  John Levon  <levon@movementarian.org>
8184
8185         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8186
8187 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8188
8189         * converter.C (view): add support for $$i (file name) and $$p
8190         (file path) for the viewer command. If $$i is not specified, then
8191         it is appended to the command (for compatibility with old syntax)
8192
8193 2002-10-14  Juergen Vigna  <jug@sad.it>
8194
8195         * undo_funcs.C (textHandleUndo): alter the order in which the
8196         new undopar is added to the LyXText, as we have to set first
8197         the right prev/next and then add it as otherwise the rebuild of
8198         LyXText is not correct. Also reset the cursor to the right paragraph,
8199         with this IMO we could remove the hack in "redoParagraphs()".
8200
8201 2002-10-09  Angus Leeming  <leeming@lyx.org>
8202
8203         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8204         to turn off an optimisation if a new inset is to be inserted.
8205
8206 2002-10-11 André Pönitz <poenitz@gmx.net>
8207
8208         * lyxtext.h: make some functions public to allow access
8209         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8210
8211 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8212
8213         * text3.C (dispatch): when changing layout, avoid an infinite loop
8214         [bug #652]
8215
8216 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8217
8218         * lyxrc.C (read): treat a viewer or converter command of "none" as
8219         if it were empty.
8220
8221         * MenuBackend.C (expandFormats): for an update, also allow the
8222         formats that are not viewable
8223
8224         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8225         script if it is newer than the lyxrc.defaults in user directory
8226
8227 2002-10-07 André Pönitz <poenitz@gmx.net>
8228
8229         * text.C: Vitaly Lipatov's small i18n fix
8230
8231 2002-09-25  Angus Leeming  <leeming@lyx.org>
8232
8233         * ispell.h: doxygen fix.
8234
8235 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8236
8237         * buffer.h (readFile): Add a new argument to the method, to allow
8238         reading of old-format templates.
8239
8240 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8241
8242         * toc.C (getTocList): Get TOC from InsetWrap.
8243
8244 2002-09-16  John Levon  <levon@movementarian.org>
8245
8246         * lyxfunc.C: check tabular for cut/copy too
8247
8248 2002-09-12  John Levon  <levon@movementarian.org>
8249
8250         * LyXAction.C: tidy
8251
8252         * factory.h:
8253         * factory.C: add header
8254
8255         * paragraph_funcs.h:
8256         * paragraph_funcs.C: cleanup
8257
8258 2002-09-11  John Levon  <levon@movementarian.org>
8259
8260         * PrinterParams.h: odd/even default to true
8261
8262 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8263
8264         * PrinterParams.h: update printer parameters for new xforms dialog
8265
8266 2002-09-11  Angus Leeming  <leeming@lyx.org>
8267
8268         * lyxserver.C (read_ready): re-write to make it more transparent
8269         and to make it work in coherent fashion under Tru64 Unix.
8270
8271 2002-09-11  André Pönitz <poenitz@gmx.net>
8272
8273         * commandtags.h:
8274         * LyXAction.C:
8275         * text3.C: implement LFUN_WORDSEL
8276
8277 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8278
8279         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8280         make floatlist_ a boost::shared_ptr<FloatList>
8281
8282         * lyxtextclass.C: include FloatList.h
8283         (LyXTextClass): initialize floatlist_
8284         (TextClassTags): add TC_NOFLOAT
8285         (Read): match "nofloat" to TC_NOFLOAT and use it.
8286         (readFloat): modify call to floatlist_
8287         (floats): ditto
8288         (floats): ditto
8289
8290         * FloatList.[Ch] (FloatList): remove commented out float
8291         initialization.
8292         (erase): new function
8293
8294 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8295
8296         * MenuBackend.C (expandToc): fix crash when there is no document
8297         open
8298
8299 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8300
8301         * many files: Add insetwrap.
8302
8303 2002-09-09  John Levon  <levon@movementarian.org>
8304
8305         * text2.C: remove confusing and awkward depth wraparound
8306
8307 2002-09-09  John Levon  <levon@movementarian.org>
8308
8309         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8310
8311         * buffer.h:
8312         * buffer.C: remove getIncludeonlyList()
8313
8314         * paragraph.C:
8315         * lyxfunc.C: remove headers
8316
8317 2002-09-09  Juergen Vigna  <jug@sad.it>
8318
8319         * text.C (getColumnNearX): fix form Michael this is most
8320         probably a cut&paste bug.
8321
8322 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8325
8326         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8327         references, ws changes.
8328
8329         * text2.C (init): update counters after init
8330         (insertParagraph): no need to set counter on idividual paragraphs.
8331         (setCounter): access the counters object in the textclass object
8332         on in the buffer object.
8333         (updateCounters): ditto
8334
8335         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8336         shared_ptr<Counters> to avoid loading counters.h in all
8337         compilation units.
8338         (LyXTextClass): initialize ctrs_
8339         (TextClassTags): add TC_COUNTER, and ...
8340         (Read): use it here.
8341         (CounterTags): new tags
8342         (readCounter): new function
8343         (counters): new funtion
8344         (defaultLayoutName): return a const reference
8345
8346         * counters.C (Counters): remove contructor
8347         (newCounter): remove a couple of unneeded statements.
8348         (newCounter): simplify a bit.
8349         (numberLabel): some small formatting changes.
8350
8351         * buffer.[Ch]: remove all traces of counters, move the Counters
8352         object to the LyXTextClass.
8353
8354 2002-09-06  Alain Castera  <castera@in2p3.fr>
8355
8356         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8357         package to set the horizontal alignment on fixed width columns.
8358
8359         * lyx_sty.C:
8360         * lyx_sty.h: added tabularnewline macro def.
8361
8362         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8363
8364 2002-09-06  John Levon  <levon@movementarian.org>
8365
8366         * LyXAction.C: tooltips for sub/superscript
8367
8368         * MenuBackend.C: a bit more verbose
8369
8370         * lyxfunc.C: tiny clean
8371
8372         * undo_funcs.C: document undo_frozen
8373
8374 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * counters.C (Counters): add missing algorithm counter.
8377
8378         * text2.C (setCounter): lookup the counter with layouts latexname
8379         instead of by section number.
8380         (setCounter): use a hackish way to lookup the correct enum
8381         counter.
8382         a float name->type change
8383         reset enum couners with counter name directly instead of depth value.
8384
8385         * counters.C (Counters): remove the push_backs, change to use the
8386         float type not the float name.
8387         (labelItem): remove unused string, float name->type change
8388
8389         * counters.h: don't include vector, loose the enums and sects vectors
8390
8391 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8394         (Read): add float->TC_FLOAT to textclassTags
8395         (Read): and handle it in the switch
8396         (readFloat): new function
8397
8398         * FloatList.C (FloatList): comment out the hardcoded float
8399         definitions.
8400
8401         * lyxlayout.h: ws change.
8402
8403 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8404
8405         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8406
8407 2002-09-03  Angus Leeming  <leeming@lyx.org>
8408
8409         * BufferView_pimpl.h: qualified name is not allowed in member
8410         declaration: WorkArea & Pimpl::workarea() const;
8411
8412         * factory.C: added using std::endl directive.
8413
8414         * text3.C: added using std::find and std::vector directives.
8415
8416 2002-08-29  André Pönitz <poenitz@gmx.net>
8417
8418         * lyxtext.h:
8419         * text2.C: remove unused member number_of_rows
8420
8421         * Makefile.am:
8422         * BufferView2.C: remove file, move contents to...
8423         * BufferView.C: ... here
8424
8425         * BufferView_pimpl.C:
8426         * factory.C: move more inset creation to factory
8427
8428         * vspace.C: avoid direct usage of LyXText, ws changes
8429
8430         * BufferView.[Ch]:
8431                 don't provide direct access to WorkArea, use two simple
8432                 acessors haveSelction() and workHeight() instead
8433
8434
8435 2002-08-29  John Levon  <levon@movementarian.org>
8436
8437         * BufferView_pimpl.C (dispatch): do not continue when
8438           no buffer
8439
8440 2002-08-28  André Pönitz <poenitz@gmx.net>
8441
8442         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8443
8444         * BufferView.h:
8445         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8446
8447 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8448
8449         * buffer.C: increment LYX_FORMAT to 221
8450
8451         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8452         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8453
8454         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8455
8456         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8457
8458 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8459
8460         * factory.C (createInset): use LyXTextClass::floats
8461
8462         * MenuBackend.C (expandFloatListInsert):
8463         (expandFloatInsert):
8464         (expandToc):
8465
8466         * text2.C (setCounter):
8467
8468         * LaTeXFeatures.C (useFloat):
8469         (getFloatDefinitions):
8470
8471         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8472
8473         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8474         floatlist_, with accessor floats().
8475
8476         * FloatList.h: remove global FloatList
8477
8478 2002-08-26  André Pönitz <poenitz@gmx.net>
8479
8480         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8481
8482         * BufferView.h:
8483         * BufferView2.C:
8484         * BufferView_pimpl.C:
8485         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8486
8487 2002-08-25  John Levon  <levon@movementarian.org>
8488
8489         * LyXAction.C: fix margin note description
8490
8491 2002-08-24  John Levon  <levon@movementarian.org>
8492
8493         * buffer.C:
8494         * bufferlist.C:
8495         * bufferview_funcs.C:
8496         * lyxfont.C:
8497         * undo_funcs.C: cleanups
8498
8499         * lyxfunc.C: disable CUT/COPY when no selection
8500
8501 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8502
8503         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8504         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8505
8506         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8507         Add backward compatibility to "mono", "gray" and "no".
8508
8509 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8512         (and file_format >= 200).
8513
8514 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8517
8518 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8521
8522 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8523
8524         * BufferView_pimpl.C:
8525         * LyXAction.C:
8526         * buffer.C:
8527         * commandtags.h:
8528         * lyxfunc.C:
8529         * paragraph.[Ch]:
8530         * text2.C:
8531         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8532         inset and code to make it  work with the paragraph code. The inset
8533         can be anywhere in the paragraph, but will only do the expected
8534         thing in LaTeX if the layout file contains the parameter line
8535                         OptionalArgs    1
8536         (or more generally, a nonzero value) for that layout.
8537
8538 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * paragraph.h: remove the declaration of undefined counters class
8541         function.
8542
8543 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8544
8545         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8546         Dr. Richard Hawkins.
8547
8548 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8549
8550         * paragraph_funcs.h: remove some unneeded includes
8551
8552         * text.C (backspace): pasteParagraph now in global scipe
8553
8554         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8555         (pasteSelection): ditto
8556
8557         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8558         * paragraph_funcs.C (pasteParagraph): ... here
8559
8560 2002-08-20  André Pönitz <poenitz@gmx.net>
8561
8562         * commandtags.h: new LFUNs for swapping/copying table row/colums
8563
8564         * LyXAction.C:
8565         * lyxfunc.C: support for new lfuns
8566
8567 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8568
8569         * tabular.C:
8570         * buffer.[Ch]: remove NO_COMPABILITY stuff
8571
8572 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * boost.C (throw_exception): new file, with helper function for
8575         boost compiled without exceptions.
8576
8577         * paragraph.h:
8578         * lyxlength.C:
8579         * buffer.C:
8580         * ParameterStruct.h:
8581         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8582
8583         * bufferlist.C (emergencyWriteAll): use boost bind
8584
8585         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8586
8587         * text.C: include paragraph_funcs.h
8588         (breakParagraph): breakParagraph is now in global scope
8589
8590         * paragraph_funcs.[Ch]: new files
8591
8592         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8593         global scope
8594
8595         * buffer.C: include paragraph_funcs.h
8596         (insertStringAsLines): breakParagraph is now in global scope
8597
8598         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8599         paragraph_funcs.C
8600
8601         * CutAndPaste.C: include paragraph_funcs.h
8602         (cutSelection): breakParagraphConservative is now in global scope
8603         (pasteSelection): ditto
8604
8605         * buffer.h: declare oprator== and operator!= for
8606         Buffer::inset_iterator
8607
8608         * bufferlist.C (emergencyWrite): don't use fmt(...)
8609
8610         * text3.C: add using std::endl
8611
8612         * BufferView.C (moveCursorUpdate): remove default arg
8613
8614 2002-08-20  André Pönitz <poenitz@gmx.net>
8615
8616         * buffer.[Ch]: move inline functions to .C
8617
8618         * BufferView2.C:
8619         * BufferView_pimpl.C:
8620         * text.C:
8621         * buffer.[Ch]: use improved inset_iterator
8622
8623         * buffer.C:
8624         * paragraph.[Ch]: write one paragraph at a time
8625
8626 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8627
8628         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8629         style if style is not specified.
8630
8631 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8632
8633         * text2.C (setCounter): when searching for right label for a
8634         caption, make sure to recurse to parent insets (so that a caption
8635         in a minipage in a figure float works) (bug #568)
8636
8637 2002-08-20  André Pönitz <poenitz@gmx.net>
8638
8639         * text3.C: new file for LyXText::dispatch() and helpers
8640
8641         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8642
8643         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8644
8645 2002-08-19  André Pönitz <poenitz@gmx.net>
8646
8647         * lyxtext.h:
8648         * text.C: new LyXText::dispatch()
8649
8650         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8651
8652 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8653
8654         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8655
8656         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8657         Hebrew text.
8658
8659 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8660
8661         * Makefile.am: use $(variables) instead of @substitutions@
8662
8663 2002-08-15  André Pönitz <poenitz@gmx.net>
8664
8665         * lyxfunc.C:
8666         * BufferView_pimpl.C: streamlining mathed <-> outer world
8667         interaction
8668
8669         * commandtags.h:
8670         * LyXAction.C: remove unused LFUN_MATH
8671
8672 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8675
8676 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * paragraph.C (Paragraph): reformat a bit
8679         (cutIntoMinibuffer): use builtin InsetList function instad of
8680         doing it manually.
8681         (getInset): ditto
8682
8683         * buffer.C: include boost/bind.hpp, add using std::for_each
8684         (writeFileAscii): use ParagraphList iterators
8685         (validate): use for_each for validate traversal of paragraphs
8686         (getBibkeyList): use ParagraphList iterators
8687         (resizeInsets): use for_each to resizeInsetsLyXText for all
8688         paragraphs.
8689         (getParFromID): use ParagraphList iterators
8690
8691         * BufferView2.C (lockInset): use paragraph list and iterators
8692
8693 2002-08-14  John Levon  <levon@movementarian.org>
8694
8695         * lyxserver.C: remove spurious xforms include
8696
8697 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8700
8701 2002-08-13  André Pönitz <poenitz@gmx.net>
8702
8703         * LyXAction.[Ch]:
8704         * lyxfunc.C: further cleaning
8705
8706 2002-08-13  André Pönitz <poenitz@gmx.net>
8707
8708         * funcrequest.h: new constructor
8709
8710         * funcrequest.C: move stuff here from .h
8711
8712         * Makefile.am:
8713         * BufferView_pimpl.C:
8714         * LyXAction.C:
8715         * toc.C:
8716         * lyxfunc.C: subsequent changes
8717
8718         * lyxfunc.h: new view() member function
8719
8720         * lyxfunc.C: subsequent changes
8721
8722 2002-08-13  Angus Leeming  <leeming@lyx.org>
8723
8724         * BufferView2.C:
8725         * BufferView_pimpl.C:
8726         * buffer.C:
8727         * converter.C:
8728         * importer.C:
8729         * lyxfunc.C:
8730         * lyxvc.C:
8731         * toc.C:
8732         * vc-backend.C:
8733         changes due to the changed LyXView interface that now returns references
8734         to member variables not pointers.
8735
8736 2002-08-13  Angus Leeming  <leeming@lyx.org>
8737
8738         * WordLangTuple (word, lang_code): return references to strings,
8739         not strings.
8740
8741         * BufferView.h:
8742         * SpellBase.h:
8743         * lyxtext.h: forward-declare WordLangTuple.
8744
8745         * BufferView2.C:
8746         * ispell.C:
8747         * pspell.C:
8748         * text.C: #include "WordLangTuple.h".
8749
8750         * lyxtext.h:
8751         * text.C: (selectNextWordToSpellcheck): constify return type.
8752
8753 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8754
8755         * buffer.C:
8756         * buffer.h:
8757         * lyxtext.h:
8758         * paragraph.C:
8759         * paragraph_pimpl.h:
8760         * text.C:
8761         * text2.C:
8762         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8763         suggested by Angus.
8764         Made updateCounter always count from start of buffer, and removed
8765         second argument (par).
8766         Reverted floats number display to '#'. Perhaps I'll try again when the
8767         code base is sanitized a bit.
8768
8769 2002-08-12  Angus Leeming  <leeming@lyx.org>
8770
8771         * buffer.[Ch] (getLabelList): constify.
8772
8773 2002-08-07  André Pönitz <poenitz@gmx.net>
8774
8775         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8776
8777         * funcrequest.h: extension to keep mouse (x,y) position
8778
8779 2002-08-12  Juergen Vigna  <jug@sad.it>
8780
8781         * BufferView2.C (insertErrors): forbid undo when inserting error
8782         insets.
8783
8784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8785
8786 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * ParagraphList.[Ch]: new files
8789
8790         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8791
8792         * BufferView2.C (lockInset): ParagraphList changes
8793         * toc.C: ditto
8794         * text2.C: ditto
8795         * bufferlist.C: ditto
8796         * buffer.h: ditto
8797         * buffer.C: ditto
8798
8799 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8802         unused class variable counter_,
8803
8804         * paragraph.[Ch] (getFirstCounter): delete unused function
8805
8806         * counters.C: include LAssert.h
8807         (reset): add a new function with no arg, change other version to
8808         not have def. arg and to not allow empty arg.
8809
8810         * text2.C (setCounter): remove empty arg from call to Counters::reset
8811
8812 2002-08-11  John Levon  <levon@movementarian.org>
8813
8814         * Makefile.am: add WordLangTuple.h
8815
8816 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8817
8818         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8819         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8820
8821         * insets/insettext.C: InsetList changes
8822
8823         * graphics/GraphicsSupport.C (operator()): InsetList changes
8824
8825         * toc.C (getTocList): InsetList changes
8826
8827         * paragraph_pimpl.[Ch]: InsetList changes
8828
8829         * paragraph.[Ch]: InsetList changes
8830
8831         * buffer.C (inset_iterator): InsetList changes
8832         (setParagraph): ditto
8833         * buffer.h (inset_iterator): ditto
8834         * iterators.C (operator++): ditto
8835         * iterators.h: ditto
8836
8837         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8838
8839         * InsetList.[Ch]: new files, most InsetList handling moved out of
8840         paragraph.C.
8841
8842         * BufferView2.C (removeAutoInsets): InsetList changes
8843         (lockInset): ditto
8844         (ChangeInsets): ditto
8845
8846 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * paragraph_pimpl.h (empty): new function
8849
8850         * paragraph.[Ch] (empty): new function
8851
8852         * other files: use the new Paragraph::empty function
8853
8854 2002-08-09  John Levon  <levon@movementarian.org>
8855
8856         * lyxtext.h: remove unused refresh_height
8857
8858 2002-08-09  John Levon  <levon@movementarian.org>
8859
8860         * Makefile.am:
8861         * sgml.h:
8862         * sgml.C:
8863         * buffer.C:
8864         * paragraph.h:
8865         * paragraph.C: move sgml char escaping out of paragraph
8866
8867         * paragraph.h:
8868         * paragraph.C: remove id setter
8869
8870         * buffer.C:
8871         * paragraph.C:
8872         * paragraph_pimpl.C: remove dead tex_code_break_column
8873
8874         * bufferview_funcs.C: small cleanup
8875
8876         * lyxfunc.C: remove dead proto
8877
8878         * lyxtext.h: make some stuff private. Remove some dead stuff.
8879
8880         * lyxgluelength.C: make as[LyX]String() readable
8881
8882 2002-08-08  John Levon  <levon@movementarian.org>
8883
8884         * LyXAction.h:
8885         * LyXAction.C:
8886         * MenuBackend.C:
8887         * ToolbarDefaults.C:
8888         * lyxfunc.C:
8889         * lyxrc.C:
8890         * toc.C: lyxaction cleanup
8891
8892 2002-08-08  John Levon  <levon@movementarian.org>
8893
8894         * BufferView2.C: small cleanup
8895
8896         * lyxfind.h:
8897         * lyxfind.C: move unnecessary header into the .C
8898
8899 2002-08-08  John Levon  <levon@movementarian.org>
8900
8901         * funcrequest.h: just tedious nonsense
8902
8903         * lyx_main.h:
8904         * lyx_main.C: cleanups
8905
8906         * buffer.C:
8907         * vspace.C: remove dead header lyx_main.h
8908
8909 2002-08-07  Angus Leeming  <leeming@lyx.org>
8910
8911         * Paragraph.[Ch]:
8912         * paragraph_pimpl.h:
8913         Forward declare class Counters in paragraph.h by moving the ctrs member
8914         variable into Paragraph::Pimpl.
8915         (counters): new method, returning a reference to pimpl_->ctrs.
8916
8917         * text2.C: ensuing changes.
8918
8919 2002-08-07  John Levon  <levon@movementarian.org>
8920
8921         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8922
8923         * BufferView_pimpl.C: announce X selection on double/triple
8924           click
8925
8926         * lyx_main.C: use correct bool in batch dispatch
8927
8928         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8929
8930 2002-08-07  André Pönitz <poenitz@gmx.net>
8931
8932         * funcrequest.h: new class to wrap a kb_action and its argument
8933
8934         * BufferView.[Ch]:
8935         * BufferView_pimpl[Ch]:
8936         * LaTeX.C:
8937         * LyXAction.[Ch]:
8938         * lyxfunc.[Ch]:
8939         * lyxrc.C: subsequent changes
8940
8941
8942 2002-08-07  John Levon  <levon@movementarian.org>
8943
8944         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8945           document options change.
8946
8947 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8948
8949         * counters.[Ch]
8950         * text2.C
8951         * paragraph.[Ch]
8952         * makefile.am: move counters functionality over from
8953         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8954
8955 2002-08-06  John Levon  <levon@movementarian.org>
8956
8957         * WordLangTuple.h: new file for word + language code tuple
8958
8959         * SpellBase.h:
8960         * pspell.h:
8961         * pspell.C:
8962         * ispell.h:
8963         * ispell.C:
8964         * lyxtext.h:
8965         * text.C:
8966         * text2.C:
8967         * BufferView.h:
8968         * BufferView2.C: use WordLangTuple
8969
8970         * layout.h:
8971         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8972
8973 2002-08-06  John Levon  <levon@movementarian.org>
8974
8975         * lyx_main.C: fix cmdline batch handling
8976
8977 2002-08-06  André Pönitz <poenitz@gmx.net>
8978
8979         * lyxrc.C: set default for show_banner to true
8980
8981 2002-08-06  John Levon  <levon@movementarian.org>
8982
8983         * pspell.C: fix a crash, and allow new aspell to work
8984
8985 2002-08-06  John Levon  <levon@movementarian.org>
8986
8987         * lyxfunc.C:
8988         * kbmap.C: small cleanup
8989
8990         * vspace.h:
8991         * vspace.C: add const
8992
8993 2002-08-05  John Levon  <levon@movementarian.org>
8994
8995         * LyXAction.C: back to tabular-insert
8996
8997 2002-08-04  John Levon  <levon@movementarian.org>
8998
8999         * BufferView.h:
9000         * BufferView.C: cosmetic change
9001
9002         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9003
9004         * bufferlist.C:
9005         * buffer.h:
9006         * buffer.C:
9007         * lyxcb.h:
9008         * lyxcb.C:
9009         * lyxserver.C:
9010         * lyxvc.C:
9011         * vc-backend.C:
9012         * BufferView2.C: purge all "Lyx" not "LyX" strings
9013
9014         * lyxcursor.h:
9015         * lyxcursor.C: attempt to add some documentation
9016
9017         * lyxfunc.C:
9018         * commandtags.h:
9019         * LyXAction.C:
9020         * ToolbarDefaults.C:
9021         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9022           merge with LFUN_TABULAR_INSERT
9023
9024         * Makefile.am:
9025         * SpellBase.h:
9026         * ispell.h:
9027         * ispell.C:
9028         * pspell.h:
9029         * pspell.C: split up i/pspell implementations into separate
9030           files, many cleanups
9031
9032         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9033
9034         * text2.C: some cleanup
9035
9036         * lyxfunc.C: don't check for isp_command == "none" any more, it
9037           didn't make any sense
9038
9039 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9040
9041         * counters.[Ch]
9042         * text2.C
9043         * paragraph.[Ch]
9044         * makefile.am: move counters functionality over
9045         from text2.C/paragraph.[Ch] to counters.[Ch], and
9046         make proper C++.
9047 2002-08-02  John Levon  <levon@movementarian.org>
9048
9049         * buffer.C: s/lyxconvert/lyx2lyx/
9050
9051 2002-08-02  Angus Leeming  <leeming@lyx.org>
9052
9053         * lyxlex.C: revert John's change as it breaks reading of the user
9054         preamble.
9055
9056 2002-08-02  Angus Leeming  <leeming@lyx.org>
9057
9058         * importer.C (Import):
9059         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9060         changes due to LyXView::view() now returning a boost::shared_ptr.
9061
9062 2002-08-02  John Levon  <levon@movementarian.org>
9063
9064         * lyxlex.C: small cleanup
9065
9066 2002-08-02  John Levon  <levon@movementarian.org>
9067
9068         * text2.C (status): small cleanup, no logic change
9069
9070 2002-08-01  John Levon  <levon@movementarian.org>
9071
9072         * buffer.h:
9073         * buffer.C (writeFile): don't output alerts, caller
9074           handles this
9075
9076         * bufferlist.C:
9077         * lyx_cb.C: from above
9078
9079         * lyxfunc.C: allow to open non-existent files
9080
9081 2002-07-31  John Levon  <levon@movementarian.org>
9082
9083         * lyxserver.C: don't let incidental errors get
9084           in the way (errno)
9085
9086 2002-07-30  John Levon  <levon@movementarian.org>
9087
9088         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9089
9090 2002-07-30  John Levon  <levon@movementarian.org>
9091
9092         * lyxserver.h:
9093         * lyxserver.C: remove I/O callback too
9094
9095 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9098         log.
9099
9100 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9101
9102         * many files: strip,frontStrip -> trim,ltrim,rtrim
9103
9104 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9105
9106         * PrinterParams.h: remove extern containsOnly, and include
9107         support/lstrings.h instead.
9108
9109         * LaTeX.C (scanAuxFile): modify because of strip changes
9110         (deplog): ditto
9111         * buffer.C (makeLaTeXFile): ditto
9112         * bufferparams.C (writeFile): ditt
9113         * lyxfont.C (stateText): ditto
9114         * lyxserver.C (read_ready): ditto
9115         * vc-backend.C (scanMaster): ditto
9116
9117         * BufferView_pimpl.h: ws changes
9118
9119         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9120
9121 2002-07-26  André Pönitz <poenitz@gmx.net>
9122
9123         * kb_sequence.C: remove unnedred usings
9124
9125 2002-07-26  Juergen Vigna  <jug@sad.it>
9126
9127         * lyxfind.C (LyXReplace): we have to check better if the returned
9128         text is not of theLockingInset()->getLockingInset().
9129
9130 2002-07-25  Juergen Vigna  <jug@sad.it>
9131
9132         * lyxfind.C (LyXReplace): don't replace if we don't get the
9133         right LyXText.
9134
9135         * undo_funcs.C (createUndo): remove debugging code.
9136
9137 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * buffer.C (parseSingleLyXformat2Token): Use default placement
9140         when reading old floats.
9141
9142         * FloatList.C (FloatList): Change the default placement of figure
9143         and tables to "tbp".
9144
9145 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * MenuBackend.C: using std::max
9148
9149 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * MenuBackend.C (expandToc):
9152         (expandToc2): code moved from xforms menu frontend. It is now
9153         generic and TOCs are transparent to menu frontends.
9154
9155 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * toc.C (getTocList): protect against buf=0
9158
9159         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9160         Menu as first parameter. Now, this calls itself recursively to
9161         expand a whole tree (this will be useful for TOC handling)
9162         (expandFloatInsert): remove 'wide' version of floats
9163
9164         * MenuBackend.h (submenuname): returns the name of the submenu.
9165         (submenu): returns the submenu itself, provided it has been
9166         created by MenuBackend::expand
9167
9168 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9169
9170         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9171         insets which have noFontChange == true. (bug #172)
9172
9173 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9174
9175         * BufferView_pimpl.C: add connection objects and use them...
9176         (Pimpl): here.
9177
9178 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * MenuBackend.C (expandLastfiles):
9181         (expandDocuments):
9182         (expandFormats):
9183         (expandFloatListInsert):
9184         (expandFloatInsert):
9185         (expand): split expand in parts
9186
9187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * lyx_gui.C: use lyx_gui::exit()
9190
9191 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * LyXAction.C: show the failing pseudo action
9194
9195 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9196
9197         * buffer.C (readFile): Run the lyxconvert script in order to read
9198         old files.
9199
9200 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9201
9202         * LyXAction.C:
9203         * commandtags.h:
9204         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9205
9206 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * LyXAction.C:
9209         * commandtags.h:
9210         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9211
9212 2002-07-22  Herbert Voss  <voss@lyx.org>
9213
9214         * lengthcommon.C:
9215         * lyxlength.[Ch]: add support for the vertical lengths
9216
9217 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9218
9219         * toc.[Ch]: std:: fixes
9220
9221 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9222
9223         * lyxrc.C: do not include lyx_main.h
9224
9225         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9226         for layouts
9227
9228         * lyxrc.C:
9229         * encoding.C:
9230         * bufferlist.C:
9231         * BufferView2.C: include "lyxlex.h"
9232
9233         * tabular.h:
9234         * bufferparams.h: do not #include "lyxlex.h"
9235
9236         * lyxtextclasslist.C (Add): remove method
9237         (classlist): renamed to classlist_
9238
9239         * paragraph_pimpl.C:
9240         * paragraph.C:
9241         * text2.C:
9242         * CutAndPaste.C:
9243         * bufferview_funcs.C:
9244         * bufferlist.C:
9245         * text.C:
9246         * LaTeXFeatures.C:
9247         * buffer.C:
9248         * toc.C (getTocList): use BufferParams::getLyXTextClass
9249
9250         * toc.C (getTocList): use InsetFloat::addToToc
9251
9252         * toc.[Ch]: new files, containing helper functions to handle table
9253         of contents
9254
9255         * lyxfunc.C (dispatch): no need to remove spaces around command
9256         given as a string
9257         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9258         first command of the sequence; it is not very clever, but I do not
9259         have a better idea, actually
9260
9261         * LyXAction.C (LookupFunc): make sure to remove space at the
9262         beginning and end of the command
9263
9264 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9265
9266         * MenuBackend.C (getMenubar): new method: return the menubar of
9267         this menu set
9268         (read): treat differently reading of menu and menubar (in
9269         particular, the menubar has no name now)
9270         (Menu::menubar): remove
9271
9272         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9273         saving is finished
9274
9275 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9276
9277         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9278         a bibitem inset in a RTL paragraph.
9279
9280 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * paragraph_pimpl.C: constify
9283
9284         * BufferView_pimpl.C:
9285         * LaTeX.C:
9286         * lyxfunc.C: fix dispatch in a nicer way
9287
9288 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9289
9290         * lyxfunc.C (dispatch):
9291         * BufferView_pimpl.C:
9292         * BufferView_pimpl.h:
9293         * BufferView.C:
9294         * BufferView.h: rename Dispatch() to dispatch()
9295
9296         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9297
9298         * lyxlayout.C (Read): honor DependsOn tag
9299
9300         * lyxlayout.[Ch] (depends_on): new method
9301
9302         * version.C.in: update lyx_docversion
9303
9304         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9305
9306         * paragraph.C (validate): remove from here...
9307         * paragraph_pimpl.C (validate): ... and move here
9308         (isTextAt): make it const
9309
9310         * buffer.C (getLists): ws cleanup
9311
9312 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9313
9314         * language.C (read): Use iso8859-1 encoding in latex_lang
9315         (this prevents LyX from crashing when using iso10646-1 encoding).
9316
9317 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * text2.C (toggleInset): if cursor is inside an inset, close the
9320         inset and leave cursor _after_ it
9321
9322 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * lyxfunc.C: move minibuffer completion handling out of here
9325
9326 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * BufferView_pimpl.C:
9329         * LaTeX.C: fix dispatch calls
9330
9331 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9332
9333         * text.C (drawChars): Fix Arabic text rendering.
9334
9335 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * LyXAction.C:
9338         * commandtags.h:
9339         * lyxfunc.C: remove message-push/pop
9340
9341         * lyxserver.C:
9342         * lyxfunc.h:
9343         * lyxfunc.C: rationalise some code by removing verboseDispatch
9344           in favour of a bool argument to dispatch()
9345
9346 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9347
9348         * lyx_main.C (init): make sure to read symlinks as absolute paths
9349
9350 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * lyxfunc.h:
9353         * lyxfunc.C: no need for commandshortcut to be a member
9354
9355 2002-07-15  André Pönitz <poenitz@gmx.net>
9356
9357         * converter.C: add support for $$s (scripts from lib/scripts dir)
9358         * lyx_main.C: white space
9359
9360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9361
9362         * bufferlist.C:
9363         * lyxrc.h:
9364         * lyxrc.C: remove second exit confirmation
9365
9366 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * BufferView.h:
9369         * BufferView.C:
9370         * BufferView2.C:
9371         * BufferView_pimpl.h:
9372         * BufferView_pimpl.C:
9373         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9374
9375 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9376
9377         * MenuBackend.C (expand): add numeric shortcuts to document menu
9378
9379         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9380
9381 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9382
9383         * lyxfont.C (setLyXFamily):
9384         (setLyXSeries):
9385         (setLyXShape):
9386         (setLyXSize):
9387         (setLyXMisc):
9388         (lyxRead):
9389         * debug.C (value):
9390         * buffer.C (asciiParagraph): use ascii_lowercase
9391
9392 2002-07-15  Mike Fabian  <mfabian@suse.de>
9393
9394         * lyxlex_pimpl.C (search_kw):
9395         * lyxlex.C (getLongString):
9396         * converter.h (operator<):
9397         * converter.C (operator<):
9398         * buffer.C (parseSingleLyXformat2Token):
9399         (asciiParagraph):
9400         * ToolbarDefaults.C (read):
9401         * MenuBackend.C (checkShortcuts):
9402         (read):
9403         * LColor.C (getFromGUIName):
9404         (getFromLyXName): use the compare_ascii_no_case instead of
9405         compare_no_case, because in turkish, 'i' is not the lowercase
9406         version of 'I', and thus turkish locale breaks parsing of tags.
9407
9408 2002-07-16  Angus Leeming  <leeming@lyx.org>
9409
9410         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9411         now takes a Buffer const & argument.
9412
9413 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9414
9415         * BufferView.C (resize): check there's a buffer to resize
9416
9417 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9418
9419         * lyxfunc.C: remove dead code
9420
9421         * lyxserver.h:
9422         * lyxserver.C: use lyx_guii::set_read_callback
9423
9424 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9427         an inset in a RTL paragraph.
9428
9429 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * lyxfunc.C: repaint after a font size update
9432
9433 2002-07-15  André Pönitz <poenitz@gmx.net>
9434
9435         * lyxlength.C: inBP should be able to return negative values
9436
9437 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * lyxfunc.C: use lyx_gui::update_fonts()
9440
9441 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9442
9443         * lyxfunc.C: use lyx_gui::update_color()
9444
9445 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * bufferlist.C:
9448         * lyxfunc.h:
9449         * lyxfunc.C:
9450         * lyxrc.h:
9451         * lyxrc.C: remove file->new asks for name option, and let
9452           buffer-new take an argument
9453
9454 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * BufferView_pimpl.C: remove unneeded extra repaint()
9457
9458 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * LyXAction.C: allow command-sequence with NoBuffer
9461
9462         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9463
9464 2002-07-10  Angus Leeming  <leeming@lyx.org>
9465
9466         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9467
9468 2002-07-09  Angus Leeming  <leeming@lyx.org>
9469
9470         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9471
9472 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * lengthcommon.h: whitespace
9475
9476         * lyxfunc.C: update scrollbar after goto paragraph
9477
9478         * lyxtext.h: factor out page break drawing, and fix it so
9479           page break/added space paints as selected nicely
9480
9481 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView_pimpl.C: add FIXMEs, clean up a little
9484
9485 2002-07-09  André Pönitz <poenitz@gmx.net>
9486
9487         * lyxfont.[Ch]: support for wasy symbols
9488
9489 2002-07-08  André Pönitz <poenitz@gmx.net>
9490
9491         * BufferView_pimpl.C: apply John's patch for #93.
9492
9493 2002-07-05  Angus Leeming  <leeming@lyx.org>
9494
9495         * BufferView_pimpl.C (buffer): generate previews if desired.
9496
9497         * LColor.h: add "preview" to the color enum.
9498
9499         * LColor.C (LColor): add a corresponding entry to the items array.
9500
9501         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9502         with this buffer.
9503
9504 2002-07-05  Angus Leeming  <leeming@lyx.org>
9505
9506         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9507         The body of the code is now in the method that is passed an ostream &
9508         rather than a file name.
9509         Pass an additional only_preamble parameter, useful for the forthcoming
9510         preview stuff.
9511
9512 2002-07-03  André Pönitz <poenitz@gmx.net>
9513
9514         * lyxfunc.C: simplify getStatus() a bit for math stuff
9515
9516 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9517
9518         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9519
9520 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * text.C (changeRegionCase): do not change case of all the
9523         document when region ends at paragraph end (bug #461)
9524
9525 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * paragraph.C (startTeXParParams):
9528         (endTeXParParams): add \protect when necessary
9529
9530 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * BufferView_pimpl.C (workAreaExpose): remove warning
9533
9534 2002-06-27  Angus Leeming  <leeming@lyx.org>
9535
9536         * Makefile.am: add lyxlayout_ptr_fwd.h.
9537
9538 2002-06-26  André Pönitz <poenitz@gmx.net>
9539
9540         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9541
9542 2002-06-25  Angus Leeming  <leeming@lyx.org>
9543
9544         * lyxfunc.C (dispatch): Comment out the call to
9545         grfx::GCache::changeDisplay. The method no longer exists now that the
9546         pixmap generation part of the graphics loader has been moved into
9547         InsetGraphics.
9548
9549 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9550
9551         * text2.C: layout as layout
9552
9553         * text.C: layout as layout
9554
9555         * tabular.C (OldFormatRead): layout as layout
9556
9557         * paragraph_pimpl.C (TeXDeeper): layout as layout
9558         (realizeFont): layout as layout
9559
9560         * paragraph.C (writeFile): layout as layout
9561         (validate): layout as layout
9562         (getFont): layout as layout
9563         (getLabelFont): layout as layout
9564         (getLayoutFont): layout as layout
9565         (breakParagraph): layout as layout
9566         (stripLeadingSpaces): layout as layout
9567         (getEndLabel): layout as layout
9568         (getMaxDepthAfter): layout as layout
9569         (applyLayout): layout as layout
9570         (TeXOnePar): layout as layout
9571         (simpleTeXOnePar): layout as layout
9572         (TeXEnvironment): layout as layout
9573         (layout): layout as layout
9574         (layout): layout as layout
9575
9576         * lyxtextclass.C (compare_name): new functor to work with
9577         shared_ptr, layout as layout
9578         (Read): layout as layout
9579         (hasLayout): layout as layout
9580         (operator): layout as layout
9581         (delete_layout): layout as layout
9582         (defaultLayout): layout as layout
9583
9584         * lyxlayout_ptr_fwd.h: new file
9585
9586         * lyxlayout.C (Read): layout as layout
9587
9588         * lyx_cb.C (MenuInsertLabel): layout as layout
9589
9590         * bufferlist.C (newFile): layout as layout
9591
9592         * buffer.C (readLyXformat2): layout as layout
9593         (parseSingleLyXformat2Token): layout as layout
9594         (insertStringAsLines): layout as layout
9595         (asciiParagraph): layout as layout
9596         (latexParagraphs): layout as layout
9597         (makeLinuxDocFile): layout as layout
9598         (simpleLinuxDocOnePar): layout as layout
9599         (makeDocBookFile): layout as layout
9600         (simpleDocBookOnePar): layout as layout
9601         (getLists): layout as layout
9602
9603         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9604
9605         * CutAndPaste.C (cutSelection): layout as layout
9606         (pasteSelection): layout as layout
9607         (SwitchLayoutsBetweenClasses): layout as layout
9608
9609         * BufferView_pimpl.C (Dispatch): layout as layout
9610         (smartQuote): layout as layout
9611
9612         * BufferView2.C (unlockInset): layout as layout
9613
9614 2002-06-24  André Pönitz <poenitz@gmx.net>
9615
9616         * lyxfunc.C: fix #487
9617
9618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * lyxrc.h:
9621         * lyxrc.C:
9622         * lyxfunc.C: remove display_shortcuts, show_banner
9623
9624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * Buffer_pimpl.C: oops, update on resize
9627
9628 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * buffer.C:
9631         * converter.C:
9632         * exporter.C:
9633         * lyxfunc.C:
9634         * BufferView.h:
9635         * BufferView.C: use repaint()
9636
9637         * BufferView_pimpl.h:
9638         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9639           as it's a clearer description. Remove superfluous
9640           redraws.
9641
9642 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * text.C: fix bug 488. Not ideal, but getting
9645           getWord() to work properly for the insets that
9646           matter is more difficult ...
9647
9648 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * BufferView_pimpl.C:
9651         * LyXAction.C:
9652         * commandtags.h:
9653         * lyxfunc.C: remove the six million index lyxfuncs to just
9654           one, and DTRT (bug 458)
9655
9656 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * BufferView.h:
9659         * BufferView.C:
9660         * BufferView_pimpl.h:
9661         * BufferView_pimpl.C: clean up resize() stuff,
9662           and unnecessary updateScreen()s
9663
9664 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * BufferView.h:
9667         * BufferView.C:
9668         * BufferView_pimpl.h:
9669         * BufferView_pimpl.C:
9670         * lyxfind.h:
9671         * lyxfind.C:
9672         * minibuffer.C: remove focus management of workarea,
9673           not needed. Use screen's greyOut()
9674
9675 2002-06-17  Herbert Voss  <voss@lyx.org>
9676
9677         * converter.C: (convert) do not post a message, when converting
9678         fails, let the calling function decide what to do in this case
9679
9680 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * lyxfunc.C: tidy up a little
9683
9684 2002-06-16    <alstrup@diku.dk>
9685
9686         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9687         Got rid of FORMS_H_LOCATION include. Now we are
9688         GUII.
9689
9690 2002-06-15  LyX Development team  <lyx@rilke>
9691
9692         * buffer.[Ch] (sgmlOpenTag):
9693         (sgmlCloseTag): Added support for avoiding pernicious mixed
9694         content. Return number of lines written.
9695
9696         (makeLinuxDocFile):
9697         (makeDocBookFile): Fixed calls to sgml*Tag.
9698         Simple white space clean.
9699
9700         (simpleDocBookOnePar): Simple white space clean.
9701
9702         * tabular.[Ch] (docBook): Renamed to docbook and got another
9703         argument to related with the pernicious mixed content.
9704
9705         (docbookRow): Fixed calls for docbook inset method.
9706
9707 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9708
9709         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9710         so it's X11 independent.
9711
9712         * kb*.[Ch]: ditto.
9713
9714         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9715
9716 2002-06-15  Lyx Development team  <lyx@electronia>
9717
9718         * intl.h: Renamed getTrans to getTransManager.
9719
9720 2002-06-14  Angus Leeming  <leeming@lyx.org>
9721
9722         * Makefile.am: nuke forgotten stl_string_fwd.h.
9723
9724 2002-06-12  Angus Leeming  <leeming@lyx.org>
9725
9726         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9727
9728 2002-06-13  Angus Leeming  <leeming@lyx.org>
9729
9730         * LaTeX.C:
9731         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9732
9733 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9734
9735         * kbmap.C (getiso): add support for cyrillic and greek
9736
9737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * BufferView.h:
9740         * BufferView.C:
9741         * BufferView_pimpl.h:
9742         * BufferView_pimpl.C: move bogus scrolling logic
9743           to xforms
9744
9745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * lyxfunc.C:
9748         * BufferView_pimpl.C: view->resize() change
9749
9750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * BufferView_pimpl.C: topCursorVisible
9753           prototype change
9754
9755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * Makefile.am:
9758         * lyx_gui.h:
9759         * lyx_gui.C: move to frontends/
9760
9761         * main.C:
9762         * lyx_main.h:
9763         * lyx_main.C: changes from above
9764
9765 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * intl.C:
9768         * intl.h:
9769         * kbmap.C:
9770         * kbsequence.C:
9771         * lyx_cb.C:
9772         * lyx_main.C: minor tidy
9773
9774 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * BufferView_pimpl.h:
9777         * BufferView_pimpl.C:
9778         * BufferView.h:
9779         * BufferView.C: make painter() const,
9780           remove dead code
9781
9782         * BufferView2.C: use screen() accessor
9783
9784         * lyx_main.h:
9785         * lyx_main.C: some minor cleanup
9786
9787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * BufferView_pimpl.h:
9790         * BufferView_pimpl.C: remove enter/leaveView,
9791           use workHeight()
9792
9793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * BufferView.h:
9796         * BufferView.C:
9797         * BufferView2.C:
9798         * BufferView_pimpl.h:
9799         * BufferView_pimpl.C: only construct screen once,
9800           rename
9801
9802         * lyxrc.C: remove pointless comment
9803
9804 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9805
9806         * BufferView.h:
9807         * BufferView.C: remove active() and belowMouse()
9808
9809         * BufferView_pimpl.h:
9810         * BufferView_pimpl.C: use workarea() not workarea_,
9811           and make it use a scoped_ptr instead
9812
9813 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * lyx_gui.C: add debug message on BadWindow
9816
9817 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9818
9819         * sp_spell.C: fdopen is not part of the C++ standard.
9820
9821         * paragraph.C (InsetIterator): use >= instead of ==
9822
9823 2002-06-07  Angus Leeming  <leeming@lyx.org>
9824
9825         Fixes needed to compile with Compaq cxx 6.5.
9826         * BufferView_pimpl.C:
9827         * DepTable.C:
9828         * buffer.C:
9829         * converter.C:
9830         * encoding.C:
9831         * lyx_gui.C:
9832         * lyx_main.C:
9833         * lyxtextclasslist.C:
9834         * minibuffer.C:
9835         * sp_spell.C:
9836         * tabular_funcs.C:
9837         * vc-backend.C:
9838         all c-library variables have been moved into namespace std. Wrap
9839         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9840
9841         * lyxlength.C:
9842         * tabular-old.C:
9843         * tabular.C:
9844         Add a using std::abs declaration.
9845
9846         * kbmap.h (modifier_pair):
9847         * paragraph.h (InsetTable, InsetList):
9848         * lyxfont.h (FontBits):
9849         type definition made public.
9850
9851         * bufferlist.C (emergencyWriteAll): the compiler complains that
9852         there is more than one possible lyx::class_fun template to choose from.
9853         I re-named the void specialisation as lyx::void_class_fun.
9854
9855         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9856
9857         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9858         the compiler is is unable to find tostr in write_attribute.
9859
9860 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * buffer.C (sgmlError): hide #warning
9863
9864 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * xtl/*: get rid of xtl, which is not in use anyway
9867
9868         * LyXAction.C (init):
9869         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9870         were unimplemented xtl experimentation
9871
9872 2002-06-04  André Pönitz <poenitz@gmx.net>
9873
9874         * lyxfunc.C: disable array operation on simple formulae
9875
9876 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * converter.C: constify a bit
9879
9880 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * lyx_gui.C: check xforms version correctly
9883
9884 2002-04-30  Herbert Voss  <voss@lyx.org>
9885
9886         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9887         "keep" option
9888
9889 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9892           attempt to register it with a VCS)
9893
9894 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9895
9896         * lyx_main.C (init): honor variables LYX_DIR_13x and
9897         LYX_USERDIR_13x
9898
9899 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * buffer.h:
9902         * buffer.C:
9903         * lyx_main.C: fix a crash on bad command line,
9904           and give a useful exit status on error
9905
9906         * lyxfunc.C (doImport): allow -i lyx to work
9907
9908 2002-03-30  André Pönitz <poenitz@gmx.net>
9909
9910         * lyxfunc.C: mathed font changes
9911
9912 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * LaTeX.C:
9915         * importer.h:
9916         * importer.C:
9917         * lyx_sty.h:
9918         * lyx_sty.C:
9919         * lyxlex.C:
9920         * lyxrow.h:
9921         * lyxtext.h:
9922         * paragraph.h:
9923         * paragraph.C:
9924         * texrow.h:
9925         * texrow.C:
9926         * text.C:
9927         * trans_mgr.h: srcdocs, and some minor cleanups
9928
9929 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9932         call getFont all the time)
9933
9934 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9935
9936         * switch from SigC signals to boost::signals
9937
9938 2002-05-29  André Pönitz <poenitz@gmx.net>
9939
9940         * paragraph_pimpl.C (getChar): don't call size() too often...
9941
9942 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * paragraph_pimpl.C (insertChar): do not try to update tables when
9945         appending (pos == size())
9946
9947         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9948         in order to reduce drastically the number of comparisons needed to
9949         parse a large document
9950
9951 2002-05-29  André Pönitz <poenitz@gmx.net>
9952
9953         * text.C:
9954         * text2.C:
9955         * lyxtextclass.C:
9956         * sp_pspell.h:
9957         * textclasslist.[Ch]:
9958         * sp_ispell.h: whitespace change
9959
9960 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9963         lyxaction directly now.
9964
9965 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * trans.C:
9968         * lyxfont.C:
9969         * lyxvc.C: remove unused headers
9970
9971 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * Makefile.am:
9974         * buffer.h:
9975         * undostack.h:
9976         * undostack.C:
9977         * undo_funcs.h:
9978         * undo_funcs.C: some cleanups. Use shared_ptr
9979           and a template for the undo stacks.
9980
9981 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * BufferView_pimpl.h:
9984         * BufferView_pimpl.C:
9985         * kbmap.h:
9986         * kbmap.C:
9987         * kbsequence.h:
9988         * kbsequence.C:
9989         * lyxfunc.h:
9990         * lyxfunc.C:
9991         * text2.C: use key_state/mouse_state
9992
9993 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9994
9995         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9996         and LSubstring
9997
9998         * chset.C: change include order
9999         (loadFile): use boost regex and get rid of LRegex and LSubstring
10000
10001         * Makefile.am (BOOST_LIBS): new variable
10002         (lyx_LDADD): use it
10003
10004         * LaTeX.C: change include order.
10005         (scanAuxFile): use boost regex and get rid of LRegex and
10006         LSubstring
10007         (deplog): ditto
10008
10009 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * ColorHandler.h:
10012         * ColorHandler.C:
10013         * FontInfo.h:
10014         * FontInfo.C: moved to frontends/xforms/
10015
10016         * FontLoader.h:
10017         * FontLoader.C: moved into frontends for GUIIzation
10018
10019         * Makefile.am:
10020         * lyx_gui.C:
10021         * lyxfont.C:
10022         * lyxfunc.C: changes from above
10023
10024 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * LColor.C: remove spurious X include
10027
10028         * BufferView_pimpl.C:
10029         * Makefile.am:
10030         * font.h:
10031         * font.C:
10032         * text.C:
10033         * text2.C: move font metrics to frontends/
10034
10035 2002-05-24  Juergen Vigna  <jug@sad.it>
10036
10037         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10038         setting the undo_cursor.
10039
10040         * ParagraphParameters.h: include local includes first.
10041
10042 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * BufferView_pimpl.C:
10045         * BufferView_pimpl.h:
10046         * Makefile.am:
10047         * WorkArea.h:
10048         * WorkArea.C:
10049         * screen.C: move WorkArea into frontends/
10050
10051         * lyxscreen.h:
10052         * screen.C:
10053         * text.C:
10054         * BufferView.C:
10055         * BufferView2.C: move LyXScreen into frontends/
10056
10057         * lyxlookup.h:
10058         * lyxlookup.C:
10059         * lyx_gui.C: move lyxlookup into frontends/xforms/
10060
10061 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * BufferView2.C:
10064         * BufferView_pimpl.C:
10065         * FontLoader.C:
10066         * LyXView.h:
10067         * LyXView.C:
10068         * Makefile.am:
10069         * WorkArea.C:
10070         * XFormsView.h:
10071         * XFormsView.C:
10072         * buffer.C:
10073         * bufferlist.C:
10074         * bufferview_funcs.C:
10075         * converter.C:
10076         * importer.C:
10077         * lyx_cb.C:
10078         * lyx_gui.C:
10079         * lyx_main.C:
10080         * lyx_find.C:
10081         * lyxfunc.C:
10082         * lyxvc.C:
10083         * minibuffer.C:
10084         * text.C:
10085         * text2.C:
10086         * trans.C:
10087         * vc-backend.C: move LyX/XFormsView into frontends/
10088
10089 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * Makefile.am:
10092         * PainterBase.C:
10093         * PainterBase.h:
10094         * Painter.C:
10095         * Painter.h:
10096         * WorkArea.C:
10097         * WorkArea.h:
10098         * screen.C:
10099         * tabular.C:
10100         * text.C:
10101         * text2.C: move Painter to frontends/
10102
10103 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10104
10105         * buffer.C: comment out some some code that depend upon lyx_format
10106         < 220
10107
10108         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10109         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10110
10111         * buffer.h (NO_COMPABILITY): turn off compability
10112
10113         * ColorHandler.C: include scoped_array.hpp
10114
10115         * font.C: Use more specific smart_ptr header.
10116         * Painter.C: ditto
10117         * gettext.C: ditto
10118         * ShareContainer.h: ditto
10119         * lyx_main.h: ditto
10120         * kbmap.h: ditto
10121         * FontInfo.h: ditto
10122         * BufferView_pimpl.h: ditto
10123         * ColorHandler.h: ditto
10124
10125         * kbmap.C (defkey): change call to shared_ptr::reset
10126
10127 2002-05-21  Juergen Vigna  <jug@sad.it>
10128
10129         * buffer.C (insertErtContents): fix to insert ert asis if it is
10130         non empty. Skip it completely if it contains only whitespaces.
10131
10132 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * BufferView_pimpl.C:
10135         * BufferView2.C: clear selection on paste (bug 393)
10136
10137 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10138
10139         * DepTable.C: include ctime
10140
10141 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10142
10143         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10144
10145 2002-05-14  Juergen Vigna  <jug@sad.it>
10146
10147         * text.C (breakParagraph): fixed function to honor the keepempty
10148         layout in the right maner and also to permit the right breaking
10149         algorithm on empty or non empyt keepempty paragraphs.
10150
10151         * paragraph.C (breakParagraph): we have to check also if the par
10152         is really empty (!size()) for isempty otherwise we do the wrong
10153         paragraph break.
10154
10155 2002-05-10  Juergen Vigna  <jug@sad.it>
10156
10157         * buffer.[Ch] : The following are only changes to the ert
10158         compatibility read reading old LaTeX layout and font stuff and
10159         convert it to ERTInsets.
10160
10161         * buffer.h: added isErtInset().
10162
10163         * buffer.C (struct ErtComp): add a fromlayout bool to check
10164         if we're inside a LaTeX layout.
10165         (isErtInset): new helper function.
10166         (insertErtContents): look for other ert insets before this one
10167         and insert the contents there, so that we don't have subsequent
10168         ERT insets with nothing between them. This way we create only one
10169         inset with multiple paragraphs. Also check if we don't insert only
10170         spaces ' ' as they are ignored anyway afterwards in the .tex file
10171         so if we have only spaces we will ignore this latex part in the
10172         new file.
10173         (parseSingleLyXformat2Token \\layout): better compatibility when
10174         reading layout-latex stuff.
10175         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10176         language tag.
10177         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10178         stuff after reading the inset only get the information back from
10179         the stack.
10180
10181 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10182
10183         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10184
10185         * LaTeXFeatures.C (getBabelOptions): New method.
10186
10187 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * BufferView_pimpl.C (Dispatch): work around missing argument for
10190         'layout'
10191
10192 2002-05-08  Juergen Vigna  <jug@sad.it>
10193
10194         * text.C (leftMargin): handle paragraph leftindent.
10195
10196         * paragraph.C (writeFile): write the new \\leftindent tag.
10197         (validate): handle leftindent code.
10198         (TeXEnvironment): handle paragraphleftindent code again.
10199
10200         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10201
10202         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10203         for paragrap_extra indent code and new token \\leftindent.
10204         (latexParagraphs): handle the leftindent as environment.
10205
10206         * ParameterStruct.h: added leftindent support.
10207
10208         * ParagraphParameters.C (leftIndent): added support functions for
10209         the paragraph left indent.
10210
10211         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10212         more appropriate.
10213
10214 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10215
10216         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10217         inside insetERT.
10218
10219         * text.C (computeBidiTables): No bidi in insetERT.
10220
10221         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10222         in RTL documents.
10223
10224 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * version.C.in: pre 5
10227
10228 2002-05-02  José Matos  <jamatos@fep.up.pt>
10229         * buffer.C (makeDocBookFile): white space changes, add newline to
10230         command styles.
10231         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10232
10233         * tabular.C (docBook): fix typo.
10234
10235 2002-05-03  Juergen Vigna  <jug@sad.it>
10236
10237         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10238         change in LyXText as we can not be sure it was not freed.
10239         (drawOneRow): remove unused code.
10240
10241         * text.C (drawInset): redo the calculation of the need_break_row as
10242         it could have a row which was already freed.
10243         (draw): look at the return value of drawInset and return false if
10244         it also returned false.
10245         (paintRowText): look at the return value of draw and return false if
10246         it also returned false.
10247
10248         * lyxtext.h: added bool return type to drawInset() and draw() so that
10249         if we have a change in the row so that the rowbreak has to be redone
10250         we abort drawing as it will be called again.
10251
10252 2002-05-02  Juergen Vigna  <jug@sad.it>
10253
10254         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10255         a change in the maintext also if we're inside an inset.
10256         (Dispatch): set the cursor again after a break line and after the
10257         screen has been updated as it could be we're in a different row.
10258
10259         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10260         to set the cursor behind the pargraph with > size().
10261         (setCursor): check also for the same paragraph when checking where
10262         to put the cursor if we have a NFR inset.
10263
10264         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10265         parts of layout read further up as it still was in the wrong
10266         position.
10267
10268 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10269
10270         * screen.C (drawFromTo): change sine fullRebreak always return
10271         true.
10272
10273         * buffer.C (parseSingleLyXformat2Token): reindent some
10274
10275         * BufferView_pimpl.C (update): change since fullRebreak always
10276         return true.
10277         (Dispatch): git rid of the last hardcoded "Standard"s.
10278
10279 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10280
10281         * text2.[Ch] (fullRebreak): make it return void now that we always
10282         returned true.
10283
10284 2002-04-30  Juergen Vigna  <jug@sad.it>
10285
10286         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10287         ert compatibility check for "latex" layout.
10288
10289 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10290
10291         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10292         minipages: use col% instead of p%, and also use the current font.
10293         (makeLaTeXFile): Fix use babel condition.
10294         (parseSingleLyXformat2Token): Correct font when reading old floats.
10295
10296 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10297
10298         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10299         inserting list of floats.
10300
10301 2002-04-25  Herbert Voss  <voss@lyx.org>
10302
10303         * MenuBackend.C (expand): don't add the graphics extensions to the
10304         export menu
10305
10306 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10309         non-existing layout, do not complain if it was the default layout
10310         of the original class (bug #342)
10311
10312 2002-04-24  Juergen Vigna  <jug@sad.it>
10313
10314         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10315         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10316
10317 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10318
10319         * buffer.C (getBibkeyList): If using \bibliography, return the
10320         option field with the reference itself. Enables us to provide natbib
10321         support when using \bibliography.
10322
10323 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10324
10325         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10326
10327         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10328         natbib is provided by the LaTeX class.
10329
10330 2002-04-23  Juergen Vigna  <jug@sad.it>
10331
10332         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10333         Wakeup functions.
10334
10335         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10336
10337 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10340
10341         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10342         ensuremath around textordmasculine, textordfeminine and
10343         textdegree.
10344
10345 2002-04-19  Juergen Vigna  <jug@sad.it>
10346
10347         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10348         reinitializing the buffer otherwise row-dimensions may be wrong.
10349         (update): reset also the selection cursors if they do exits otherwise
10350         their x/y positions may be wrong.
10351
10352         * text2.C (cursorDown): don't enter the inset if we came from a row
10353         above and are one row over the inset.
10354
10355         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10356         really leaving an inset.
10357
10358 2002-04-18  Juergen Vigna  <jug@sad.it>
10359
10360         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10361         of the selected paragraph does not have the selected layout also if
10362         the last one had!
10363
10364         * text2.C (setLayout): fixed bug which did not change last selected
10365         paragraph.
10366
10367         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10368         changed the read and substituted \\end_float with \\end_inset!
10369
10370         * BufferView_pimpl.C (cursorPrevious):
10371         (cursorNext): fixed to make it work with rows heigher than the work
10372         area without moving the cursor only the draw of the row.
10373         (workAreaMotionNotify): fix jumping over high rows.
10374
10375 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10378         Ressler.
10379
10380 2002-04-16  Juergen Vigna  <jug@sad.it>
10381
10382         * text2.C (setCursor): set also the irow().
10383         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10384         (cursorUp):
10385         (cursorDown): support for locking an inset if the x_fix value goes
10386         inside it. That way I can transverse insets too with cursor up/down.
10387
10388         * lyxrow.h: added irow helper function same as other (i) functions.
10389
10390         * BufferView_pimpl.C (cursorPrevious):
10391         (cursorNext): fixed for insets!
10392
10393 2002-04-15  Juergen Vigna  <jug@sad.it>
10394
10395         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10396         position otherwise it is wrong in some cases.
10397
10398         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10399         inside the inset before the call.
10400
10401 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10402
10403         * buffer.[Ch] (getBibkeyList): make it const.
10404
10405 2002-04-12  Juergen Vigna  <jug@sad.it>
10406
10407         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10408
10409         * text2.C (getCursorX): new helper function
10410         (setCursor): compute also ix_
10411         (setCursorFromCoordinates): set also ix.
10412
10413         * lyxcursor.h: added ix_ and helper functions.
10414
10415         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10416
10417         * buffer.C (insertStringAsLines): dont break paragraph if the this
10418         paragraph is inside an inset which does not permit it!
10419
10420         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10421         also with no chars on this paragraph.
10422         (paintRowText): only paint stuff if it's inside the workarea!
10423
10424         * paragraph.C (breakParagraph): honor keepempty flag and break the
10425         paragraph always below not above.
10426
10427         * BufferView2.C (unlockInset): update the paragraph layout on inset
10428         unlock as we changed paragraph in such a case.
10429
10430         * lyxfind.C (LyXFind): clear the former selection if not found!
10431
10432         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10433         again called in insertChar().
10434
10435         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10436         an inset which uses the whole row!
10437         (rightMargin): ditto.
10438         (insertChar): force a rebreak if we inserted an inset!
10439
10440 2002-03-28  Herbert Voss  <voss@lyx.org>
10441
10442         * lyxlength.[Ch]: add inBP() to get the right PS-point
10443         units (BigPoint). With inPixels we have rounding errors
10444
10445 2002-04-11  Juergen Vigna  <jug@sad.it>
10446
10447         * text2.C (setCursorFromCoordinates): set iy to the right value.
10448         (setCursor): add check if row->previous exists!
10449
10450         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10451         an old float_type as this was the case in the old code!
10452
10453         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10454
10455         * BufferView2.C (showLockedInsetCursor): use iy
10456         (fitLockedInsetCursor): ditto
10457
10458         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10459         locked insets as there we have the right value now.
10460
10461         * lyxcursor.C: added iy_ variable and iy functions to set to the
10462         baseline of cursor-y of the locked inset.
10463
10464         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10465         (setCursor): fixed for insets which need a full row.
10466
10467         * text.C (rowLastPrintable): don't ignore the last space when before
10468         an inset which needs a full row.
10469         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10470         as last character of a row when before a inset which needs a full row.
10471
10472 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * version.C.in: update date
10475
10476         * text2.C (fullRebreak): try to always return true and see what
10477         happens...
10478
10479 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10480
10481         * MenuBackend.C (expand): use Floating::listName
10482
10483         * FloatList.C (FloatList): add listName argument to the built-in
10484         floats
10485
10486         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10487         text associated with the float.
10488
10489 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10492
10493 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10494
10495         * ShareContainer.h: add a couple of missing typenames.
10496
10497 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10498
10499         * lyxrc.C (getDescription): use _() correctly rather than N_().
10500
10501 2002-03-28  Herbert Voss  <voss@lyx.org>
10502
10503         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10504         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10505
10506 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10509         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10510
10511 2002-03-29  Juergen Vigna  <jug@sad.it>
10512
10513         * lyxfunc.C (dispatch): add a missing fitCursor call.
10514
10515         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10516         it was scrolled by a cursor move, so return the bool status.
10517
10518         * BufferView.C (fitCursor): return the bool flag also to the outside
10519         world as this is needed.
10520
10521         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10522
10523         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10524         call the edit() as it is not needed (and wrong) IMO.
10525         (workAreaButtonPress): set the screen_first variable before evt.
10526         unlock the inset as this may change screen_first and then we have
10527         a wrong y position for the click!
10528
10529 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * MenuBackend.C (expand): another translation that I missed
10532
10533 2002-03-28  Juergen Vigna  <jug@sad.it>
10534
10535         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10536
10537         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10538
10539 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10542
10543         * MenuBackend.C (expand): fix export/view/update when there is no
10544         document open.
10545
10546 2002-03-27  Herbert Voss  <voss@lyx.org>
10547
10548         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10549         and text%
10550
10551 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * bufferview_funcs.C (currentState): only show paragraph number
10554         for is DEVEL_VERSION is set.
10555
10556         * lyxfunc.C (dispatch): put warning in INFO channel
10557
10558         * MenuBackend.C (expand): translate the name of floats
10559
10560         * FloatList.C (FloatList): mark the float names for translation
10561
10562         * converter.C (convert): use LibScriptSearch
10563
10564 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * MenuBackend.C (defaults): fix default menu (we might as well get
10567         rid of it...)
10568
10569 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10572         directory.
10573
10574 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * lyxvc.C: reorder includes.
10577
10578 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10581           properly
10582
10583 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * CutAndPaste.C: change layouts earlier on paste
10586           to avoid crashing when calling getFont()
10587
10588 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10591         irritating #error.
10592
10593 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * WorkArea.C: remove 'Pending' debug message.
10596
10597         * most files: ws cleanup
10598
10599         * buffer.[Ch]: ws changes
10600
10601         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10602
10603 2002-03-21  Juergen Vigna  <jug@sad.it>
10604
10605         * tabular.C (SetMultiColumn): collapse also the contents of the
10606         cells and set the last border right. Added a Buffer const * param.
10607
10608 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10611         linking or not.
10612
10613 2002-03-19  Juergen Vigna  <jug@sad.it>
10614
10615         * text2.C (clearSelection): reset also xsel_cache.
10616
10617         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10618         where it needs to be called (John tells us to do so too :)
10619         (selectionLost): reset sel_cache.
10620
10621         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10622
10623 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10624
10625         * text2.C (setCursorIntern): put debuging code in INSETS channel
10626
10627 2002-03-19  André Pönitz <poenitz@gmx.net>
10628
10629         * lyxfunc.C: tiny whitespace change
10630
10631 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * ToolbarDefaults.C (init):
10634         * LyXAction.C (init):
10635         * commandtags.h:
10636         * BufferView_pimpl.C (Dispatch):
10637         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10638
10639 2002-03-19  Allan Rae  <rae@lyx.org>
10640
10641         * exporter.C (Export): removeAutoInsets before doing anything else.
10642         While I've just introduced a dependency on BufferView this really is
10643         the best place to clean the buffer otherwise you need to cleanup in
10644         a dozen places before calling export or cleanup in a dozen functions
10645         that export calls.
10646
10647         * converter.C (runLaTeX):
10648         (scanLog): Better handling of removeAutoInsets and screen updates.
10649
10650         * lyxfunc.C (dispatch): small whitespace changes
10651
10652 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10653
10654         * WorkArea.C (C_WorkAreaEvent): return a value.
10655         (event_cb): return 1 if we handled the event, 0 otherwise.
10656
10657         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10658
10659 2002-03-18  Juergen Vigna  <jug@sad.it>
10660
10661         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10662         (GetAdditionalWidth): ditto.
10663         (RightLine): ditto.
10664         (LeftLine): ditto.
10665
10666         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10667         inset if we're there actually (probably not used right now but this
10668         is the direction to go for unifying code).
10669         (paste): disable code to clear the selection.
10670
10671         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10672         inside an InsetText and move the check further up as it is in the
10673         wrong place.
10674
10675         * text2.C (pasteSelection): set a selection over the pasted text.
10676
10677 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10678
10679         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10680         and libgraphics to build on Cygwin.
10681
10682 2002-03-15  Juergen Vigna  <jug@sad.it>
10683
10684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10685         inserting an Inset into the paragraph. I know this is not the best
10686         fix but we already use current_view in CutAndPaste so we will remove
10687         all of it's using at the same time.
10688
10689         * buffer.C (sgmlError): deactivated function till it is rewritten in
10690         the right mode, now it can create problems.
10691
10692         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10693         before accessing it.
10694
10695 2002-03-14  Juergen Vigna  <jug@sad.it>
10696
10697         * undo_funcs.C (textHandleUndo): do the right thing when updating
10698         the inset after the undo/redo.
10699
10700         * text2.C (setCursor): just some testcode for #44 not ready yet.
10701
10702         * undo_funcs.C (textHandleUndo): set the next() and previous()
10703         pointers of the paragraph to 0 before deleting otherwise we have
10704         problems with the Paragraph::[destructor].
10705
10706         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10707         on a paragraph insertion.
10708
10709 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * buffer.C (asciiParagraph): use += operator for char append to
10712         string.
10713
10714         * paragraph.C (getFontSettings): compare >= not just >
10715         (highestFontInRange): ditto
10716         (setFont): ditto
10717
10718 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * paragraph.C: change several algorithm to be more appripriate for
10721         the problem domain. This is lookip in FontList and in the InsetList.
10722
10723 2002-03-13  André Pönitz <poenitz@gmx.net>
10724
10725         * commandtags.h:
10726         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10727
10728 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * commandtags.h:
10731         * LyXAction.C:
10732         * lyxfunc.C:
10733         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10734
10735 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * Painter.C (display): anon helper function, adjust code for this
10738         change.
10739         (pixmap): remove function.
10740
10741         * Painter.h: remove private display variable.
10742
10743         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10744
10745 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * WorkArea.[Ch]: remove figinset_canvas cruft.
10748
10749 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * lyxtextclass.C (operator): add one item cache optimization.
10752
10753         * bufferlist.h: doxy changes
10754
10755         * bufferlist.C: ws changes
10756
10757         * DepTable.[Ch] (ext_exist): place const in the right spot.
10758
10759         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10760         call resizeInsets.
10761         (workAreaExpose): call resizeInsets when the with BufferView changes.
10762         (Dispatch): adjust for protectedBlank removal
10763         (specialChar): call updateInset if the insert went ok.
10764
10765         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10766         specialChar instead.
10767
10768         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10769
10770         * BufferView.h: doxy change
10771
10772         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10773
10774         * lyxtextclass.C (operator[]): remove non-const version
10775         (defaultLayout): remove non-const version
10776
10777 2002-03-12  Juergen Vigna  <jug@sad.it>
10778
10779         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10780         did resize the LyXText too.
10781
10782         * buffer.C (readLyXformat2): set layout information on newly allocated
10783         paragraphs.
10784
10785         * tabular.C (OldFormatRead): set layout information on the paragraph.
10786
10787 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10788
10789         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10790
10791 2002-03-11  Juergen Vigna  <jug@sad.it>
10792
10793         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10794         plainly wrong.
10795         (resizeCurrentBuffer): force also the insets to resize themselfes.
10796         (moveCursorUpdate): fixed up for InsetText.
10797
10798 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10799
10800         * commandtags.h:
10801         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10802         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10803         value of Dialogs::tooltipsEnabled().
10804         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10805
10806 2002-03-08  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView_pimpl.C (updateInset): update inset inside inset also
10809         if it isn't inside theLockingInset().
10810
10811 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * buffer.C (asciiParagraph): redo some of the word and line length
10814         handling.
10815         (getLists): look for Caption instead of caption.
10816
10817 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * buffer.C (Buffer): initialize niceFile to true
10820         (makeLaTeXFile):
10821         (makeLinuxDocFile):
10822         (makeDocBookFile): make sure niceFile is true on exit
10823
10824 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10827
10828 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * LyXSendto.C: remove.
10831         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10832         * lyx_gui.C: remove now-redundant comment.
10833         * ColorHandler.h: remove forward declaration of class WorkArea.
10834         * lyxfunc.C: remove #include "WorkArea.h".
10835
10836 2002-03-07  Juergen Vigna  <jug@sad.it>
10837
10838         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10839         got moved away with the DEPM and also set the inset_owner always
10840         right which before could have been omitted.
10841
10842 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10845         wanted layout is not found.
10846
10847 2002-03-07  Juergen Vigna  <jug@sad.it>
10848
10849         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10850
10851 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852
10853         * paragraph.C (breakParagraph): use default layout not layout of
10854         prev paragraph.
10855         (Paragraph): clear ParagraphParameters.
10856
10857 2002-03-06  Juergen Vigna  <jug@sad.it>
10858
10859         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10860         otherwise it would not be a valid lenght. Fixed a special case in
10861         the minipage compatibility read where we end the document with a
10862         minipage.
10863
10864         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10865         was set as it could be 0 for InsetTexts first entry.
10866
10867 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10868
10869         * paragraph.C (writeFile): if layout is empty write out
10870         defaultLayoutName().
10871
10872         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10873         file without named layout we set layout to defaultLayoutName().
10874
10875 2002-03-06  Juergen Vigna  <jug@sad.it>
10876
10877         * CutAndPaste.C (copySelection): set layout for new paragraph.
10878
10879         * text.C (prepareToPrint): leave ERT inset left aligned
10880         (leftMargin): don't indent paragraphs inside ERT insets
10881
10882 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * paragraph.C (breakParagraph): dont call clear do the work manually
10885
10886         * paragraph.[Ch] (clear): remove function
10887
10888 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * paragraph.C (Paragraph): dont call clear, the work has already
10891         been done.
10892
10893         * lyxtextclass.C (operator): assert if n is empty
10894
10895         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10896         work manually instead.
10897
10898 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * BufferView_pimpl.C: protect selectionLost against text == 0
10901
10902 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * text.C (breakParagraph): fix a setting layout to '0' problem.
10905
10906 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10907
10908         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10909         final location of file, for the included files, and graphics.
10910
10911 2002-03-05  Juergen Vigna  <jug@sad.it>
10912
10913         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10914
10915 2002-03-04  Juergen Vigna  <jug@sad.it>
10916
10917         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10918
10919         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10920         last column of multicolumn cells.
10921         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10922
10923 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10924
10925         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10926         file if it doesn't go to a temporary file.
10927
10928         * buffer.C (sgmlOpenTag):
10929         (sgmlCloseTag):  remove extra newline insertion.
10930
10931 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * text.C (getRowNearY): comment out debug msg
10934
10935 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10936
10937         * text2.C: first -> first_y
10938
10939         * text.C (getRowNearY): add some attemts at a possible
10940         optimization, not working.
10941
10942         * tabular.[Ch]: add BufferParams to several function so that newly
10943         created paragraph can be initialized to he default layotu for the
10944         buffers textclass.
10945
10946         * tabular-old.C (ReadOld): add buf->params to call of Init
10947
10948         * screen.C: rename text->first to text->first_y
10949
10950         * paragraph.C (breakParagraph): always set layout in the broken
10951         paragraph
10952
10953         * lyxtextclass.C (Read): remove lowercase
10954         (hasLayout): ditto
10955         (operator): ditto
10956         (delete_layout): ditto
10957
10958         * lyxtext.h: rename first -> first_y
10959
10960         * lyxlayout.C (Read): remove lowercase
10961         (name): ditto
10962         (setName): ditto
10963         (obsoleted_by): ditto
10964
10965         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10966
10967         * buffer.C (insertErtContents): add params are to InsetERT
10968         (parseSingleLyXformat2Token): add code to check if a paragraphs
10969         layout really exist.
10970         (parseSingleLyXformat2Token): add params to several inset
10971         constructors
10972         (asciiParagraph): remove lowercase, do the layout comparisons with
10973         no_case
10974
10975         * BufferView_pimpl.C (cursorNext): first -> first_y
10976         (resizeCurrentBuffer): first -> first_y
10977         (updateScrollbar): first -> first_y
10978         (scrollCB): first -> first_y
10979         (workAreaMotionNotify): first -> first_y
10980         (workAreaButtonPress): first -> first_y
10981         (checkInsetHit): first -> first_y
10982         (cursorPrevious): first -> first_y
10983         (cursorNext): first -> first_y
10984         (Dispatch): add buffer_->params to severl inset contructors
10985
10986 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * lyxlayout.C (Read): remove some debug info that I forgot.
10989
10990         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10991         clean up the code slightly.
10992         (makeLinuxDocFile): ditto
10993         (makeDocBookFile): ditto
10994
10995         * text2.C: layout as string
10996
10997         * text.C: layout as string
10998
10999         * paragraph_pimpl.C: layout as string
11000
11001         * paragraph.[Ch]: layout as string
11002
11003         * lyxtextclasslist.[Ch]: layout as string
11004
11005         * lyxtextclass.[Ch]: layout as string
11006
11007         * lyxtext.h: layout as string
11008
11009         * lyxlayout.[Ch]: layout as string
11010
11011         * lyx_cb.C: layout as string
11012
11013         * bufferview_funcs.C: layout as string
11014
11015         * bufferparams.C: layout as string
11016
11017         * buffer.C: layout as string
11018
11019         * LyXView.[Ch]: layout as string
11020
11021         * LaTeXFeatures.[Ch]: layout as string
11022
11023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11024
11025         * BufferView_pimpl.C: change current_layout to string, remove
11026         lyx::layout_type.
11027         (Dispatch):
11028         (smartQuote):
11029         (insertInset):
11030         (workAreaButtonRelease): layout as string
11031
11032         * BufferView2.C (unlockInset): adjust
11033
11034         * vspace.C (asLatexCommand): use an explict temp variable.
11035
11036 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * Makefile.am: use FRONTEND_*
11039
11040 2002-03-01  Juergen Vigna  <jug@sad.it>
11041
11042         * tabular.C (SetWidthOfMulticolCell): changed to something better
11043         I hope but still work in progress.
11044         (recalculateMulticolumnsOfColumn): renamed function from
11045         recalculateMulticolCells as it is more appropriate now.
11046         (SetWidthOfCell): calculate multicols better.
11047
11048 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11051
11052         * lyxfunc.C (processKeySym): print sequence also if it is
11053         `deleted' (complete)
11054
11055         * kbsequence.C (print): print sequence even if it is deleted
11056         (complete would be a better word, actually).
11057
11058         * lyxfunc.C (dispatch): print complete options after a prefix key
11059
11060         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11061
11062 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11063
11064         * text2.C (setCharFont): eliminate setCharFont code duplication.
11065
11066 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11069         LFUN_TABULAR_FEATURE (bug #177)
11070
11071 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * Makefile.am: remove figure.h
11074
11075 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * Bufferview_pimpl.C:
11078         * CutAndPasteC:
11079         * LaTeX.C:
11080         * LyXSendto.C:
11081         * buffer.C:
11082         * bufferlist.C:
11083         * converter.C:
11084         * language.C:
11085         * lyxfunc.C:
11086         * lyxvc.C:
11087         * paragraph.C:
11088         * text.C:
11089         * text2.C: remove #include "lyx_gui_misc.h".
11090
11091         * LaTeX.C: added #include <cstdio>
11092
11093 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11096         that the paragraph following this one can have.
11097
11098         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11099
11100         * vspace.C (asLatexCommand): fix bogus gcc warning
11101
11102         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11103
11104 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11105
11106         * text2.C (setLayout): get rid of redundant code
11107
11108 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11109
11110         * text2.C (incDepth): make sure depth cannot be increased beyond
11111         reasonable values.
11112
11113 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11116         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11117
11118         * PainterBase.h (image):
11119         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11120         a LyXImage const *.
11121
11122 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * BufferView.C:
11125         * BufferView.h:
11126         * BufferView_pimpl.C:
11127         * BufferView_pimpl.h:
11128         * LaTeXFeatures.C:
11129         * LyXAction.C:
11130         * LyXView.C:
11131         * Makefile.am:
11132         * UpdateList.h:
11133         * UpdateList.C:
11134         * buffer.C:
11135         * figure.h:
11136         * figureForm.C:
11137         * figureForm.h:
11138         * figure_form.C:
11139         * figure_form.h:
11140         * lyx_cb.C:
11141         * lyx_gui.C:
11142         * lyx_gui_misc.C:
11143         * lyxfunc.C:
11144         * sp_base.h:
11145         * sp_ispell.h:
11146         * sp_pspell.h:
11147         * sp_spell.C: remove fig inset, and the crap house of
11148           cards that follows it
11149
11150 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * Makefile.am:
11153         * lyxserver.C:
11154         * os2_defines.h:
11155         * os2_errortable.h:
11156         * nt_defines.h: move .h into support/
11157
11158         * vms_defines.h: remove
11159
11160         * WorkArea.C: add space in debug output
11161
11162         * text2.C:
11163         * paragraph.C:
11164         * buffer.C: add WITH_WARNINGS
11165
11166         * vc-backend.h:
11167         * vc-backend.C:
11168         * bufferlist.C: s/retrive/retrieve/, add docs
11169
11170         * vspace.h:
11171         * vspace.C:
11172         * kbmap.h:
11173         * lyxlength.h:
11174         * lyxgluelength.h:
11175         * length_common.h:
11176         * chset.h:
11177         * chset.C: add docs
11178
11179         * lyxgui.C: add ID to X error handler
11180
11181         * lyxtestclass.c: fix typo
11182
11183 2002-02-26  Juergen Vigna  <jug@sad.it>
11184
11185         * tabular_funcs.C (write_attribute): changed so that some default
11186         attributes are not written at all.
11187         (getTokenValue): set default values before trying to read the
11188         value so we have the return value always set as default if we don't
11189         find the token we search for.
11190
11191         * tabular.C (Write): write bools as bools not as strings!
11192
11193 2002-02-22  Juergen Vigna  <jug@sad.it>
11194
11195         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11196         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11197
11198         * text.C (leftMargin): don't add an indent for paragraphs inside
11199         tabular cells (fix #208).
11200
11201 2002-02-21  José Matos  <jamatos@fep.up.pt>
11202
11203         * tabular.C (docBook): fixed support for long tables.
11204
11205 2002-02-20  Juergen Vigna  <jug@sad.it>
11206
11207         * text2.C (getFont): get the drawing font of the Inset if this
11208         paragraph is inside an inset (only important for InsetERT for now).
11209
11210         * buffer.C (insertErtContents): use new lanugage params in ERT
11211         constructor.
11212
11213         * CutAndPaste.C: commenting out seemingly uneeded code.
11214
11215 2002-02-19  Allan Rae  <rae@lyx.org>
11216
11217         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11218         Iterators might be simple to use but they also get invalidated.
11219         (removeAutoInsets): renamed saved cursor tracking variables and added
11220         some comments to clarify what everything does.
11221
11222 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11223
11224         * Chktex.C:
11225         * LaTeX.C:
11226         * LyXSendto.C:
11227         * converter.C:
11228         * lyx_cb.C:
11229         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11230         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11231
11232         * lyxfunc.C:
11233         * vc-backend.h: remove #include "support/syscall.h"
11234
11235         * LaTeX.C:
11236         * LyXSendto.C:
11237         * converter.C: rearrange #includes in Lars' approved fashion.
11238
11239         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11240         forward declare class Timeout in the header file.
11241
11242         * XFormsView.C: changes due to the above.
11243
11244         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11245         similar to LyXView.
11246
11247         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11248         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11249
11250 2002-02-18  José Matos  <jamatos@fep.up.pt>
11251
11252         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11253         insets contents.
11254
11255 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11256
11257         * a lot of small ws changes
11258         * add a lot of using std::XXX
11259         * use std construcs some places where approp.
11260         * use some exisint stuff from lyxfunctional where approp.
11261         * Make file changes to use partial linking (lets test this now...)
11262
11263 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11264
11265         * Chktex.C:
11266         * buffer.C:
11267         remove #include "support/syscontr.h" as it's redundant. Always has been.
11268
11269         * Chktex.C:
11270         * LaTeX.C:
11271         * LyXSendto.C:
11272         * converter.C:
11273         * lyx_cb.C:
11274         * vc-backend.C:
11275         change Systemcalls::System to Systemcalls::Wait and
11276         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11277         No change of functionality, just reflects the stripped down Systemcalls
11278         class.
11279
11280 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * debug.[Ch]: add a GRAPHICS type to the enum.
11283
11284 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11287
11288         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11289         there is an inset.
11290
11291 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11294         match the changes below.
11295
11296         * text2.C (toggleInset): if there is not editable inset at cursor
11297         position, try to see if cursor is _inside_ a collapsable inset
11298         and close it.
11299
11300 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11303         document menu has a nice checkbox
11304
11305 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * lyxlength.C (asLatexString): change PW to output as percent of
11308         \textwidth.
11309
11310         * lengthcommon.C: change '%' to 't%'
11311
11312         * lyxfunc.C (dispatch): a few comments from Martin
11313
11314 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * WorkArea.h:
11317         * WorkArea.C:
11318         * BufferView_pimpl.h:
11319         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11320           the X selection.
11321
11322 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * vspace.C (inPixels): fix compiler warning
11325
11326 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * lyxfunc.C (getStatus): fix status message for disabled commands.
11329
11330 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11331
11332         * BufferView_pimpl.C: fix crash on close buffer
11333         during selection (#227)
11334
11335 2002-01-27  Herbert Voss  <voss@lyx.org>
11336
11337         * buffer.C: link old Figure to new graphic inset
11338
11339 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * FontLoader.C (getFontinfo): Change the latex font names in order
11342         to match the names of type1inst.
11343
11344 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11345
11346         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11347
11348         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11349         (extchanged): ditto
11350         (ext_exist): ditto
11351         (remove_files_with_extension): ditto
11352         (remove_file): ditto
11353         (write): ditto
11354
11355         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11356         document is smaller than the work area height. Do not initialize
11357         static variables to 0.
11358
11359 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11362
11363         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11364         LFUN_LAYOUT_PARAGRAPHS.
11365
11366         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11367         tabular. It is possible to provide a possible cell, which will
11368         typically be the actcell from the corresponding insettabular
11369
11370         * lyxfunc.C (getStatus): small cleanup; disable
11371         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11372         true
11373
11374 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11375
11376         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11377
11378         * paragraph.C (startTeXParParams):
11379         (endTeXParParams): new methods. The LaTeX code to
11380         start/end paragraph formatting
11381         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11382         empty (fixes bug #200)
11383
11384         * vspace.C (inPixels): adapt to the change below
11385         (inPixels): [later] more cleanups (remove unused variables)
11386
11387         * lyxlength.C (inPixels): change to use a width and a height as
11388         parameter.
11389
11390 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11391
11392         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11393         Replaced with \paperwidth
11394
11395         * DepTable.C (insert): add std:: qualifier
11396
11397 2002-01-18  Allan Rae  <rae@lyx.org>
11398
11399         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11400         updated also?
11401
11402         * text.C (drawInset): Turned out I didn't know enough about how
11403         rebreaking worked.  This fixes most of the redraw problems.  I see
11404         an occasional cursor trail when a line is broken now and the cursor
11405         placement can seem out by a few pixels also after a rebreak.
11406
11407 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * buffer.C (parseSingleLyXformat2Token): update because minipage
11410         width is now a LyXLength
11411
11412         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11413
11414         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11415         math insets
11416
11417 2002-01-17  Juergen Vigna  <jug@sad.it>
11418
11419         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11420
11421         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11422         is set correctly and the inset is updated correctly.
11423
11424 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11427         the beginning of the loop.
11428
11429 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyxrc.C: improve help for use_scalable_fonts
11432
11433 2002-01-17  Allan Rae  <rae@lyx.org>
11434
11435         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11436
11437 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11440         make sure to set their inset_owner to the right value (bug #171)
11441
11442 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11443
11444         * DepTable.h
11445         * DepTable.C: Implement mtime checking to reduce time spent doing
11446         CRCs.
11447
11448 2002-01-16  Juergen Vigna  <jug@sad.it>
11449
11450         * tabular.C (GetAdditionalHeight): one of error fixed.
11451
11452         * lyxrc.C (output): small fix in writing use_pspell.
11453
11454 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11455
11456         * sp_base.h: #include LString.h
11457
11458 2002-01-16  Allan Rae  <rae@lyx.org>
11459
11460         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11461         Can someone check this please?
11462
11463         * text.C (drawInset): It was possible that p.row would be removed by
11464         breakAgainOneRow upsetting a few other settings.  There may be another
11465         small tweak possible by setting need_break_row = 0 when p.row has been
11466         removed but I don't know enough about the logic here.
11467
11468 2002-01-15  Allan Rae  <rae@lyx.org>
11469
11470         * text.C (insertChar): removed conditional truism.
11471
11472         * BufferView2.C (removeAutoInsets): More tweaks.
11473         cur_par_prev could be a stray pointer.  Check for trailing empty line
11474         in case last line was cur_par and only had an error inset on it.
11475
11476 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11479         absolute
11480
11481         * vc-backend.C (most methods):
11482         * exporter.C (Export):
11483         * converter.C (convert):
11484         (runLaTeX):
11485         * LyXSendto.C (SendtoApplyCB):
11486         * lyxfunc.C (dispatch):
11487         (menuNew):
11488         (open):
11489         (doImport):
11490         * lyx_cb.C (AutoSave):
11491         (InsertAsciiFile):
11492         * BufferView_pimpl.C (MenuInsertLyXFile):
11493         * buffer.C (runChktex): use Buffer::filePath().
11494
11495         * buffer.h: rename filename to filename_; rename filepath to
11496         filepath_ and make it private
11497         (filePath): new method
11498
11499         * buffer.C (writeFile): use fileName()
11500         (getLatexName):
11501
11502         * lyx_main.C (init): fix starting  of LyX when the binary is a
11503         link from so,ewhere else.
11504
11505         * minibuffer.C: include <cctype> for isprint
11506
11507 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11508
11509         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11510         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11511         name clash with InsetCollapsable's width function.
11512
11513 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * lastfiles.C: include <iterator>
11516
11517 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11518
11519         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11520         std::count.
11521
11522         * buffer.C (makeLaTeXFile): ditto.
11523         Also make loop operation more transparent.
11524
11525 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * ToolbarDefaults.C: remove trailing comma closing namespace.
11528
11529         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11530
11531         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11532         as in WorkArea.
11533
11534         * trans.C (Load): comment out unused variable, allowed.
11535
11536 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * minibuffer.[Ch] (append_char): new method to recieve input from the
11539         drop-down completion browser. If a key was pressed, then recieve this
11540         char and append it to the existing string.
11541         (peek_event): modify the positioning data passed to the completion
11542         browser so that it can be placed above the minibuffer rather than below.
11543 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11544
11545         * LyXAction.C (init): alloe error-next for readonly documents.
11546
11547         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11548         count.
11549
11550 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * bufferlist.C (readFile): create the buffer _after_ checking that
11553         the file exists.
11554
11555         * lyxfunc.C (verboseDispatch): fix handling of arguments
11556
11557         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11558
11559         * lyxrc.C: use string::erase() instead of initializing to "".
11560
11561
11562 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView_pimpl.h:
11565         * BufferView_pimpl.C:
11566         * WorkArea.h:
11567         * WorkArea.C:
11568         * text2.C: tell X when we have made a selection for copying
11569
11570 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * BufferView_pimpl.C (MenuInsertLyXFile):
11573         * lyxfunc.C (menuNew):
11574         (open):
11575         (doImport): add shortcuts to directory buttons
11576
11577         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11578         open a float)
11579
11580         * lyxfunc.C (setStatusMessage):
11581         (getStatusMessage): new methods
11582         (getStatus):use setStatusMessage instead of setErrorMessage
11583         (dispatch): when function is disabled, set error message here
11584         [instead of in getStatus previously]
11585
11586         * BufferView_pimpl.C (workAreaButtonRelease): update
11587         toolbar/menubar here too.
11588
11589 2002-01-13  Allan Rae  <rae@lyx.org>
11590
11591         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11592         Now seems indestructible.  Remaining task is to audit all other
11593         code affected by deleteEmptyParagraphMechanism.  One small quirk
11594         left is that an empty document with an error in the preamble can
11595         be made to report an error but no error box appears.  I don't know
11596         where it goes.
11597         (removeAutoInsets): Improved comments.
11598
11599 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * Thesaurus.h:
11602         * Thesaurus.C: update for Aiksaurus 0.14
11603
11604 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * text2.C (firstParagraph): removed member function, all uses
11607         replaces with ownerParagraph
11608         (redoParagraphs): here
11609         (updateInset): here
11610         (toggleAppendix): here
11611         * BufferView2.C (insertErrors): here
11612         (setCursorFromRow): here
11613
11614 2002-01-13  Allan Rae  <rae@lyx.org>
11615
11616         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11617         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11618         There is still a way to segfault this although you may have to do this
11619         multiple times: Have an InsetERT with an unknown command in it.
11620         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11621         <down-arrow>, <Enter> again, View->DVI, BANG!
11622
11623         * text2.C (setCursor):
11624         (deleteEmptyParagraphMechanism):
11625         * lyxtext.h (setCursor):
11626         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11627         Making use of the return value may help fix other bugs.
11628
11629 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11632
11633         * LyXView.C (updateMenubar): call MenuBar::update here
11634         (updateToolbar): but not here
11635         (showState): do not update toolbar/menubar
11636
11637         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11638         should need to care about that.
11639
11640         * lyxfunc.C (verboseDispatch): simplify a bit
11641         (getStatus): have a version which takes a pseudoaction, and
11642         another which requires a (kb_action,string).
11643
11644         * LyXAction.C (retrieveActionArg): make it work also when action
11645         is not a pseudo-action.
11646         (getActionName): simplify a bit
11647         (helpText):
11648
11649 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * lyxfunc.C (verboseDispatch): new families of methods with
11652         several ways to specify a command and a bool to indicate whether
11653         the command name and shortcut should be displayed in minibuffer
11654         (eventually, we could extend that to a finer bitmask like
11655         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11656         (dispatch): the pristine dispatch command which just, well,
11657         dispatchs! Note it still sets its result to minibuffer; I'm not
11658         sure we want that.
11659
11660         * lyxfunc.h: remove setHintMessage
11661
11662         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11663
11664 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11665
11666         * BufferView_pimpl.C (specialChar): delete new inset if we have
11667         not been able to insert it.
11668
11669         * kbmap.C: revert to using int instead of kb_action, since all we
11670         are dealing with is pseudo-actions.
11671
11672         * LyXAction.C (searchActionArg): change to return int instead of
11673         kb_action, since the result is a pseudoaction.
11674
11675 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11676
11677         * buffer.C (insertErtContents): Fix (partially) the font bug.
11678
11679 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11680
11681         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11682         as the other one is broken on my machine!
11683
11684 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11685
11686         * commandtags.h:
11687         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11688
11689 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11692         reflect their actual use. Provide compatibility code for older lyxrc
11693         files.
11694
11695         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11696         FL_NORMAL_STYLE.
11697         change names of popup font variables in line with the changes to lyxrc.C
11698
11699 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * buffer.C (asciiParagraph): avoid outputing a word twice after
11702         an inset.
11703
11704         * lyxrc.C (getDescription): document that document_path and
11705         template_path can be empty.
11706
11707 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * LaTeXFeatures.C (getMacros):
11710         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11711
11712         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11713
11714         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11715         getPackages.
11716         (getPackages): rename feature "floats" to "float". Use an array to
11717         iterate over 'simple' features (i.e. just a \usepackage). Add
11718         handling of "amsmath" (renamed from "amsstyle").
11719
11720 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11721
11722         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11723         features list.
11724
11725 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11728         FuncStaus::FuncStatus & FuncStaus::some_method().
11729
11730 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11731
11732         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11733         of the func_satus stuff. Edited and massaged in various ways by
11734         JMarc.
11735
11736         * lyxfunc.C (getStatus): use FuncStatus
11737
11738 2002-01-08  Juergen Vigna  <jug@sad.it>
11739
11740         * text.C (nextBreakPoint): use function Inset::isChar().
11741
11742         * paragraph.C (TeXOnePar): use function
11743         Inset::forceDefaultParagraphs.
11744
11745         * buffer.C (latexParagraphs): use function
11746         Inset::forceDefaultParagraphs.
11747
11748 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * lyx_gui.C (init): set the style of the menu popups to
11751         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11752
11753 2002-01-07  Juergen Vigna  <jug@sad.it>
11754
11755         * text.C (setHeightOfRow): small fix
11756         (prepareToPrint): don't look at alignment if we don't have the place
11757         for doing it.
11758
11759 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11760
11761         * box.C: New file. Move the Box methods and functions out of box.h,
11762         following Lars' suggestion.
11763
11764 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * box.h: #include "support/LOstream.h", needed for inlined function.
11767
11768         * lyxtextclass.C:
11769         * lyxtextclasslist.C: added some using std declarations.
11770
11771 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * box.h: make signed dimensions to allow insets wider than
11774           the screen (bug #162)
11775
11776         * BufferView_pimpl.C: add some insetHit debug
11777
11778 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * vc-backend.C: add FIXME
11781
11782 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * lyxfunc.C (getStatus): enable code for showing math font status
11785         in toolbar/menu.
11786
11787 2002-01-07  Juergen Vigna  <jug@sad.it>
11788
11789         * text.C (nextBreakPoint): removed debug output not needed anymore.
11790
11791 2002-01-06  Juergen Vigna  <jug@sad.it>
11792
11793         * text.C (nextBreakPoint): fixed up this function we had this bug
11794         since ever but now hopefully we break row better.
11795         (insertChar): we have to check if an inset is the next char as it
11796         could now happen that a large inset is causing a break.
11797
11798 2002-01-05  Juergen Vigna  <jug@sad.it>
11799
11800         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11801         if it doesn't like to be drawed.
11802
11803 2002-01-04  Juergen Vigna  <jug@sad.it>
11804
11805         * BufferView2.C (lockInset): forgot to set a cursor.
11806
11807         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11808
11809 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11810
11811         * FormMathsPanel.C:
11812         * FormMathsPanel.h
11813         * MathsSymbols.C:
11814         * form_maths_panel.C:
11815         * form_maths_panel.h:
11816         * form_maths_panel.fd: implemented sub- and super- buttons in math
11817         panel.
11818
11819         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11820         (or ^ space) to be used as in TeX (req'd by André).
11821
11822         * lyxfunc.C: Allow ^ and _ again to be used both as
11823         super/subscript (mathed) and as themselves (in text).
11824
11825 2002-01-03  Allan Rae  <rae@lyx.org>
11826
11827         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11828         "LyX" or the filename of the current buffer if it has one.  This is a
11829         modified form of John Levon's patch.
11830
11831         * XFormsView.C (setWindowTitle): also set icon title.
11832
11833         * LyXView.h (setWindowTitle): signature changed.
11834         * XFormsView.h (setWindowTitle): ditto.
11835
11836 2002-01-02  Juergen Vigna  <jug@sad.it>
11837
11838         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11839
11840 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * screen.C (topCursorVisible): introduce a temp var for
11843         text->cursor.row(), handle the case where this row is null. (kindo
11844         hachish)
11845
11846         * text2.C (setCursor): add a couple of asserts.
11847
11848         * paragraph.h (inset_iterator): add -> operator
11849
11850         * paragraph.[Ch] (autoDeleteInsets): remove member function
11851
11852         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11853         cursor pos correctly and handle inset deletion by itself.
11854         (insertErrors): move iterator declaration out of for expression
11855
11856         * lyxtextclass.C: add <algorithm>
11857
11858         * Makefile.am: added the new files to sources, removed layout.C
11859
11860         * layout.C: removed file
11861
11862         * layout.h: remove LYX_DUMMY_LAYOUT
11863
11864         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11865         layout.
11866
11867         * lyxlayout.[Ch]:
11868         * lyxtextclass.[Ch]:
11869         * lyxtextclasslist.[Ch]: new files
11870
11871         * include order changes to a lot of files, also changes because of
11872         the six new files.
11873
11874 2001-12-27  Juergen Vigna  <jug@sad.it>
11875
11876         * buffer.C (asciiParagraph): more fixes.
11877
11878         * tabular.C (ascii): make ascii export support export of only the
11879         data separated by a column-delimiter.
11880         (ascii): better support for ascii export.
11881
11882         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11883
11884 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11885
11886         * tabular_funcs.C: use a "using std::getline" instead of the
11887         previous fix from Angus (necessary for cxx + lyxstring)
11888
11889 2001-12-24  Juergen Vigna  <jug@sad.it>
11890
11891         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11892
11893         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11894         problems. First check a minipage also if we have some ert-contents
11895         (not only on par->size(), second set the right depth of the paragraph
11896         on the relink to the root-paragraph-list!
11897
11898         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11899         which then did not anymore update the main paragraphs on undo/redo!
11900
11901 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11904         code. Support all font-changing funcs (even those which are not in
11905         menu currently). Support for reporting font settings in
11906         mathed (disabled until Andre provides a function on mathed's side).
11907
11908         * func_status.h (toggle): small helper function to set toggle
11909         state on a flag.
11910
11911 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * tabular_funcs.C: getline -> std::getline
11914
11915 2001-12-21  Juergen Vigna  <jug@sad.it>
11916
11917         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11918         accessed and could be 0 (I couldn't generate this but it seems
11919         Michael could!).
11920
11921 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11924         * tabular_funcs.h: here and include iosfwd
11925
11926 2001-12-20  Juergen Vigna  <jug@sad.it>
11927
11928         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11929         inside inset but undo_par was.
11930
11931 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * Thesaurus.C: always include <config.h> in sources.
11934
11935         * Painter.h:
11936         * lyxlookup.h:
11937         * box.h: do not include <config.h> in header files
11938
11939         * text.C (paintLastRow): remove unused variable
11940
11941         * text.C (transformChar):
11942         (insertChar):
11943         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11944
11945         * Painter.C (text):
11946         * font.C (width): rewrite to use uppercase() instead of
11947         islower/toupper.
11948
11949         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11950
11951 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxfind.C: clean up of find failure position change
11954
11955 2001-12-20  Juergen Vigna  <jug@sad.it>
11956
11957         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11958
11959         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11960         (TeXRow): added to LaTeX a single tabular row.
11961         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11962         (Latex): simplified and finally good LT-h/f support.
11963         (various_functions): just small adaptions for LT-h/f support.
11964
11965         * tabular_funcs.[hC]: added and moved here all not classfunctions
11966         of LyXTabular.
11967
11968 2001-12-19  Juergen Vigna  <jug@sad.it>
11969
11970         * tabular.[Ch]: better support for longtabular options (not finished
11971         yet!)
11972
11973 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * text.C (paintLastRow): use the label font instead of the font of
11976         the last character to compute the size of *_BOX. This makes more
11977         sense and avoids a crash with empty paragraphs.
11978         Use Painter::rectangle to draw EMPTY_BOX.
11979
11980 2001-12-19  Juergen Vigna  <jug@sad.it>
11981
11982         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11983         the paragraphs if the replaced paragraph is not the first one!
11984         Tried to delete not used paragraphs but does not work yet so for
11985         now it's inside #ifdef's and by default off!
11986
11987 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * MenuBackend.C: include "lyx_main.h" instead of declaring
11990         lastfiles (actually was declared as LastFiles* instead of a
11991         scoped_ptr).
11992
11993 2001-12-17  Juergen Vigna  <jug@sad.it>
11994
11995         * tabular.C (AppendColumn): applied John's fix
11996
11997 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * BufferView.h:
12000         * BufferView.C:
12001         * BufferView_pimpl.h:
12002         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12003
12004         * Makefile.am:
12005         * box.h: new start of class for above
12006
12007         * lyxfunc.C: ignore space-only minibuffer dispatches.
12008           Show the command name when it doesn't exist
12009
12010         * minibuffer.C: don't add empty lines to the history
12011
12012         * minibuffer.C: add a space on dropdown completion
12013
12014 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * text.C: fix line above/below drawing in insets
12017
12018 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * lyxlength.C (LyXLength): Initialize private variables.
12021
12022 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12023
12024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12025         when inserting error insets.
12026
12027 2001-12-13  Juergen Vigna  <jug@sad.it>
12028
12029         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12030         actually sometimes the before-paragraph.
12031         (setUndo): don't clear the redostack if we're not actually undoing!
12032
12033 2001-12-06  Juergen Vigna  <jug@sad.it>
12034
12035         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12036         and fixed redoing of main paragraph, so we can use it now ;)
12037
12038         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12039
12040 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12043         Juergen's request
12044
12045 2001-12-13  André Pönitz <poenitz@gmx.net>
12046
12047         * undostack.[Ch]:
12048         * undo_func.C: minor cleanup
12049
12050 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12053         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12054         font in urw-fonts package which is marked as -urw-fontspecific and
12055         does not work (incidentally, changing the encoding in the
12056         fonts.dir of this package to -adobe-fontspecific fixes the
12057         problem).
12058
12059         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12060         is a crash when undoing first paragraph (Juergen, please take a
12061         look). THis does not mean the undo fix is wrong, just that it
12062         uncovers problems.
12063
12064         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12065         the (Paragraph*) version when needed instead of duplicating the
12066         code.
12067
12068         * text.C (workWidth): use Inset::parOwner to find out where the
12069         inset has been inserted. This is a huge performance gain for large
12070         documents with lots of insets. If Inset::parOwner is not set, fall
12071         back on the brute force method
12072
12073         * paragraph_pimpl.C (insertInset):
12074         * paragraph.C (Paragraph):
12075         (cutIntoMinibuffer): set parOwner of insets when
12076         inserting/removing them
12077
12078         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12079
12080 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12081
12082         * commandtags.h:
12083         * LyXAction.C:
12084         * lyx_main.C:
12085         * lyxfunc.C:
12086         * mathed/formulabase.C:
12087         * mathed/math_cursor.[Ch]:
12088         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12089
12090
12091 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * lyxlength.[Ch] (operator!=): new function
12094
12095 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12096
12097         * text.C (workWidth): use Inset::parOwner to find out where the
12098         inset has been inserted. This is a huge performance gain for large
12099         documents with lots of insets. If Inset::parOwner is not set, fall
12100         back on the brute force method
12101
12102         * paragraph_pimpl.C (insertInset):
12103         * paragraph.C (Paragraph):
12104         (cutIntoMinibuffer): set parOwner of insets when
12105         inserting/removing them
12106
12107         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12108
12109 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * tabular-old.C (getTokenValue):
12112         * tabular.C (getTokenValue):
12113         (write_attribute): new versions for LyXLength
12114         (everywhere): adjust the use of widths
12115
12116         * tabular.h: change the type of widths from string to LyXLength
12117
12118 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12119
12120         * paragraph.C: fixed missing line number count when exporting
12121         Environments to LaTeX file
12122
12123         * buffer.C: added informational message for checking line numbers.
12124
12125 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12126
12127         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12128         paragraph, do the 'double space' part, but not the 'empty
12129         paragraph' one.
12130
12131         * text.C (workWidth): small optimization
12132         (getLengthMarkerHeight): use minimal size for negative lengths.
12133
12134 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12135
12136         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12137
12138         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12139
12140 2001-12-11  André Pönitz <poenitz@gmx.net>
12141
12142         * FontLoader.C:
12143         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12144
12145 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * text2.C: keep selection on a setFont()
12148
12149 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * lyx_cb.C: another bv->text misuse, from insert label
12152
12153 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * kbsequence.h:
12156         * kbsequence.C: re-instate nmodifier mask
12157
12158 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * lyx_main.h: make lyxGUI private.
12161
12162 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * lyxfind.C: place the cursor correctly on failed search
12165
12166 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12167
12168         * text.C (getLengthMarkerHeight): for small heights, the arrows
12169         are not always on top/bottom of the text
12170         (drawLengthMarker): smaller arrows; take the left margin in
12171         account; draw also vfills.
12172         (paintFirstRow):
12173         (paintLastRow): remove special code for vfill and standard spaces,
12174         since everything is handled in drawLengthMarker now.
12175
12176 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * buffer.C (insertErtContents): try to handle font and language
12179         interaction a bit better.g
12180
12181         * ColorHandler.C (updateColor): change the hash to cover the whole
12182         LColor enum, ws cleanup
12183         (getGCLinepars): ditto
12184         (getGCLinepars): only lookup in the linecache once.
12185
12186 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * iterators.C (operator++): Make the iterator more robust
12189
12190         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12191         (John's patch)
12192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12193
12194 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * lyxtext.h:
12197         * text.C: better added space drawing
12198
12199 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * LyXView.C:
12202         * BufferView2.C: fix layout combo update on inset unlock
12203
12204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * Makefile.am: don't compile unused files
12207
12208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * lyxfunc.C:
12211         * commandtags.h:
12212         * LyXAction.C: remove old LFUN_LAYOUTNO
12213
12214 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * paragraph_pimpl.h:
12217         * paragraph_pimpl.C: isTextAt() doesn't need font param
12218
12219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * lyxlex.h:
12222         * lyxlex.C: little cleanup
12223
12224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView_pimpl.C: fix insertAscii for insets
12227
12228 2001-12-05  Juergen Vigna  <jug@sad.it>
12229
12230         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12231         set the right font on the "multi" paragraph paste!
12232
12233 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * trans_decl.h:
12236         * trans_mgr.[Ch]:
12237         * trans.[Ch]:
12238         * lyxgluelength.C:
12239         * lyxlength.C: remove out-commented code.
12240
12241         * BufferView_pimpl:
12242         * CutAndPaste.C:
12243         * DepTable.C:
12244         * buffer.C:
12245         * chset.C:
12246         * lastfiles.C:
12247         * lyxlex.C:
12248         * lyxlex_pimpl.C:
12249         * lyxserver.C:
12250         * screen.C:
12251         * tabular-old.C:
12252         * tabular.C:
12253         * text.C:
12254         * trans_mgr.C:
12255         * vc-backend.C: change "while(" to "while ("
12256
12257         * lyxlength.[Ch]: add zero function to check if length is zero or
12258         not
12259         * lyxgluelength.C: use it
12260
12261 2001-12-05  Allan Rae  <rae@lyx.org>
12262
12263         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12264         Works for 2.95.3, from what I understand of Garst's reports this should
12265         work for other g++ versions.  We're screwed if the abs(int) definition
12266         changed between bugfix releases of gcc.
12267
12268 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * text.C: fix chapter label offset !
12271
12272 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxtext.h:
12275         * text.C: fix hfill at end of line, clean up
12276
12277 2001-12-04  Juergen Vigna  <jug@sad.it>
12278
12279         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12280         that we force an update of the inset and it's owners if neccessary.
12281
12282 2001-12-03  Juergen Vigna  <jug@sad.it>
12283
12284         * text.C (rowLast): simplified code
12285
12286 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * lyxfunc.C: fix show options on timeout
12289
12290 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * screen.C (topCursorVisible): scroll half a page when the cursor
12293         reached top of bottom of screen
12294
12295 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * minibuffer.C: deactivate on loss of focus
12298
12299 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * vspace.[Ch] (operator!=): add operator.
12302
12303 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * BufferView_pimpl.C: refuse to open an inset when
12306         there's a selection.
12307
12308 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * BufferView_pimpl.C: allow to click on RHS of full row insets
12311
12312 2001-11-30  Juergen Vigna  <jug@sad.it>
12313
12314         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12315         insets for undo reasons.
12316
12317 2001-11-28  André Pönitz <poenitz@gmx.net>
12318
12319         * vspace.[Ch]: cosmetical changes
12320
12321 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * LyXAction.h:
12324         * LyXAction.C:
12325         * lyxfunc.h:
12326         * lyxfunc.C:
12327         * kbmap.h:
12328         * kbmap.C:
12329         * lyxrc.C:
12330         * kbsequence.h:
12331         * kbsequence.C: part re-write of old kb code
12332
12333         * Painter.C:
12334         * WorkArea.C: remove Lgb_bug_find_hack
12335
12336 2001-11-30  José Matos <jamatos@fep.up.pt>
12337
12338         * buffer.C (makeDocBookFile): add a comment to point a hack.
12339         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12340         Fixed a double write of labels.
12341
12342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12343
12344         * LaTeX.C:
12345         * LaTeX.h Fixed bug in LaTeX class where it would not
12346         re-run latex if no depfiles were changed, but the .dvi was removed.
12347
12348 2001-11-28  André Pönitz <poenitz@gmx.net>
12349
12350         * all the files from the change on 2001/11/26:
12351         use lyx::layout_type instead of LyXTextClass::size_type
12352         use lyx::textclass_type instead of LyXTextClassList::size_type
12353
12354 2001-11-29  Juergen Vigna  <jug@sad.it>
12355
12356         * text.C: added support for paragraph::isFreeSpacing()
12357
12358         * buffer.C: same as above
12359
12360         * paragraph.h: inserted isFreeSpacing() function to enable
12361         FreeSpacing inside InsetERT.
12362
12363         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12364         of the paragraph's in the cut/copy buffer to 0!
12365
12366         * text2.C (removeRow): remove the assert as it can!
12367
12368         * lyxtext.h: added helper function firstRow returning firstrow and
12369         made firstrow private again.
12370
12371         * BufferView2.C (lockInset): don't relock if we're already locked!
12372
12373         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12374         the only paragraph.
12375         (removeRow): added Assert::(firstrow)
12376
12377         * debug.C: forgot to add INSETTEXT here.
12378
12379 2001-11-28  Juergen Vigna  <jug@sad.it>
12380
12381         * sp_spell.C (initialize): changed error text to more general
12382         spellchecker command use (not only ispell!)
12383
12384         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12385
12386         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12387
12388 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * vspace.C: initialise lyxgluelength on failure
12391
12392 2001-11-28  Allan Rae  <rae@lyx.org>
12393
12394         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12395         declaration & definition that looks like a function declaration.
12396
12397 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * BufferView2.C (copy):
12400         (copyEnvironment): do not clear the selection when doing a copy.
12401
12402         * text.C (paintFirstRow): compilation fix
12403
12404 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12405
12406         * tabular.C (Latex): correct line count when writing latex.
12407
12408 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * paragraph_pimpl.h:
12411         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12412           bug a bit
12413
12414 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12415
12416         * text.C:
12417         * LColor.h:
12418         * LColor.C: change vfillline->added_space
12419
12420         * text.C: add markers and text for added space
12421
12422         * vspace.C: fix comment
12423
12424 2001-11-28  André Pönitz <poenitz@gmx.net>
12425
12426         * paragraph.C: whitespace changes
12427         * all the other files from the change on 2001/11/26:
12428         change *::pos_type into lyx::pos_type
12429
12430 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12431
12432         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12433         language of the document when inserting error insets.
12434
12435 2001-11-26  André Pönitz <poenitz@gmx.net>
12436
12437         * BufferView_pimpl.[Ch]:
12438         *       CutAndPaste.C:
12439         * buffer.[Ch]:
12440         * lyxcursor.[Ch]:
12441         * lyxfind.C:
12442         * lyxfunc.C:
12443         * lyxrow.[Ch]:
12444         * paragraph.[Ch]:
12445         * paragraph_pimpl.[Ch]:
12446         * sp_spell.C:
12447         * text.C:
12448         * text2.C: reduce header dependencies, introduce type for positions
12449
12450 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * <various>: change to use Alert.h
12453
12454 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12455
12456         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12457         when encountering an unknown token.
12458         (readLyXformat2): Show an error message if there were unknown tokens.
12459
12460 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * BufferView2.C:
12463         * BufferView_pimpl.C:
12464         * buffer.C:
12465         * paragraph.h:
12466         * text.C:
12467         * text2.C: use par->isInset()
12468
12469 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * paragraph_pimpl.h:
12472         * paragraph_pimpl.C: cleanup
12473
12474 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12475
12476         * text2.C (removeRow):
12477         * text.C (setHeightOfRow): remove useless (and costly) call to
12478         getRow.
12479
12480 2001-11-20  Allan Rae  <rae@lyx.org>
12481
12482         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12483         Now need Inset*::checkInsertChar() to return true for appropriate
12484         cases so that the characters in the minibuffer will actually be
12485         inserted.
12486
12487 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * text.C: change the order of the includes.
12490         (workWidth): initialize it at once.
12491         (workWidth): make maxw unsigned
12492         (setHeightOfRow): remove unused variable (inset)
12493         (selectSelectedWord): remove unused variable (inset)
12494         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12495
12496 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12499         server is not running.
12500         (openConnection):
12501         (closeConnection): add debug info when server is disabled.
12502
12503         * ColorHandler.C (getGCForeground): send debug message to GUI
12504         channel.
12505
12506         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12507
12508         * kbmap.C (bind): modify because return conventions of
12509         kb_sequence::parse have changed.
12510
12511         * kbsequence.C (parse): only ignore spaces and not any stupid
12512         control character. This avoids tests like s[i] <= ' ', which are
12513         guaranteed to fail with 8bit characters and signed chars.
12514         Change return code to string::npos when there have been no error
12515         (0 was a bad idea when error is at first character)
12516
12517 2001-11-14  José Matos  <jamatos@fep.up.pt>
12518
12519         * buffer.h:
12520         * buffer.C (simpleDocBookOnePar): removed unused argument.
12521
12522 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12525         insets which are part of a word. Paragraph::isLetter takes care of
12526         that now. Use Paragraph::isInset to identify insets.
12527         (selectSelectedWord): do not test for hyphenation break.
12528
12529         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12530         that protected spaces are considered as spaces.
12531
12532         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12533         Inset::isLetter.
12534
12535 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * lyxserver.h:
12538         * lyxserver.C: fix it. and small cleanup.
12539
12540 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * BufferView_pimpl.C: use inline helpers
12543
12544         * LaTeXFeatures.h:
12545         * LaTeXFeatures.C: fix typos
12546
12547         * Spacing.h:
12548         * Spacing.C: move spacing_string into class
12549
12550         * ToolbarDefaults.C: move stuff into namespace anon
12551
12552         * layout.h: update enum
12553
12554         * lyxfunc.C: use better debug
12555
12556         * minibuffer.h: fix typo
12557
12558         * debug.h:
12559         * debug.C:
12560         * WorkArea.C: add and use Debug::WORKAREA
12561
12562         * lyxtext.h:
12563         * text.C:
12564         * text2.C: code re-organisation, inline helpers
12565
12566 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12567
12568         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12569         std::vector.empty().
12570
12571 2001-11-09  Allan Rae  <rae@lyx.org>
12572
12573         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12574         '\n's after tables.  Tabular and ERT inset work now makes this no
12575         longer necessary.
12576
12577 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * minibuffer.h:
12580         * minibuffer.C: fix crash, improve drop-down completion
12581
12582 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * lyxserver.h:
12585         * lyxserver.C: invalidate fd's when doing endPipe()
12586
12587 2001-11-08  José Matos  <jamatos@fep.up.pt>
12588
12589         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12590         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12591
12592         * paragraph.h:
12593         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12594
12595 2001-11-07  José Matos  <jamatos@fep.up.pt>
12596
12597         * buffer.h:
12598         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12599         const qualifier.
12600
12601         * buffer.C (sgmlOpenTag):
12602         * buffer.C (sgmlCloseTag): removed debug info.
12603
12604         * buffer.h (sgmlOpenTag):
12605         * buffer.h (sgmlCloseTag): made public.
12606
12607 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12608
12609         * buffer.C (saveParamsAsDefaults):
12610         * lyx_cb.C (MenuLayoutSave): remove
12611
12612         * LyXAction.C (init):
12613         * commandtags.h:
12614         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12615
12616 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12617
12618         * buffer.C (setPaperStuff): removed from here...
12619
12620         * bufferparams.C (setPaperStuff): ... and moved there.
12621
12622 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * minibuffer.h:
12625         * minibuffer.C:
12626         * XFormsView.C: add support for drop-down completion
12627
12628 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12629
12630         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12631         commands.
12632
12633 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12634
12635         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12636         disabled.
12637
12638 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * lyx_main.C: change ref to known bugs
12641
12642 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12643
12644         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12645         to work around older babel problems.
12646
12647 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12648
12649         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12650
12651 2001-10-24  Juergen Vigna  <jug@sad.it>
12652
12653         * tabular-old.C (ReadOld): below variable changes reflected.
12654
12655         * tabular.[Ch]: added ltType struct for longtable header/footer
12656         defines and changed all instances where they are used. Added
12657         future support for double top/bottom rows.
12658
12659 2001-10-24  José Matos  <jamatos@fep.up.pt>
12660
12661         * buffer.h (docbookHandleCaption):
12662         * buffer.C (docbookHandleCaption): removed unused function.
12663         (makeDocBookFile): moved docbook supported version to v4.1.
12664
12665 2001-10-24  José Matos  <jamatos@fep.up.pt>
12666
12667         * tabular.h:
12668         * tabular.C (docbookRow): new function to export docbook code of a row.
12669         (DocBook): now honors the longtable flags.
12670
12671 2001-10-23  José Matos  <jamatos@fep.up.pt>
12672
12673         * LaTeXFeatures.h:
12674         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12675         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12676
12677         * buffer.C (makeLinuxDocFile):
12678         (makeDocBookFile): reworked the preamble, more clean, and with
12679         support for lyx defined entities. Changed the document declaration
12680         to be more XML friendly.
12681
12682         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12683         if we need to output XML that should be done with a filter.
12684
12685 2001-10-22  Juergen Vigna  <jug@sad.it>
12686
12687         * sp_pspell.h (class PSpell): add alive function needed in the
12688         controller to see if the spellchecker could be started.
12689
12690 2001-10-22  Juergen Vigna  <jug@sad.it>
12691
12692         * buffer.C (insertStringAsLines): modify the font for inserting
12693         chars in certain conditions by calling checkInsertChar(font).
12694
12695 2001-10-19  Juergen Vigna  <jug@sad.it>
12696
12697         * text.C (workWidth): use getRow instead of wrong algorithm.
12698         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12699
12700 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyxserver.h:
12703         * lyxserver.C:
12704         * lyx_main.h:
12705         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12706
12707 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * text.C (workWidth): do not search for the exact row when
12710         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12711         optimization for big documents.
12712
12713 2001-10-18  Juergen Vigna  <jug@sad.it>
12714
12715         * text.C (workWidth): new function with added Inset * parameter.
12716
12717 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12720
12721         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12722         change return type of getColumnNearX.
12723
12724
12725         * text.C (changeRegionCase): use uppercase/lowercase instead of
12726         toupper/tolower.
12727         (leftMargin):
12728         (rightMargin): simplify code by factoring out the uses of
12729         textclasslist.
12730         (labelFill):
12731         (numberOfHfills):
12732         (setHeightOfRow):
12733         (appendParagraph): use Paragraph::size_type
12734
12735 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736
12737         * vspace.C (asLatexString): add a missing break
12738
12739 2001-10-15  Herbert Voss  <voss@perce.de>
12740
12741         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12742
12743 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12746         is not available.
12747
12748 2001-10-10  André Pönitz <poenitz@gmx.net>
12749
12750         * lyxfunc.C: removed greek_kb_flag.
12751
12752 2001-10-10  Herbert Voss  <voss@perce.de>
12753
12754         * lyx_main.C: delete global string help_lyxdir.
12755
12756 2001-10-09  Herbert Voss  <voss@perce.de>
12757
12758         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12759
12760         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12761
12762         * lyx_main.C: added global string help_lyxdir.
12763
12764         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12765
12766 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12767
12768         * lyxrc.C (set_font_norm_type): support iso8859-4
12769
12770 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12771
12772         * LaTeX.C (deplog): add another regex for MikTeX
12773
12774 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12775
12776         * lyxrc.C (set_font_norm_type): support iso8859-3
12777
12778 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12781
12782         * LaTeXFeatures.C: remove special case of french and index
12783
12784         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12785         before \begin{document}). This solves several incompatibilities.
12786
12787 2001-10-03  Garst Reese  <reese@isn.net>
12788
12789         * lyx_cb.C: change CheckTex error msg.
12790
12791 2001-10-03  José Matos  <jamatos@fep.up.pt>
12792
12793         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12794
12795 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * .cvsignore: update
12798
12799         * lyx_main.C (commandLineVersionInfo): use new style version info.
12800
12801         * buffer.C (writeFile):
12802         (makeLaTeXFile):
12803         (makeLinuxDocFile):
12804         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12805
12806         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12807
12808         * version.h: update to use stuff in version.C
12809
12810         * version.C.in: new file. Contains version information determined
12811         at compile time. This is a merging of version.h and
12812         version_info.h.in.
12813
12814 2001-10-03  Juergen Vigna  <jug@sad.it>
12815
12816         * BufferView_pimpl.C (update): don't change "dirty" status in
12817         updateInset call.
12818
12819 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12820
12821         * WorkArea.C (c-tor): re-position version string slightly.
12822
12823 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12826         revert to previous code.
12827
12828         WorkArea.[Ch]: (show, destroySplash): methods removed.
12829
12830         WorkArea.C: rework code so that it's an amalgam of the codes before and
12831         after the splash screen was moved to WorkArea.
12832
12833 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * lyxrc.C (read):
12836         * vspace.C (inPixels):
12837         (lyx_advance):
12838         * kbmap.C (bind):
12839         * buffer.C (insertStringAsLines):
12840         (asciiParagraph): fix types to be large enough
12841
12842         * lyxlex_pimpl.h: change member status from short to int
12843
12844         * layout.h: fix type of endlabeltype
12845
12846         * kbmap.C (bind):
12847         * kbsequence.C (parse): change return type to string::size_type
12848
12849         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12850         variable
12851
12852         * Bullet.C (bulletSize):
12853         (bulletEntry): do not use short ints as parameters
12854
12855         * BufferView2.C (insertLyXFile): change a char to an int.
12856
12857         * WorkArea.C (WorkArea): remove unneeded floats in computation
12858
12859 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12860
12861         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12862
12863         * paragraph.C (asString): Do not ignore newline/hfill chars when
12864         copying to the clipboard.
12865
12866 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12867
12868         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12869         after a multi-line inset.
12870
12871 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12872
12873         * paragraph.C (validate): Set NeedLyXFootnoteCode
12874
12875 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12876
12877         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12878         and decrease-error to decrease.
12879
12880 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12881
12882         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12883         it more readable (should be equivalent)
12884
12885 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12886
12887         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12888
12889 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12890
12891         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12892         of a cursor (row, etc.) after a character has been deleted
12893         (deleteEmptyParagraphMechanism): call the method above on _all_
12894         cursors held by the LyXText when a double space has been
12895         detected/deleted.
12896
12897 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12898
12899         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12900         pixmap.
12901         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12902
12903         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12904         background. Use greyOut() and the new show() methods to toggle between
12905         the foreground and background. Add code to remove the splash after
12906         its initial showing.
12907
12908         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12909         (create_forms): no longer call Dialogs::showSplash.
12910
12911 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * .cvsignore: add version_info.h
12914
12915 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12916
12917         * version_info.h.in: new file
12918
12919         * Makefile.am: add version_info.h.in
12920
12921         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12922         version_info.h instead of VERSION_INFO
12923
12924 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12927         The ERT inset now returns string().
12928
12929 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * lyxtext.h, text.C (selectNextWord): renamed as
12932         selectNextWordToSpellcheck.
12933
12934         * text.C (selectNextWordToSpellcheck): Modified to not select
12935         words inside an ERT inset.
12936
12937 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12938
12939         * lyx_cb.C (MenuLayoutSave): change a bit the question
12940
12941         * sp_base.h: include <sys/types.h>
12942
12943 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12944
12945         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12946
12947 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12948
12949         * several files: fix typos in user-visible strings
12950
12951 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * text2.C (pasteSelection): do not set the selection, since it
12954         will be cleared later. Actually, the intent was to fix the way the
12955         selection was set, but I figured rmoving the code was just as good.
12956
12957 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * FontLoader.C (available): Check if font is available without
12960         loading the font.
12961
12962 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12963
12964         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12965
12966 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * lyxrc.[Ch]: added display_graphics variable and associated code.
12969
12970 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12971
12972         * bufferparams.C (hasClassDefaults): new method. Returns true if
12973         the buffer parameters correspond to known class defaults
12974
12975 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12976
12977         * XFormsView.C (show): set minimum size to the main window.
12978
12979 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * text2.C (copySelection):
12982         (cutSelection):
12983         * lyxfind.C (LyXReplace):
12984         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12985         LyXText::selectionAsString.
12986
12987         * paragraph.C (asString): add "label" argument to the second form
12988
12989         * text2.C (selectionAsString): add "label" argument and pass it to
12990         Paragraph::asString.
12991
12992 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * lyx_main.C (commandLineHelp): remove version information
12995
12996 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12997
12998         * lyx_main.C: add -version commandline option
12999
13000 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * paragraph.h: make the optional constructor arg required instead.
13003         some modifications to other files because of this.
13004
13005         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13006
13007         * lyxserver.C (C_LyXComm_callback): make it static
13008
13009         * lyx_main.C (error_handler): make it static
13010
13011         * lyx_gui.C (LyX_XErrHandler): make it static
13012
13013         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13014
13015         * WorkArea.C: make the extern "C" methods static.
13016
13017         * Makefile.am (lyx_LDADD): simplify
13018
13019 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13020
13021         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13022         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13023
13024         * LyXAction.C (init):
13025         * lyxfunc.C (dispatch): associated code removal.
13026
13027 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * lyxfont.h (isSymbolFont): shut off warning
13030
13031         * text.C (setHeightOfRow):
13032         (getVisibleRow): fix crash with empty paragraphs which have a
13033         bottom line
13034
13035 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13036
13037         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13038         code.
13039
13040 2001-09-04  José Matos  <jamatos@fep.up.pt>
13041         * buffer.C
13042         * buffer.h
13043         * tabular.C (docbook): rename docBook method to docbook.
13044
13045 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13046
13047         * Makefile.am: add dependencies to main.o.
13048
13049 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13050
13051         * FontLoader.C (available): Return false if !lyxrc.use_gui
13052
13053 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13054
13055         * FontInfo.C (query):
13056         * converter.C (view):
13057         * importer.C (Import):
13058         * exporter.C (Export): Can not -> cannot.
13059
13060 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * BufferView_pimpl.C: allow to create index inset even if
13063           string is empty
13064
13065 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * buffer.C (getLists): replace boost::tie code with an explicit pair
13068         as boost::tie can break some compilers.
13069
13070         * iterators.h: Added a std:: declaration to the return type of
13071         ParIterator::size.
13072
13073 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13076           case.
13077
13078 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * iterators.[Ch]: New files. Provide paragraph iterators.
13081
13082         * buffer.C (changeLanguage): Use paragraph iterators.
13083         (isMultiLingual): ditto
13084
13085         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13086
13087 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13088
13089         * FontLoader.C: Support for cmr font.
13090
13091 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13092
13093         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13094         (available): New method.
13095
13096         * FontInfo.C (getFontname): Use scalable fonts even when
13097         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13098         found.
13099
13100 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13101
13102         * converter.C (Formats::view): reverted! Incorrect fix.
13103
13104 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13105
13106         * converter.C (Formats::view): only output the -paper option
13107         if the dvi viewer is xdvi, thereby fixing bug #233429.
13108
13109 2001-08-23  Herbert Voss  <voss@perce>
13110
13111         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13112
13113 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13114
13115         * Spacing.h (Spacing): Set space to Default on in the default
13116         constructor.
13117
13118 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * vc-backend.h (RCS::versionString): add RCS to version
13121         (CVS::versionString): add CVS to version
13122
13123         * vc-backend.C (scanMaster): do not add CVS to version.
13124         (scanMaster): do not add RCS to version
13125
13126         * lyxvc.C (versionString): new method
13127
13128         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13129
13130 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * Spacing.C (set): initialize fval
13133
13134 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13137         " or \.
13138
13139 2001-08-16  Juergen Vigna  <jug@sad.it>
13140
13141         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13142
13143 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * BufferView_pimpl.C:
13146         * figureForm.C:
13147         * lyxtext.h:
13148         * text2.C: setParagraph takes linespacing now
13149
13150 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * LyxAction.C: add internal LFUN_CITATION_INSERT
13153
13154         * LyXView.C: actually apply fix
13155
13156         * bufferlist.C: fix open non-existent file
13157
13158         * lyxfind.C: fix indentation
13159
13160         * lyxfunc.C: remove unneeded assert, fix typo
13161
13162 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * MenuBackend.C: use "Floatname List"
13165
13166 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13169         when converting LaTeX layout to insetERT.
13170         Generate a non-collapsed float when reading old float
13171
13172 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13175         ERT insets.
13176
13177 2001-08-13  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (fill): return 0 instead of 20 as this seems to be the more
13180         correct value.
13181
13182 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13185         lyxrc.font_norm.
13186
13187 2001-08-13  Juergen Vigna  <jug@sad.it>
13188
13189         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13190         casesensitive off.
13191         (SearchBackward): comment out the unlocking of the inset_owner this
13192         should not be needed!
13193
13194 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13195
13196         * Many files: Remove inherit_language, and add latex_language
13197
13198         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13199         collapsible insets.
13200
13201 2001-08-10  Juergen Vigna  <jug@sad.it>
13202
13203         * text.C (prepareToPrint): fixed hfill-width in draw!
13204
13205         * BufferView2.C (selectLastWord): save the selection cursor as this
13206         now is cleared in the function LyXText::clearSelection!
13207
13208 2001-08-08  Juergen Vigna  <jug@sad.it>
13209
13210         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13211         BACKSPACE type functions.
13212
13213         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13214         is only cutted from the document but not put in the cut-buffer, where
13215         still the old stuff should be.
13216
13217         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13218
13219         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13220
13221         * tabular.C (SetWidthOfCell): fixed special case where the width
13222         was not updated!
13223         (LeftLine): handle '|' in align_special.
13224         (RightLine): ditto
13225         (LeftAlreadyDrawed): ditto
13226         (SetWidthOfCell): ditto
13227
13228 2001-08-07  Juergen Vigna  <jug@sad.it>
13229
13230         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13231
13232 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13235         * lyxlex.[hC]: ditto
13236
13237 2001-08-06  Juergen Vigna  <jug@sad.it>
13238
13239         * text.C (getVisibleRow): fix up row clearing a bit.
13240
13241 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13242
13243         * minibuffer.C: make sure the X server sees the changes in the input.
13244
13245 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13246
13247         * paragraph.C (getFont): split into...
13248         (getLabelFont): this
13249         (getLayoutFont): and this
13250         * paragraph_pimpl.C (realizeFont): calling this
13251
13252         * text2.C (getFont): split into...
13253         (getLayoutFont): this
13254         (getLabelFont): and this
13255         (realizeFont): all three calling this
13256
13257         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13258         files where used.
13259
13260 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13263
13264 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13265
13266         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13267         layouts from the Quote inset insertion.
13268
13269 2001-08-03  Juergen Vigna  <jug@sad.it>
13270
13271         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13272
13273         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13274         only if status not is already CHANGED_IN_DRAW (second level).
13275
13276         * text.C (draw): don't set the need_break_row when inside an
13277         InsetText LyXText.
13278
13279 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * buffer.C (parseSingleLyXformat2Token): handle more latex
13282         conversion cases.
13283
13284         * bufferview_funcs.[hC]: change function names to
13285         begin with small char, adjust other files.
13286
13287 2001-08-02  André Pönitz <poenitz@gmx.net>
13288
13289         * lyxfunc.C:
13290         BufferView_pimpl.C: remove broken special code for math-greek
13291
13292 2001-08-02  Juergen Vigna  <jug@sad.it>
13293
13294         * BufferView_pimpl.C (update): redone this function so that we
13295         update the text again if there was a CHANGE_IN_DRAW.
13296
13297         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13298         (drawFromTo): added a new internal bool which is used by draw() and
13299         redraw() function.
13300         (general): some cursor drawing problems fixed.
13301
13302 2001-08-01  Juergen Vigna  <jug@sad.it>
13303
13304         * lyxfind.C (LyXFind): fixed
13305         (SearchForward): ditto
13306         (SearchBackward): ditto
13307
13308         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13309         spurius drawing of the cursor in the main area.
13310
13311         * text2.C (status): small fix which could lead to a segfault!
13312         (clearSelection): remove unneeded BufferView param.
13313
13314 2001-08-01  André Pönitz <poenitz@gmx.net>
13315
13316         * lyxfunc.C: small change due to changed mathed interface
13317
13318 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13321
13322 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * lyxfunc.c: fail gracefully if file doesn't exist
13325
13326         * LyXSendto.C:
13327         * buffer.C:
13328         * lyxfunc.C:
13329         * BufferView_pimpl.C: IsDirWriteable() proto changed
13330
13331         * LyXView.C: fix updateWindowTitle() to store the last title
13332
13333 2001-07-31  Juergen Vigna  <jug@sad.it>
13334
13335         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13336         the font (wrong since using of Paragraph::highestFontInRange).
13337
13338         * paragraph.C (highestFontInRange): added a default_size parameter.
13339
13340         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13341         (setHeightOfRow): reformat
13342
13343 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * converter.[hC] + affected files: move to (inital-char)lowercase
13346         function names.
13347
13348         * ParagraphParameters.C (ParagraphParameters): remove commented code
13349
13350         * PainterBase.[Ch]: remove commented code
13351
13352         * LaTeXFeatures.h: add "bool floats" for float.sty
13353
13354         * LaTeXFeatures.C (LaTeXFeatures): init floats
13355         (require): handle float
13356         (getPackages): do it with floats
13357
13358 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * BufferView_pimpl.C (Dispatch): improve handling of
13361         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13362
13363         * commandtags.h: #include lyxfont.h here temporarily to avoid
13364         keybinding bug.
13365
13366         * bufferlist.h: include LString.h here.
13367
13368 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * text2.C (getStringToIndex): new method.
13371
13372 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13373
13374         * *: Reduced header file dependencies all over.
13375
13376 2001-07-30  Baruch Even  <baruch@lyx.org>
13377
13378         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13379
13380 2001-07-29  Baruch Even  <baruch@lyx.org>
13381
13382         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13383
13384 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * ParameterStruct.h (endif): add a default constructor to make
13387         sure that all variables is initialized.
13388
13389         * ParagraphParameters.C (ParagraphParameters): adjust
13390
13391 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13392
13393         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13394         index; also, check that there is something to index, and that it
13395         does not span over several paragraphs.
13396         (doubleClick): use WHOLE_WORD_STRICT for double click.
13397
13398         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13399
13400         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13401         scheme.
13402
13403 2001-07-26  Baruch Even  <baruch@lyx.org>
13404
13405         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13406         an InsetFig figure, backwards compatible reading of old figure code.
13407
13408 2001-07-27  Juergen Vigna  <jug@sad.it>
13409
13410         * text2.C: font.realize function adaption.
13411
13412         * text.C (draw): add a warnings lyxerr text if needed.
13413
13414         * layout.C: font.realize function adaption.
13415
13416         * language.C: add inherit_language and implement it's handlings
13417
13418         * bufferview_funcs.C (StyleReset): remove language parameter from
13419         font creation (should be language_inherit now).
13420
13421         * bufferparams.C (writeFile): handle ignore_language.
13422
13423         * paragraph.C (getFontSettings): the language has to be resolved
13424         otherwise we have problems in LyXFont!
13425
13426         * lyxfont.C (lyxWriteChanges): added document_language parameter
13427         (update): removed unneeded language parameter
13428
13429         * paragraph.C (validate): fixed wrong output of color-package when
13430         using interface colors for certain fonts in certain environments,
13431         which should not seen as that on the final output.
13432
13433 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * BufferView_pimpl.C:
13436         * Thesaurus.h:
13437         * Thesaurus.C:
13438         * Makefile.am:
13439         * commandtags.h:
13440         * LyXAction.C: add thesaurus support
13441
13442         * lyxfind.h:
13443         * lyxfind.C: add "once" parameter, for thesaurus, to not
13444           move to the next match
13445
13446 2001-07-26  Juergen Vigna  <jug@sad.it>
13447
13448         * lyxfont.C (realize): honor ignore_language too!
13449         (resolved): ditto.
13450
13451         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13452
13453         * text.C (draw): one place more for ignore_language to not draw
13454         itself!
13455
13456 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13459
13460 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13463         the minipage conversion problem.
13464
13465 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13468         insert an inset.
13469
13470 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * BufferView.h: don't forward declare WorkArea
13473
13474         * BufferView.C: don't include WorkArea.h
13475
13476 2001-07-25  André Pönitz <poenitz@gmx.net>
13477
13478         * commandtags.h:
13479         * LyXAction.C:
13480         * lyxfunc.C:  new LFUN 'math-space'
13481
13482         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13483
13484 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * text2.C (toggleInset): call open/close
13487
13488 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13489
13490         * lyxfunc.C (dispatch): add debug for the disabled case
13491
13492         * font.C (buttonText): make similar to rectText
13493
13494         * buffer.C (readInset): comment out parsing of insetlist and
13495         insttheorem
13496
13497         * PainterBase.C (rectText): small correction
13498
13499         * BufferView_pimpl.C: comment out insettheorem and insetlist
13500         * LyXAction.C: ditto
13501         * commandtags.h: ditto
13502
13503 2001-07-24  Juergen Vigna  <jug@sad.it>
13504
13505         * text.C (draw): honor the ignore_language.
13506
13507         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13508
13509 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13512         char inset.
13513
13514 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13515
13516         * lyxtext.h: remove unused (and unimplemented) methods
13517
13518 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13519
13520         * text.C (getVisibleRow): honor background color
13521
13522         * PainterBase.h:
13523         * Painter.h: remove default color argument for fillRectangle
13524
13525         * text.C (backgroundColor): new method
13526
13527 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * text.C (getVisibleRow): adjust
13530
13531         * font.[Ch] (rectText): new method, metrics
13532         (buttonText): new method, metrics
13533
13534         * PainterBase.[hC]: make rectText and buttonText always draw and take
13535         fewer paramteres.
13536
13537 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13538
13539         * ToolbarDefaults.C (read):
13540         * MenuBackend.C (read): allow escaping in all strings
13541
13542         * BufferView_pimpl.C (insertAndEditInset): new method.
13543         (Dispatch): use insertAndEditInset whenever appropriate.
13544
13545         * BufferView_pimpl.C (insertNote): removed
13546
13547         * BufferView_pimpl.C (smartQuote): new method, moved from
13548         BufferView; if an insetquote cannot be inserted, insert a '"'
13549         character instead.
13550
13551         * BufferView2.C: remove insertCorrectQuote();
13552
13553         * lyxfunc.C (getStatus): Add support for all remaingin
13554         inset-insert lfuns.
13555
13556         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13557
13558         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13559         command (necessary to pass " as parameter of self-insert.
13560
13561         * text.C (selectWordWhenUnderCursor):
13562         (selectWord): add word_location parameter
13563         (selectWordWhenUnderCursor): same + remove special code for word
13564         boundary.
13565         (selectNextWord): use kind() to guess type of insetspecialchar,
13566         not latex().
13567
13568         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13569         (insertErtContents): create ert insets as collapsed.
13570         (readInset): better compatibility code for Info inset.
13571
13572 2001-07-20  Juergen Vigna  <jug@sad.it>
13573
13574         * lyxfunc.C (dispatch): use always LyXFind now!
13575
13576         * text2.C (init): add a reinit flag so that the LyXText can be
13577         reinited instead of deleted and reallocated (used in InsetText).
13578
13579         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13580
13581         * text.C: ditto
13582
13583         * text2.C: ditto
13584
13585 2001-07-18  Juergen Vigna  <jug@sad.it>
13586
13587         * text.C (selectNextWord): handle insets inside inset by calling
13588         always the bv->text functions so that we can go up the_locking_inset!
13589
13590         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13591         in strange locations when inside an inset!
13592
13593         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13594         handling to include insets.
13595
13596         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13597
13598 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * LyXAction.C (init):
13601         * commandtags.h:
13602         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13603         LIGATURE_BREAK, since the name is so stupid.
13604
13605 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13606
13607         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13608         InsetInfos.
13609
13610         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13611
13612         * sp_form.[Ch]: remove.
13613
13614         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13615
13616         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13617         InsetInfo.
13618
13619         * src/buffer.C (readInset): ditto.
13620
13621 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13622
13623         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13624         menuSeparator(), endOfSentenceDot(), ldots() and
13625         hyphenationPoint(), which are therefore removed.
13626         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13627
13628         * LyXAction.C (init):
13629         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13630
13631         * paragraph.C (getWord): removed.
13632
13633         * BufferView_pimpl.C (Dispatch): use last word or selection for
13634         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13635
13636         * lyx_main.C (queryUserLyXDir): do not ask before creating
13637         user_dir, except if it has been named explicitely.
13638
13639 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13642         a document of zero size.
13643
13644 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13647         approriately in the c-tor and in require().
13648         (getPackages): output the appropriate LaTeX for natbib support.
13649
13650         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13651         variables "use_natbib" and "use_numerical_citations" when reading the
13652         LyX file.
13653         (readInset): read the various natbib cite commands.
13654         (validate): white-space change.
13655
13656         * bufferparams.[Ch]: new variables "bool use_natbib" and
13657         "bool use_numerical_citations".
13658         (writeFile): output them in the LyX file.
13659
13660 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13661
13662         * lyxfunc.C (getStatus): add support for all the inset insertion
13663         commands.
13664
13665         * text2.C (insertInset):
13666         * paragraph.C (insetAllowed):
13667         * BufferView_pimpl.C (insertInset): update to take in account the
13668         renaming of insertInsetAllowed
13669
13670         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13671
13672         * text2.C (getInset): new method. returns inset at cursor position.
13673
13674         * BufferView_pimpl.C (Dispatch): changes because of this.
13675
13676         * LyXAction.C (init): rename open-stuff to inset-toggle.
13677
13678         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13679
13680         * text2.C (toggleInset): renamed from openStuff; use
13681         Inset::open().
13682
13683 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13684
13685         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13686
13687         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13688
13689 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13690
13691         * buffer.C (readLyXformat2): Add filename to the error dialog
13692
13693 2001-07-18  Juergen Vigna  <jug@sad.it>
13694
13695         * tabular.C (GetCellNumber): put an assert here instead of the check!
13696
13697 2001-07-17  Juergen Vigna  <jug@sad.it>
13698
13699         * BufferView_pimpl.C (toggleSelection): adapted too.
13700
13701         * text.C (selectNextWord): adapted for use with insets.
13702         (selectSelectedWord): ditto
13703
13704 2001-07-17  Juergen Vigna  <jug@sad.it>
13705
13706         * sp_spell.C (PSpell): fix initialitation order.
13707
13708 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * paragraph.C: spacing
13711
13712 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13713
13714         * sp_spell.C: repair language selection for pspell
13715
13716 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13717
13718         * lyxfunc.h: change more methods to begin with lower char.
13719
13720 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13721
13722         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13723         for unknown layouts.
13724
13725 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13726
13727         * buffer.C (readLyXformat2): Generate an error dialog if there are
13728         unknown layouts.
13729
13730 2001-07-16  Juergen Vigna  <jug@sad.it>
13731
13732         * sp_spell.C: always compile ISpell part.
13733
13734         * lyxrc.C: added use_pspell entry and it's handling.
13735
13736 2001-07-13  Juergen Vigna  <jug@sad.it>
13737
13738         * sp_spell.C: removed double includes.
13739
13740 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         Consistent use of Lsstream.h:
13743         * Lsstream.h: added using std::stringstream for consistencies sake.
13744
13745         * buffer.C: removed using std::stringstream
13746
13747         * lyxfont.C (stateText):
13748         * paragraph.C (asString):
13749         * text.C (selectNextWord, selectSelectedWord):
13750         * text2.C (setCounter):
13751         * vspace.C (asString, asLatexString):
13752         std::ostringstream -> ostringstream.
13753
13754 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13755
13756         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13757         * commandtags.h: add LFUN_HELP_ABOUTLYX
13758         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13759
13760 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13761
13762         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13763         cursorToggle()
13764         * lyx_gui_misc.C: remove spellchecker
13765         * lyxfunc.C: showSpellchecker
13766         * sp_base.h: added
13767         * sp_ispell.h: added
13768         * sp_pspell.h: added
13769         * sp_spell.C: added
13770         * sp_form.[Ch]: removed
13771         * spellchecker.[Ch]: removed
13772
13773 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13774
13775         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13776         is set.
13777         (simpleTeXSpecialChars): Simply print the input character without
13778         any special translation if pass_thru is set.
13779
13780         * layout.h: Added bool pass_thru to layout class for being able to
13781         implement pass through of a paragraph for Literate Programming.
13782
13783         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13784         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13785         * layout.C (Read): add "passthru" to list of layout tags and add
13786         code to set the pass_thru boolean when it is read.
13787
13788 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * trans_decl.h: remove allowed from KmodInfo
13791
13792         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13793         remove allowed code
13794         (Load): adjust
13795
13796         * paragraph_pimpl.C (erase): use boost::prior
13797
13798         * Painter.C (text): use data() instead of c_str() when length is
13799         also provided.
13800         * WorkArea.C (putClipboard): ditto
13801         * font.h (width): ditto
13802
13803         * BufferView2.C: use it-> instead of (*it). for iterators
13804         * texrow.C: ditto
13805         * paragraph_pimpl.C: ditto
13806         * paragraph.C: ditto
13807         * minibuffer.C: ditto
13808         * language.C: ditto
13809         * kbmap.C: ditto
13810         * encoding.C: ditto
13811         * counters.C: ditto
13812         * converter.C: ditto
13813         * chset.C: ditto
13814         * Variables.C: ditto
13815         * TextCache.C: ditto
13816         * MenuBackend.C: ditto
13817         * LyXAction.C: ditto
13818         * LColor.C: ditto
13819         * FloatList.C: ditto
13820         * DepTable.C: ditto
13821         * ColorHandler.C (LyXColorHandler): ditto
13822
13823 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13824
13825         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13826
13827         * text2.C (openStuff): reintroduce this method (which had been
13828         nuked in NEW_INSETS frenzy).
13829
13830         * lyxfunc.C (Dispatch): when an action has not been handled, use
13831         its name in the error message, not its number.
13832
13833         * paragraph.C (inInset): change method name to begin with lowercase.
13834
13835         * undo_funcs.C:
13836         * text2.C: updates because of this.
13837
13838 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * ToolbarDefaults.C (add): add spaces in error message
13841
13842 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13843
13844         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13845         (readLyXformat2): rename return_par to first_par, use lyxlex's
13846         pushToken and remove the manual push handling.
13847         (parseSingleLyXformat2Token): add another ert comp. variable:
13848         in_tabular, rename return_par to first_par. handle newlines better
13849
13850 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13853
13854 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * text2.C (getParFromID): removed
13857
13858         * buffer.C (getParFromID): new method moved form lyxtext.
13859         * BufferView2.C (insertErrors): adjust
13860         (setCursorFromRow): adjust
13861         * BufferView_pimpl.C (restorePosition): adjust
13862         * lyxfunc.C (Dispatch): adjust
13863         * undo_funcs.C (textUndo): adjust
13864         (textRedo): adjust
13865         (textHandleUndo): adjust
13866         (textHandleUndo): adjust
13867
13868 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13869
13870         * buffer.C: up' the LYX_FORMAT
13871
13872         * lyxfont.h: turn NO_LATEX on as default
13873
13874         * buffer.C (insertErtContents): new methods of tex style compability.
13875         (parseSingleLyXformat2Token): use it several places.
13876         * tabular.C (OldFormatRead): and here
13877
13878 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * text2.C: remove some commented code.
13881         reindent file.
13882
13883         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13884         * trans.C: changes because of the above.
13885
13886 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13887
13888         * text2.C (setCounter): Fix counters bug with bibliography layout.
13889
13890 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13891
13892         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13893         own member functions
13894         (simpleTeXSpecialChars): ditto
13895
13896 2001-07-06  Juergen Vigna  <jug@sad.it>
13897
13898         * a lot of files: changed the access to LyXText::status and the
13899         call of undo-functions.
13900
13901         * undo.[Ch]: added a inset_id to the undo informations.
13902
13903         * undo_funcs.[Ch]: added and moved here all undo functions.
13904
13905         * lyxtext.h: give the status enum a weight, made status_ a private
13906         variable and made accessor functions for it, removed the whole bunch
13907         of undo-functions as they are now in their own file, make some
13908         functions publically available. Added function ownerParagraph with
13909         int parameter.
13910
13911         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13912         made InInset() a const function, added getParFromID() function.
13913
13914         * buffer.[Ch]: added const version for inset_iterator functions,
13915         added getInsetFromID() function.
13916
13917         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13918         changed undo functions for new version.
13919
13920 2001-07-05  Juergen Vigna  <jug@sad.it>
13921
13922         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13923         unknow mechanism does not call the proper constructor but only this
13924         one also if I request the other!?
13925
13926 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13927
13928         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13929
13930         * text2.C (LyXText): use initialization lists.
13931
13932         * lyxtext.h (Selection): initialize set_ and mark_
13933         (init): remove method
13934
13935 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13936
13937         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13938
13939 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * screen.[Ch]: change method names to begin with lowercase
13942
13943         * BufferView_pimpl.C (updateScrollbar): simplify further and
13944         hopefully make it a bit faster.
13945
13946 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13949         calling directly xforms functions.
13950
13951         * Painter.C (Painter):
13952         * lyx_cb.C (MenuWrite):
13953         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13954         fl_display.
13955
13956         * lyx_gui.C: remove bogus guiruntime extern declaration.
13957
13958 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13961         in NEW_INSETS
13962         (redoDrawingOfParagraph): ditto
13963         (redoParagraphs): ditto
13964         (cutSelection): don't create a object for CutAndPaste use the
13965         static method directly
13966         (pasteSelection): ditto
13967
13968         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13969         LyXview (+ rename)
13970
13971 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * modifications to some other files because of this.
13974
13975         * Makefile.am (lyx_SOURCES): add XFormsView
13976
13977         * XFormsView.[Ch]: new files
13978
13979         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13980         the main window. Move the gui dependent stuff to XFormsView
13981
13982 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * tabular.C (GetCellInset): update cur_cell also in the row/col
13985         version of this function.
13986
13987         * lyxfunc.C: no need to include figure_form.h here.
13988
13989         * FontLoader.h:
13990         * lyxfunc.h:
13991         * lyxscreen.h:
13992         * text2.C:
13993         * lyxvc.C: no need to include forms.h here.
13994
13995 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13998
13999         * lyxfunc.C (Dispatch):
14000         * Spacing.C (set):
14001         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14002         constructor argument.
14003
14004 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * paragraph.C (Paragraph): dont't clear, and just set layout.
14007         (makeSameLayout): use params's copy contructor.
14008
14009         * ParagraphParameters.[Ch] (makeSame): delete method
14010
14011 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * Variables.[Ch]: fix indentation, rename set to isSet
14014
14015 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14016
14017         * lyxfunc.C (Dispatch): fix typo
14018
14019 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14020
14021         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14022         upper_bound.
14023
14024         * bufferlist.C: include assert.h for emergencyWrite().
14025
14026 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14029           give up at last (bug #425202) !
14030
14031 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * lyx_gui_misc.C:
14034         * sp_form.h:
14035         * sp_form.C:
14036         * spellchecker.h:
14037         * spellchecker.C: strip spellchecker options and bring up
14038           preferences tab instead
14039
14040 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14043         the istringstream constructor
14044
14045 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * paragraph.C (getLayout): fix return value
14048
14049         * paragraph.h: do not declare getLayout as inline.
14050
14051         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14052
14053 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * lyxcursor.h (operator<): new func
14056         (operator>): new func
14057         (operator>=): new func
14058         (operator<=): new func
14059
14060         * text.C (changeCase): use selection.start and selection.end
14061         (changeRegionCase): require from to be <= to. Require par to be a
14062         valid paragraph.
14063
14064         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14065
14066 2001-06-27  Juergen Vigna  <jug@sad.it>
14067
14068         * text.C (cursorLeftOneWord): changed to return the cursor and added
14069         overlay with BufferView * parameter which calls this one.
14070         (getWord): added
14071         (selectWord): use new getWord function.
14072         (changeCase): renamed from changeWordCase as and extended to work
14073         also on selections.
14074
14075         * lyxtext.h: added enum word_location
14076
14077         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14078         changeCase as this operates now also on selections.
14079
14080 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14081
14082         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14083
14084         * many files: send debug output to Debug::INFO instead of
14085         Debug::ANY.
14086
14087         * converter.C (View):
14088         (Convert):
14089         (Move): send debug output to Debug::FILES instead of console.
14090
14091 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14092
14093         * lyxfunc.C (getStatus): use func_status
14094
14095         * func_status.h: new header, describing the results of
14096         LyXFunc::getStatus;
14097
14098         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14099         LFUN_MATH_HALIGN.
14100
14101 2001-06-25  The LyX Project  <jug@sad.it>
14102
14103         * buffer.C (sgmlOpenTag):
14104         (sgmlCloseTag):
14105         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14106
14107 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14108
14109         * text2.C: remove some dead code
14110
14111         * tabular.C (GetCellInset): store the last cell checked (gotten)
14112
14113         * tabular.h: add the helper for the speedup
14114
14115         * lyxtext.h: remove some dead code
14116
14117 2001-06-26  The LyX Project  <Asger>
14118
14119         * paragraph.C: Change export to LaTeX of alignment to
14120         \begin{center} and family for better roundtrip work with reLyX.
14121
14122         * Tune the math drawing a bit.
14123
14124 2001-06-25  The LyX Project  <Asger>
14125
14126         * LColor.C (LColor): New color for math background. New color
14127         for buttons.
14128
14129 2001-06-25  The LyX Project  <jug@sad.it>
14130
14131         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14132
14133         * lyxfunc.C (Open):
14134         * bufferlist.C (newFile): do not restrict to files ending with
14135         .lyx
14136
14137         * BufferView_pimpl.C (MenuInsertLyXFile):
14138
14139 2001-06-24  The LyX Project  <jug@sad.it>
14140
14141         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14142         of compare_no_case
14143
14144 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14145
14146         * lyxtext.h: rename most methods to begin with a small char.
14147         Lots of changes because of this.
14148
14149         * paragraph.C (Paragraph): do not call fitToSize
14150         (erase): call Pimpl::erase
14151         (insertChar): call Pimpl::insertChar
14152         (insertInset): call Pipl::insertInset
14153         (breakParagraph): do not call fitToSize
14154         (breakParagraphConservative): do not call fitToSize
14155         (fitToSize): remove method
14156
14157         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14158
14159 2001-06-24  The LyX Project  <Asger>
14160
14161         * Fix Qt compilation^2
14162
14163 2001-06-24  The LyX Project  <jug@sad.it>
14164
14165         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14166         depthHook(getDepth()-1).
14167
14168         * paragraph.h:
14169         * ParagraphParameters.h:
14170         * ParameterStruct.h: change type of depth to unsigned int ==
14171         depth_type. Many adaptations to other files before of that.
14172
14173 2001-06-24  The LyX Project  <Asger>
14174
14175         * Fix Qt compilation.
14176
14177 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * paragraph.h: renamed several methods to begin with small letter.
14180         several changes to many parts of the code because of this.
14181
14182 2001-06-23  The LyX Project  <jug@sad.it>
14183
14184         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14185         rewritten to discard all double spaces when KeepEmpty is off
14186         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14187         to only handle newlines but not fiddle with spaces and friends.
14188
14189         * lyxfunc.C (MenuNew): when doing 'new from template', use
14190         template_path as default directory
14191
14192 2001-06-23  The LyX Project  <Asger>
14193
14194         * Clean-up of header file includes all over
14195         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14196
14197 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * paragraph.h: renamed from lyxparagraph.h
14200
14201 2001-06-23  Asger  <lyx@violet.home.sad.it>
14202
14203         * Buffer.h: Removed Buffer::resize
14204         * BufferList.h: Removed BufferList::resize
14205         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14206         the document lazily when we change the width, or the font settings.
14207
14208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14211
14212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * buffer.h: remove out of date comment
14215
14216 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * lyxscreen.h:
14219         * screen.C: fix "theoretical" GC leak
14220
14221 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * LaTeX.C (scanAuxFile):
14224         (deplog): remove trailing \r when reading stream (useful under
14225         win32)
14226
14227 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14228
14229         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14230         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14231         and BufferView::theLockingInset(Inset*), so should use them and not
14232         access bv_->text->the_locking_inset directly.
14233
14234         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14235
14236 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * Makefile.am:
14239         * tex-defs.h: remove old unused file
14240
14241 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14242
14243         * BufferView_pimpl.C: fix typo, remove minibuffer message
14244           when buffer has loaded
14245
14246 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * lyxfunc.C (Dispatch): use stringstream
14249         (MenuNew): use stringstream
14250         (Open): use stringstream
14251
14252         * importer.C (Import): use stringstream
14253
14254         * bufferview_funcs.C (CurrentState): use stringstream
14255
14256         * LaTeX.C (run): use stringstream
14257
14258         * BufferView_pimpl.C (savePosition): use stringstream
14259         (restorePosition): use stringstream
14260         (MenuInsertLyXFile): use stringstream
14261
14262 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * BufferView.C:
14265         * Bullet.C:
14266         * ColorHandler.C:
14267         * FontInfo.C:
14268         * FontLoader.C:
14269         * LColor.C:
14270         * LaTeXFeatures.C:
14271         * Painter.C:
14272         * gettext.C:
14273         * lyx_gui_misc.C:
14274         * lyxserver.C:
14275         * vspace.C: removed // -*- C++ -*- as first line.
14276
14277         * lyxfind.h:
14278         * version.h: added // -*- C++ -*- as first line.
14279
14280 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14283
14284         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14285         of string
14286
14287 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14290         of floats.
14291
14292 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * gettext.C: include LString.h even when --disable-nls is on.
14295
14296 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * converter.h (Get): changed argument type from int to
14299         FormatList::size_type to avoid unnecessary conversion.
14300
14301         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14302         before using it.
14303
14304 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * gettext.h: include LString.h even when --disable-nls is on.
14307
14308 2001-06-07  Juergen Vigna  <jug@sad.it>
14309
14310         * text.C (BreakAgain): subst spaces with tabs.
14311
14312         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14313         (resizeInsetsLyXText): set force on resizeLyXText.
14314
14315 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14316
14317         * gettext.h (gettext_init):
14318         (locale_init): use a real definition instead of a macro
14319
14320 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * Bufferview_pimpl.C:
14323         * LColor.h:
14324         * LColor.C: further lcolor tidies
14325
14326 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14327
14328         * BufferView_pimpl.C (updateScrollbar): simplify.
14329
14330         * BufferView2.C: don't include insets/insetinfo.h, change
14331         prototype for insertInset and call the Pimpl version. let
14332         updateInset call Pimpl version.
14333
14334         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14335         gotoInset to BufferView::Pimpl
14336
14337 2001-06-01  Juergen Vigna  <jug@sad.it>
14338
14339         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14340         inside a LockingInset (is the update needed at all?).
14341
14342 2001-05-31  Juergen Vigna  <jug@sad.it>
14343
14344         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14345         here not the old one otherwise how should we compare it afterwards
14346         if it's the same!
14347
14348 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * lyxfont.C:
14351         * tabular.C:
14352         * tabular-old.C:
14353         * FontInfo.C: bring C functions into global namespace when
14354         necessary
14355
14356 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * LString.h: make sure config.h has been loaded before LString.h.
14359
14360         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14361         (one for each char read by EatLine!).
14362
14363         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14364         variables.
14365
14366 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14369         to the same as the par we break from
14370
14371 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14374
14375         * MenuBackend.C (expand): also create menu entries for wide
14376         versions of the floats.
14377
14378         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14379
14380         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14381
14382         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14383         frontends/Makefile.am
14384
14385         * text2.C: adjust
14386         * text.C: adjust
14387
14388
14389         * tabular.C (getTokenValue): add std::
14390
14391         * tabular-old.C (getTokenValue): add std::
14392         (getTokenValue): ditto
14393         (getTokenValue): ditto
14394
14395         * screen.C (ToggleSelection): adjust
14396
14397         * lyxtext.h: put selection cursors inside a Selection struct.
14398
14399         * lyxfunc.C (moveCursorUpdate): adjust
14400
14401         * lyxfont.C (latexWriteStartChanges): add std::
14402
14403         * lyxfind.C: adjust
14404
14405         * font.h: delete with(char const *, LyXFont const &)
14406
14407         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14408
14409         * FontInfo.C (getFontname): add std::
14410
14411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14412         (workAreaButtonPress): adjust
14413         (tripleClick): adjust
14414         (update): adjust
14415         (moveCursorUpdate): adjust
14416         (Dispatch): adjust
14417
14418         * BufferView2.C (gotoInset): adjust
14419
14420 2001-05-30  Juergen Vigna  <jug@sad.it>
14421
14422         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14423         to check pspell I add this as default as I now have new pspell
14424         libraries and they seem to use this.
14425
14426 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14427
14428         * text2.C (CutSelection): make the cursor valid before the call to
14429         ClearSelection.
14430
14431 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14434         relied on 0 terminated strings and other horrors. Bug found due to
14435         the new assert in lyxstring!
14436
14437         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14438         KP_ keys.
14439
14440 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14443         to latinkeys.bind.
14444
14445         * lyxfunc.C (processKeySym): change method of getting to the
14446         self-insert char.
14447
14448         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14449         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14450         * BufferView_pimpl.[Ch]: here as private methods.
14451
14452 2001-05-28  Juergen Vigna  <jug@sad.it>
14453
14454         * text.C (SetHeightOfRow): added the update() call again as it is
14455         needed to initialize inset dimensions!
14456
14457 2001-05-16  Juergen Vigna  <jug@sad.it>
14458
14459         * text2.C (SetCharFont): Add new function with BufferView * and
14460         bool toggleall parameters for setting insets internal fonts.
14461         (SetFont): Freeze the undo as we may change fonts in Insets and
14462         all this change should be inside only one Undo!
14463
14464         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14465         setting font's in insets as for them we have the SetFont function!
14466
14467 2001-05-15  Juergen Vigna  <jug@sad.it>
14468
14469         * text2.C (ClearSelection): to be sure we REALLY don't have any
14470         selection anymore!
14471
14472         * tabular.C (TeXCellPreamble): fixed the left border problem for
14473         multicolumn cells.
14474
14475 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14478         dependancy file
14479
14480 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14481
14482         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14483         LFUN_BREAKPARAGRAPH.
14484
14485         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14486         help test to "internal only", similar for LFUN_INSERT_URL
14487
14488         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14489         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14490         auto_region_delete and deadkeys.
14491
14492 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * LColor.h:
14495         * LColor.C: remove some dead entries, tidy a little
14496
14497 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14500         commented code.
14501         (Dispatch): implement LFUN_ESCAPE
14502
14503         * commandtags.h: add LFUN_ESCAPE
14504
14505         * LyXAction.C (init): add entry for LFUN_ESCAPE
14506
14507         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14508         Remove commented code.
14509         (insertNote): moved here
14510         (open_new_inset): moved here
14511
14512         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14513         BufferView_pimpl
14514
14515 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * kbmap.C (findbinding): clean it up and make it work correctly.
14518
14519         * lyx_main.C (init): do not pass argc and argv as parameters
14520
14521 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14522
14523         * buffer.C: fix path for OS/2 & Win32
14524
14525         * lyx_gui.C:
14526         * lyx_main:
14527         * lyx_main.C: Added os:: class.
14528
14529         * os2_defines.h: update
14530
14531 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14534         better by trying again with reduced state.
14535
14536 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * lyxrc.C (read): print error about invalid key sequence only when
14539         debugging (because not all latinX keysyms are known to some X
14540         servers)
14541
14542         * kbsequence.C (getiso): add a few std:: qualifiers
14543         (getiso): comment out extra return statement.
14544
14545 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14548         handling.
14549         (Dispatch): enhance the accent inset a bit. (not perfect)
14550
14551 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14554
14555 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14556
14557         * bufferlist.C (emergencyWrite): fix assert() call
14558
14559 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14560
14561         * text.C (InsertChar): Added trivial patch to only send the "you
14562         can not do multiple spaces this way" message once during a
14563         session.
14564
14565 2001-05-08  Baruch Even  <baruch@lyx.org>
14566
14567         * Makefile.am: Changed order of libraries to get LyX to link properly
14568         with the gnome frontend.
14569
14570 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * LaTeXFeatures.h: add a std:: qualifier
14573
14574 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * paragraph.C (String): use stringstream
14577
14578 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * paragraph.C (writeFile): remove footflag arg
14581
14582         * buffer.C (makeLaTeXFile): use stringstream
14583         (latexParagraphs): remove footnot gurba
14584
14585         * LaTeXFeatures.C (getPackages): use stringstream
14586         (getMacros): likewise
14587         (getTClassPreamble): likewise
14588         (getFloatDefinitions): new method
14589
14590         * paragraph.C (writeFile): reindent
14591         (Erase): reindent
14592
14593         * WorkArea.h: revert the xpos + etc changes.
14594
14595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14596
14597         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14598
14599         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14600         (pasteSelection): likewise
14601         * text2.C (CreateUndo): likewise
14602
14603 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14604
14605         * minibuffer.C (peek_event): temporarily reduce the functionality
14606         of the minibuffer (to allow args on lfuns)
14607
14608         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14609         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14610
14611         * buffer.C (readInset): add compability reading of old float
14612         lists, add reading of new style float list.
14613         (readInset): avoid reevaluation of inscmd.getCmdName()
14614         (getLists): reindent
14615
14616         * MenuBackend.C (MenuItem): implement parsing of
14617         md_floatlistinsert and md_floatinsert.
14618         (expand::LastFiles): move initalizaton of iterators out of loop,
14619         avoid reevaluation.
14620         (expand::Documents): introduce typdedef vector<string> Strings,
14621         and use it.
14622         (expand::ExportFormats): introduce typedef vector<Format const *>
14623         Formats, and use it.
14624         (expand): implement FloatListInsert and FloatInsert.
14625
14626         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14627         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14628         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14629
14630         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14631         handling.
14632         (Dispatch::LFUN_FLOAT_LIST): implement
14633
14634 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14635
14636         * LaTeX.C (run): Fix problem with --export code.
14637
14638 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14639
14640         * BufferView.[Ch] (workarea): removed.
14641         (getClipboard) new method; wrapper for workarea()->getClipboard()
14642
14643         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14644         bug.
14645
14646         * WorkArea.h (width, height, xpos, ypos): These methods all
14647         returned the dimensions of the work_area sub-area of WorkArea,
14648         resulting in a position error if the WorkArea were resized. Now
14649         return the dimensions of the entire WorkArea.
14650
14651         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14652
14653 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14654
14655         * LaTeX.C (deplog): correct the syntax of regex reg1
14656
14657 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * undo.C: remove !NEW_INSETS cruft
14660
14661 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * text2.C: remove !NEW_INSETS cruft
14664
14665         * text.C: remove !NEW_INSETS cruft
14666
14667         * tabular.C: remove !NEW_INSETS cruft
14668
14669         * spellchecker.C: remove !NEW_INSETS cruft
14670
14671         * lyxtext.h: remove !NEW_INSETS cruft
14672
14673         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14674
14675         * lyxfunc.C: remove !NEW_INSETS cruft
14676
14677         * lyxfind.C: remove !NEW_INSETS cruft
14678
14679         * lyx_cb.C: remove !NEW_INSETS cruft
14680
14681         * figureForm.C: remove  !NEW_INSETS cruft
14682
14683         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14684
14685         * buffer.[Ch]: remove !NEW_INSETS cruft
14686
14687         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14688
14689         * CutAndPaste.C: remove !NEW_INSETS cruft
14690
14691         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14692
14693         * BufferView2.C: remove !NEW_INSETS cruft
14694
14695         * BufferView.h: remove !NEW_INSETS cruft
14696
14697 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * Lsstream.h: include LString.h before the sstream headers to
14700         fix problem with gcc 2.95.3 and lyxstring
14701
14702 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * lyx_main.C: add using directives when needed for C functions
14705         declared in std:: namespace.
14706
14707 2001-04-27  Juergen Vigna  <jug@sad.it>
14708
14709         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14710         (SetHeightOfRow): comment out the update call should not be needed!
14711
14712 2001-04-13  Juergen Vigna  <jug@sad.it>
14713
14714         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14715         (LyXTabular): tried to minimize operator= operations (and realized
14716         hopfully Lars wish).
14717
14718 2001-04-27  Juergen Vigna  <jug@sad.it>
14719
14720         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14721
14722 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14723
14724         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14725
14726         * buffer.C (readInset): hack to make listof algorithm work
14727
14728         * BufferView_pimpl.C: hack to make listof algorithm work
14729
14730 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14731
14732         * LyXAction.C: removed all !NEW_INSETS cruft
14733         (init): moved lfun_item in method
14734
14735         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14736
14737 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14738
14739         * BufferView2.C (theLockingInset): white space.
14740
14741 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * minibuffer.C: include <iostream>
14744
14745         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14746
14747         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14748
14749         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14750
14751         * text.[Ch] (TransposeChars): new method
14752
14753 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * call message directly through LyXView instead of through LyXFunc
14756         * BufferView2.C: adjust
14757         * BufferView_pimpl.C: adjust
14758         * FontLoader.C: adjust
14759         * buffer.C: adjust
14760         * bufferview_funcs.C: adjust
14761         * converter.C: adjust
14762         * figureForm.C: adjust
14763         * importer.C: adjust
14764         * lyx_cb.C: adjust
14765         * lyx_gui_misc.C: adjust
14766         * lyxfunc.C: adjust
14767         * lyxvc.C: adjust
14768         * text2.C: adjust
14769         + more files in subdirs
14770
14771         * lyxparagraph.h (size): move up int file
14772         (GetLayout): ditto
14773
14774         * adjust all uses of Assert to lyx::Assert.
14775
14776         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14777         lyxfunctional in namespace lyx
14778         * layout.C (hasLayout): ditto
14779         (GetLayout): ditto
14780         (GetLayout): ditto
14781         (delete_layout): ditto
14782         (NumberOfClass): ditto
14783         * converter.C (GetFormat): ditto
14784         (GetNumber): ditto
14785         (Add): ditto
14786         (Delete): ditto
14787         (SetViewer): ditto
14788         * bufferlist.C (getFileNames): ditto
14789         (emergencyWriteAll): ditto
14790         (exists): ditto
14791         (getBuffer): ditto
14792         * MenuBackend.C (hasSubmenu): ditto
14793         (hasMenu): ditto
14794         (getMenu): ditto
14795         * BufferView_pimpl.C (getInsetByCode): ditto
14796
14797 2001-04-18  Juergen Vigna  <jug@sad.it>
14798
14799         * vspace.C (asLatexString): fixed the 100% problem.
14800
14801 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * lyxfunc.C (Dispatch):
14804         * minibuffer.C:
14805         * minibuffer.h: add a few std:: qualifiers
14806
14807 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14808
14809         * minibuffer.[Ch]: reimplement so that commands is initiated and
14810         run from lyxfunc, simplified som handling, and made the completion
14811         and history code for complete. wip.
14812
14813         * lyxfunc.C (processKeySym): call message
14814         (miniDispatch): new temporary method
14815         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14816         (LFUN_MESSAGE): implement
14817         (LFUN_MESSAGE_PUSH): implement
14818         (LFUN_MESSAGE_POP): implement
14819         (initMiniBuffer): the initial/defualt minibuffer message.
14820
14821         * lyxfont.[Ch]: inline some more getters
14822
14823         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14824
14825         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14826
14827         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14828         (AutoSave): use LFUN_MESSAGE
14829         (Reconfigure): ditto
14830
14831         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14832
14833         * figureForm.C: use LFUN_MESSAGE
14834
14835         * converter.C (runLaTeX): use LFUN_MESSAGE
14836
14837         * bufferview_funcs.C: use LFUN_MESSAGE
14838         (Melt): ditto
14839         (changeDepth): ditto
14840
14841         * bufferparams.h: use boost::
14842
14843         * bufferlist.h: inherit privately from noncopyable
14844
14845         * bufferlist.C (loadLyXFile): remove some commented code.
14846
14847         * buffer.C (runChktex): use LFUN_MESSAGE
14848
14849         * ShareContainer.h: inherit privately from noncopyable
14850
14851         * ParagraphParameters.[hC] (depth): inline it.
14852
14853         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14854         methods.
14855         (message): new method
14856         (messagePush): ditto
14857         (messagePop): ditto
14858         (show): init minibuffer
14859         (showState): direct call
14860
14861         * LaTeX.[Ch]: inherit privately from noncopyable
14862         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14863         instead of WriteStatus.
14864
14865         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14866
14867         * BufferView_pimpl.C (buffer): don't init minibuffer
14868         (workAreaButtonPress): use LFUN_MESSAGE
14869         (workAreaButtonRelease): ditto
14870         (savePosition): ditto
14871         (restorePosition): ditto
14872         (MenuInsertLyXFile): ditto
14873         (workAreaExpose): don't init minibuffer
14874         (update): remove commented code, simplify
14875
14876         * BufferView2.C (openStuff): use LFUN_MESSAGE
14877         (toggleFloat): ditto
14878         (menuUndo): ditto
14879         (menuRedo): ditto
14880         (copyEnvironment): ditto
14881         (pasteEnvironment): ditto
14882         (copy): ditto
14883         (cut): ditto
14884         (paste): ditto
14885         (gotoInset): ditto
14886         (updateInset): remove some commented code
14887
14888         * lastfiles.h: inherit privately from noncopyable
14889         * layout.h: ditto
14890         * lyx_gui.h: ditto
14891         * lyx_main.h: ditto
14892         * lyxlex.h: ditto
14893         * lyxlex_pimpl.h: ditto
14894
14895         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14896         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14897         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14898
14899         * LyXAction.h: inherit privately from noncopyable, add methods
14900         func_begin, func_end, returning iterators to the func map.
14901
14902         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14903         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14904         (func_begin): new method
14905         (func_end): new method
14906
14907         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14908         and not)
14909         (copySelection): ditto
14910         (pasteSelection): ditto
14911
14912         * BufferView.C: whitespace change
14913         * BufferView.h: inherit privately from noncopyable
14914
14915 2001-04-16  Allan Rae  <rae@lyx.org>
14916
14917         * tabular-old.C (l_getline):
14918         * spellchecker.C (sc_check_word):
14919         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14920         an unrecognised preprocessor directive.  So ensure they're wrapped.
14921
14922 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14923
14924         * src/exporter.C (Export): Give an error message when path to file
14925         contains spaces.
14926
14927 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14928
14929         * LaTeX.C (deplog): Always check that foundfile exists.
14930
14931 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14932
14933         * lyx_main.h:
14934         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14935
14936 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14937
14938         * tabular.[Ch] (getLabelList): implement new method
14939
14940         * minibuffer.h: comment ouf setTiimer
14941
14942         * minibuffer.C (ExecutingCB): constify res
14943         (peek_event): constify s
14944         (Set): constify ntext
14945         (Init): constify nicename
14946
14947         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14948
14949         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14950         (savePosition): use two params to Minibuffer::Set
14951         (restorePosition): ditto
14952
14953 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14954
14955         * lyx_main.C: include language.h
14956
14957         * Makefile.am (lyx_main.o): add language.h
14958
14959 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14960
14961         * exporter.C:
14962         * paragraph.C:
14963         * screen.C:
14964         * tabular.C:
14965         * CutAndPaste.C: include gettext.h
14966
14967         * lyxfont.h: remove old hack with ON and OFF.
14968
14969         * lyxparagraph.h:
14970         * lyxfont.h: do not include language.h...
14971
14972         * BufferView2.C:
14973         * LaTeXFeatures.C:
14974         * Painter.C:
14975         * bufferview_funcs.C:
14976         * font.C:
14977         * lyxfont.C:
14978         * text.C:
14979         * text2.C:
14980         * trans_mgr.C:
14981         * paragraph.C: ... but do it here instead
14982
14983 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14986
14987         * tabular.C: small reformat
14988
14989         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14990         NEW_INSETS version
14991         (GetChar): ditto
14992         (BreakParagraph): ditto
14993         (SetOnlyLayout): ditto
14994         (SetLayout): ditto
14995
14996         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14997         with one arg less.
14998
14999         * lastfiles.C: removed most using decl, add std:: where needed
15000
15001         * buffer.C: ws changes
15002
15003         * MenuBackend.C (class compare_format): put into anon namespace
15004         (expand): constify label, names, action, action2
15005         (expand):
15006
15007         * text.C (SingleWidth): constify font
15008         (IsBoundary): constify rtl2
15009         (GetVisibleRow): constify ww
15010
15011         * LaTeX.C (deplog): constify logfile
15012
15013         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15014         start_x, end_x
15015         (workAreaExpose): constify widthChange, heightChange
15016
15017         * lyxrow.C (par): moved
15018         (height): moved
15019         (next): moved
15020         * lyxrow.h: as inlines here
15021
15022         * lyxfont.h (shape): moved from lyxfont.C
15023         (emph): moved from lyxfont.C
15024
15025         * lyxfont.C (LyXFont): use initialization list for all
15026         constructors
15027         (shape): move to lyxfont.h as inline
15028         (emph): move to lyxfont.h as inline
15029
15030
15031 2001-04-04  Juergen Vigna  <jug@sad.it>
15032
15033         * vspace.C: had to include stdio.h for use of sscanf
15034
15035 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15036
15037         * BufferView.h:
15038         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15039         independent of xforms.
15040
15041 2001-04-02  Juergen Vigna  <jug@sad.it>
15042
15043         * spellchecker.C: fixed namespace placing!
15044
15045 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15046
15047         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15048         the LyXParagraph * is 0.
15049
15050 2001-03-29  Juergen Vigna  <jug@sad.it>
15051
15052         * vspace.C: added support for %, c%, p%, l%.
15053         (stringFromUnit): added helper function.
15054         (asLatexString): changed to give right results for the %-values.
15055
15056         * buffer.C: convert the widthp in a width%.
15057
15058 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15059
15060         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15061         figureForm.[Ch].
15062
15063         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15064         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15065
15066         * lyx_cb.[Ch]: see above.
15067
15068         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15069         form1.[Ch].
15070
15071         * form1.[Ch]:
15072         * lyx.[Ch]: replaced by figure_form.[Ch].
15073
15074         * lyx_gui.C:
15075         * lyx_gui_misc.C:
15076         * lyxfunc.C: changed headers associated with above changes.
15077
15078 2001-03-27  Juergen Vigna  <jug@sad.it>
15079
15080         * BufferView_pimpl.C: set the temporary cursor right!
15081
15082 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15083
15084         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15085
15086 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15087
15088         * LString.h: removed "using std::getline"!
15089
15090         * BufferView_pimpl.C (Dispatch): changes due to changes in
15091         InsetInclude::Params.
15092
15093         * buffer.C (tag_name): removed redundant break statements as they were
15094         producing lots of warnings with my compiler.
15095
15096 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15097
15098         * LString.h: add "using std::getline" when using the real <string>.
15099
15100 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15101
15102         * buffer.C: removed bitset usage.
15103         PAR_TAG moved to an anonymous name space.
15104         (tag_name): new funtion, also in the anonymous namespace.
15105         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15106         (makeDocBookFile): clean code. Completed transition from string arrays
15107         to string vectors.
15108         (SimpleDocBookOnePar): code clean.
15109
15110 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15111
15112         * tabular.C: add some comments.
15113
15114 2001-03-22  Juergen Vigna  <jug@sad.it>
15115
15116         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15117         compatibility read a bit and fixed bug with minipage in different
15118         depth.
15119
15120 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15121
15122         * buffer.C (pop_tag): removed.
15123         (push_tag): removed.
15124         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15125         array replaced with vector. Added support for CDATA sections.
15126         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15127         at any nest level.
15128         (makeDocBookFile): XML conformant declaration of CDATA section,
15129         fixed bug related to <emphasis> in the first paragraph char.
15130         (sgmlOpenTag): exclude empty tags.
15131         (sgmlCloseTag): ditto.
15132
15133         * buffer.h (pop_tag): removed.
15134         (push_tag): removed.
15135
15136 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15137
15138         * language.h (Languages): added size_type and size().
15139
15140 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15141
15142         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15143         response on compability reading of minipages. One probliem is that
15144         the old usage of minipages was «flertydig»
15145
15146         * several files here and in subdirs: don't use static at file
15147         scope use anon namespaces instead.
15148
15149 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15150
15151         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15152         LaTeX output. This is necessary for Literate document
15153         processing.
15154
15155 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15156
15157         * buffer.C: insert hfill when needed.
15158
15159         * tabular.C (l_getline): use string::erase, small whitespace change.
15160
15161         * BufferView_pimpl.C: try the anon namespace.
15162         * WorkArea.C: ditto
15163
15164 2001-03-16  Juergen Vigna  <jug@sad.it>
15165
15166         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15167         otherwise it won't open options-dialogs.
15168
15169         * buffer.C: honor pextraWidth(p) on converting minipages.
15170
15171         * tabular.C (l_getline): changed the functions to strip trailing \r.
15172
15173 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15174
15175         * BufferView_pimpl.C:
15176         * minibuffer..C: added "using SigC::slot" declaration.
15177
15178 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15179
15180         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15181
15182         * text2.C: ditto
15183
15184         * text.C: ditto
15185
15186         * paragraph.C: ditto
15187
15188         * lyxtext.h: NO_PEXTRA
15189
15190         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15191
15192         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15193         * ParameterStruct.h: ditto
15194         * ParagraphParameters.h: ditto
15195         * lyxparagraph.h: ditto
15196
15197 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15198
15199         * buffer.C: add compability for minipage alignment.
15200         (latexParagraphs): remove unwanted pextra check.
15201
15202         * several files: remove CXX_WORKING_NAMESPACES
15203
15204         * buffer.C (pop_tag): tie is in namespace boost
15205
15206         * BufferView.h: noncopyable is in namespace boost
15207         * lyxlex.h: ditto
15208         * lyx_main.h: ditto
15209         * lyx_gui.h: ditto
15210         * layout.h: ditto
15211         * lastfiles.h: ditto
15212         * bufferlist.h: ditto
15213         * ShareContainer.h: ditto
15214         * LyXView.h: ditto
15215         * LyXAction.h: ditto
15216         * LaTeX.h: ditto
15217
15218 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15219
15220         * Merging changes from BRANCH_MVC back into HEAD.
15221
15222         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15223
15224 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * BufferView_pimpl.C: change from intl.C
15227
15228         * combox.h:
15229         * combox.C:
15230         * Makefile.am: move combox.*
15231
15232         * form1.h:
15233         * form1.C:
15234         * lyx_gui.C:
15235         * intl.h:
15236         * intl.C: remove dialog (covered by prefs)
15237
15238 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15239
15240         * lyxfunc.C (Dispatch): removed redundant break statement.
15241
15242 2001-03-14  Juergen Vigna  <jug@sad.it>
15243
15244         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15245
15246 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15247
15248         * buffer.C: add hack to fix compability reading of minipages.
15249
15250 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15251
15252         * buffer.C (getLists): Cleanup.
15253
15254 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * lyxfont.C (update): don't honor toggleall on font size.
15257
15258 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15259
15260         * bmtable.c:
15261         * bmtable.h:
15262         * Makefile.am: moved to frontends/xforms/
15263
15264         * lyx_gui_misc.C:
15265         * lyxfunc.C:
15266         * BufferView_pimpl.C: changes for moved mathpanel
15267
15268 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * gettext.h: fix gettext_init() in --disable-nls
15271
15272 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15275
15276 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * lyx.C:
15279         * lyx.h: strip external form
15280
15281 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15282
15283         * BufferView_pimpl.C: add comment, destroySplash()
15284
15285 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * BufferView_pimpl.C:
15288         * LyXAction.C:
15289         * buffer.C:
15290         * commandtags.h:
15291         * lyxfunc.C: use re-worked insetinclude
15292
15293 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15294
15295         * buffer.C: add using std::stringstream.
15296
15297         * lyx_cb.C: readd using std::ios.
15298
15299         * buffer.C: add using std::map.
15300
15301         * BufferView_pimpl.C: add using std::vector.
15302
15303         * ShareContainer.h: add std:: to swap.
15304
15305         * buffer.h: add some typedefs
15306         * buffer.C (getLists): use them
15307         (getLists): renamed from getTocList.
15308         add a counter for the different float types and use it in the
15309         generated string.
15310         (getLists): use the same counter for the NEW_INSETS and the "non"
15311         NEW_INSETS
15312
15313         * lyx_cb.h: remove unused items, includes, using etc.
15314
15315         * ShareContainer.h: remove some commented code, add more comments
15316         and "documentation".
15317
15318 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15319
15320         * buffer.C (getTocList): make the list also when NEW_INSETS is
15321         defined.
15322
15323         * buffer.h: remove TocType
15324
15325         * buffer.C (getTocList): change to return a map<string,
15326         vector<TocItem> >, implement for dynamic number of list.
15327
15328         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15329         * text2.C (PasteSelection): adjust
15330         * CutAndPaste.C (pasteSelection): adjust
15331
15332         * FloatList.C (FloatList): update from the new_insets branch.
15333         * Floating.[Ch]: ditto
15334         * LaTeXFeatures.C: ditto
15335         * buffer.C: ditto
15336         * lyxlex_pimpl.C: ditto
15337
15338         * paragraph.C (Last): remove when NEW_INSETS is defined.
15339
15340         * other file: changes because of the above.
15341
15342 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15343
15344         * lyxparagraph.h: rename next to next_, previous to previous_,
15345         make them private for NEW_INSETS. Rename Next() to next(),
15346         Previous() to previous().
15347
15348         * other files: changes because of the above.
15349
15350 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15351
15352         * BufferView.h:
15353         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15354         problem.
15355
15356 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * main.C (main): pass lyx_localedir to gettext_init().
15359
15360         * gettext.h: remove locale_init and gettext_init macros
15361
15362         * gettext.C (locale_init): new function
15363         (gettext_init): new function
15364
15365         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15366         setlocale().
15367
15368 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15369
15370         * Moved credits to frontends:
15371         * credits.[Ch]: removed
15372         * credits_form.[Ch]: removed
15373         * lyx_gui_misc.C: remove credits stuff
15374         * Makefile.am:
15375
15376 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15377
15378         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15379
15380         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15381         unneeded destructor.
15382
15383         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15384         a standalone pointer again.
15385
15386         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15387
15388 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * Makefile.am:
15391         * filedlg.h:
15392         * filedlg.C:
15393         * LyXAction.C:
15394         * ToolbarDefaults.C:
15395         * bufferlist.C:
15396         * commandtags.h:
15397         * form1.C:
15398         * form1.h:
15399         * lyx_cb.C:
15400         * lyx_cb.h:
15401         * lyxfunc.h:
15402         * lyxfunc.C:
15403         * BufferView_pimpl.C: use new file dialog in GUII
15404
15405         * lyx_cb.h:
15406         * lyx_cb.C: remove LayoutsCB to Toolbar
15407
15408 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * ShareContainer.h (get): add std:: qualifier
15411
15412 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * ShareContainer.h: define a proper ShareContainer::value_type
15415         type (and use typename to please compaq cxx)
15416
15417 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15418
15419         * lyxparagraph.h: move serveral local vars to
15420         ParameterStruct/ParagraphParameters., use ShareContainer in
15421         FontTable., make vars in FontTable private and add getter and
15422         setter.
15423
15424         * paragraph.C: changes because of the above.
15425
15426         * lyxfont.h: remove copy constructor and copy assignment. (the
15427         default ones is ok), move number inside FontBits. move inlines to
15428         lyxfont.C
15429
15430         * lyxfont.C: add number to initializaton of statics, move several
15431         inlines here. constify several local vars. some whitespace
15432         cleanup. Dont hide outerscope variables.
15433
15434         * Spacing.h: add two new constructors to match the set methods.
15435
15436         * ShareContainer.h: new file, will perhaps be moved to support
15437
15438         * ParameterStruct.h: new file
15439
15440         * ParagraphParameters.h: new file
15441
15442         * ParagraphParameters.C: new file
15443
15444         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15445         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15446
15447         * BufferView_pimpl.C: ParagraphParameter changes.
15448         * buffer.C: Likewise.
15449         * bufferview_funcs.C: Likewise.
15450         * text.C: Likewise.
15451         * text2.C: Likewise.
15452
15453 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * lyxfind.C (LyXReplace): do not redefine default argument in
15456         implementation.
15457         (IsStringInText): ditto
15458         (SearchForward): ditto
15459         (SearchBackward): ditto
15460
15461 2001-03-06  Juergen Vigna  <jug@sad.it>
15462
15463         * lyxfind.C (IsStringInText): put parentes around expressions.
15464
15465 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15466
15467         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15468
15469 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15470
15471         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15472
15473         * stl_string_fwd.h: add comment
15474
15475         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15476
15477         * tabular.h:
15478         * tabular.C: remove unused DocBook methods
15479
15480         * intl.C:
15481         * language.C:
15482         * paragraph.C:
15483         * buffer.C:
15484         killed DO_USE_DEFAULT_LANGUAGE
15485
15486 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15487
15488         * lyx_gui.C: do not include language.h.
15489
15490         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15491         arguments in function implementation.
15492
15493 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15494
15495         * BufferView_pimpl.C: add <ctime>
15496
15497 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15498
15499         * BufferView_pimpl.C: add using std::find_if
15500
15501 2001-02-27  José Matos  <jamatos@fep.up.pt>
15502
15503         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15504         by OnlyPath.
15505
15506 2001-02-11  José Matos  <jamatos@fep.up.pt>
15507
15508         * buffer.C (makeDocBookFile): command styles now have a parameter as
15509         "title" by default.
15510
15511 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15512
15513         * layout_forms.[Ch]: removed
15514         * lyx_cb.[Ch]: out character
15515         * lyx_gui.C: out character
15516         * lyx_gui_misc.C: out character
15517         * bufferview_funcs.C: : out character,
15518         added toggleall as parameter in ToggleAndShow
15519
15520 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15521
15522         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15523
15524         * text2.C (SetCurrentFont): Disable number property at boundary.
15525
15526 2001-02-26  Juergen Vigna  <jug@sad.it>
15527
15528         * lyxfunc.C (getStatus): added a string argument override function so
15529         that this is correctly called from LyXFunc::Dispatch if it contains a
15530         do_not_use_argument which is used!
15531         (Dispatch): added check for "custom" export and call appropriate func.
15532
15533 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15534
15535         * lyxrc.C: Add language_command_local, language_use_babel and
15536         language_global_options.
15537
15538         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15539
15540         * buffer.C (makeLaTeXFile): Use language_use_babel and
15541         language_global_options.
15542
15543 2001-02-23  Juergen Vigna  <jug@sad.it>
15544
15545         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15546         which works with LyXText and putted it inside BufferView. Here now we
15547         only call for that part the BufferView::Dispatch() function.
15548
15549         * BufferView.C (Dispatch): added.
15550
15551         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15552         functions which needs to use a LyXText over from LyXFunc.
15553         (MenuInsertLyXFile): added
15554         (getInsetByCode): added
15555         (moveCursorUpdate): added
15556         (static TEXT): added
15557
15558 2001-02-22  Juergen Vigna  <jug@sad.it>
15559
15560         * BufferView_pimpl.C (update): call a status update to see if LyXText
15561         needs it.
15562
15563 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15564
15565         * vc-backend.C (revert): implement for CVS
15566         (getLog): implement for CVS
15567
15568 2001-02-20  Juergen Vigna  <jug@sad.it>
15569
15570         * text2.C (ClearSelection): added BufferView param for inset_owner call
15571
15572         * lyxfunc.C (TEXT): added this function and use it instead of
15573         directly owner->view()-text of getLyXText().
15574
15575 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15576
15577         * src/layout_forms.C: out preamble
15578         * src/layout_forms.h: out preamble
15579         * src/lyx_cb.C: out preamble
15580         * src/lyx_cb.h: out preamble
15581         * src/lyx_gui.C: out preamble
15582         * src/lyx_gui_misc.C: out preamble
15583         * src/lyxfunc.C: connect with guii preamble
15584
15585 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15588
15589 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15590
15591         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15592         whether to run bibtex.
15593
15594 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15597
15598 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15599
15600         * Makefile.am (lyx_SOURCES): removed bibforms.h
15601
15602         * vspace.h: doxygen
15603
15604         * text.C (GetVisibleRow): make several local vars const
15605
15606         * tabular.C: small cleanup.
15607
15608         * lyxserver.C (callback): use compare instead of strncmp
15609
15610         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15611         inlines to after class or to paragraph.C
15612
15613         * lyxfont.h: remove friend operator!=
15614
15615         * converter.h: move friend bool operator< to non friend and after
15616         class def.
15617
15618         * combox.h: small cleanup
15619
15620         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15621         to inlines after class def.
15622
15623         * buffer.C (pop_tag): use string operations instead of strcmp
15624
15625         * bmtable.c: doxygen, small cleanup
15626
15627         * LaTeX.h: remove friend operator==
15628
15629 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15630
15631         * screen.C:
15632         * lyxrc.[Ch]:
15633         * lyxfunc.C:
15634         * lyxfont.[Ch]:
15635         * lyx_cb.C:
15636         * intl.[Ch]:
15637         * commandtags.h:
15638         * buffer.C:
15639         * WorkArea.[Ch]:
15640         * LyXAction.C:
15641         * BufferView_pimpl.C:
15642         * BufferView.[Ch]: remove cruft
15643
15644 2001-02-14  Juergen Vigna  <jug@sad.it>
15645
15646         * lyxfunc.C: removed #if 0 unused code
15647
15648         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15649
15650         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15651
15652         * text2.C (SetSelection): added a BufferView * parameter
15653
15654 2001-02-13  Juergen Vigna  <jug@sad.it>
15655
15656         * lyxfunc.C (Dispatch): fixed protected blank problem.
15657         * BufferView2.C (protectedBlank): added LyxText * parameter.
15658
15659         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15660         (AppendColumn): same as above for column_info.
15661
15662         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15663         (moveCursorUpdate): use a LyXText param for support of InsetText.
15664
15665         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15666         (tripleClick): ditto
15667
15668         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15669
15670         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15671
15672         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15673
15674         * text2.C (SetSelection): set correct update status if inset_owner
15675         (ToggleFree): ditto
15676
15677 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15678
15679         * tabular.C: remove some commented code.
15680
15681 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15682
15683         * BufferView_pimpl.C: call hideSplash()
15684
15685         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15686
15687         * include_form.h:
15688         * bibforms.h: remove
15689
15690         * lyxfunc.C:
15691         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15692           add LFUN_CHILD_CREATE
15693
15694         * counters.h: fix tiny typo
15695
15696         * lyx_cb.C:
15697         * lyx.h:
15698         * lyx_gui.C:
15699         * lyx.C: move splash to frontends/xforms/
15700
15701         * lyx_gui_misc.C: move Include and Bibform to frontends
15702
15703         * lyxvc.h: clarify comment
15704
15705         * vspace.C: tiny housekeeping
15706
15707 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15708
15709         * text.C (PrepareToPrint): RTL Fix.
15710
15711         * paragraph.C (GetUChar): New method.
15712         (String):  Use GetUChar.
15713
15714         * buffer.C (asciiParagraph): Use GetUChar.
15715
15716 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15717
15718         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15719
15720 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15721
15722         * buffer.h:
15723         * buffer.C: rename to getLogName(), handle
15724           build log / latex log nicely
15725
15726 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * MenuBackend.C:
15729         * MenuBackend.h: remove support for reference menuitem type.
15730
15731 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * BufferView_pimpl.C: housekeeping
15734         * BufferView_pimpl.h:
15735         * LyXView.h:
15736         * Makefile.am:
15737         * Timeout.C:
15738         * Timeout.h:
15739         * minibuffer.h: move Timeout GUI-I
15740
15741 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * lyxrc.C (read): Update converters data-structures.
15744
15745 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15746
15747         * LaTeX.h (operator!=): add operator != for Aux_Info
15748
15749 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15752
15753         * LaTeXLog.C: deleted, useful code moved to Buffer
15754
15755         * buffer.h:
15756         * buffer.C: new function getLatexLogName()
15757
15758         * lyx_gui_misc.C:
15759         * lyx_gui.C:
15760         * lyxvc.C:
15761         * lyxvc.h:
15762         * lyxfunc.C: use frontends for LaTeX and VC logs
15763
15764 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * LaTeX.h: yet another std:: that Allan forgot.
15767
15768         * Variables.C (set): renamed from isset(), because this clashes
15769         with some HP-UX macros (grr).
15770
15771 2001-02-06  Allan Rae  <rae@lyx.org>
15772
15773         * LaTeX.h: Another bug fix.  Missing std:: this time.
15774
15775 2001-02-04  Allan Rae  <rae@lyx.org>
15776
15777         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15778         floats problem. I've left it commented out because it's not quite
15779         correct.  It should also test that the current object is a table or
15780         figure inset.  But I haven't gotten around to figuring out how to do
15781         that.  I *think* it'll be something like: "table" == inset.type()
15782
15783         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15784         bool.
15785
15786 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15787
15788         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15789         all the citation/databases/styles in the auxilary file.
15790         (run): Rerun latex if there was a babel language error.
15791
15792 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15793
15794         * text.C (Backspace): Preserve the font when changing newline char
15795         with a space.
15796         (BreakParagraph): If the cursor is before a space, delete the space.
15797
15798         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15799
15800 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15803         new argument (code).
15804         (ChangeCitationsIfUnique): New method.
15805
15806         * paragraph.C (GetPositionOfInset): Handle bibkey.
15807
15808 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * BufferView_pimpl.h: change type of Position::par_pos to
15811         LyXParagraph::size_type.
15812
15813 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15814
15815         * BufferView_pimpl.C (savePosition, restorePosition): Write
15816         messages to minibuffer.
15817
15818 2001-01-28  José Matos  <jamatos@fep.up.pt>
15819
15820         * buffer.C (makeDocBookFile): adds support for document language.
15821         A silly restriction on the name of LatexCommand types where removed.
15822         Added support for CDATA sections, allows to chars unescaped, used
15823         among others in code, to avoid escape < and >.
15824
15825 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15828         saved positions instrad of a stack. Furthermore, a position is
15829         stored using paragraph id/paragraph position.
15830
15831         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15832         Remove LFUN_REF_BACK.
15833
15834 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15835
15836         * converter.C (dvipdfm_options): New method.
15837
15838 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * vspace.C (isValidLength): Fix for empty input string.
15841
15842 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * LyXAction.C (init): change description of LFUN_FIGURE to
15845         "Insert Graphics"
15846
15847 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * LaTeX.C: add using directive
15850
15851 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15852
15853         * MenuBackend.C (expand): Fix the sorting of the formats.
15854
15855 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15856
15857         * lyx_main.C: tiny error message fix
15858
15859 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15862         calling fl_initialize(). This fixes the problem with ',' as
15863         decimal separator in text files.
15864
15865 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15866
15867         * trans.C (process): Fix the keymap bug.
15868
15869 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15870
15871         * LaTeX.C (scanAuxFiles): New method. Provides support for
15872         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15873         (scanLogFile) Scan for "run BibTeX" messages.
15874
15875         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15876         OT1 font encoding. Also, load the aecompl package if the ae
15877         package is loaded.
15878
15879         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15880
15881 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * texrow.C (increasePos): turn two error messages into debug
15884         messages.
15885
15886 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15887
15888         * LaTeX.C (scanAux): Handle the \@input macro.
15889         (runBibTeX): Use scanAux().
15890
15891         * language.C (latex_options_): New field.
15892
15893         * LaTeXFeatures.C (getMacros): Add language macros.
15894
15895         * buffer.C (makeLaTeXFile): Small fix.
15896
15897 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15898
15899         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15900
15901         * text2.C: add a using directive.
15902
15903 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15904
15905         * BufferView2.C:
15906         * lyx_gui_misc.h:
15907         * lyxfr1.C:
15908         * lyxfunc.C: kill LyXBell.
15909
15910 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * text.C (IsBoundary): Remove the error message
15913
15914         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15915
15916         * lyxrc.C (setDefaults): Correct initialization value for
15917         font_norm_type.
15918
15919 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15920
15921         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15922         gotoError().
15923
15924         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15925         and GotoNextNote().
15926
15927         * src/LyXAction.C: Added reference-next.
15928
15929         * text.C (InsertChar): Use contains instead of strchr.
15930
15931         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15932
15933 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15934
15935         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15936         alignment commands (when needed).
15937
15938         * text.C (InsertChar): Add ':' to number separator chars.