]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
some support for pch
[lyx.git] / src / ChangeLog
1 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * pch.h: new file
4
5         * Makefile.am: support pch
6
7 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * text.C (readParToken): remove the static LyXFont variable and
10         pass it as a parameter instead. This fixes a nasty bug where an
11         inset will be inserted with a bad font in some situations
12         (readParagraph): adapt
13
14         * text2.C (setCounter): reduce number of calls to pars_[pit]
15
16         * text.C (singleWidth): add an assert, fix a test
17
18         * rowpainter.C (paintText): reduce number of calls to singleWidth
19
20         * paragraph.C (isHfill):
21         (isNewline): ws only
22
23 2004-08-14  André Pönitz  <poenitz@gmx.net>
24
25         * text.C:
26         * text2.C:
27         * rowpainter.C:
28         * lyxtext.h (several functions): use a Paragraph & argument
29         instead of par_type
30
31 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * metricsinfo.h: add a new field ltr_pos to PainterInfo
34
35         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
36
37         * text.C (singleWidth): remove useless test
38
39 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * tabular.h: remove bogus comments
42
43         * tabular.C (getDescentOfRow):
44         (isPartOfMultiColumn): add assertions
45
46         * lyxlength.C (inPixels): remove #warning
47
48 2004-08-14  André Pönitz  <poenitz@gmx.net>
49
50         * paragraph.h: inline getChar()
51
52         * BufferView.h: remove unused declarations
53
54 2004-08-14  José Matos  <jamatos@lyx.org>
55
56         * Buffer.[Ch] (readDocument): new name for old readBody.
57         * Buffer.C: new file format, new keywords: \begin_document,
58         \begin_header, \begin_body, \end_body.
59
60         * bufferparams.C (readToken): replace all calls to lex.nextToken
61         by lex.next(). Do the same to eatLine except where really needed.
62
63         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
64         line when writing to the lyx file.
65
66         * output_plaintext.C (asciiParagraph): fix Bibliography style
67         handling.
68
69         * text.C (read): fix end of file handling.
70
71 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * MenuBackend.C (Menu::operator[]): new method to access
74         individual menu items
75         (Menu::hasFunc): new method. search for an item that corresponds
76         to a given func
77         (MenuBackend::specialMenu): new method
78         (MenuBackend::expand): if a special menu has been set, skip
79         entries whose func() appears in this menu
80
81 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
82
83         * text3.C: use Debug::DEBUG a bit more
84
85         * text.C (leftMargin): try to simplify a tiny bit change var x to
86         l_margin. Dont output the wide margins always.
87         (rightMargin): no margin in inner texts
88
89         * rowpainter.h (nestMargin): new func
90         (changebarMargin): new func
91         (rightMargin): new func
92
93         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
94         now functions.
95         (paintLast): ditto
96
97         * factory.C (createInset): modify setDrawFrame
98
99         * cursor.C: use Debug::DEBUG a bit more
100
101 2004-08-14  André Pönitz  <poenitz@gmx.net>
102
103         * coordcache.[Ch]:
104         * Makefile.am: new files to accomodate an 'external' (x,y)-position
105         cache for all insets in (at least partially) visible (top-level)
106         paragraphs.
107
108         * BufferView_pimpl.C: reset external coord cache before every update.
109         This means the coord cache only contains valid entries.
110
111 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
112
113         bug 1096
114         * BufferView_pimpl.C (getInsetByCode): move function out of class
115         and change in to a template in anon namespace. Also fix to do what
116         suits us better.
117
118 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
119
120         bug 1305
121         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
122         of char
123         (breakParagraph): rename par to par_offset and use a local
124         reference. Add code to keep the language over a rebreak.
125         (breakParagraphConservative): rename par to par_offset, use a
126         local reference
127         (mergeParagraph): ditto
128         (outerHook): ditto
129         (isFirstInSequence): ditto
130         (outerFont): rename pit to par_offset
131
132         * paragraph.C: ws change
133         * paragraph.h: ditto
134         * text3.C: ditto
135         * text.C: ditto
136
137 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
140         treatment for ']'
141
142         * paragraph.C (simpleTeXOnePar): when we have a \item with
143         optional argument, enclose the argument with curly brackets (in
144         case it contains a closing square bracket)
145
146         * text2.C (editXY):
147         * text2.C (editXY):
148         * text3.C (checkInsetHit): constify
149
150 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
153         documents (bug 1629)
154
155 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         Fix toggling of collapsable insets with the mouse (bug 1558)
158
159         * lyxfunc.C (dispatch): adapt to LCursor changes
160
161         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
162         make sure that dispatch is not invoked twice
163
164         * cursor.C (needsUpdate): new method
165         (dispatch): return void
166         (result): new method, to access the DispatchResult of the cursor.
167
168 2004-08-13  José Matos  <jamatos@lyx.org>
169
170         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
171
172 2004-08-13  André Pönitz  <poenitz@gmx.net>
173
174         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
175
176         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
177           multiple cells
178
179 2004-08-12  André Pönitz  <poenitz@gmx.net>
180
181         * text3.C: take out the 'cursor right' form insertInset and only
182         do it in those places when it is really needed. Fixes crash on
183         C-m...
184
185 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
188
189         * BufferView_pimpl.C (setBuffer): initialize the current font of
190         the underlying LyXText
191
192 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * kbsequence.C (print): use UI native formatting for menu
195         shortcuts
196
197         * text.C (insertChar): call Paragraph::insertChar with a font
198         argument (cosmetic)
199
200         * paragraph.C (insertInset, insertChar): the version that takes a
201         LyXFont argument is now a wrapper around the other one (the
202         opposite used to be true).
203
204         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
205         argument. Font setting is done in Paragraph now.
206
207 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * outputparams.h: add new members intitle and lang.
210
211         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
212         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
213
214 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
215
216         * text3.C (dispatch): remove special handling of button 4 and 5,
217         it is now taken care of in the frontend code.
218
219 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * Spacing.h: add <string> (STLPort compile fix)
222
223 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
224
225         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
226
227 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
228
229         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
230         to bool.
231
232         * converter.C (showMessage): inherit from unary_function, make
233         operator() const.
234
235         * buffer.C (writeFile): initialize retval
236
237         * InsetList.h: rename private variable list to list_
238         * InsetList.[Ch]: adjust accordingly.
239
240 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
241
242         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
243         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
244         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
245         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
246         * ParagraphParameters.C, LaTeXFeatures.C: replace
247         "support/std_sstream.h" with <sstream>
248
249 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
250
251         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
252         * lyxsocket.C (LyXServerSocket): ditto
253         (serverCallback): ditto
254
255 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
256
257         * LaTeXFeatures.C: check release date when loading jurabib.
258
259 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
260
261         * lyxserver.C (startPipe): call register_socket_callback
262         (endPipe): call unregister_socket_callback
263
264 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
267         (LyXServerSocket): register the callback
268         (LyXServerSocket): unregister the callback
269         (fd): delete function
270         (serverCallback): improve error checking and setup the callbacks.
271         (dataCallback): change arg to fd.
272         (writeln): new func (copied fro the client socket) used for server
273         write to client.
274         (LyXDataSocket): simplify
275         (~LyXDataSocket): close ann unregiser callback
276         (server): delete function
277         (fd): delete function
278         (readln): small changes, improve some std::string usage
279         (writeln): constify a bit
280
281 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
284         Qt frontend
285
286 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * BufferView_pimpl.C (setBuffer): set the layout combox value only
289         after it has been populated
290
291 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text2.C (insertInset): move cursor when inserting inset.
294
295 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * kbmap.C (findbindings): a couple of new methods. returns a
298         container of kb_sequence objects. The real work is done by the
299         private recursive version
300         (printbindings): uses findbindings to print out a bracketed list
301         of bindings (renamed from findbinding).
302
303         * MenuBackend.C (binding): use kb_keymap::findbindings
304
305         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
306
307 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
308
309         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
310
311 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * paragraph.C (isWord): return true on insets that report
314         isLetter().
315
316         * text.C (getWord): use Paragraph::isWord to decide what is in a
317         word and what is not; fix bug 1609.
318
319 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
320
321         * tex-strings.C: add "none" to string_paperpackages[], fixes
322         off-by-one-error in the paperpackage selection.
323
324         * lyxlex.[Ch]:
325         * tex-strings.[Ch]: char const * string[n]
326         -> char const * const string[]
327
328 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
331         command, return early.
332
333 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * debug.h: add DEBUG to enum and fix size of ANY.
336
337         * debug.C: add support for Debug::DEBUG
338         (showTags): cast errorTags.level to unsigned int
339
340         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
341         (redoCurrentBuffer): ditto
342         (updateScrollbar): ditto
343         * cursor.C (dispatch): ditto
344         * text2.C (setLayout): ditto
345         (setFont): ditto
346         (updateCounters): ditto
347         (editXY): ditto
348         (deleteEmptyParagraphMechanism): ditto
349
350 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
351
352         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
353         annotations to cleanup the Makefile slightly.
354
355 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * lyxrc.C: do not set user_email to a default value but use empty
358         instead. The entry used to be translated, which does not work
359         since at the point where lyxrc is constructed there is no
360         translation service available
361
362         * messages.C (getLocaleDir): remove and use directly
363         lyx_localedir() instead
364
365 2004-06-02  Angus Leeming  <leeming@lyx.org>
366
367         Fix crash caused by dereferencing null pointer 'exportdata' in
368         OutputParams by creating a new ExportData variable on the heap,
369         storing it in a boost::shared_ptr.
370         The crash was triggered when generating an Instant Preview
371         of an external inset.
372
373         * Makefile.am: add outputparams.C
374
375         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
376         (c-tor): allocate memory to it.
377
378         * exporter.C (c-tor): associated changes.
379
380 2004-06-01  Angus Leeming  <leeming@lyx.org>
381
382         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
383         contains data before calling isInset(0). (Bug 1513.)
384
385 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * exporter.C (checkOverwrite): new method
388         * exporter.C (copyFile): new method
389         * exporter.C (Export): copy referenced files to the document dir
390         * exporter.[Ch]: new class ExportedFile
391         * exporter.[Ch]: new class ExportData. Contains currently the
392         names of referenced external files
393         * outputparams.h: add exportdata member.
394
395 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
396
397         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
398         version.C-tmp
399
400 2004-05-19  Angus Leeming  <leeming@lyx.org>
401
402         * LaTeXFeatures.C:
403         * ToolbarBackend.C:
404         * bufferparams.C:
405         * lyxfunc.C: small changes due to the introduction of namespace
406         lyx::frontend and the moving of namespace biblio to lyx::biblio.
407
408 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * text3.C (dispatch): supress update when only moving the cursor
411         * cursor.C (selHandle): remove commented code
412
413 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * paragraph.C (startTeXParParams): correct column count
416         * CutAndPaste.C (pasteSelection): remove const_cast
417         * output_docbook.C (docbookParagraphs): remove const_cast
418         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
419         const_cast and return ParagraphList::const_iterator
420         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
421         * output_plaintext.C (writeFileAscii): remove const_cast
422         * paragraph.[Ch] (simpleTeXOnePar): make const
423         * paragraph_funcs.C (outerPar): use const iterators
424         * paragraph_pimpl.C (validate): use const iterators
425         * text.C (setHeightOfRow): use const iterators
426
427 2004-05-17  Angus Leeming  <leeming@lyx.org>
428
429         * lfuns.h:
430         * LyXAction.C (init): new LFUN_INSET_REFRESH.
431
432         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
433         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
434         if the citation engine has changed.
435
436 2004-05-14  José Matos  <jamatos@lyx.org>
437
438         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
439         if the textclass does not provide it. Have it different for sgml and
440         xml.
441         support the language of document.
442         * output_docbook.C (docbookParagraphs):
443         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
444         first anchor as the id of the paragraph, remove special case code.
445         * sgml.C (escapeChar): escape only < & >.
446
447 2004-05-14  Angus Leeming  <leeming@lyx.org>
448
449         * bufferparams.h: move biblio::CiteEngine enum here to minimize
450         dependencies on src/frontends/controllers/biblio.h. Define a
451         CiteEngine_enum wrapper class to enable the enum to be forward
452         declared.
453
454 2004-05-12  Angus Leeming  <leeming@lyx.org>
455
456         * buffer.C: up LYX_FORMAT to 234.
457         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
458         use_numerical_citations with a single biblio::CiteEngine cite_engine
459         variable.
460         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
461
462 2004-05-13  José Matos  <jamatos@lyx.org>
463
464         * converter.h:
465         * converter.C (Converter, readFlags): add xml member.
466         * outputparams.h: add XML flavor.
467         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
468
469 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfunc.C (dispatch):
472         (getStatus): fix handling of LFUN_SEQUENCE
473
474 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * debug.C (showLevel): do not forget the end-of-line marker
477
478 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * kbmap.C (read): do not stop parsing a bind file when an error
481         occurs (bug 1575)
482
483 2004-04-29  Angus Leeming  <leeming@lyx.org>
484
485         * cursor.C:
486         * factory.C:
487         * pariterator.C:
488         * text2.C: wrap a bunch of #warning statements
489         inside #ifdef WITH_WARNINGS blocks.
490
491 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * buffer.C: increment format to 233.
494
495 2004-04-28  Angus Leeming  <leeming@lyx.org>
496
497         * BufferView_pimpl.C:
498         * lyxfunc.C:
499         * text3.C:
500         s/updateToolbar()/updateToolbars()/
501         s/Toolbar.h/Toolbars.h/
502
503 2004-04-28  Angus Leeming  <leeming@lyx.org>
504
505         * BufferView.[Ch] (c-tor):
506         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
507         No longer passes these data to the WorkArea generator.
508
509 2004-04-28  Angus Leeming  <leeming@lyx.org>
510
511         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
512
513 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
516
517 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * output_latex.C (TeXEnvironment): make sure that there is a line
520         break before \end{foo} for the last paragraph of a document
521         (TeXOnePar): if the paragraph is at the end of the document (or
522         inset) and the language has to be reset, then make sure that the
523         line break is _before_ the language command, not after (fixes bug
524         1225); also make sure that the language reset command is the first
525         thing after the paragraph (to ensure proper nesting of
526         environments and thus fix bug 1404)
527
528 2004-04-21  John Levon  <levon@movementarian.org>
529
530         * ToolbarBackend.h:
531         * ToolbarBackend.C: make "name" be a programmatic name
532         and a gui_name field.
533
534         * lyxfunc.C: display the minibuffer on M-x
535
536 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
539         (bug 1526)
540
541 2004-04-19  Angus Leeming  <leeming@lyx.org>
542
543         * BufferView_pimpl.C (setBuffer): changed preview interface.
544
545         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
546         possible values.
547
548 2004-04-19  John Levon  <levon@movementarian.org>
549
550         * BufferView_pimpl.C:
551         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
552
553 2004-04-05  Angus Leeming  <leeming@lyx.org>
554
555         * text.C (redoParagraphs): add call to updateCounters(), thereby
556         fixing the missing "Figure #:" label from the caption of a
557         figure float.
558
559 2004-04-13  Angus Leeming  <leeming@lyx.org>
560
561         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
562         cursor is clicked out of an inset.
563
564 2004-04-13  Angus Leeming  <leeming@lyx.org>
565
566         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
567         than an InsetOld one.
568
569 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
570
571         * format.[Ch]: add editor to Format
572         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
573         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
574
575 2004-04-08  André Pönitz  <poenitz@gmx.net>
576
577         * metricsinfo.h: remove PainterInfo::width member
578
579 2004-04-08  Angus Leeming  <leeming@lyx.org>
580
581         * lyx_sty.C (boldsymbol_def): modify so that it outputs
582         "\providecommand" rather than "\newcommand", thereby preventing
583         clashes with packages that define "\boldsymbol" themselves.
584         Eg, beamer.
585
586 2004-04-08  Angus Leeming  <leeming@lyx.org>
587
588         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
589         thereby squashing an unnecessary warning.
590
591 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
592
593         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
594         setBuffer()
595
596 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
597
598         * BufferView.C (setCursor): call redoParagraph (some insets could
599         have been opened)
600         (putSelectionAt): remove the 'double update' trick
601
602         * BufferView_pimpl.C (fitCursor): call refreshPar
603         (workAreaDispatch): remove an uneeded update call
604         (dispatch): remove some manual update calls
605
606         * cursor.[Ch]: remove cached_y_, updatePos
607         (selHandle): set noUpdate when appropriate
608
609         * lyxfunc.C (dispatch): track if we need an update
610
611         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
612
613         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
614         (paintSelection): cheap optimization, do not call cursorX when not
615         needed
616         (paintPars): change signature
617         (refreshPar): add
618         (paintText): adjust
619         (paintTextInset): adjust
620
621         * text.C: adjust
622
623 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * lengthcommon.C: compilation fix: remove explicit array size from
626         unit_name[] and friends
627
628 2004-04-05  Angus Leeming  <leeming@lyx.org>
629
630         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
631
632         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
633         present only for the preferences dialog.
634         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
635
636 2004-04-05  Angus Leeming  <leeming@lyx.org>
637
638         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
639         to enable the frontends to export changes to lyxrc correctly.
640
641         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
642
643 2004-04-07  André Pönitz  <poenitz@gmx.net>
644
645         * cursor.[Ch] (selClear, adjust): remove math
646
647         * cursor_slice.C: more agressive assert
648
649         * lyxfunc.C:
650         * BufferView_pimpl.C: rework mouse event dispatch
651
652         * dociterator.C:
653         * paragraph.C:
654         * text2.C:
655         * text3.C: adjust
656
657 2004-04-05  André Pönitz  <poenitz@gmx.net>
658
659         * cursor.[Ch] (valign, halign...): remove unneeded functions
660
661 2004-04-05  Angus Leeming  <leeming@lyx.org>
662
663         * lyxlength.[Ch] (unit_name et al.): const-correct.
664
665 2004-04-05  Angus Leeming  <leeming@lyx.org>
666
667         * BufferView_pimpl.C:
668         * buffer.C:
669         * counters.C:
670         * cursor.C:
671         * lyxfunc.C
672         * paragraph.C:
673         * pariterator.C:
674         * text.C:
675         * text2.C:
676         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
677
678 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * text3.C (getStatus): add LFUN_BEGINNINGBUF
681
682 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * lyxfind.C: add a couple of inTexted() tests + other small fixes
685         * BufferView_pimpl.[Ch] (getStatus)
686         * BufferView.[Ch] (getStatus): add
687         * lyxfunc.C (getStatus): move lfuns handled in
688         BufferView::dispatch to te function above
689         * Cursor.C (setSelection): set selection() = true
690
691 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
692
693         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
694
695 2004-03-31  Angus Leeming  <leeming@lyx.org>
696
697         * lyxfunc.C (dispatch): Fall through to the generic
698         Dialogs::show("preamble").
699
700 2004-03-31  Angus Leeming  <leeming@lyx.org>
701
702         * lyxfunc.C (dispatch): Fall through to the generic
703         Dialogs::show("spellchecker").
704
705 2004-03-31  Angus Leeming  <leeming@lyx.org>
706
707         * lyxfunc.C (getStatus, dispatch): changed invocation of the
708         preferences dialog.
709
710 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * BufferView.C
713         * cursor.[Ch]
714         * dociterator.[Ch]:
715         * insetiterator.[Ch]:
716         * lyxfind.C:
717         * lyxfunc.C:
718         * pariterator.[Ch]:
719         * text2.C:
720         * undo.[Ch]: s/DocumentIterator/DocIterator/g
721
722 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
723
724         * BufferView.C (setCursor, putSelectionAt): call edit to open the
725         insets where we are putting the cursor.
726
727 2004-03-31  Angus Leeming  <leeming@lyx.org>
728
729         * lfuns.h:
730         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
731
732         * lyxrc.[Ch] (read, write): overloaded member functions taking
733         a std::[io]stream arguments.
734
735         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
736
737 2004-03-31  Angus Leeming  <leeming@lyx.org>
738
739         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
740         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
741
742         * lyxtextclass.C (load): if the text class couldn't be loaded, then
743         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
744
745 2004-03-31  Angus Leeming  <leeming@lyx.org>
746
747         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
748         the LFUN_ALL_INSETS_TOGGLE code.
749
750 2004-03-30  Angus Leeming  <leeming@lyx.org>
751
752         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
753         has died. Fall through to the generic Dialogs::show("document").
754
755 2004-03-30  Angus Leeming  <leeming@lyx.org>
756
757         * lfuns.h:
758         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
759         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
760
761         * lyxfunc.C (getStatus, dispatch): define the actions for these
762         lfuns. Little more than a cut and pste job from ControlDocument.C
763
764         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
765
766 2004-03-30  Angus Leeming  <leeming@lyx.org>
767
768         * lfuns.h:
769         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
770         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
771
772         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
773         open/closed state of ollapsable insets. Usage:
774
775         all-inset-toggle <state> <name>, where
776         <state> == "open" || "closed" || "toggle" and
777         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
778
779         * lyxtext.h, text2.C (toggleInset): removed.
780
781         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
782         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
783         now passes LFUN_INSET_TOGGLE to the found inset.
784
785         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
786         is now invoked as "all-insets-toggle toggle branch".
787
788 2004-03-30  Angus Leeming  <leeming@lyx.org>
789
790         * dociterator.C:
791         * insetiterator.C:
792         * pariterator.[Ch]: added/corrected header blurb.
793
794 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
795
796         * dociterator.[Ch]: add an inset_ member
797         (backwardPos): implemented
798         (backwardPos, forwardPos): use inset_ when the stack is empty.
799         (doc_iterator_begin, doc_iterator_end): implemented
800         * pariterator.[Ch]: adjust, add begin, end
801         * insetiterator.[Ch]: adjust, add begin, end
802         * cursor.C:
803         * document.C:
804         * BufferView.C:
805         * BufferView_pimpl.C:
806         * CutAndPaste.C: adjust
807
808 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
809
810         * buffer.C: increment file format to 232.
811         * LaTeXFeatures.C: add bibtopic package.
812         * bufferparams.[Ch]: param \use_bibtopic.
813
814         * lyxrc.[Ch]: add lyxrc bibtex_command
815         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
816
817         * buffer.C: increment file format to 231.
818
819 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * dociterator.C: implement forwardPar
822         * iterators.[Ch]: remove, replaced by
823         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
824         * BufferView.C:
825         * BufferView_pimpl.C:
826         * CutAndPaste.C:
827         * buffer.C:
828         * bufferview_funcs.C:
829         * cursor.C:
830         * lyxfind.C
831         * lyxfunc.C
832         * paragraph_funcs.C
833         * toc.C:
834         * Makefile.am: adjust
835
836 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
837
838         * CutAndPaste.C (pasteSelection): fix 2 crashes
839         (eraseSelection): fix a crash
840         * paragraph_funcs.C: remove a warning
841
842 2004-03-28  Angus Leeming  <leeming@lyx.org>
843
844         * lfuns.h:
845         * LyXAction.C (init): new LFUN_PRINT.
846
847         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
848
849 2004-03-27  Angus Leeming  <leeming@lyx.org>
850
851         * lfuns.h:
852         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
853
854         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
855
856 2004-03-27  Angus Leeming  <leeming@lyx.org>
857
858         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
859         insetlist always contains non-null pointers to insets.
860
861 2004-03-26  Angus Leeming  <leeming@lyx.org>
862
863         * src/BufferView_pimpl.C:
864         * src/CutAndPaste.C:
865         * src/buffer.C:
866         * src/iterators.C:
867         * src/output_plaintext.C:
868         * src/outputparams.h:
869         * src/paragraph_funcs.C:
870         * src/rowpainter.C:
871         * src/text.C:
872         * src/text2.C:
873         * src/frontends/controllers/ControlErrorList.C:
874         * src/frontends/gtk/FileDialogPrivate.C:
875         * src/frontends/gtk/GPainter.C:
876         * src/frontends/gtk/GToolbar.C:
877         * src/frontends/qt2/QRef.C:
878         * src/mathed/math_scriptinset.C: squash compiler warnings.
879
880 2004-03-26  Angus Leeming  <leeming@lyx.org>
881
882         * ispell.C (LaunchIspell::start):
883         * lyx_cb.C (AutoSaveBuffer::start):
884         invoke run(DontWait) rather than runNonBlocking().
885
886 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
887
888         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
889
890 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * kbsequence.C (print): adjust
893
894         * kbmap.C (printKeySym): rename and change signature
895         (printKey): use LyXKeySym::print()
896
897 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
898
899         * undo.C: add using std::advance to compile for stlport
900
901 2004-03-24  Angus Leeming  <leeming@lyx.org>
902
903         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
904         it leads to a crash when no buffer is present.
905
906 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907             Martin Vermeer  <martin.vermeer@hut.fi>
908
909         * lyxfunc.C (dispatch):
910         * bufferparams.C (readToken): use the new LColor::setColor
911
912         * LColor.[Ch] (setColor): new version that takes two strings as
913         argument and creates a new color entry if necessary
914
915 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
916
917         * buffer.C (makeLaTeXFile): if the main latex file that is
918         processed is usually a subdocument of some master, then pretend
919         for a while that it is actually the master
920
921 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
922
923         * buffer.C (getLabelList):
924         (getBibkeyList): use getMasterBuffer()
925         (getMasterBuffer): new method. Returns the main document in the
926         case where one is using included documents.
927
928 2004-03-25  André Pönitz  <poenitz@gmx.net>
929
930         * Makefile.am:
931         * iterators.[Ch]:
932         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
933
934         * ParagraphList_fwd.h: change ParagraphList to a std::vector
935
936         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
937         text*.C over here. Rename namespace CutAndPaste to lyx::cap
938
939         * ParameterStruct.h: merge with ParagraphParameters
940
941         * lyxtext.h: remove LyXText::parOffset() and getPar()
942
943         * text3.C: Remove all 'manual' update calls. We do now one per user
944         interaction which is completely sufficient.
945
946         * Bidi.C:
947         * BufferView.[Ch]:
948         * BufferView_pimpl.C:
949         * FontIterator.[Ch]:
950         * MenuBackend.C:
951         * ParagraphParameters.[Ch]:
952         * buffer.C:
953         * buffer.h:
954         * bufferlist.C:
955         * cursor.[Ch]:
956         * cursor_slice.[Ch]:
957         * dociterator.[Ch]:
958         * errorlist.[Ch]:
959         * factory.C:
960         * lfuns.h:
961         * lyxfind.C:
962         * lyxfunc.C:
963         * output_docbook.[Ch]:
964         * output_latex.[Ch]:
965         * output_linuxdoc.[Ch]:
966         * output_plaintext.[Ch]:
967         * paragraph.[Ch]:
968         * paragraph_funcs.[Ch]:
969         * paragraph_pimpl.[Ch]:
970         * rowpainter.C:
971         * tabular.[Ch]:
972         * text.C:
973         * text2.C:
974         * toc.C:
975         * undo.[Ch]: adjust
976
977         * frontends/controllers/ControlDocument.C:
978         * frontends/controllers/ControlErrorList.C:
979         * frontends/controllers/ControlSpellchecker.C:
980         * insets/inset.C:
981         * insets/inset.h:
982         * insets/insetbase.h:
983         * insets/insetbibitem.C:
984         * insets/insetbox.C:
985         * insets/insetbranch.C:
986         * insets/insetcaption.C:
987         * insets/insetcharstyle.C:
988         * insets/insetcharstyle.h:
989         * insets/insetcollapsable.C:
990         * insets/insetcollapsable.h:
991         * insets/insetert.C:
992         * insets/insetfloat.C:
993         * insets/insetfoot.C:
994         * insets/insetmarginal.C:
995         * insets/insetnote.C:
996         * insets/insetoptarg.C:
997         * insets/insettabular.C:
998         * insets/insettext.C:
999         * insets/insettext.h:
1000         * insets/insetwrap.C:
1001         * mathed/math_mboxinset.C:
1002         * mathed/math_nestinset.C:
1003         * mathed/math_scriptinset.C:
1004         * mathed/math_scriptinset.h:
1005         * support/types.h:
1006
1007 2004-03-24  Angus Leeming  <leeming@lyx.org>
1008
1009         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1010         deal with any child processes that have finished but are waiting to
1011         communicate this fact to the rest of LyX.
1012
1013 2004-03-24  Angus Leeming  <leeming@lyx.org>
1014
1015         64-bit compile fixes.
1016
1017         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1018         (c-tor): pass lyx::pos_types rather than ints.
1019
1020         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1021         lyx::pos_type.
1022
1023         * text.C (Delete): compile fix.
1024         (getPar): ensure that function declaration is the same as that in
1025         the header file.
1026
1027 2004-03-23  Angus Leeming  <leeming@lyx.org>
1028
1029         * ispell.C (LaunchIspell):
1030         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1031         a boost::shred_ptr rather than a std::auto_ptr.
1032
1033 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1036         handle LFUN_FILE_INSERT_*
1037
1038         * lyxrc.C (setDefaults, getDescription, output, read):
1039         * lyxrc.h: remove ps_command
1040
1041 2004-03-22  Angus Leeming  <leeming@lyx.org>
1042
1043         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1044         Ensure that error_handler is processed once only and that all data
1045         is saved before attempting to output any warning messages.
1046
1047         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1048
1049 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1050
1051         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1052
1053 2004-03-19  André Pönitz  <poenitz@gmx.net>
1054
1055         * cursor.[Ch] (reset): take main text inset as argument
1056
1057         * BufferView: adjust
1058         * BufferView_pimpl.C: adjust
1059
1060         * paragraph.[Ch]: fix completely broken operator=()
1061
1062 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * LColor.C (getFromLyXName): make sure that the color name is used
1065         as lowercase.
1066
1067 2004-03-17  Angus Leeming  <leeming@lyx.org>
1068
1069         * lfuns.h:
1070         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1071
1072         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1073         dialog and to kill a forked process.
1074
1075 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1076
1077         * text2.C (setCursorFromCoordinates): fix font problem
1078
1079 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1082         bogus "rebuild cursor" code
1083
1084 2004-03-11  André Pönitz  <poenitz@gmx.net>
1085
1086         * buffer.[Ch]: use InsetText instead of LyXText as container for
1087         the main lyx text.
1088
1089         * dociterator.[Ch]: drop the BufferView * member which is not needed
1090         anymore after the change to buffer.C
1091
1092         * paragraph_funcs.C:
1093         * text.C:
1094         * text2.C:
1095         * BufferView.[Ch]:
1096         * BufferView_pimpl.[Ch]:
1097         * cursor.[Ch]:
1098         * cursor_slice.[Ch]: adjust
1099
1100         * text3.C: fix bug in mathDispatch
1101
1102 2004-03-08  André Pönitz  <poenitz@gmx.net>
1103
1104         * undo.[Ch]: use 'StableDocumentIterator' as base for
1105         the Undo struct.
1106
1107 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1108
1109         * LaTeXFeatures.C:
1110         * bufferparams.[Ch]: add jurabib support and param.
1111
1112         * LaTeX.C: add FIXME/comment.
1113
1114 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1115
1116         * buffer.C: increment file format to 230.
1117
1118 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1119
1120         * cursor.C (dispatch): avoid infinite loops
1121
1122 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * rowpainter.C (paintSelection): fix x coordinates
1125
1126 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * text.C (rowBreakPoint): fix breaking before displayed insets
1129
1130 2004-03-01  André Pönitz  <poenitz@gmx.net>
1131
1132         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1133
1134         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1135
1136         * Makefile.am:
1137         * BufferView.C:
1138         * BufferView_pimpl.C:
1139         * buffer.C:
1140         * lyxfind.C:
1141         * lyxfunc.C:
1142         * text.C:
1143         * text2.C:
1144         * text3.C: adjust
1145
1146 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * lyxtext.h:
1149         * text.C:
1150         * text2.C:
1151         * rowpainter.C:
1152         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1153         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1154
1155 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * Bidi.[Ch] (computeTables): const correctness
1158         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1159         fill_hfill, fill_label_hfill and x from Row
1160         * lyxtext.h: prepareToPrint returns a RowMetrics
1161         * rowPainter.C: adjust
1162         * text.C (prepareToPrint): use width, not textWidth. adjust
1163         (redoParagraphInternal, cursorX): adjust
1164         * text2.C (getColumnNearX): adjust
1165         (init): put a default value to the top LyXText::width
1166
1167 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1170
1171 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1172
1173         * lyxtext.h: add FontIterator class
1174
1175         * text.C (FontIterator, operator*, operator->, operator++): add
1176         (rowBreakPoint, setRowWidth): adjust (fixing a
1177         rebreaking bug)
1178
1179 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * BufferView_pimpl.C (workAreaDispatch): allow also
1182         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1183
1184 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * text.C (rowBreakPoint): fix a bug showing with very large insets
1187
1188 2004-02-25  André Pönitz  <poenitz@gmx.net>
1189
1190         * text3.C:
1191         * cursor.[Ch]: move some mathed specific code to mathed
1192
1193 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1194
1195         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1196         use_tempdir in preferences
1197         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1198         tempfile creation
1199         * lyx_main.C: ensure that tempdir is valid
1200         * lyxlex.h: correct typo
1201         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1202         * paragraph.[Ch] (isMultiLingual): make const
1203         * cursor.[Ch] (openable): make const
1204
1205 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1206
1207         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1208
1209 2004-02-20  André Pönitz  <poenitz@gmx.net>
1210
1211         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1212
1213         * cursor.[Ch]: prepare for localized getStatus()
1214
1215         * lyxtext.h:
1216         * tabular.C:
1217         * text.C:
1218         * text2.C:
1219         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1220
1221 2004-02-20  André Pönitz  <poenitz@gmx.net>
1222
1223         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1224
1225 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1226
1227         * text2.C (setCursorFromCoordinates): switch to absolute coords
1228         (cursorUp): adjust
1229         (cursorDown): adjust
1230         * text3.C (dispatch): adjust
1231
1232 2004-02-16  André Pönitz  <poenitz@gmx.net>
1233
1234         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1235           insets/ChangeLog)
1236
1237         * cursor_slice.[Ch]: remove unneeded acessor function
1238
1239         * lyxtext.h: rename rtl() to isRTL()
1240
1241         * rowpainter.C:
1242         * tabular.C:
1243         * text.C:
1244         * text2.C:
1245         * text3.C: adjust
1246
1247 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * rowpainter.C (paintSelection): coord fix
1250
1251 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1252
1253         * Spacing.C: compile fix
1254
1255 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * cursor.C (dispatch): restore current_ before returning
1258
1259 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * text2.C (cursorUp, cursorDown): fix coords
1262         (moveUp): fix crash
1263
1264 2004-02-12  André Pönitz  <poenitz@gmx.net>
1265
1266         * lyxtext.h:
1267         * text.C:
1268         * text2.C:
1269         * text3.C: add LCursor & parameter to most cursor movement functions
1270           remove usage of LyXText::cursorRow() and cursorPar()
1271
1272         * cursor.[Ch]: add textRow() needed members
1273
1274         * BufferView.C:
1275         * BufferView_pimpl.C:
1276         * paragraph.[Ch]:
1277         * BufferView.C:
1278         * BufferView_pimpl.C: adjust
1279
1280 2004-02-11  André Pönitz  <poenitz@gmx.net>
1281
1282         * lyxfunc.C:
1283         * BufferView.[Ch]:
1284         * BufferView_pimpl.C: shift undo/redo handling
1285
1286         * cursor.[Ch]: fix mathed crash
1287
1288         * lyxfind.C:
1289         * lyxtext.h: move selectionAsText to LCursor
1290
1291         * output_latex.C:
1292         * paragraph.C:
1293         * text.C:
1294         * text2.C:
1295         * text3.C: adjust
1296
1297         * rowpainter.C: fix excessive drawing
1298
1299 2004-02-06  André Pönitz  <poenitz@gmx.net>
1300
1301         * BufferView.[Ch]:
1302         * BufferView_pimpl.[Ch]:
1303         * text3.C: move some text specific LFUN handling
1304
1305 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1306
1307         * text3.C (checkInsetHit): adjust coords
1308         * text2.C (getColumnNearX): adjust coords
1309         (edit): adjust coords
1310         * text.C (getRowNearY): add two asserts
1311
1312 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * converter.C:
1315         * format.C: add using std::distance to compile on gcc 2.95/stlport
1316
1317 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1320
1321 2004-02-04  André Pönitz  <poenitz@gmx.net>
1322
1323         * BufferView.[Ch] (insertInset):
1324         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1325
1326         * text2.C:
1327         * text3.C: adjust
1328
1329 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1330
1331         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1332         on the default clause of the switch
1333         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1334         wasn't catched by LCursor::dispatch
1335
1336 2004-02-03  André Pönitz  <poenitz@gmx.net>
1337
1338         * BufferView.C:
1339         * cursor.[Ch]: some additional asserts
1340
1341         * undo.[Ch]: remove LyXText dependency in interface
1342
1343         * lyxfunc.C: adjust
1344
1345         * lyxtext.h (firstPar, lastPar): remove dead functions
1346
1347         * text.C:
1348         * text2.C:
1349         * text3.C:
1350         * paragraph.[Ch]: adjust
1351
1352 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * lyxfind.C (find): fix argument order in call to ::find
1355
1356 2004-02-02  André Pönitz  <poenitz@gmx.net>
1357
1358         * cursor.[Ch]: remove direct access to anchor
1359
1360         * text.C: remove findText() hack
1361
1362 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1363
1364         * iterators.[Ch] (lockPath): remove in favour of...
1365         * BufferView.[Ch] (setCursor): this addition
1366         * BufferView.C (putSelectionAt): adjust
1367         * undo.C (performUndoOrRedo): adjust
1368         * lyxfunc.C (dispatch): adjust
1369
1370 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * iterators.C (lockPath): add a missing slice
1373         * undo.C (performUndoOrRedo): remove redundant positioning code
1374
1375 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1376
1377         * vc-backend.C (scanMaster): ";" -> ';'
1378
1379 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1380
1381         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1382         std::binary_function
1383
1384         * lyxtextclass.C (compare_name): rename to...
1385         (LayoutNamesEqual): ...this
1386
1387         * lyxlex_pimpl.C (compare_tags): inherit from
1388         std::binary_function, put back into anon namespace
1389
1390         * lyxfind.C (MatchString): inherig from std::binary_function
1391         (findChange): use empty() istead of !size()
1392
1393         * format.C (FormatNamesEqual): new functor
1394         (getFormat): use it
1395         (getNumber): use it
1396         (add): use it
1397         (erase): use it
1398         (setViewer): use it
1399
1400         * converter.C (compare_Converter): rename to...
1401         (ConverterEqual): ...this, and fixup a bit.
1402         (getConverter): use it, and make function const
1403         (getNumber): use it, and make function const
1404         (add): use it
1405         (erase): use it:
1406
1407         * bufferlist.C: add using boost::bind
1408
1409         * MenuBackend.C (MenuNamesEqual): new functor
1410         (hasMenu): use it, and make function const
1411         (hasSubmenu): use nested bind to get rid of compare_memfun.
1412
1413 2004-01-30  André Pönitz  <poenitz@gmx.net>
1414
1415         * BufferView_pimpl.C:
1416         * cursor.C:
1417         * cursor.h:
1418         * cursor_slice.[Ch]:
1419         * lyxfunc.C:
1420         * lyxtext.h:
1421         * paragraph_funcs.C:
1422         * paragraph_funcs.h:
1423         * rowpainter.C:
1424         * text.C:
1425         * text2.C:
1426         * text3.C: move some of the edit(x,y) handling to the insets
1427         some coordinate changes.
1428
1429 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1430
1431         * text.C: add using statements for std::advance and std::distance
1432
1433         * paragraph.C: add using statement for std::distance
1434
1435         * lyxfind.C: add using statement for std::advance
1436
1437         * cursor.C (region): remove std:: from swap
1438         (openable): use nucleus in stead of operator->
1439
1440         * BufferView.C: add using statements for std::distance and std::swap
1441
1442 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1443
1444         * iterators.C: Remove the pimple, move the needed structures to
1445         the header file. Create accessor for the positions stack.
1446         (asPosIterator): remove function
1447
1448         * PosIterator.C (PosIterator): move constructors to top of file
1449         (PosIterator): reimplement the constructor taking a ParIterator in
1450         terms of setFrom.
1451         (setFrom): new function
1452         (operator!=): inline it
1453
1454 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1455
1456         * lyxfind.C (replaceAll): use std::advance
1457
1458         * iterators.h: inherit from std::iterator.
1459
1460         * PosIterator.C (advance, distance): remove
1461         * PosIterator.h: interit from std::iterator.
1462
1463 2004-01-26  André Pönitz  <poenitz@gmx.net>
1464
1465         * BufferView.[Ch]:
1466         * BufferView_pimpl.[Ch]:
1467         * InsetList.[Ch]:
1468         * PosIterator.[Ch]:
1469         * buffer.h:
1470         * bufferview_funcs.C:
1471         * cursor.[Ch]:
1472         * cursor_slice.h:
1473         * factory.[Ch]:
1474         * iterators.[Ch]:
1475         * lyxfind.C:
1476         * lyxfunc.C:
1477         * lyxtext.h:
1478         * output_docbook.C:
1479         * output_latex.C:
1480         * output_linuxdoc.C:
1481         * output_plaintext.C:
1482         * paragraph.[Ch]:
1483         * paragraph_funcs.[Ch]:
1484         * paragraph_pimpl.[Ch]:
1485         * rowpainter.C:
1486         * tabular.C:
1487         * tabular.h:
1488         * text.C:
1489         * text2.C:
1490         * text3.C: more IU:  dumps most of the rest of the mathcursor
1491     implementation into cursor.[Ch]; "globalize" a bit of it.
1492
1493 2004-01-25  Angus Leeming  <leeming@lyx.org>
1494
1495         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1496
1497 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1498
1499         * LaTeXFeatures.h: add nice_ and nice() const
1500         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1501
1502 2004-01-20  André Pönitz  <poenitz@gmx.net>
1503
1504         * BufferView.[Ch]:
1505         * BufferView_pimpl.C:
1506         * PosIterator.C:
1507         * bufferview_funcs.C:
1508         * cursor.[Ch]:
1509         * cursor_slice.[Ch]:
1510         * factory.C:
1511         * iterators.C:
1512         * lyx_cb.C:
1513         * lyxfind.C:
1514         * lyxfunc.C:
1515         * lyxtext.h:
1516         * rowpainter.C:
1517         * text.C:
1518         * text2.C:
1519         * text3.C:
1520         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1521           LCursor and mathcursor parts to LCursor and InsetBase.
1522
1523 2004-01-15  André Pönitz  <poenitz@gmx.net>
1524
1525         * cursor_slice.[Ch]: add a few covienience functions
1526
1527         * funcrequest.[Ch]: remove BufferView * member
1528
1529         * BufferView_pimpl.C:
1530         * cursor.C:
1531         * factory.[Ch]:
1532         * lyxfind.[Ch]:
1533         * lyxfunc.C:
1534         * lyxtext.h:
1535         * text3.C:
1536         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1537
1538 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1541         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1542
1543 2004-01-13  André Pönitz  <poenitz@gmx.net>
1544
1545         * textcursor.[Ch]:
1546         * lyxtext.h: hide cursor and selection anchor behind accessor function
1547
1548         * BufferView.C:
1549         * BufferView_pimpl.[Ch]:
1550         * PosIterator.C:
1551         * bufferview_funcs.C:
1552         * cursor.h:
1553         * lyxfind.C:
1554         * lyxfunc.C:
1555         * text.C:
1556         * text2.C:
1557         * text3.C:
1558         * undo.C: adjust
1559
1560         * cursor.h:
1561         * cursor_slice.[Ch]: some integer type changes for inset unification
1562
1563         * lyxcursor.[hC]: remove, it's CursorSlice now.
1564
1565         * Makefile.am:
1566         * BufferView_pimpl.[Ch]:
1567         * bufferview_funcs.C:
1568         * cursor_slice.C:
1569         * lyxtext.h:
1570         * text.C:
1571         * text2.C:
1572         * text3.C:
1573         * textcursor.[Ch]: adjust
1574
1575 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * text2.C (undoSpan): add and use
1578         * text.C (breakParagraph): use undoSpan (fix bug 578)
1579         * lyxtext.h: adjust
1580
1581 2004-01-08  Angus Leeming  <leeming@lyx.org>
1582
1583         * BufferView_pimpl.C (MenuInsertLyXFile):
1584         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1585         * lyxfunc.C (menuNew, open, doImport):
1586         FileFilterList change to the FileDialog open and save functions.
1587
1588 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * ShareContainer.h: make isEqual and isUnique adaptable
1591
1592         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1593
1594 2004-01-07  Angus Leeming  <leeming@lyx.org>
1595
1596         * LyXAction.C:
1597         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1598
1599         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1600
1601         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1602         functions replacing find, replace and replaceAll.
1603
1604         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1605         LFUN_WORDFIND(FORWARD|BACKWARD).
1606
1607 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * text.C (breakParagraph): remove an outdated #warning
1610
1611 2004-01-07  André Pönitz  <poenitz@gmx.net>
1612
1613         * lyxfind.C: somewhat clearer logic
1614
1615         * text.C: prevent crash in cursorX on unitialized row cache
1616
1617 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1618
1619         * lyxcursor.[Ch] (operator>): add
1620         * textcursor.C (selStart, selEnd): use std::min and std::max
1621
1622 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1623
1624         * Chktex.C: include boost/format.hpp
1625
1626 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1627
1628         * InsetList.C: replace functor MathcIt with adaptable functor
1629         InsetTablePosLess
1630         (insetIterator): modify accordingly
1631
1632         * BranchList.h: move the BranchNamesEqual functor here from...
1633         * BranchList.C: ... to here
1634
1635         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1636         SameName and match.
1637         (add): replace a finding loop with std::find_if.
1638
1639 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1640
1641         * output_docbook.C: moving LatexParam functionality into
1642         .layout files
1643
1644 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1645
1646         * buffer.C: increment format to 229.
1647
1648 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1649
1650         * LaTeXFeatures.C:
1651         * lyx_sty.[Ch]: remove minipageindent_def
1652
1653         * LyXAction.C:
1654         * factory.C:
1655         * lfuns.h:
1656         * lyxfunc.C:
1657         * text3.C: remove LFUN_INSET_MINIPAGE
1658
1659 2003-12-28  Angus Leeming  <leeming@lyx.org>
1660
1661         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1662
1663 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * text2.C (setParagraph): fix off-by-one crash
1666
1667 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1668
1669         * output_docbook.C: header stuff for AGU
1670
1671 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * text2.C (redoCursor): remove
1674         * text.C:
1675         * text3.C:
1676         * BufferView_pimpl.C: remove calls to redoCursor and
1677         setCursor(cursor.par(), cursor.pos()) all around
1678
1679 2003-12-15  Angus Leeming  <leeming@lyx.org>
1680
1681         * buffer.C: up the format to 228.
1682
1683 2003-12-15  André Pönitz  <poenitz@gmx.net>
1684
1685         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1686         slices
1687
1688         * Makefile.am:
1689
1690         * BufferView_pimpl.C:
1691         * cursor.[Ch]:
1692         * lyxcursor.[Ch]:
1693         * rowpainter.[Ch]:
1694         * lyxtext.h:
1695         * text.C:
1696         * text2.C:
1697         * text3.C: adjust
1698
1699 2003-12-15  Angus Leeming  <leeming@lyx.org>
1700
1701         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1702         than getFromGUIName to manipulate the color.
1703
1704 2003-12-14  Angus Leeming  <leeming@lyx.org>
1705
1706         * BranchList.[Ch]: minimize the API.
1707         (Branch::getBranch, getColor): now return a 'const &'.
1708         (Branch::setSelected) now returns a bool set to true if the
1709         selection status changes.
1710         (BranchList::clear, size, getColor, setColor, setSelected,
1711         allBranches, allSelected, separator): removed.
1712         (BranchList::find): new functions, returning the Branch with
1713         the given name.
1714         (BranchList::add, remove): return a bool indicating that
1715         the operation was successful.
1716
1717         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1718         new InsetBranch::isBranchSlected member function.
1719
1720         * LColor.[Ch]: mimimize the API.
1721         (fill): renamed as addColor and made private.
1722         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1723         versions of these functions taking a string arg have been removed.
1724
1725         * bufferparams.C (readToken):
1726         * lyxfunc.C (dispatch):
1727         * lyxrc.C (read): changes due to the altered BranchList and
1728         LColor APIs.
1729
1730         * factory.C (createInset, readInset): changes due to altered
1731         InsetBranch c-tor.
1732
1733 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1734
1735         * factory.C:
1736         * lyxfunc.C: remove insetminipage. "minipage-insert"
1737         now produces a frameless minipage box inset.
1738
1739 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * textcursor.[Ch] (selStart,selEnd): add new methods
1742         remove selection::start, end, use LyXCursor::operator<
1743         * lyxcursor.[Ch] (operator<): add
1744         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1745         * BufferView.[Ch] (unsetXSel): add
1746         * text2.C (clearSelection): use unsetXSel,adjust
1747         * text.C: adjust
1748         * text3.C: adjust
1749         * rowpainter.C: adjust
1750         * bufferview_funcs.C (put_selection_at): adjust
1751
1752 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * BufferView_pimpl.C: small coord. correction
1755
1756 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1759         dragging over the splash screen.
1760
1761 2003-12-11  Angus Leeming  <leeming@lyx.org>
1762
1763         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1764         as it is now handled in LyXText::dispatch.
1765
1766         * text3.C (doInsertInset): remove a level of nesting.
1767
1768 2003-12-11  Angus Leeming  <leeming@lyx.org>
1769
1770         * factory.C (createInset): changes due to the changed interface to
1771         InsetCommandMailer::string2params.
1772
1773 2003-12-10  Angus Leeming  <leeming@lyx.org>
1774
1775         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1776         'dialog-show-new-inset <inset name>'
1777
1778 2003-12-10  Angus Leeming  <leeming@lyx.org>
1779
1780         * buffer.C: up the format to 227.
1781
1782         * factory.C: the box inset is now identified simply by 'Box'.
1783
1784 2003-12-10  Angus Leeming  <leeming@lyx.org>
1785
1786         * buffer.C: up the format to 226.
1787
1788         * factory.C: the note inset is now identified simply by 'Note'.
1789
1790 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1793         when a pit is enough. Standarize a couple of loops.
1794
1795 2003-12-05  Angus Leeming  <leeming@lyx.org>
1796
1797         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1798         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1799         data to the re-worked "log" dialog.
1800
1801 2003-12-03  André Pönitz  <poenitz@gmx.net>
1802
1803         * PosIterator.C:
1804         * iterators.C:
1805         * lyxtext.h:
1806         * output_latex.C:
1807         * paragraph_funcs.C:
1808         * text.C:
1809         * text2.C: use Inset::getText instead of Inset::getParagraph
1810
1811 2003-12-03  André Pönitz  <poenitz@gmx.net>
1812
1813         * buffer.[Ch]:
1814         * lyxtext.h:
1815         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1816         InsetText::read() as LyXText::read()
1817
1818 2003-12-02  Angus Leeming  <leeming@lyx.org>
1819
1820         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1821         type. Add a comment in the implementation that the function uses
1822         the stream's bad() function rather than fail() as the std::streams
1823         would do.
1824
1825 2003-12-02  André Pönitz  <poenitz@gmx.net>
1826
1827         * lyxlex.[Ch]: make interface more similar to std::stream
1828
1829         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1830
1831 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1832
1833         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1834
1835 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1836
1837         * vspace.[Ch]: remove VSpace::NONE
1838
1839 2003-12-01  André Pönitz  <poenitz@gmx.net>
1840
1841         * buffer.[Ch]:
1842         * lyxtext.h: move ParagraphList member to LyXText
1843         rename LyXText::ownerParagraphs to LyXText::paragraph
1844
1845         * CutAndPaste.C:
1846         * bufferview_funcs.C:
1847         * iterators.[Ch]:
1848         * lyx_cb.C:
1849         * paragraph.C:
1850         * rowpainter.C:
1851         * tabular.C:
1852         * text.C:
1853         * text2.C:
1854         * text3.C: adjust
1855
1856         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1857
1858         * undo.C: fix cursor positioning
1859
1860 2003-12-01  John Levon  <levon@movementarian.org>
1861
1862         * BufferView_pimpl.C: fix a crash on exit with
1863         a buffer open
1864
1865 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1866
1867         * BranchList.C: fix setSelected() method.
1868
1869 2003-11-28  André Pönitz  <poenitz@gmx.net>
1870
1871         * ParagraphParameters.[Ch]:
1872         * ParameterStruct.h: remove space above/below from Paragraph to
1873          InsetVSpace
1874
1875         * BufferView_pimpl.C:
1876         * factory.C:
1877         * lyxfunc.C:
1878         * lyxtext.h:
1879         * output_latex.C:
1880         * paragraph.C:
1881         * paragraph_funcs.C:
1882         * rowpainter.[Ch]:
1883         * text.C:
1884         * text2.C:
1885         * text3.C: adjust
1886
1887 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1888
1889         * factory.C: Syntax change for CharStyles
1890
1891 2003-11-28  André Pönitz  <poenitz@gmx.net>
1892
1893         * BufferView.[Ch]:
1894         * BufferView.[Ch]:
1895         * buffer.[Ch]:
1896         * buffer.[Ch]: move LyXText member
1897
1898 2003-11-28  André Pönitz  <poenitz@gmx.net>
1899
1900         * BufferView.[Ch]: make LyXText * text a private member
1901
1902         * BufferView_pimpl.C:
1903         * cursor.C:
1904         * iterators.C:
1905         * lyx_cb.C:
1906         * lyxfind.C:
1907         * lyxtext.h:
1908         * rowpainter.[Ch]:
1909         * text.C:
1910         * text2.C:
1911         * undo.C: adjust
1912
1913         * output_plaintext.C: cleanup
1914
1915 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1916
1917         * buffer.C:
1918         * lyxtextclass.[Ch]: parametrize SGML document header
1919
1920 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1921
1922         * converter.[Ch]:
1923         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1924         getFlavor().
1925
1926 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * text2.C (setFont): rework using PosIterator (no more recursive)
1929         (setCharFont): no more needed
1930         (setLayout): no more selection cursors fiddling (done by redoCursor)
1931         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1932         destroy remaining ones)
1933
1934 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1937         * lyxtext.h: ditto
1938         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1939         selection cursors
1940         * lyxfunc.C: adjust
1941         * text3.C: adjust + re-allow multi par depth changes
1942         * textcursor.C: simplify a bit
1943
1944 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * src/buffer.C:
1947         * src/lyxlayout.C:
1948         * src/lyxlayout.h:
1949         * src/lyxtext.h:
1950         * src/output_docbook.C:
1951         * src/output_latex.C:
1952         * src/paragraph.C:
1953         * src/paragraph.h:
1954         * src/sgml.C:
1955         * src/sgml.h:
1956         * src/text2.C: Introducing a number of tags parametrizing various
1957         XML formats that we may want to support
1958
1959 2003-11-25  André Pönitz  <poenitz@gmx.net>
1960
1961         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1962
1963         * lyxtext.h (leftMargin/rightMargin): simplify interface
1964
1965         * rowpainter.C:
1966         * text.C:
1967         * text2.C:
1968         * text3.C: adjust
1969
1970 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1973         master file to any child files. Fixes bug 546.
1974
1975 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1978
1979 2003-11-24  André Pönitz  <poenitz@gmx.net>
1980
1981         * rowpainter.C: simplification
1982
1983         * text2.C (updateCounters): remove call to redoParagraph on
1984         changed labels as this is far too expensive.
1985
1986 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1987
1988         * converter.C (convert): fix a crash: this function gets
1989         called with buffer == 0 from importer code.
1990
1991 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1992
1993         * text3.C (cursorPrevious): make sure that we do not compare
1994         iterators form different containers.
1995         (cursorNext): ditto
1996
1997         * rowpainter.C (paintSelection): make sure that we do not compare
1998         iterators from different containers.
1999
2000         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2001         iterators from different ParagraphList containers.
2002         [NEXT] ditto
2003
2004         * text2.C (LyXText): change order of initialization slightly
2005         (operator=): new function. copy all variables except cache_par_
2006         (moveUp): make sure that we do not compare iterators from
2007         different ParagraphList constainers.
2008         (moveDown): ditto
2009
2010         * text.C (firstPar): new function
2011         (lastPar): new function
2012         (endPar): new function
2013
2014         * lyxtext.h: move things around and group public functions, public
2015         variables, private functions, private variables
2016
2017 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2018
2019         * factory.C: change call to InsetERT constructor to avoid
2020         additional invocation of method status
2021         * text2.C (toggleInset): remove redundant update() call
2022         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2023         instead of a Bufferview pointer
2024
2025 2003-11-21  André Pönitz  <poenitz@gmx.net>
2026
2027         * rowpainter.C: simplification
2028
2029 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * text3.C (dispatch): make possible to extend a word/row selection
2032         with the mouse
2033
2034 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2035
2036         * lyxtext.h: x0_,y0_ -> xo_,yo_
2037         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2038         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2039         * rowpainter.C (paintRows): paint full paragraphs
2040
2041 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2042
2043         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2044         screen coordinates)
2045
2046 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2047
2048         * lyxtext.h: add x0_, y0_
2049         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2050         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2051
2052 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * text2.C (setCursorIntern): move the x_target update here *
2055         * text3.C: change some bv() to true/false in calls to
2056         cursorUp/Down/Right/Left
2057         * cursor.C: use helper function.
2058
2059 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2060
2061         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2062         * paragraph_funcs.[Ch]: correct comment
2063         * rowpainter.C: do not paint selections away from bv->cursor()
2064         Fix a long standing selection painting bug.
2065         * text3.C: generalize mouse-selection code to LyXTexts other that
2066         top one
2067         * textcursor.C: do not use y coords if we can use par offsets
2068
2069 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2070
2071         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2072         cursor position after e.g. inset insert)
2073
2074 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * lyxfind.C (replace): adjust to locking removal + some
2077         code simplification
2078
2079 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2080
2081         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2082         of the path
2083
2084 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2085
2086         * lyxlayout.[Ch]:
2087         * output_docbook.C: XML sanitation: new layout
2088         parameters InnerTag and CommandDepth
2089
2090 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2091
2092         * BufferView_pimpl.C:
2093         * factory.C:
2094         * text3.C: Fix the insertion and modification of button-style
2095         insets
2096
2097 2003-11-13  André Pönitz  <poenitz@gmx.net>
2098
2099         * InsetList.[Ch]: remove deleteLyXText
2100
2101         * paragraph.[Ch]: cache beginOfBody position
2102
2103         * Bidi.C:
2104         * text.C:
2105         * text2.C:
2106         * text3.C: remove superfluous update() calls
2107
2108         * vspace.C: cleanup
2109
2110 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2113         * BufferView.C (fitLockedInsetCursor): remove
2114         * cursor.[Ch] (getDim): add
2115         * text.C (getRowNearY): add faster version
2116         * text3.C: remove some update calls
2117
2118 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2119
2120         * LaTeXFeatures.C:
2121         * LyXAction.C:
2122         * MenuBackend.C:
2123         * MenuBackend.h:
2124         * dispatchresult.h:
2125         * factory.C:
2126         * lfuns.h:
2127         * lyxfunc.C:
2128         * lyxtextclass.C:
2129         * lyxtextclass.h:
2130         * text3.C: The Character Style /XML short element patch.
2131
2132 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2133
2134         * text3.C:
2135         * factory.C: Small step to solving 'unable to insert some insets'
2136         problem
2137
2138 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * cursor.[Ch] (updatePos): new function for updating the y
2141         position of the tip inset
2142         * bufferview_funcs.C (put_selection_at):
2143         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2144
2145 2003-11-11  André Pönitz  <poenitz@gmx.net>
2146
2147         * text.C: remove big comment on invalid Paragraph pointers as it is
2148         not valid anymore
2149
2150 2003-11-11  André Pönitz  <poenitz@gmx.net>
2151
2152         * text_funcs.[Ch]: merge with ...
2153
2154         * text.C: ... this
2155
2156         * lyxtext.h:
2157         * text2.C:
2158         * text3.C: adjust
2159
2160         * Makefile.am: remove text_funcs.[Ch]
2161
2162 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * cursor.C (getPos): return absolute cached y coord
2165
2166         * BufferView_pimpl.C (fitCursor): new simplistic code
2167         (workAreaDispatch): add a fitCursor call
2168
2169 2003-11-10  André Pönitz  <poenitz@gmx.net>
2170
2171         * BufferView.[Ch]:
2172         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2173
2174 2003-11-10  André Pönitz  <poenitz@gmx.net>
2175
2176         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2177         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2178         indicate that the cursor needs to leave an inset
2179
2180         * lyxtext.h: remove inset locking
2181
2182         * cursor.[Ch]: re-implement functionality provided by inset locking
2183
2184         * BufferView.[Ch]:
2185         * BufferView_pimpl.[Ch]:
2186         * LyXAction.C:
2187         * bufferview_funcs.[Ch]:
2188         * factory.C:
2189         * funcrequest.[Ch]:
2190         * iterators.C:
2191         * lyx_cb.C:
2192         * lyxfind.C:
2193         * lyxfunc.C:
2194         * text.C:
2195         * text2.C:
2196         * text3.C:
2197         * undo.C: adjust
2198
2199 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2200
2201         * PosIterator.[Ch]: replace the stack with a vector, add inset
2202         accesor
2203         * iterators.[C]: adjust
2204
2205 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2208         replaced
2209         * paragraph_funcs.C (readParToken): put the correct id in the
2210         error item, not the id of the top paragraph
2211
2212 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2213
2214         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2215         * bufferview_funcs.C (put_selection_at): use the above
2216
2217 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2218
2219         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2220
2221 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2222
2223         * output_linuxdoc.h:
2224         * output_plaintext.h:
2225         * output.h:
2226         * output_docbook.h: add #include statements
2227
2228 2003-11-05  José Matos  <jamatos@lyx.org>
2229
2230         * output_docbook.[Ch]:
2231         * output_latex.[Ch]:
2232         * output_linuxdoc.[Ch]:
2233         * output_plaintext.[Ch]: New files for output formats.
2234         * output.[Ch]: New file for helper functions.
2235
2236         * buffer.[Ch]:
2237         * paragraph_funcs.[Ch]: output functions moved to new files.
2238
2239         * outputparams.h: rename of latexrunparams.h
2240
2241         * LaTeX.[Ch]:
2242         * buffer.[Ch]:
2243         * bufferlist.[Ch]:
2244         * converter.[Ch]:
2245         * exporter.C:
2246         * paragraph.[Ch]:
2247         * paragraph_funcs.[Ch]:
2248         * paragraph_pimpl.[Ch]:
2249         * tabular.[Ch]: rename ascii to plaintext
2250         and LatexRunParams to OutputParams.
2251
2252 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2253
2254         * iterators.[Ch] (text): require bv argument
2255         * undo.C (recordUndo):
2256         * lyxfunc.C (dispatch):
2257         * bufferview_funcs.C (put_selection_at): adjust
2258
2259 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2260
2261         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2262
2263 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2264
2265         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2266         nestings
2267
2268 2003-11-04  André Pönitz  <poenitz@gmx.net>
2269
2270         * cursor.[Ch]: restructure
2271
2272         * BufferView.[Ch]:
2273         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2274
2275         * iterators.[Ch] (asCursor): remove
2276
2277         * lfuns.h: remove LFUN_INSET_EDIT
2278
2279         * lyxfunc.C:
2280         * tabular.C:
2281         * text.C:
2282         * text2.C:
2283         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2284
2285 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2286
2287         * lyxfind.[Ch]: complete overhaul
2288         * BufferView_pimpl.C:
2289         * lyxfunc.C: adjust
2290         * paragraph.[Ch] (insert): add
2291
2292 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2293
2294         * BufferView.[Ch]:
2295         * lyxtext.h:
2296         * text.C: remove dead spellcheck code
2297
2298 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * dispatchresult.h: add a val setter
2301
2302         * cursor.C (dispatch): use a tempvar for data_[i]
2303
2304 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2305
2306         * PosIterator.[Ch]: compile fix
2307
2308 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * text.C (cursorPar): deactivate the cursor cache
2311
2312 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2313
2314         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2315
2316 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2317
2318         * text3.C (dispatch): adjust for new DisptchResult semantics.
2319
2320         * lyxfunc.C (dispatch): handle update when return from
2321         Cursor::dispatch, adjust for new DispatchResult semantics.
2322
2323         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2324         DispatchResult(true) mean to not update. Add class functions for
2325         setting dispatched and update, as well as reading.
2326
2327         * cursor.C (dispatch): don't handle update here
2328
2329 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2332         * trans_mgr.C: adjust
2333
2334         * paragraph_funcs.C (readParToken): exception safety
2335
2336         * lyxvc.h: store the vcs pointer in a scoped_ptr
2337         * lyxvc.C: adjust
2338
2339         * lyxsocket.C (serverCallback): exception safety
2340
2341         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2342
2343         * ispell.C (clone): make it return a auto_ptr
2344
2345         * factory.C (createInset): exception safety
2346         (readInset): exception safety
2347
2348         * bufferlist.C (newBuffer): exception safety
2349
2350         * Thesaurus.C (Thesaurus): use initialization for aik_
2351
2352         * MenuBackend.C (expandToc): exception safety.
2353
2354 2003-11-03  André Pönitz  <poenitz@gmx.net>
2355
2356         * buffer.C:
2357         * buffer.h:
2358         * bufferview_funcs.C: remove getInsetFromId()
2359
2360         * lyxcursor.[Ch]:
2361         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2362
2363         * lyxfunc.C:
2364         * text2.C:
2365         * text3.C: adjust
2366
2367 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2368
2369         * PosIterator.C (distance, advance): new
2370         * bufferview_funcs.[Ch] (put_selection_at): new
2371         * iterators.[Ch] (lockPath): new
2372
2373 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * iterators.[Ch] (asPosIterator): added
2376         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2377         * PosIterator.[Ch]: added
2378
2379 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * text3.C:
2382         * lyxfunc.C:
2383         * cursor.C (dispatch):
2384         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2385
2386         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2387         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2388         contructor, add a class function dispatched. Remove operator>=
2389
2390 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * debug.C: only use the default constructor for debugstream
2393         (lyxerr) here.
2394
2395         * main.C (main): include debug.h and setup the lyxerr streambuf
2396         here.
2397
2398 2003-10-31  José Matos  <jamatos@lyx.org>
2399
2400         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2401
2402         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2403         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2404         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2405         * paragraph_pimpl.C (simpleTeXSpecialC):
2406         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2407         add LatexRunParams argument.
2408
2409         * exporter.C (Export): change call accordingly.
2410
2411         * latexrunparams.h: add new member to take care of the other backends.
2412 2003-10-30  José Matos  <jamatos@lyx.org>
2413
2414         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2415         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2416         factorise code for paragraph output.
2417         * buffer.[Ch]:
2418         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2419         move functions.
2420
2421 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * text3.C (dispatch):
2424         * lyxfunc.C (dispatch):
2425         * cursor.C (dispatch):
2426         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2427
2428         * dispatchresult.h: make the dispatch_result_t ctor explicit
2429
2430 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2431
2432         * sgml.[Ch]:
2433         * buffer.C: small refactoring of docbook stuff
2434
2435 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2438         meaning.
2439
2440 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2443         operator dispatch_result_t, and operators for == != and >=
2444
2445         * cursor.C (dispatch): adjust for operator dispatch_result_t
2446         removal. comment out call to update
2447
2448         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2449
2450 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * text3.C:
2453         * text2.C:
2454         * text.C:
2455         * lyxtext.h:
2456         * lyxfunc.C:
2457         * cursor.C:
2458         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2459         (dispatch):
2460
2461         * dispatchresult.h: new file, DispatchResult broken out of
2462         insets/insetbase.h
2463
2464         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2465
2466 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2467
2468         * text.C (rowBreakPoint): put a hack inside #if 0
2469
2470 2003-10-28  André Pönitz  <poenitz@gmx.net>
2471
2472         * lyxtext.h:
2473         * metricsinfo.C:
2474         * paragraph_funcs.C:
2475         * rowpainter.C:
2476         * text.C:
2477         * text2.C: general cleanup (lots of small stuff)
2478
2479 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2480
2481         * text2.C (cursorEnd): simple fix to the "end key goes to one
2482         before the end on last row" bug
2483
2484 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * text.C (backspace): fix the "zombie characters"
2487
2488 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2489
2490         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2491
2492 2003-10-27  André Pönitz  <poenitz@gmx.net>
2493
2494         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2495
2496         * factory.C: handle new InsetPagebreak, InsetLine
2497
2498         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2499         and move handling into new InsetPagebreak, InsetLine
2500
2501         * BufferView_pimpl.C:
2502         * LyXAction.C:
2503         * ParagraphParameters.C:
2504         * ParameterStruct.h:
2505         * lyxfunc.C:
2506         * lyxtext.h:
2507         * paragraph.C:
2508         * paragraph.h:
2509         * paragraph_funcs.C:
2510         * paragraph_pimpl.C:
2511         * rowpainter.C:
2512         * text.C:
2513         * text2.C:
2514         * text3.C: adjust
2515
2516 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2517
2518         * text.C:
2519         * lyxrow_funcs.[Ch]:
2520         * Bidi.C:
2521         * paragraph.C:
2522         * lyxtext.h:
2523         * rowpainter.C:
2524         * text2.C:
2525         * text3.C: remove lastPos uses in favour of Row::endpos
2526
2527 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2528
2529         * undo.C (performUndoOrRedo): fix two crashes by setting a
2530         cursor by hand and reordering some calls. Use bv->lockInset instead
2531         of inset->edit because the latter loses cursor information
2532
2533 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2534
2535         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2536         by Martin
2537         (rowBreakPoint): fix width. change point to point + 1.
2538         Add a missing check.
2539
2540 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2541
2542         * MenuBackend.C:
2543         * lyxfunc.C: fix (at least partly) the problems
2544         with the Nav menu and headers inside branch insets
2545         reported by Kayvan
2546
2547 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * paragraph.C (getChar): add strong asserts
2550
2551         * lyxrow_funcs.C (lastPos): remove hideous hack
2552
2553         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2554         (fill): adjust to that (avoid an infinite loop)
2555
2556 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2559
2560 2003-10-23  André Pönitz  <poenitz@gmx.net>
2561
2562         * RowList_fwd.h: change list<> to vector<> to gain speed
2563         after suggestion from Alfredo
2564
2565 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2566
2567         * lyxtext.h: move the bidi stuff from here...
2568         * text.C: and here
2569         * text2.C: and here
2570         * Bidi.[Ch]: ... to here
2571
2572 2003-10-23  André Pönitz  <poenitz@gmx.net>
2573
2574         * lyxtext.h:
2575         * text.C (isLastRow, isFirstRow): new functions
2576
2577         * paragraph.h: new width cache member
2578
2579         * rowpainter.C: replace RowList::iterator with Row & where possible
2580
2581         * lyxfunc.C: replace several view()->text with a single call
2582
2583         * toc.C: fix 'unused' warning
2584
2585 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2588         when woring with stream::pos_type
2589         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2590
2591 2003-10-22  André Pönitz  <poenitz@gmx.net>
2592
2593         * lyxtext.h:
2594         * text.C: use Row & instead of RowList::iterator
2595
2596         * lyxrow.h: rename end() to endpos()
2597
2598         * rowpainter.C:
2599         * text.C:
2600         * text2.C: adjust
2601
2602 2003-10-22  Angus Leeming  <leeming@lyx.org>
2603
2604         * buffer.[Ch] (fully_loaded): new member function, returning true
2605         only when the file has been loaded fully.
2606         Used to prevent the premature generation of previews and by the
2607         citation inset to prevent computation of the natbib-style label.
2608
2609         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2610         templates are all set up.
2611
2612         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2613
2614 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2615
2616         * text.C: fixed an "oops" in the "is a bit silly"
2617         bug fix
2618
2619 2003-10-21  André Pönitz  <poenitz@gmx.net>
2620
2621         * FuncStatus.[Ch]: small stuff, whitespace
2622
2623         * lyxfont.[Ch]: operator<<() for debug reasons
2624
2625         * lyxfunc.C:
2626         * lyxrow_funcs.C:
2627         * lyxtext.h: whitespace, spelling
2628
2629         * paragraph.C: naming of variables
2630
2631         * text.C:
2632         * text2.C: small stuff
2633
2634
2635 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2636
2637         * text.C: (1) finish off the inset display() work;
2638         (2) fix the "is a bit silly" bug (accessing char
2639         past end of par).
2640
2641 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2642
2643         * text.C: re-introduce display() for insets, fixing the
2644         various bugs (stretch of line above, math inset
2645         positioning, ...)
2646
2647 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2648
2649         * text.C (rightMargin): remove spurious semicolon
2650
2651         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2652         1415)
2653
2654 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2655
2656         * text3.C: fix one crash due to wrong cursor def
2657
2658 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * vc-backend.C (scanMaster): make the regex static
2661
2662         * LaTeX.C (scanAuxFile): make the regexs static
2663
2664         * text3.C (doInsertInset, dispatch, dispatch):
2665         * text2.C (cursorUp, cursorDown):
2666         * text.C (selectNextWordToSpellcheck):
2667         * BufferView_pimpl.C (dispatch):
2668         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2669
2670 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2671
2672         * lyxsocket.C: include <cerrno>
2673
2674 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * lyxfunc.C (dispatch): remove textcache stuff
2677
2678         * bufferlist.C (release): remove textcache stuff
2679         (closeAll): ditto
2680
2681         * TextCache.C: delete file
2682         * TextCache.h: delete file
2683
2684         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2685
2686         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2687         delete of the bv_->text.
2688         (resizeCurrentBuffer): remove texcache stuff
2689         (workAreaResize): ditto
2690
2691 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2692
2693         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2694         action.
2695
2696 2003-10-16  André Pönitz  <poenitz@gmx.net>
2697
2698         * lyxrow.[Ch]:
2699         * paragraph.h:
2700         * rowpainter.C:
2701         * text.C:
2702         * text2.C:
2703         * text3.C: speed up by storing y positions per paragraph plus per-row
2704         offset instead of having a 'full' y position in the row.
2705
2706 2003-10-15  André Pönitz  <poenitz@gmx.net>
2707
2708         * iterators.[Ch]:
2709         * iterators.[Ch]:
2710         * undo.[Ch]: make undo aware of inner insets
2711
2712 2003-10-14  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2715         static member functions LyX::ref() and LyX::cref.
2716         (lastfiles): new accessor functions for the new lastfiles_ member var.
2717         (addLyXView, views_): add a new LyXView to the list of views_.
2718         (updateInset): loop over all LyXViews to call their own updateInset
2719         member function, returning a pointer to the Buffer owning the inset.
2720
2721         * BufferView_pimpl.C (loadLyXFile):
2722         * MenuBackend.C (expandLastfiles):
2723         * bufferlist.C (MenuWrite, QuitLyX):
2724         lastfiles is no longer a global variable.
2725         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2726
2727         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2728         static function. Access through LyX::cref().emergencyCleanup().
2729
2730 2003-10-14  André Pönitz  <poenitz@gmx.net>
2731
2732         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2733
2734         * undo.[Ch]: restoring part of 'undo in insets'
2735
2736         * Makefile.am:
2737         * undo_funcs.[Ch]: merge with undo.[Ch]
2738
2739         * tabular.C: small cleansing stuff
2740
2741 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2742
2743         * paragraph_funcs.C (readParToken): report unknown insets as error
2744         boxes. Use the outer paragraph as location (also for unknown
2745         tokens).
2746
2747         * factory.C (readInset): do not abort on reading an unknown inset.
2748         Eat it and return 0.
2749
2750 2003-10-13  Angus Leeming  <leeming@lyx.org>
2751
2752         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2753
2754         * lyxrc.C: displayTranslator is now a function,
2755         declared in GraphicsTypes.h.
2756
2757 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2758
2759         * format.C: new placeholder $$a to pass the socket address.
2760
2761         * bufferlist.[Ch]: new function getBufferFromTmp.
2762
2763         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2764           files in the temporary dir.
2765
2766 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2767
2768         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2769
2770         * Makefile.am: add lyxsocket.[Ch].
2771
2772         * lyx_main.C (error_handler): handle SIGPIPE.
2773
2774 2003-10-13  André Pönitz  <poenitz@gmx.net>
2775
2776         * BufferView_pimpl.C:
2777         * lyxtext.h:
2778         * text.C:
2779         * text2.C:
2780         * text3.C:
2781         * undo_funcs.[Ch]: use paroffset_type instead of
2782           ParagraphList::iterators to prevent multiple conversion
2783           (and get a more robust interface)
2784
2785 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2788         * lyxtext.h: ditto
2789         * text3.C (dispatch): ditto
2790
2791 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2794         move the onlyfile, use onlyfile instead of foundfile in a couple
2795         of places.
2796
2797         * DepTable.C (update): flush the error stream a bit more
2798
2799 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * lyxserver.C (callback): adjust
2802
2803         * lyxfunc.C (getStatus): add a missing brace in commented code
2804         (ensureBufferClean): reindent
2805         (dispatch): delete version taking a string
2806
2807 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * LaTeX.C (deplog): move found file handlig from here...
2810         (handleFoundFile): .. to new function here.
2811         (deplog): make sure to discover several files mentioned on the
2812         same log line.
2813
2814 2003-10-10  André Pönitz  <poenitz@gmx.net>
2815
2816         * lyxfunc.C:
2817         * lyxtext.h:
2818         * tabular.C:
2819         * text.C:
2820         * text2.C:
2821         * text3.C: fix some of the tabular crashes
2822
2823 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2824
2825         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2826
2827         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2828
2829 2003-10-09  André Pönitz  <poenitz@gmx.net>
2830
2831         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2832
2833         * BufferView.C:
2834         * BufferView_pimpl.C:
2835         * bufferview_funcs.C:
2836         * lyx_cb.C:
2837         * lyxcursor.C:
2838         * lyxfind.C:
2839         * lyxfunc.C:
2840         * lyxtext.h:
2841         * text.C:
2842         * text2.C:
2843         * text3.C:
2844         * text_funcs.[Ch]:
2845         * textcursor.[Ch]:
2846         * undo_funcs.C: adjust
2847
2848 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * text2.C (incrementItemDepth): new function, use a backtracking
2851         algorithm to discover the correct item depth.
2852         (resetEnumCounterIfNeeded): new function, use a backtracking
2853         algorithm to discover if counter reset is needed.
2854         (setCounter): use them. Simplify a bit. Add different labels for
2855         different item depths for itemize.
2856
2857         * paragraph.C (Paragraph): remove initialization of enumdepth
2858         (operator=): ditto
2859
2860         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2861         enumerate and itemize. Change the type of itemdepth to signed char.
2862
2863 2003-10-08  André Pönitz  <poenitz@gmx.net>
2864
2865         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2866           thing assignable.
2867         * text.C:
2868         * text2.C: adjust
2869
2870         * tabular.[Ch]: fix crash after 'row-insert'
2871
2872 2003-10-08  Angus Leeming  <leeming@lyx.org>
2873
2874         Fix doxygen warnings.
2875
2876         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2877         Remove CutAndPaste:: prefix from header file declaration.
2878
2879         * LColor.h (fill): remove LColor:: prefix from declaration.
2880
2881         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2882         use lyx::depth_type rather than Paragraph::depth_type so that
2883         header file and .C file match.
2884
2885         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2886
2887         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2888         * aspell.C: \file aspell_local.C -> \file aspell.C
2889         * gettext.C: \file gettext.C -> \file src/gettext.C
2890         * gettext.h: \file gettext.h -> \file src/gettext.h
2891         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2892         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2893         * text.C: \file text.C -> \file src/text.C
2894
2895         * toc.C: move comment so that doxygen is not confused.
2896
2897 2003-10-07  Angus Leeming  <leeming@lyx.org>
2898
2899         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2900
2901 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2902
2903         * aspell.C:
2904         * aspell_local.h: add forgotten std::string's.
2905
2906 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2907
2908         * LaTeXFeatures.C:
2909         * LyXAction.C:
2910         * factory.C:
2911         * lfuns.h:
2912         * lyxfunc.C:
2913         * text3.C: The Box patch. Fancybox support, minipage, parbox
2914
2915 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2916
2917         * CutAndPaste.h:
2918         * DepTable.h:
2919         * FloatList.h:
2920         * LaTeXFeatures.h:
2921         * ParagraphParameters.h:
2922         * TextCache.h:
2923         * Thesaurus.h:
2924         * bufferlist.h:
2925         * exporter.h:
2926         * importer.h:
2927         * lastfiles.h:
2928         * lyxfind.h:
2929         * lyxfont.h:
2930         * lyxlex.h:
2931         * lyxtextclasslist.h:
2932         * messages.h:
2933         * paragraph.h:
2934         * paragraph_pimpl.C:
2935         * textcursor.h: add <string> and other small fixes to make Lars'
2936         std::string patch compile with STLport.
2937
2938 2003-10-06  Angus Leeming  <leeming@lyx.org>
2939
2940         * LColor.h: Add missing #include <string>.
2941
2942 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * All most all file in all subdirs: Make <string> be the prefered
2945         way of getting to std::string, add using declarations.
2946
2947 2003-10-06  André Pönitz  <poenitz@gmx.net>
2948
2949         * metricsinfo.C: initialize LyXFont before changing attribute.
2950         (fixes the 'math in \emph is upright' bug)
2951
2952 2003-10-06  André Pönitz  <poenitz@gmx.net>
2953
2954         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2955
2956 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2957
2958         * graph.C:
2959         * paragraph_pimpl.C: Small fixes to build using STLport
2960
2961 2003-10-02  André Pönitz  <poenitz@gmx.net>
2962
2963         * lyxfunc.C:
2964         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2965
2966 2003-10-01  André Pönitz  <poenitz@gmx.net>
2967
2968         * factory.C: assert early
2969
2970 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * lyx_main.C: remove the global debug object
2973
2974         * debug.h: adjust for new debugstream
2975
2976         * debug.C: adjust for new debugstream and keep the global debug
2977         object here.
2978
2979 2003-09-22  Angus Leeming  <leeming@lyx.org>
2980
2981         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2982         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2983         an incomplete class LyXFont.
2984
2985 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2986
2987         * factory.C: bug fix in branches
2988
2989 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2990
2991         * lyxfunc.C (processKeySym): adjust
2992         (dispatch): adjust
2993         (dispatch): change arg name from ev to func, adjust
2994         (sendDispatchMessage): ditto
2995
2996         * lyx_main.C (defaultKeyBindings): adjust keybindings
2997         (deadKeyBindings): ditto
2998
2999         * kbsequence.C (addkey): return a FuncRequest
3000
3001         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3002
3003         * kbmap.C (bind): take a FuncRequest as arg, adjust
3004         (read): adjust
3005         (lookup): adjust
3006         (defkey): change to take a FuncRequest as arg, adjust
3007         (findbinding): take a FuncRequest as arg, adjust.
3008
3009         * funcrequest.h (operator=): added
3010
3011         * funcrequest.C (FuncRequest): default kb_action changed from
3012         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3013
3014         * buffer.C (dispatch): simplify
3015         (dispatch): adjust to take a FuncRequest as arg, adjust
3016
3017         * boost.C (assertion_failed): change assertion message slightly
3018
3019         * ToolbarBackend.C (read): simplify
3020
3021         * MenuBackend.C (binding): adjust call to findbinding, add a
3022         message if no binding is found.
3023         (read): simplify
3024         (expandToc): correct by adding a empty FuncRequest
3025
3026         * LyXAction.C: include <boost/assert.hpp>
3027         (isPseudoAction): delete function
3028         (LookupFunc): change name to...
3029         (lookupFunc): this. change return type to FuncRequest.
3030         (getActionName): take kb_action as arg, simplify
3031         (funcHasFlag): add an assert, simplify.
3032
3033 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * toc.C (action): return a FuncRequest, simplify
3036
3037         * lyxfunc.C (processKeySym): adjust
3038         (getStatus): delete version that takes an int.
3039         (getStatus): adjust
3040         (dispatch): delete version that takes action as int
3041         (dispatch): adjust
3042         (sendDispatchMessage): simplify and adjust
3043
3044         * funcrequest.C (getArg): take unsigned int as arg
3045
3046         * ToolbarBackend.C (read): adjust
3047         (add): delete version that takes func as a string.
3048         (getIton): take a FuncRequest as arg
3049
3050         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3051         action.
3052
3053         * MenuBackend.C (MenuItem): add a new construct that only takes a
3054         Kind, simplify the constructor use for submenus.
3055         (add): adjust
3056         (expandLastfiles): adjust
3057         (expandDocuments): adjust
3058         (expandFormats): adjust
3059         (expandFloatListInsert): adjust
3060         (expandFloatInsert): adjust
3061         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3062
3063         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3064         Remove class variables lyx_pseudo_map and lyx_arg_map
3065
3066         * LyXAction.C (searchActionArg): delete function
3067         (getPseudoAction): delete function
3068         (retrieveActionArg): delete function
3069         (LookupFunc): make it return kb_action, simplify.
3070         (getActionName): simplify
3071
3072         * factory.C (createInset): fix new bug
3073
3074 2003-09-19  Angus Leeming  <leeming@lyx.org>
3075
3076         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3077         masterFilename_ parameter in the include inset.
3078
3079         * factory.C (createInset): changes due to the changes to InsetInclude.
3080
3081 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3082
3083         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3084
3085 2003-09-18  Angus Leeming  <leeming@lyx.org>
3086
3087         * buffer.C:
3088         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3089         Inset::fillWithBibKeys.
3090         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3091
3092 2003-09-18  Angus Leeming  <leeming@lyx.org>
3093
3094         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3095         variables.
3096         (ctor): pass and store a 'Buffer const &'
3097         (buffer): new member function.
3098
3099         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3100         '*this' to the LaTeXFeatures ctor.
3101
3102 2003-09-18  Angus Leeming  <leeming@lyx.org>
3103
3104         * LColor.h:
3105         * lyxfont.C:
3106         * lyxfont.h:
3107         * lyxtext.h:
3108         * text.C: rename EnumLColor as LColor_color.
3109
3110 2003-09-18  Angus Leeming  <leeming@lyx.org>
3111
3112         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3113         remove #include "insets/insetbase.h" from cursor.h.
3114
3115 2003-09-18  Angus Leeming  <leeming@lyx.org>
3116
3117         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3118         InsetOld_code to remove #include "inset.h".
3119
3120         * iterators.C: add #include "insets/inset.h"
3121
3122 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3123
3124         * BufferView.C: remove more locking stuff that apparently doesn't
3125         do anything sensible.
3126
3127 2003-09-16  André Pönitz  <poenitz@gmx.net>
3128
3129         * paragraph.[Ch]:
3130         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3131           performance boost.
3132
3133 2003-09-16  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3136
3137         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3138         arg/return type.
3139
3140         * paragraph.h: remove #include "lyxfont.h". Forward declare
3141         LyXFont_size.
3142
3143 2003-09-16  Angus Leeming  <leeming@lyx.org>
3144
3145         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3146         of support/textutils.h.
3147         (isWord): move the contents of support/textutils.h's IsWordChar here.
3148
3149         * buffer.C:
3150         * lyxfind.C:
3151         * rowpainter.C:
3152         * text.C:
3153         * text2.C: add #include "paragraph.h".
3154
3155         * rowpainter.C:
3156         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3157
3158 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * main.C:
3161         * lyx_main.C:
3162         * lyx_cb.C:
3163         * buffer.C:
3164         * LaTeX.C: use namespace alias for lyx::support::os
3165
3166 2003-09-16  Angus Leeming  <leeming@lyx.org>
3167
3168         * bufferparams.C:
3169         * bufferview_funcs.C:
3170         * factory.C:
3171         * lyxfunc.C:
3172         * paragraph_pimpl.C:
3173         * rowpainter.C:
3174         * text.C: add #include "LColor.h".
3175
3176 2003-09-16  Angus Leeming  <leeming@lyx.org>
3177
3178         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3179         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3180         return LyXFont &.
3181         Store the FontBits::color variable as an int rather than as an
3182         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3183         file.
3184
3185         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3186         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3187         string calls together.
3188
3189         * lyxrc.C: add #include "LColor.h".
3190
3191 2003-09-15  Angus Leeming  <leeming@lyx.org>
3192
3193         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3194         a cow_ptr.
3195
3196 2003-09-15  Angus Leeming  <leeming@lyx.org>
3197
3198         * LColor.h: add an EnumLColor wrapper for LColor::color.
3199
3200         * lyxfont.[Ch] (color, setColor, realColor):
3201         * lyxtext.h, text.C (backgroundColor):
3202         pass EnumLColor args to/from the functions, rather than LColor::color
3203         ones.
3204
3205         * lyxfont.h:
3206         * lyxtext.h: forward declare EnumLColor.
3207
3208         * lyx_main.C: add #include "LColor.h".
3209
3210 2003-09-15  Angus Leeming  <leeming@lyx.org>
3211
3212         * .cvsignore: add lyx-gtk.
3213
3214 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * Chktex.C
3217         * LaTeX.C
3218         * LaTeXFeatures.C
3219         * ParagraphParameters.C
3220         * Spacing.C
3221         * buffer.C
3222         * bufferparams.C
3223         * bufferview_funcs.C
3224         * chset.C
3225         * counters.C
3226         * funcrequest.C
3227         * lyxfont.C
3228         * lyxgluelength.C
3229         * lyxlength.C
3230         * paragraph.C
3231         * paragraph_funcs.C
3232         * text3.C
3233         * vc-backend.C: remove usage of STRCONV
3234
3235 2003-09-15  Angus Leeming  <leeming@lyx.org>
3236
3237         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3238         explicitly define the color passed to the painter.
3239
3240 2003-09-15  Angus Leeming  <leeming@lyx.org>
3241
3242         * bufferparams.C (BufferParams): reorder member initializers to avoid
3243         compiler warning.
3244
3245 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3246
3247         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3248         * text.C (updateRowPositions): remove an unusual nop
3249
3250 2003-09-12  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView_pimpl.C:
3253         * Bullet.C:
3254         * layout.h:
3255         * lyxfunc.C:
3256         * lyxlayout.[Ch]:
3257         * lyxtextclass.C:
3258         * rowpainter.C:
3259         * text.C:
3260         * text2.C:
3261         * Counters.[Ch]: finish the 'automatic counters' job
3262
3263 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3264
3265         * aspell.C: include <boost/assert.cpp> (compile fix)
3266
3267 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3268
3269         * boost.C (assertion_failed): use lyx::support::abort instead of
3270         assert.
3271
3272 2003-09-10  Angus Leeming  <leeming@lyx.org>
3273
3274         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3275         with their _fwd progeny.
3276
3277 2003-09-09  Angus Leeming  <leeming@lyx.org>
3278
3279         134 files throughtout the source tree: replace 'using namespace abc;'
3280         directives with the appropriate 'using abc::xyz;' declarations.
3281
3282 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3283
3284         * boost.C (emergencyCleanup): moved here from LAssert.c
3285         (assertion_failed): new function, called by BOOST_ASSERT
3286
3287         * several files: change Assert to BOOST_ASSERT
3288
3289 2003-09-09  Angus Leeming  <leeming@lyx.org>
3290
3291         * buffer.[Ch]: Add an Impl class and move Buffer's member
3292         variables into it. As a result move several header files out of
3293         buffer.h.
3294
3295         Add header files to lots of .C files all over the tree as a result.
3296
3297 2003-09-09  Angus Leeming  <leeming@lyx.org>
3298
3299         * buffer.[Ch]: make Buffer's member variables private. Add
3300         accessor functions.
3301
3302         Lots of changes all over the tree as a result.
3303
3304 2003-09-08  Angus Leeming  <leeming@lyx.org>
3305
3306         * graph.C: #include <config.h>.
3307
3308 2003-09-08  Angus Leeming  <leeming@lyx.org>
3309
3310         * BranchList.C:
3311         * BufferView.C:
3312         * BufferView_pimpl.C:
3313         * CutAndPaste.C:
3314         * DepTable.C:
3315         * LaTeX.C:
3316         * LaTeXFeatures.C:
3317         * LyXAction.C:
3318         * MenuBackend.C:
3319         * TextCache.C:
3320         * aspell.C:
3321         * buffer.C:
3322         * bufferlist.C:
3323         * changes.C:
3324         * chset.C:
3325         * converter.C:
3326         * counters.C:
3327         * debug.C:
3328         * graph.C:
3329         * ispell.C:
3330         * lyx_cb.C:
3331         * lyxfind.C:
3332         * lyxfunc.C:
3333         * lyxlex_pimpl.C:
3334         * lyxrc.C:
3335         * lyxrow.C:
3336         * paragraph.C:
3337         * rowpainter.C:
3338         * texrow.C:
3339         * text.C:
3340         * text2.C:
3341         * toc.C: remove redundant using directives.
3342
3343 2003-09-07  Angus Leeming  <leeming@lyx.org>
3344
3345         * LaTeXFeatures.h: remove #include "support/types.h".
3346         * ToolbarBackend.h: remove #include <algorithm>.
3347         * changes.h: remove #include <ctime>.
3348         * debug.h: remove #include <iosfwd>.
3349         * graph.h: remove #include "support/std_string.h".
3350         * lyx_main.h: remove #include <csignal>.
3351         * lyxlex_pimpl.h: remove #include <fstream>.
3352         * sgml.h: remove #include <algorithm>, <utility>.
3353         * toc.h: remove #include "support/std_ostream.h".
3354         Add #include <iosfwd>.
3355
3356 2003-09-07  Angus Leeming  <leeming@lyx.org>
3357
3358         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3359
3360         * converter.h: forward declare LatexRunParams.
3361         * encoding.h: remove #include "lyxrc.h".
3362         * lyxtext.h: remove #include "LColor.h".
3363         * lyxtextclass.h: remove #include "support/types.h".
3364         * trans.h: remove #include "tex-accent.h".
3365         * trans_mgr.h: remove #include "tex-accent.h".
3366         * insets/inset.h: remove #include "support/types.h", <vector>.
3367         * insets/insetcollapsable.h: remove #include "LColor.h".
3368         * insets/insetinclude.h: remove #include "dimension.h".
3369         * insets/insetlatexaccent.h: remove #include "dimension.h".
3370         * insets/insetoptarg.h:: remove #include "insettext.h".
3371         * insets/insettext.h: remove #include "dimension.h",
3372         <boost/shared_ptr.hpp>
3373
3374         * insets/renderers.h: add #include "dimension.h".
3375         * insets/updatableinset.h: add #include "support/types.h".
3376
3377         * many .C files: Associated changes.
3378
3379 2003-09-06  Angus Leeming  <leeming@lyx.org>
3380
3381         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3382         one, inside testInvariant.
3383
3384         * PrinterParams.C: new file.
3385         * PrinterParams.[Ch]: move the function bodies out of line.
3386
3387 2003-09-06  Angus Leeming  <leeming@lyx.org>
3388
3389         * ParagraphParameters.h: forward declare ParameterStruct rather than
3390         including its header file.
3391         (depth): moved out-of-line.
3392
3393 2003-09-06  Angus Leeming  <leeming@lyx.org>
3394
3395         * BufferView_pimpl.h:
3396         * kbmap.h:
3397         * kbsequence.h:
3398         * lyxfunc.h: forward declare LyXKeySym rather than
3399         #include "frontends/LyXKeySym.h".
3400
3401         * BufferView_pimpl.C:
3402         * kbmap.C:
3403         * kbsequence.C:
3404         * lyxfunc.C: associated changes.
3405
3406 2003-09-06  Angus Leeming  <leeming@lyx.org>
3407
3408         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3409         As a result, can remove the #include "insets/inset.h" from BufferView.h
3410
3411 2003-09-06  Angus Leeming  <leeming@lyx.org>
3412
3413         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3414         As a result, can remove the #include "insets/inset.h" from BufferView.h
3415
3416 2003-09-06  Angus Leeming  <leeming@lyx.org>
3417
3418         * buffer_funcs.C:
3419         * buffer.h:
3420         * bufferlist.C:
3421         * BufferView.C:
3422         * bufferview_funcs.C:
3423         * BufferView_pimpl.C:
3424         * CutAndPaste.C:
3425         * lyx_cb.C:
3426         * lyxfunc.C:
3427         * paragraph.h:
3428         * ParagraphParameters.C:
3429         * tabular.C:
3430         * text3.C:
3431         * toc.C:
3432         * undo_funcs.C:
3433         * frontends/controllers/ControlDocument.C:
3434         * insets/insetcaption.C: rearrange the #includes into some sort of
3435         coherent order.
3436
3437         * buffer.h: remove #includes ErrorList.h, undo.h
3438
3439 2003-09-06  Angus Leeming  <leeming@lyx.org>
3440
3441         * support/types.h: add a 'depth_type' typedef, used to store the
3442         nesting depth of a paragraph.
3443
3444         * paragraph.h:
3445         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3446         defining explicitly.
3447
3448         * buffer.h:
3449         * paragraph_funcs.h:
3450         * ParagraphParameters.h:
3451         * sgml.h: use lyx::depth_type rather than Paragraph or
3452         ParameterStruct's depth_type.
3453
3454         * buffer.h
3455         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3456
3457         * BufferView.C:
3458         * BufferView_pimpl.C:
3459         * CutAndPaste.C:
3460         * ParagraphParameters.C:
3461         * buffer_funcs.C:
3462         * bufferlist.C:
3463         * bufferview_funcs.C:
3464         * lyx_cb.C:
3465         * lyxfunc.C:
3466         * tabular.C:
3467         * text3.C:
3468         * toc.C:
3469         * undo_funcs.C:
3470         * frontends/LyXView.C:
3471         * frontends/controllers/ControlDocument.C:
3472         * frontends/controllers/ControlErrorList.C:
3473         * insets/insetbibitem.C:
3474         * insets/insetbranch.C:
3475         * insets/insetcaption.C:
3476         * insets/insetcollapsable.C:
3477         * insets/insetenv.C:
3478         * insets/insetert.C:
3479         * insets/insetfloat.C:
3480         * insets/insetfoot.C:
3481         * insets/insetfootlike.C:
3482         * insets/insetnewline.C:
3483         * insets/insetquotes.C:
3484         * insets/insettabular.C:
3485         * insets/insettext.C:
3486         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3487
3488         * frontends/controllers/ControlChanges.C: #include "changes.h".
3489
3490 2003-09-06  Angus Leeming  <leeming@lyx.org>
3491
3492         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3493         than #including paragraph.h.
3494
3495         * ParagraphList.h:
3496         * RowList.h: deleted. Superfluous.
3497
3498         * CutAndPaste.h:
3499         * iterators.h:
3500         * lyxcursor.h:
3501         * lyxtext.h:
3502         * text_funcs.h:
3503         * undo.h:
3504         * undo_funcs.h:
3505         * insets/inset.h:
3506         * insets/insettext.h: use ParagraphList_fwd.h rather than
3507         ParagraphList.h.
3508
3509         * paragraph.h: don't forward declare ParagraphList.
3510
3511         * buffer.h:
3512         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3513         rather than ParagraphList.h. paragraph.h is still needed for the
3514         Paragraph::depth_type parameters.
3515
3516         * textcursor.h: enable it to compile stand-alone in light of the
3517         above changes.
3518
3519         * bufferview_funcs.C:
3520         * iterators.C:
3521         * lyxfunc.C:
3522         * lyxrow_funcs.C:
3523         * paragraph.C:
3524         * rowpainter.C:
3525         * text.C:
3526         * text2.C:
3527         * text3.C:
3528         * text_funcs.C:
3529         * textcursor.C:
3530         * undo.C:
3531         * frontends/controllers/ControlParagraph.C:
3532         * frontends/controllers/ControlTabular.C:
3533         * insets/insetmarginal.C:
3534         * insets/insetminipage.C:
3535         * insets/insetnote.C:
3536         * insets/insetoptarg.C: add header files needed to compile again.
3537
3538 2003-09-06  Angus Leeming  <leeming@lyx.org>
3539
3540         * RowList_fwd.h: new file, forward-declaring Row rather than
3541         #including lyxrow.h.
3542
3543         * lyxrow_funcs.h:
3544         * lyxtext.h:
3545         * paragraph.h:
3546         * insets/insettext.h: use it instead of RowList.h
3547
3548         * bufferview_funcs.C:
3549         * lyxfunc.C:
3550         * lyxrow_funcs.C:
3551         * paragraph.C:
3552         * rowpainter.C:
3553         * text.C:
3554         * text2.C:
3555         * text3.C: #include "RowList.h".
3556
3557 2003-09-05  Angus Leeming  <leeming@lyx.org>
3558
3559         * factory.C (createInset):
3560         * vspace.C (c-tor): replace sscanf call with an istringstream.
3561         * ispell.C: re-add missing HP/UX headers.
3562         * lyxserver.C: re-add missing  os2 headers.
3563
3564 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3565
3566         * BranchList.C:
3567         * graph.C:
3568         * ispell.C:
3569         * lastfiles.C:
3570         * lyx_cb.C:
3571         * lyxserver.C:
3572         * texrow.C:
3573         * text3.C: re-add missing system headers, needed for 2.95.2.
3574
3575 2003-09-05  Angus Leeming  <leeming@lyx.org>
3576
3577         Changes most place everywhere due to the removal of using directives
3578         from support/std_sstream.h.
3579
3580 2003-09-05  Angus Leeming  <leeming@lyx.org>
3581
3582         Replace LString.h with support/std_string.h,
3583         Lsstream.h with support/std_sstream.h,
3584         support/LIstream.h with support/std_istream.h,
3585         support/LOstream.h with support/std_ostream.h.
3586
3587         Changes resulting throughout the tree.
3588
3589 2003-09-05  Angus Leeming  <leeming@lyx.org>
3590
3591         * sgml.h: ensure that the header file can be compiled stand-alone.
3592         * *.C: strip out redundant #includes. (320 in total.)
3593
3594 2003-09-04  Angus Leeming  <leeming@lyx.org>
3595
3596         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3597         here (from getPackages).
3598
3599         * debug.[Ch]: add a new EXTERNAL tag.
3600
3601 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3602
3603         * text2.C (cursorEnd): simplify
3604         (setCursor): adjust
3605         (getColumnNearX): adjust
3606
3607         * text.C (computeBidiTables): adjust
3608         (fill): adjust
3609
3610         * rowpainter.C (paintChars): adjust
3611         (paintSelection): adjust
3612         (paintChangeBar): adjust
3613         (paintText): adjust
3614
3615         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3616         lastPos instead.
3617         (numberOfSeparators): adjust
3618
3619 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * LyXAction.C:
3622         * box.[Ch]:
3623         * lfuns.h:
3624         * lyxfunc.C:
3625         * text3.C: Restricts the mouse click functionality
3626         of insets like bibtex, include, toc and floatlist to the visible
3627         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3628         up the dialogs. Cursor has to be in front of the inset (i.e.
3629         start of row) for this to function.
3630
3631 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3632
3633         * bufferview_funcs.C (currentState): output row information
3634
3635 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3636
3637         * bufferview_funcs.C (currentState): output paragraph position
3638
3639 2003-09-04  Angus Leeming  <leeming@lyx.org>
3640
3641         * FloatList.h: move out #include "Floating.h".
3642         * LaTeX.h: move out #include "DepTable.h".
3643         * LyXAction.h: move out #include "funcrequest.h".
3644         * buffer.h: move out #include "author.h", "iterators.h".
3645         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3646         * lyx_main.h: move out #include "errorlist.h".
3647         * lyxfunc.h: move out #include "FuncStatus.h".
3648         * lyxtext: move out #include "lyxcursor.h".
3649         * paragraph_pimpl.h: move out #include "counters.h".
3650
3651 2003-09-03  Angus Leeming  <leeming@lyx.org>
3652
3653         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3654         preamble_snippets list, enabling us to add snippets to the preamble
3655         only if the snippet was not there already.
3656
3657 2003-09-04  Angus Leeming  <leeming@lyx.org>
3658
3659         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3660
3661 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3664         update
3665
3666 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3667
3668         * BranchList.C: point fix, earlier forgotten
3669
3670 2003-09-02  Angus Leeming  <leeming@lyx.org>
3671
3672         * box.C (contains): renamed from 'contained' after a fantastic
3673         amount of hot air.
3674
3675 2003-09-02  John Levon  <levon@movementarian.org>
3676
3677         * BufferView.C:
3678         * lyxcursor.h:
3679         * lyxcursor.C:
3680         * lyxfunc.C:
3681         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3682
3683 2003-09-02  John Levon  <levon@movementarian.org>
3684
3685         * text2.C: simplification of cursorEnd(), including partial
3686         fix for bug 1376
3687
3688 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * buffer.C (readFile): add a space
3691
3692 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3695
3696 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * buffer.C (readFile): new function, take a filename and a
3699         ParagraphList::iterator
3700         (readFile): adjust
3701         (readFile): adjust, make it private. don't use setStream, make
3702         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3703         always contain the filename.
3704
3705         * BufferView.C (insertLyXFile): simplify and make it work for
3706         gzipped files.
3707
3708 2003-08-30  John Levon  <levon@movementarian.org>
3709
3710         * Makefile.am: fix dist (from Kayvan)
3711
3712 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * most files: change to use const Buffer refs
3715
3716 2003-08-27  André Pönitz  <poenitz@gmx.net>
3717
3718         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3719         on top of ownerPar().
3720
3721 2003-08-27  John Levon  <levon@movementarian.org>
3722
3723         * funcrequest.C: properly initialise POD members
3724
3725 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * lyxtext.h (top_y): move top_y from here
3728         * text.C:
3729         * text2.C:
3730         * text3.C:
3731         * BufferView.[Ch]:
3732         * BufferView_pimpl.[Ch]: to here
3733         * frontends/screen.C:
3734         * insets/insettabular.C:
3735         * insets/insettext.C: adjust
3736         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3737
3738 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * BufferView.[Ch]:
3741         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3742
3743 2003-08-26  André Pönitz  <poenitz@gmx.net>
3744
3745         * paragraph_func.[Ch] (outerPar): new function
3746
3747         * paragraph.C:
3748         * paragraph_funcs.C:
3749         * paragraph_funcs.h:
3750         * paragraph_pimpl.C:
3751         * text2.C: remove Inset::par_owner
3752
3753 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3754
3755         * lyxrow_funcs.C:
3756         * lyxtext.h:
3757         * text.C:
3758         * text2.C: eliminates the needFullRow/display() stuff
3759         altogether, putting the logic in metrics/draw in the insets.
3760
3761 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * text2.C (redoParagraphInternal, redoParagraphs):
3764         * text.C (redoParagraph): add a call to updateRowPositions at the
3765         end of each 'metrics-like' call. Remove all others.
3766         (getRow): remove the 'y-computing' version.
3767         (getRowNearY): do not compute nor return the real y. Solve the
3768         'y < 0' problem and simplify.
3769
3770 2003-08-22  Angus Leeming  <leeming@lyx.org>
3771
3772         * *.[Ch]: clean-up of licence and author blurbs.
3773         Also move config.h out of a few .h files and into a few .C files.
3774
3775 2003-08-22  André Pönitz  <poenitz@gmx.net>
3776
3777         * lyxrow.[Ch]: add x_ and *fill_ members
3778
3779         * lyxtext.h:
3780         * text.C:
3781         * rowpainter.C:
3782         * text2.C: adjust/remove prepareToPrint() calls
3783
3784 2003-08-22  André Pönitz  <poenitz@gmx.net>
3785
3786         * lyxrow.[Ch]: add  end_ member
3787
3788         * lyxrow_funcs.C: use LyXRow::end_
3789
3790         * lyxtext.h (singleWidth): add LyXFont parameter
3791
3792         * rowpainter.C:
3793         * text2.C: adjust LyXText::singleWidth() calls
3794
3795         * text.C (redoParagraph): simplify row breaking logic
3796
3797
3798 2003-08-19  André Pönitz  <poenitz@gmx.net>
3799
3800         * funcrequest.C: initialize button_ member
3801
3802         * text3.C:
3803         * rowpainter.[Ch]: interface consolidation
3804
3805 2003-08-18  André Pönitz  <poenitz@gmx.net>
3806
3807         * BufferView.C:
3808         * BufferView_pimpl.C:
3809         * lyxfind.C:
3810         * paragraph_funcs.C:
3811         * rowpainter.C:
3812         * text3.C: remove LyXScreen::draw() and fitCursor calls
3813
3814         * BranchList.h: remove spurious semicolons
3815
3816         * MenuBackend.C: fix branchlist related crash
3817
3818 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * BranchList.[Ch]:
3821         * InsetList.[Ch]:
3822         * LColor.[Ch]:
3823         * LyXAction.C:
3824         * Makefile.am:
3825         * MenuBackend.[Ch]:
3826         * bufferparams.[Ch]:
3827         * factory.C:
3828         * lfuns.h:
3829         * lyxfunc.C:
3830         * text3.C: implements the 'branch inset'
3831         idea. This allows the output of various versions of a document
3832         from a single source version, selectively outputing or suppressing
3833         output of parts of the text.
3834         This implementation contains a 'branch list editor' in a separate
3835         tab of the document settings dialog. Branches are user definable
3836         and have a "display colour" to distinguish them on-screen.
3837
3838         ColorHandler was somewhat cleaned up.
3839         (1) make possible a dynamically growing LColor list by allowing
3840         the graphic context cache to grow along (vector);
3841         (2) eliminate an IMHO unnecessary step in colour allocation.
3842
3843 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3844
3845         * BufferView_pimpl.C: compile fix
3846
3847 2003-08-15  André Pönitz  <poenitz@gmx.net>
3848
3849         * rowpainter.C: remove extra metrics calls
3850
3851         * lyxtext.h: merge the two constructors into a single one,
3852           pass reference to owner's par list
3853
3854         * BufferView_pimpl.C:
3855         * text.C:
3856         * text2.C: adjust
3857
3858 2003-08-15  André Pönitz  <poenitz@gmx.net>
3859
3860         * lyxrow_funcs.[Ch]:
3861         * lyxtext.h:
3862         * paragraph.h:
3863         * paragraph_funcs.C:
3864         * rowpainter.C:
3865         * text.C:
3866         * text2.C:
3867         * text3.C:
3868         * text_funcs.C: split LyXText::rowlist_ into individual
3869         Paragraph::rows_ chunks
3870
3871         * BufferView.[Ch]:
3872         * BufferView_pimpl.[Ch]:
3873         * lyxfind.C:
3874         * lyxtext.h:
3875         * text3.C: remove toggleSelection()
3876
3877 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3878
3879         * bufferlist.C: beautify two alerts (shorter text of buttons)
3880         * buffer.C: Remove redundant ' ' from message
3881         * tabular.h:
3882         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3883         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3884         rename VALIGN_CENTER to VALIGN_MIDDLE
3885
3886 2003-08-11  André Pönitz  <poenitz@gmx.net>
3887
3888         * lyxtext.h (getPar):
3889         * text.C: new function
3890
3891 2003-08-11  André Pönitz  <poenitz@gmx.net>
3892
3893         * Makefile.am:
3894         * tracer.[Ch]: remove unneeded files
3895
3896         * InsetList.[Ch]: remove resizeInsetsLyXText()
3897
3898         * lyxtext.h:
3899         * text.C:
3900         * text2.C:
3901         * text3.C: merge insertParagraphs() and appendParagraph()
3902         remove breakAgain(), update()
3903
3904         * BufferView_pimpl.[Ch]:
3905         * bufferview_funcs.[Ch]:
3906         * lyxfunc.C:
3907         * paragraph.[Ch]:
3908         * rowpainter.C:
3909         * tabular.C: adjust after text & InsetList changes.
3910
3911 2003-08-08  André Pönitz  <poenitz@gmx.net>
3912
3913         * text.C (insertChar, backspace): replace rowlist fiddling
3914         with rebreak of full par
3915
3916         * lyxtext.h:
3917         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3918         checkParagraph, updateInset): removed
3919
3920 2003-08-07  André Pönitz  <poenitz@gmx.net>
3921
3922         * paragraph.C:
3923         * text3.C: merge some LFUN handlers, remove dead code
3924
3925 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3926
3927         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3928
3929 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * text2.C (DEPM): fix part of bug 1255 and 1256
3932
3933 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3934
3935         * BufferView_pimpl.C (workAreaDispatch): change to use
3936         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3937         that are no mouse related.
3938
3939 2003-08-05  André Pönitz  <poenitz@gmx.net>
3940
3941         * BufferView.[Ch]:
3942         * BufferView_pimpl.[Ch]:
3943         * bufferview_funcs.C:
3944         * text2.C:
3945         * text3.C: rip out "deep update"
3946
3947         * textcursor.[Ch] (last_sel_cursor): remove unused member
3948
3949 2003-08-04  André Pönitz  <poenitz@gmx.net>
3950
3951         * BufferView.[Ch]:
3952         * BufferView_pimpl.[Ch]:
3953         * ParagraphParameters.C:
3954         * bufferview_funcs.C:
3955         * lyx_cb.C:
3956         * lyxfind.C:
3957         * lyxfunc.C:
3958         * text.C:
3959         * text2.C:
3960         * text3.C: replace "complicated" BufferView::update(...) calls with
3961         simpler ones.
3962
3963         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3964
3965 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3966
3967         * Makefile.am (lyx_SOURCES): add paper.h
3968
3969 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3970
3971         * Makefile.am: move things around so that both lyx-qt and
3972         lyx-xforms can be built (according to --with-frontend). Then lyx
3973         is a symbolic link to lyx-[firstfrontend]
3974
3975 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3976
3977         * Always use std::endl with lyxerr
3978
3979 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3980
3981         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3982
3983 2003-08-01  André Pönitz  <poenitz@gmx.net>
3984
3985         * BufferView.[Ch]:
3986         * BufferView_pimpl.[Ch]:
3987         * lyxfunc.C:
3988         * text3.C: merge BufferView::repaint() and BufferView::update()
3989
3990 2003-08-01  José Matos  <jamatos@lyx.org>
3991
3992         * buffer.[Ch]: file_format is no longer a buffer data element.
3993
3994 2003-08-01  André Pönitz  <poenitz@gmx.net>
3995
3996         * BufferView.C:
3997         * lyxtext.h:
3998         * text.C:
3999         * text2.C: make redoParagraph more independent of current cursor
4000
4001         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4002         * text.C:
4003         * text2.C: remove unneeded members
4004
4005 2003-07-30  André Pönitz  <poenitz@gmx.net>
4006
4007         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4008
4009         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4010           create a single function...
4011
4012         * paragraph_funcs.C (moveItem): ... here.
4013
4014         * text.C:
4015           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4016
4017 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4018
4019         * LColor.[Ch]: Add comment and greyedout logical colors.
4020
4021 2003-07-30  André Pönitz  <poenitz@gmx.net>
4022
4023         * tabular.C: don't use Assert too heavily. This crashes where it
4024           shouldn't
4025
4026 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4029         is disabled (bug 1232)
4030
4031 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4032
4033         * factory.C: limited 'arg' scope
4034
4035 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4036
4037         * factory.C: fixed Note submenu issues
4038
4039 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4040
4041         * factory.C: submenu for Note/Comment/Greyedout
4042
4043 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * lyx_main.C (LyX):
4046         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4047
4048 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4049
4050         * LaTeXFeatures.C:
4051         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4052         greyedout. Patch provided by Jürgen Spitzmüller.
4053
4054 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4055
4056         * kbmap.C (read): fix error message when reading bind files
4057
4058 2003-07-29  Angus Leeming  <leeming@lyx.org>
4059
4060         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4061         certainly does not do what it purports to do. I am doing it, and
4062         us, a favour by killing it.
4063
4064 2003-07-28  José Matos  <jamatos@lyx.org>
4065
4066         * buffer.C (readBody, do_writeFile):
4067         * paragraph.C(readParagraph): \end_document replaces \the_end.
4068
4069 2003-07-29  André Pönitz  <poenitz@gmx.net>
4070
4071         * BufferView.[Ch]:
4072         * BufferView_pimpl.[Ch]:
4073         * lyxfunc.C:
4074         * text2.C:
4075         * text3.C:
4076         * textcursor.[Ch]: remove toggleToggle & Co
4077
4078 2003-07-28  José Matos  <jamatos@fep.up.pt>
4079
4080         * buffer.C (readParagraph):
4081         * params_func (readParToken, readParagraph):
4082         * paragraph.C (write): \layout -> \begin_layout.
4083
4084 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * lyxlex_pimpl.C (setFile): clean up slightly.
4087
4088         * bufferparams.h: add compressed var
4089
4090         * buffer_funcs.C (readFile): adjust for LyXLex change
4091         (newFile): ditto + simplify
4092
4093         * buffer.C (writeFile): handle writing of compressed files
4094
4095         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4096         Check if the file is compressed and set a bufferparm if so.
4097
4098         * Makefile.am (lyx_LDADD): remove explicit -lz
4099
4100 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4101
4102         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4103         makeDocBookFile): put the real LyX version in the first line of
4104         the file
4105
4106         * version.h:
4107         * version.C.in: remove lyx_docversion
4108
4109         * tabular.C (write_attribute): add a template-based version to
4110         write enums properly
4111
4112 2003-07-28  André Pönitz  <poenitz@gmx.net>
4113
4114         * lyxtext.h:
4115         * text.C:
4116         * text2.C:
4117         * text3.C: use doubles again for x-coordinates. They are needed.
4118
4119 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * messages.C (getLocaleDir): use lyx_localedir()
4122
4123         * lyxlex_pimpl.C (setFile): compress stuff
4124
4125         * buffer.C (writeFile): add some compression stuff
4126         (do_writeFile): new func, dont call expliti close... will this
4127         breake anything?
4128
4129         * Makefile.am (lyx_LDADD): add -lz
4130
4131 2003-07-28  José Matos  <jamatos@fep.up.pt>
4132
4133         * buffer.C: increment file format.
4134         * paragraph_funcs (readParagraph, readParToken):
4135         * paragraph.C (readParagraph): add \end_layout.
4136
4137 2003-07-27  Angus Leeming  <leeming@lyx.org>
4138
4139         * Makefile.am: remove special casing for configure-time setting of
4140         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4141
4142         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4143         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4144
4145 2003-07-26  André Pönitz  <poenitz@gmx.net>
4146
4147         * paragraph_func.[Ch]:
4148         * paragraph.C (realizeFont): inline it whereever it is used
4149
4150         * rowpainter.C:
4151         * text.C:
4152         * text2.C:
4153         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4154
4155
4156 2003-07-26  André Pönitz  <poenitz@gmx.net>
4157
4158         *       lyxtext.h:
4159         * text.C:
4160         * text2.C: get rid of LyXText::need_break_row
4161
4162 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * toc.[Ch]: put namespace toc inside namespace lyx
4165
4166         * MenuBackend.C (expandToc2): adjust for lyx::toc
4167         (expandToc): ditto
4168
4169         * lyxfunc.C (dispatch): adjust for lyx::find
4170
4171         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4172         lyx::find instead. Reorganize a bit.
4173         (LyXReplace): rename to replace
4174         (LyXFind): rename to find
4175
4176         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4177         (dispatch): ditto
4178
4179 2003-07-26  André Pönitz  <poenitz@gmx.net>
4180
4181         * text.C (setHeightOfRow): restrict scope of temporary variable
4182
4183         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4184           code (never has been used?)
4185
4186 2003-07-27  Asger Alstrup  <alstrup@local>
4187
4188         * text.C (fill): Optimise algorithm to exploit that we can reuse
4189         the LyXFont for many characters.
4190         (setHeightOfRow): Same thing.
4191         (rowBreakPoint): Same thing.
4192
4193 2003-07-26  Asger Alstrup  <alstrup@local>
4194
4195         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4196
4197         * text.C (singleWidth): Spurious font copying in hot-spot
4198         singleWidth avoided. Reorder tests for arabic for efficiency.
4199
4200         * text.C (fill): handle empty paragraphs better.
4201
4202 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4203
4204         * ispell.C:
4205         * encoding.h: add includes
4206
4207         * lyxrc.C: remove reading of bind files
4208
4209         * lyx_main.C (init): setup bindings and menus only if we have a
4210         gui.
4211
4212         * kbmap.C (read): new method. Do the actual reading of bind
4213         files.
4214
4215         * converter.C (dvipdfm_options):
4216         * bufferparams.C:
4217         * lyxrc.C (read):
4218         (output): adapt PAPER_* enums.
4219
4220         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4221
4222         * bufferparams.h: remove paper-related enums from there
4223
4224         * paper.h: New file. A trivial header file to hold paper-related
4225         enums. It should later expand to contain many paper-related
4226         horrors access.
4227
4228         * lyxrc.C: declare extern displayTranslator
4229
4230 2003-07-27  José Matos  <jamatos@fep.up.pt>
4231
4232         * tabular.[Ch] (linuxdoc): add support for tables and figures
4233         (linuxdoc).
4234
4235 2003-07-27  José Matos  <jamatos@fep.up.pt>
4236
4237         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4238         consistency in both functions.
4239         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4240
4241 2003-07-26  Asger Alstrup  <alstrup@local>
4242
4243         * rowpainter.C (paintRows): Change algorithm to work directly on
4244         the insets rather than asking every character in the document
4245         whether its an inset.
4246
4247 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4248
4249         * buffer.C (openFileWrite): factorize some code
4250
4251 2003-07-26  Angus Leeming  <leeming@lyx.org>
4252
4253         * lyx_cb.C:
4254         * lyx_main.[Ch]: replace occurances of system_tempdir with
4255         os::getTmpDir().
4256
4257 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * rename Inset to InsetOld
4260
4261 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4262
4263         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4264         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4265         which I think is a bit clearer. EDIT is gone, since it was
4266         premature optimisation, and broken for mathed anyway.
4267         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4268         with cursor positioning in insets as well (math insets still do not
4269         work, but that's a different story anyway.) It mysteriously
4270         crashes sometimes with undo in the first paragraph, but I'm fairly
4271         confident that this is a compiler bug.
4272
4273 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * paragraph.C (Paragraph): adjust for new clone return type
4276         (operator==): ditto
4277         (copyIntoMinibuffer): ditto
4278
4279 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4280
4281         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4282         by not having a special case, and always doing a full rebreak of
4283         the document after undo.
4284
4285 2003-07-23  Angus Leeming  <leeming@lyx.org>
4286
4287         * factory.C (createInset): InsetExternal::setParams now takes a
4288         Buffer const * arg.
4289
4290 2003-07-23  Angus Leeming  <leeming@lyx.org>
4291
4292         * factory.C (createInset): changed interface to the external and
4293         graphics mailers' string2params functions.
4294
4295 2003-07-23  Angus Leeming  <leeming@lyx.org>
4296
4297         * factory.C (createInset): pass a
4298         Buffer const * parameter to InsetExternalMailer's string2params.
4299
4300 2003-07-22  John Levon  <levon@movementarian.org>
4301
4302         * Thesaurus.h: include the right aiksaurus header
4303
4304 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4305
4306         * MenuBackend.C (expand): check menu shortcuts unconditionally
4307
4308 2003-07-21  Angus Leeming  <leeming@lyx.org>
4309
4310         * factory.C (createInset): pass a
4311         buffer_path parameter to InsetGraphicsMailer's string2params.
4312
4313 2003-07-21  Angus Leeming  <leeming@lyx.org>
4314
4315         * BufferView_pimpl.C (buffer):
4316         * buffer.C (d-tor):
4317         * lyx_main.C (LyX):
4318         * lyxfunc.C (dispatch):
4319         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4320         rather than the grfx shortcut.
4321
4322 2003-07-21  André Pönitz  <poenitz@gmx.net>
4323
4324         * rowpainter.C: remove unused variables
4325
4326         * tabular_funcs.C:
4327         * tabular_funcs.h: move to tabular.C
4328         * Makefile.am: adjust
4329
4330         * tabular.[Ch]: basic optical cleaning
4331
4332         * author.h: pass references, not values
4333
4334 2003-07-18  André Pönitz  <poenitz@gmx.net>
4335
4336         * lyxtext.h:
4337         * metricsinfo.C:
4338         * metricsinfo.h:
4339         * rowpainter.C:
4340         * text.C:
4341         * text2.C:
4342         * text3.C: two-phase drawing for InsetText and InsetTabular
4343         some float -> int changes.
4344
4345 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * lyx_main.C: fix the fix
4348
4349 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4350
4351         * lyx_main.C: fix a crash in batch mode if no files specified
4352         * converter.C: ws
4353
4354 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * format.[Ch] (papersize): moved to BufferParams
4357         * converter.[Ch] (dvips_options): moved to BufferParams
4358         (dvipdfm_options): moved to anon namespace
4359         * bufferparams.[Ch]: added above functions.
4360
4361 2003-07-17  André Pönitz  <poenitz@gmx.net>
4362
4363         * lyxtext.h:
4364         * rowpainter.C:
4365         * text2.C: don't call inset->update() anymore
4366
4367         * metricsinfo.[Ch]: add convenience constructor
4368
4369 2003-07-16  André Pönitz  <poenitz@gmx.net>
4370
4371         * lyxcursor.[Ch]:
4372         * lyxfunc.[Ch]:
4373         * text.C:
4374         * text2.C: replace the LyXCursor::irow_ member with
4375          on-demand computation of the value
4376
4377 2003-07-16  John Levon  <levon@movementarian.org>
4378
4379         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4380
4381 2003-07-15  André Pönitz  <poenitz@gmx.net>
4382
4383         * text.C:
4384         * text2.C: remove no more needed refresh_row
4385
4386 2003-07-15  André Pönitz  <poenitz@gmx.net>
4387
4388         * lyxtext.h:
4389         * rowpainter.C:
4390         * text2.C:
4391         * text3.C: refresh_status tristate -> need_update bool
4392
4393 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * lyxtext.h (init): remove reinit argument (act as if always true)
4396         * text2.C: adjust to that
4397
4398 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4399
4400         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4401         * text3.C: use it to delete selections in some cases
4402         (bugs 441, 673, 702, 954).
4403
4404 2003-07-14  André Pönitz  <poenitz@gmx.net>
4405
4406         * rowpainter.[Ch]: reduce interface
4407
4408 2003-07-14  André Pönitz  <poenitz@gmx.net>
4409
4410         * BufferView_pimpl.C:
4411         * text2.C: adjust after removing unused BufferView * argument
4412
4413 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4414
4415         * text2.C (init): fix a crash fired on resize
4416
4417 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4418
4419         * buffer.[Ch]: added new closing signal
4420         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4421         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4422         BufferView::Pimpl via the closing the signal
4423
4424 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4425
4426         * buffer.[Ch]: take out all bv-related from buffer
4427         * BufferView.C:
4428         * BufferView_pimpl.[Ch]: connect to new signals
4429         * CutAndPaste.C: removed useless asserts
4430         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4431         * lyxvc.[Ch]:
4432         * vc-backend.[Ch]:
4433         * lyxfunc.C: moved view-related funciontality from vc here
4434         * paragraph.C: removed outdated comments
4435         * text.C: ws
4436
4437 2003-07-10  André Pönitz  <poenitz@gmx.net>
4438
4439         * BufferView_pimpl.C:
4440         * tabular.h:
4441         * tabular_funcs.C:
4442         * text.C:
4443         * text2.C: remove InsetText::InnerCache, clean up consequences
4444
4445 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4446
4447         * ispell.C: fix two typos in error messages
4448
4449 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4450
4451         * Extend Note inset to other forms of annotation like Comment
4452         and Greyedout. Right button click gives dialog.
4453
4454         Files modified or added (+):
4455
4456         * insetnote.[Ch]
4457         * FormNote.[Ch]      +
4458         * ControlNote.[Ch]   +
4459         * form_note.fd       +
4460         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4461         frontends/controllers
4462         * xforms/Dialogs.C
4463         * factory.C
4464
4465 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4466
4467         * aspell.C: add missing namespace lyx::support
4468
4469 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * BufferView.[Ch] (newFile): Add
4472         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4473         * LaTeX.[Ch] (message): added this signal and use it
4474         * buffer.[Ch] (busy, message): added these signals and use them
4475         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4476         * converter.C:
4477         * exporter.C:
4478         * format.C:
4479         * importer.C: use buffer signals instead of direct bv calling
4480         * lyx_cb.[Ch] (ShowMessage): removed
4481         * lyx_main.C:
4482         * lyxfunc.C:
4483         * paragraph_funcs.C:
4484         * text2.C: use buffer signals
4485
4486 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * introduce namespace lyx::graphics
4489
4490 2003-07-02  André Pönitz  <poenitz@gmx.net>
4491
4492         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4493
4494 2003-07-01  André Pönitz  <poenitz@gmx.net>
4495
4496         * text.C:
4497         * text2.C:
4498         * text3.C:
4499         * text_funcs.[Ch]:
4500         * textcursor.h:
4501         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4502           text*.C to text_func.C
4503
4504 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * introduce namespace lyx::support
4507
4508 2003-06-30  André Pönitz  <poenitz@gmx.net>
4509
4510         * Chktex.C:
4511         * funcrequest.C:
4512         * lyxtext.h:
4513         * text.C: re-enable --with-included-string
4514
4515 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * textcursor.C: add <config.h>
4518
4519         * text.C (getWord): remove const from word_location arg
4520
4521         * lyxvc.C (getLogFile): fix const type order
4522
4523         * lyxtext.h: remove const from word_location arg, add arg name
4524
4525         * lyxlayout.h: currect type on labeltype.
4526
4527         * importer.C: correct \file
4528
4529         * converter.C (intToFormat): use std:: on ret val, ws changes
4530
4531         * bufferlist.h: correct \file
4532
4533         * buffer.C (makeLinuxDocFile): fix const type order
4534         (makeDocBookFile): ditto
4535         (fillWithBibKeys): use std:: on stdlib args.
4536
4537         * CutAndPaste.C: fix authors.
4538         (availableSelections): use std:: on return vector
4539
4540 2003-06-27  André Pönitz  <poenitz@gmx.net>
4541
4542         * BufferView_pimpl.C:
4543         * bufferview_funcs.C:
4544         * lyxcursor.C:
4545         * lyxcursor.h:
4546         * lyxfunc.C:
4547         * lyxtext.h:
4548         * rowpainter.C:
4549         * text.C:
4550         * text2.C:
4551         * text3.C: remove LyXCursor::row_ member
4552
4553         * lyxtext.h:
4554         * text.C: rename fullRebreak() to partialRebreak() and implement
4555           a fullRebreak() that really bereks fully
4556
4557         * textcursor.h: new struct for cursor-related data
4558
4559 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4560
4561         * lyx_main.C (LyX): get full path of document loaded on the
4562         command line
4563
4564 2003-06-26  André Pönitz  <poenitz@gmx.net>
4565
4566         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4567           remove unused/broken operator>,<,>=.
4568
4569         *       text.C: remove only use of broken operator<= in an Assert().
4570
4571 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4572
4573         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4574         moved errorlist_.clear to showErrorList
4575
4576 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4577
4578         * converter.C (scanLog, runLaTeX):
4579         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4580         move the bv->showErrorList call to the callers
4581         * lyxfunc.C: i.e. here...
4582         * text2.C: and here
4583         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4584         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4585         namespace, the second to...
4586         * buffer_funcs (BufferFormat, parseErrors): added
4587         * errorlist.C (ErrorList(TeXErrors const &)): removed
4588
4589 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4590
4591         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4592
4593 2003-06-24  "Garst R. Reese" <reese@isn.net>
4594
4595         * debug.C: fix typo
4596
4597 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4598
4599         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4600
4601         * version.C.in: change docversion to 1.4
4602
4603 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * buffer.C: fix a bug just introduced
4606
4607 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * buffer.[Ch]: added the parseError signal and use it, removed
4610         sgmlError
4611         * BufferView.[Ch] (addError): moved to ...
4612         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4613         to the Buffer::parseError signal to catch (guess what) parse errors
4614         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4615
4616 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4619         ability to create a buffer and to return an existing one from
4620         the list. Moved these functions to...
4621         * buffer_funcs.[Ch]: added
4622         * BufferView.[Ch] (loadLyXFile): added
4623         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4624         job removed from bufferlist::loadLyXFile.
4625         * buffer.C (setReadOnly): make it work without view
4626         (i.e added an if (users))
4627
4628 2003-06-19  Angus Leeming  <leeming@lyx.org>
4629
4630         * lfuns.h:
4631         * LyXAction.C (init):
4632         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4633         with LFUN_DIALOG_SHOW <name> <data>.
4634
4635 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4636
4637         * CutAndPaste.C (availableSelections): small compilation fix for
4638         ancient (gcc 2.9x) compilers
4639
4640 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * text3.C (cursorNext): add tmp var
4643
4644         * text2.C (updateCounters): for function calling out of for clause
4645         (replaceSelectionWithString): ditto
4646         (insertStringAsParagraphs): ditto
4647         (getColumnNearX): add tmp var
4648         (setCursorFromCoordinates): add tmp var
4649         (cursorDownParagraph): add tmp var
4650         (deleteEmptyParagraphMechanism): add tmp var
4651
4652         * text.C (insertChar): add tmp var
4653
4654         * rowpainter.C (paintDepthBar): add tmp var
4655
4656         * CutAndPaste.C (availableSelections): potentially check all
4657         paragraphs in a cut to fill the shown strings.
4658
4659 2003-06-18  André Pönitz  <poenitz@gmx.net>
4660
4661         * kbmap.[Ch]: use vector<> instead of list<>
4662
4663 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4664
4665         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4666         pasteSelection with index
4667
4668         * text2.C (pasteSelection): modify, call pasteSelection with index
4669
4670         * paragraph.C (asString): reimplement version with no interval to
4671         call the one with interval.
4672
4673         * lyxtext.h: add index arg to pasteSelection
4674
4675         * MenuBackend.C (MenuItem): handle PasteRecent
4676         (Menu::read::Menutags): add md_pasterecent
4677         (read): handle it
4678         (expandPasteRecent): new function
4679         (expand): use it
4680
4681         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4682
4683         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4684         the limited stack
4685         (availableSelections): new function
4686
4687 2003-06-17  Angus Leeming  <leeming@lyx.org>
4688
4689         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4690
4691 2003-06-17  Angus Leeming  <leeming@lyx.org>
4692
4693         * lfuns.h:
4694         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4695
4696         * lyxfunc.C (dispatch): invoke it.
4697
4698 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4699
4700         * iterators.C (operator++, ParPosition): reintroduce some
4701         const_cast for the benefit of older compilers.
4702
4703 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4704
4705         * text3.C (dispatch): do not modify clipboard when doing
4706         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4707         LFUN_DELETE_SKIP on a selection selection
4708
4709 2003-06-16  André Pönitz  <poenitz@gmx.net>
4710
4711         * BufferView.C:
4712         * buffer.C:
4713         * buffer.h:
4714         * paragraph.C:
4715         * tabular.[Ch]: IU of clone() and getLabelList();
4716
4717 2003-06-13  André Pönitz  <poenitz@gmx.net>
4718
4719         * tabular.h: compactification
4720
4721 2003-06-12  André Pönitz  <poenitz@gmx.net>
4722
4723         * tabular.C:
4724         * tabular.h:
4725         * tabular_funcs.h: some renaming plus whitespace
4726
4727 2003-06-12  André Pönitz  <poenitz@gmx.net>
4728
4729         * BufferView.C:
4730         * BufferView_pimpl.C:
4731         * CutAndPaste.C:
4732         * buffer.C:
4733         * iterators.[Ch]:
4734         * lyxfunc.C:
4735         * text.C:
4736         * toc.C: Return a Paragraph & for ParIterator::operator*()
4737
4738 2003-06-11  John Levon  <levon@movementarian.org>
4739
4740         * lyx_main.C:
4741         * ToolbarBackend.h:
4742         * ToolbarBackend.C: add "Toolbars" section and
4743         put the flags there
4744
4745 2003-06-10  Angus Leeming  <leeming@lyx.org>
4746
4747         * lfuns.h:
4748         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4749
4750         * lyxfunc.C (dispatch): invoke it.
4751
4752 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * main.C: protect <ios> with HAVE_IOS
4755         (main): protect sync_with_stdio with HAVE_IOS
4756
4757 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4758
4759         * text2.C (cutSelection): adjust
4760         (pasteSelection): adjust
4761
4762         * messages.C: handle get of empty string
4763
4764         * main.C (main): use sync_with_stdio(false)
4765
4766         * lyxfunc.C (dispatch): adjust
4767
4768         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4769         (WriteAs): remove unneeded BufferView arg.
4770
4771         * bufferparams.h: use correct types on papersize, papersize2 and
4772         paperpackage.
4773
4774         * bufferparams.C (readToken): adjust for type
4775         (writeLaTeX): add missing cases to switch.
4776
4777         * bufferlist.C (quitWriteBuffer): adjust
4778         (close): adjust
4779
4780         * buffer.C (asciiParagraph): remove some commented code.
4781
4782         * CutAndPaste.C: remove current_view extern variable.
4783         (cutSelection): add BufferParams arg.
4784         (eraseSelection): add BufferParams arg.
4785         (pasteSelection): add Buffer const & arg
4786
4787 2003-06-07  John Levon  <levon@movementarian.org>
4788
4789         * buffer.C:
4790         * paragraph_funcs.C:
4791         * paragraph_pimpl.C:
4792         * text.C:
4793         * text2.C:
4794         * paragraph.h:
4795         * paragraph.C: allow InsetERT to freely space lines,
4796         and some consolidation of code
4797
4798 2003-06-06  José Matos  <jamatos@fep.up.pt>
4799
4800         * buffer.C (makeDocBookFile): fix bug #821
4801
4802 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4805
4806 2003-06-04  Angus Leeming  <leeming@lyx.org>
4807
4808         * buffer.C: bump format to 224.
4809
4810 2003-06-05  André Pönitz  <poenitz@gmx.net>
4811
4812         * text2.C (redoParagraphs): remove two const_cast<>
4813
4814 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4815
4816         * ParagraphList.h: remove last remnants of NO_STD_LIST
4817
4818 2003-06-03  Angus Leeming  <leeming@lyx.org>
4819
4820         * factory.C (createInset): small change to the way InsetExternal's params
4821         are set.
4822
4823 2003-06-04  André Pönitz  <poenitz@gmx.net>
4824
4825         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4826
4827         * paragraph_pimpl.h:
4828         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4829
4830         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4831
4832         * undo_funcs.C: make some simple cases of undo work again
4833
4834 2003-06-03  John Levon  <levon@movementarian.org>
4835
4836         * ispell.C: HPUX doesn't have sys/select.h
4837         (from Albert Chin)
4838
4839 2003-06-03  John Levon  <levon@movementarian.org>
4840
4841         * CutAndPaste.C: update tabular and include inset
4842         buffer references
4843
4844         * buffer.h:
4845         * paragraph.h:
4846         * paragraph.C: remove owningBuffer(), don't pass Buffer
4847         to clone()
4848
4849         * factory.C: insetGraphicsParams changed
4850
4851 2003-06-02  John Levon  <levon@movementarian.org>
4852
4853         * LyXAction.C:
4854         * factory.C:
4855         * lfuns.h:
4856         * lyxfunc.C:
4857         * text3.C: remove insetparent
4858
4859 2003-06-02  John Levon  <levon@movementarian.org>
4860
4861         * buffer.h:
4862         * buffer.C: fix inset_iterator.end(), move out of line
4863         (bug 1149)
4864
4865 2003-06-01  John Levon  <levon@movementarian.org>
4866
4867         * text3.C: use a proper cut/paste when doing inset
4868         insert (from Jürgen Spitzmüller)
4869
4870 2003-06-01  John Levon  <levon@movementarian.org>
4871
4872         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4873
4874 2003-05-30  André Pönitz  <poenitz@gmx.net>
4875
4876         * rowpainter.C: unify second drawing phase
4877
4878 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * trans_mgr.C: remove one case of current_view
4881
4882         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4883
4884         * paragraph_funcs.h: remove paragraph.h include
4885
4886         * paragraph.h: delete NO_STD_LIST stuff
4887
4888         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4889
4890         * buffer.h: remove paragraph.h include
4891
4892         * ParagraphList.C: delete file
4893
4894         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4895
4896         * toc.C (getTocList): adjust
4897
4898         * paragraph_pimpl.C (validate): adjust
4899
4900         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4901
4902         * paragraph.C (Paragraph): adjust
4903         (getPositionOfInset): use const_iterator, adjust
4904         (bibitem): use const_iterator, adjust
4905         (setInsetOwner): adjust
4906
4907         * iterators.C (operator++): adjust
4908
4909         * InsetList.[Ch]: Replace selfmade iterator with standard
4910         vector::iterator also introduce const_iterator. Remove getPos,
4911         getInset and setInset from InsetTable. Adjust accordingly.
4912
4913         * BufferView.C (lockInset): adjust
4914         (ChangeInsets): adjust
4915
4916         * tabular.[Ch]: delete commented same_id functions
4917
4918 2003-05-28  John Levon  <levon@movementarian.org>
4919
4920         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4921
4922 2003-05-28  André Pönitz  <poenitz@gmx.net>
4923
4924         * metricsinfo.[Ch]: remove 'fullredraw' member
4925
4926 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4927
4928         * lyxtextclass.C (operator): remove caching.
4929
4930 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * text3.C: adjust
4933
4934         * text2.C (cursorBottom): adjust
4935         (setCounter): use ParagraphList::find, adjust
4936
4937         * text.C (workWidth): use ParagraphList::find, adjust
4938
4939         * lyxcursor.C (LyXCursor): adjust
4940
4941         * buffer.C (inset_iterator): adjust
4942
4943         * ParagraphList.h: make iterator(value_type) private, make
4944         ParagraphList a friend of iterator.
4945
4946         * ParagraphList.C (find): new function
4947
4948         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4949
4950 2003-05-27  André Pönitz  <poenitz@gmx.net>
4951
4952         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4953
4954 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4955
4956         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4957
4958 2003-05-26  John Levon  <levon@movementarian.org>
4959
4960         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4961
4962 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * remove same_id from function signatures, adjust.
4965
4966 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4969
4970         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4971
4972         * paragraph.C (Paragraph): get rid of same_ids parameter
4973
4974         * ParagraphList.C (insert): adjust
4975         (push_back): adjust
4976
4977 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * paragraph_funcs.C (breakParagraph): adjust
4980         (breakParagraphConservative): adjust
4981
4982         * buffer.C (readParagraph): adjust
4983
4984         * ParagraphList.C (insert): take a reference instead of a pointer
4985         (insert): adjust
4986
4987         * paragraph.[Ch] (id): new function
4988
4989         * bufferlist.C (newFile): adjust
4990
4991         * ParagraphList.C (ParagraphList): adjust
4992         (assign): adjust
4993         (push_back): take a reference instead of a pointer.
4994
4995         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4996
4997         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4998         instead.
4999
5000         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5001         set else use old code.
5002
5003         * ParagraphList.C: remove all NO_NEXT code and only compile this
5004         code of NO_STD_LIST is set.
5005
5006 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * BufferView_pimpl.C:
5009         * TextCache.C:
5010         * TextCache.h:
5011         * bufferlist.C:
5012         * errorlist.h:
5013         * format.C:
5014         * format.h:
5015         * graph.C:
5016         * lyxfunc.C:
5017         * lyxrc.C:
5018         * graphics/GraphicsConverter.C:
5019         * graphics/PreviewLoader.C: header adjustment
5020
5021 2003-05-23  Angus Leeming  <leeming@lyx.org>
5022
5023         * LaTeXFeatures.[Ch] (useBabel): new method.
5024         * bufferparams.C (writeLaTeX): use it.
5025
5026 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * ParagraphList.h (set): remove unused function.
5029
5030 2003-05-23  André Pönitz  <poenitz@gmx.net>
5031
5032         * BufferView.C:
5033         * BufferView_pimpl.C:
5034         * buffer.C:
5035         * buffer.h:
5036         * lyxfunc.C:
5037         * undo_funcs.C: setUndo reworked
5038
5039         * iterators.[Ch]: add access to topmost ParagraphList
5040
5041         * lyxtext.[Ch] (workWidth): add a const
5042
5043 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * texrow.[Ch] (increasePos): remove function
5046         * exporter.C (export): removed unused var and outdated comment
5047
5048 2003-05-23  Angus Leeming  <leeming@lyx.org>
5049
5050         * latexrunparams.h: rename fragile as moving_arg.
5051         * paragraph.C (simpleTeXOnePar): ditto.
5052         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5053
5054 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5057         (createUndo): ditto
5058         (textUndoOrRedo): comment out a currently unused var.
5059
5060         * paragraph.h (NO_NEXT): enable NO_NEXT
5061
5062         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5063
5064         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5065
5066         * exporter.C (Export): adjust for removeAutoInsets removal.
5067
5068         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5069
5070         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5071
5072         * BufferView.[Ch] (removeAutoInsets): delete function
5073
5074 2003-05-22  Angus Leeming  <leeming@lyx.org>
5075
5076         * latexrunparams.h: add a free_spacing variable.
5077
5078         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5079         to pass moving_arg, as the data is stored in runparams.fragile.
5080
5081         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5082         to Inset::latexOptional or to simpleTeXOnePar.
5083
5084         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5085         free_spacing arg to Inset::latexOptional.
5086
5087         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5088         free_spacing arg.
5089
5090 2003-05-22  Angus Leeming  <leeming@lyx.org>
5091
5092         * latexrunparams.h: add fragile and use_babel variables.
5093
5094         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5095         * buffer.C (makeLaTeXFile): store this returned value in
5096         runparams.use_babel, thus passing it to the inset::latex methods.
5097
5098         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5099         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5100
5101         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5102         longer has a fragile arg, as it is stored in runparams.fragile.
5103
5104         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5105         moving_arg parameter as the data is stored in runparams.fragile.
5106
5107         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5108         a fragile parameter as the data is stored in runparams.fragile.
5109
5110 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5113
5114 2003-05-22  Angus Leeming  <leeming@lyx.org>
5115
5116         * latexrunparams.h: add a 'bool nice' which defaults to false.
5117
5118         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5119         now encapsulated within runparams.
5120
5121         * bufferlist.C (updateIncludedTeXfiles):
5122         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5123
5124 2003-05-22  Angus Leeming  <leeming@lyx.org>
5125
5126         * latexrunparams.h: new file containing struct LatexRunParams.
5127         * Makefile.am: add new file.
5128
5129         * LaTeX.[Ch] (c-tor, run):
5130         * buffer.[Ch] (makeLaTeXFile):
5131         * bufferlist.[Ch] (updateIncludedTeXfiles):
5132         * converter.C (convert, scanLog):
5133         * converter.[Ch] (runLaTeX):
5134         * exporter.C (Export):
5135         * paragraph.[Ch] (simpleTeXOnePar):
5136         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5137         * paragraph_funcs.[Ch] (latexParagraphs):
5138         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5139         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5140         pass around a LatexRunParams parameter.
5141
5142 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * paragraph.[Ch]: remove unused constructor
5145
5146         * ParagraphList.C (erase): new function, taking two iterators
5147
5148 2003-05-22  André Pönitz  <poenitz@gmx.net>
5149
5150         * undo_funcs.C: remove duplicated code
5151
5152         * iterator.[Ch]: operator=
5153
5154 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * tabular.C (SetMultiColumn): ws changes
5157
5158         * rowpainter.C (paintFirst): get rid of a ->previous
5159
5160         * lyx_cb.C (getPossibleLabel): parlist simplification
5161
5162         * BufferView.C (ChangeInsets): simplify slightly.
5163
5164 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5165
5166         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5167         * lfuns.h: new LFUN_SPACE
5168         * lyxfunc.C: protected space has a new lfun
5169         * paragraph_funcs.C: read new space insets
5170         * text3.C:
5171         * factory.C: handle new space insets
5172
5173 2003-05-22  André Pönitz  <poenitz@gmx.net>
5174
5175         * BufferView.C:
5176         * BufferView_pimpl.C:
5177         * buffer.[Ch]:
5178         * lyxfunc.C:
5179         * undo_funcs.C: return a ParIterator from getParFromID.
5180
5181         * iterators.[Ch]: add two const's
5182
5183 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * toc.C (getTocList): adjust
5186
5187         * iterators.[Ch]: rework for parlist
5188
5189         * buffer.C (par_iterator_begin): adjust
5190         (par_iterator_end): adjust
5191
5192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5193
5194         * BufferView.C (removeAutoInsets): adjust
5195         (ChangeInsets): adjust
5196
5197 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * text.C (top_y): fix bug 1110
5200
5201 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * errorlist.[Ch]: added
5204         * buffer.C:
5205         * BufferView.[Ch]:
5206         * BufferView_pimpl.C:
5207         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5208         instead
5209
5210 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * Makefile.am: ensure that lyx is relinked upon changes to the
5213         various "convenience" libs.
5214
5215 2003-05-20  Angus Leeming  <leeming@lyx.org>
5216
5217         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5218         files are compiled in alphabetical order again.
5219
5220         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5221
5222 2003-05-19  Angus Leeming  <leeming@lyx.org>
5223
5224         * gettext.[Ch]: remove "char const * _(char const *)".
5225
5226 2003-05-19  André Pönitz  <poenitz@gmx.net>
5227
5228         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5229
5230         * Makefile.am:
5231         * BufferView.C:
5232         * DepTable.h:
5233         * LaTeXFeatures.C:
5234         * buffer.C:
5235         * lyxfont.C:
5236         * lyxlex.h:
5237         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5238
5239 2003-05-19  André Pönitz  <poenitz@gmx.net>
5240
5241         * buffer.C:
5242         * lyxlayout.[Ch]:
5243         * lyxtextclass.[Ch]:
5244         * paragraph.C:
5245         * paragraph_funcs.[Ch]:
5246         * text2.C:
5247         * text3.C: more insetenv work
5248
5249 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * ParagraphParameters.C (params2string): small bug fixed
5252
5253 2003-05-16  André Pönitz  <poenitz@gmx.net>
5254
5255         * debug.C:
5256         * bufferview_funcs.C: patch from Kornel Benko to prevent
5257           crash when _(...) is called twice in a statement
5258
5259 2003-05-16  André Pönitz  <poenitz@gmx.net>
5260
5261         * BufferView.C:
5262         * lyxfunc.C:
5263         * text.C:
5264         * text2.C:
5265         * text3.C:
5266         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5267
5268 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5269
5270         * lyx_main.C (init): remove spurious static_cast
5271
5272 2003-05-14  André Pönitz  <poenitz@gmx.net>
5273
5274         * BufferView.C: fix format string
5275
5276 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * BufferView.[Ch] (insertErrors): removed
5279         * BufferView.[Ch] (showErrorList): added
5280         * buffer.C (runChkTeX):
5281         * converter.C (scanLog): call showErrorList instead of inserterrors
5282
5283 2003-05-13  André Pönitz  <poenitz@gmx.net>
5284
5285         * BufferView_pimpl.C:
5286         * buffer.C:
5287         * bufferview_func.C:
5288         * MenuBackend.C:
5289         * lyxfunc.C:
5290         * lyxrc.C:
5291         * tex-accent.C:
5292         * text3.C:
5293         * toc.C:
5294         * tabular_funcs.h: tostr() from its own header
5295
5296         * ParagraphParameters.C:
5297         * ToolbarBackend.C:
5298         * bufferparams.C:
5299         * format.C:
5300         * lyxlex_pimpl.C:
5301         * text3.C: STRCONV()
5302
5303 2003-05-12  André Pönitz  <poenitz@gmx.net>
5304
5305         * BufferView.C:
5306         * BufferView_pimpl.C:
5307         * CutAndPaste.C:
5308         * LaTeX.C:
5309         * LaTeXFeatures.C:
5310         * ParagraphParameters.C:
5311         * buffer.C:
5312         * bufferlist.C:
5313         * bufferparams.C:
5314         * bufferview_funcs.C:
5315         * converter.C:
5316         * counters.C:
5317         * debug.C:
5318         * exporter.C:
5319         * format.C:
5320         * importer.C:
5321         * lyx_cb.C:
5322         * lyx_main.C:
5323         * lyxfont.C:
5324         * lyxfunc.C:
5325         * lyxvc.C:
5326         * paragraph.C:
5327         * paragraph_funcs.C:
5328         * tabular.C:
5329         * tabular_funcs.C:
5330         * text2.C:
5331         * text3.C:  boost::format -> bformat  all over the place
5332
5333
5334 2003-05-09  André Pönitz  <poenitz@gmx.net>
5335
5336         * LColor.[Ch]: Pimpl the #include <map> away
5337
5338 2003-05-09  John Levon  <levon@movementarian.org>
5339
5340         * bufferlist.C: never remove emergency saves
5341
5342 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * Makefile.am: better lib building
5345
5346 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5349         instead.
5350         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5351         (simpleTeXSpecialChars): adjust
5352         (simpleTeXSpecialChars): adjust
5353         * paragraph.C (simpleTeXOnePar): adjust
5354         * buffer.C (makeLaTeXFile): adjust
5355
5356         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5357
5358         * text2.C (changeDepth): parlist cleanup
5359         (getColumnNearX): ditto
5360
5361         * rowpainter.C (getLabelFont): parlist cleanup
5362
5363         * bufferlist.C (newFile): parlist cleanup
5364
5365         * CutAndPaste.C (eraseSelection): parlist cleanup
5366
5367         * BufferView_pimpl.C (trackChanges): parlist cleanup
5368         (dispatch): ditto
5369
5370         * BufferView.C (lockInset): parlist cleanup.
5371         (ChangeInsets): ditto
5372
5373 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * CutAndPaste.h: Update file header.
5376
5377         * CutAndPaste.C: Update file header.
5378         Store the parts cut out of the Document in a limited_stack.
5379         (copySelection): adjust
5380         (pasteSelection): new function, takes the index in the limited stack.
5381         (nrOfParagraphs): adjust
5382         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5383         simplify error inset insertion.
5384         (checkPastePossible): adjust
5385
5386 2003-05-06  John Levon  <levon@movementarian.org>
5387
5388         * text2.C: don't cast wrap inset to float
5389
5390 2003-05-05  André Pönitz  <poenitz@gmx.net>
5391
5392         * iterator.C:
5393         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5394
5395         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5396           few naked Paragraph *.
5397
5398 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5399
5400         * bufferparams.C: Output warning if a document with missing
5401         TeX document class is loaded
5402         * exporter.C: Disable TeX exports if the document class is missing
5403         * lyxtextclass.C:
5404         * lyxtextclass.h:
5405         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5406         isTeXClassAvailable()
5407
5408 2003-05-03  John Levon  <levon@movementarian.org>
5409
5410         * BufferView.h:
5411         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5412         explicit cursor show/hide
5413
5414         * BufferView_pimpl.h:
5415         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5416         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5417
5418         * lyxfunc.C: hide cursor before dispatching.
5419
5420         * lyx_cb.C:
5421         * lyxfind.C:
5422         * text.C:
5423         * text3.C: remove explicit cursor hides
5424
5425 2003-05-02  André Pönitz  <poenitz@gmx.net>
5426
5427         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5428
5429         * undo_funcs.C:
5430         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5431           linked lists
5432
5433         * text2.C: tiny whitespace
5434
5435 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * undo_funcs.C: almost only ws changes.
5438
5439         * ParagraphList.C (splice): just return if pl is empty.
5440
5441 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * ParagraphList.C (splice): new function.
5444
5445         * CutAndPaste.C (pasteSelection): use it
5446
5447 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * CutAndPaste.C (pasteSelection): remove the last next and
5450         previous from this file.
5451
5452 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * CutAndPaste.C (pasteSelection): more clean up, user proper
5455         ParagraphList functions for pasteing.
5456
5457         * ParagraphList.C (insert): new function, three arg insert
5458
5459 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * ParagraphList.C (insert): new function, three arg insert
5462
5463         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5464         not on paragraphs.
5465
5466 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5469
5470 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5473
5474 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5477         (copySelection): clean up a bit.
5478         (pasteSelection): use make_pair
5479
5480         * ParagraphList.C (ParagraphList): implement copy constructor
5481         (operator=): implement, base on copy constructor.
5482         (assign): new func
5483
5484         * paragraph.C (erase): return a bool
5485
5486         * paragraph_pimpl.C (erasePos): remove function, move contents...
5487         (erase): ... here. Return a bool.
5488         (erase): call erase instead of erasePos.
5489
5490 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * ParagraphList.h: define PitPosPair
5493         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5494         ParagraphList, fix a bug on pasting multiple pars
5495         * text2.C: change interface to C&P
5496
5497 2003-04-30  André Pönitz  <poenitz@gmx.net>
5498
5499         * undo_func.C: revert part of yesterday's patch 2
5500
5501 2003-04-30  John Levon  <levon@movementarian.org>
5502
5503         * LColor.C: s/tabular/table/
5504
5505 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * text3.C (dispatch): do not convert iterator -> pointer
5508         * undo_funcs.C (setCursorParUndo): ditto
5509         * text_funcs.C (transposeChars): ditto
5510
5511         * text2.C (setLayout): ws changes only
5512
5513         * text.C (breakParagraph): do not convert iterator -> pointer
5514         (insertChar): ditto
5515         (acceptChange): ditto
5516         (rejectChange): ditto
5517         (changeCase): ditto
5518         (Delete): ditto
5519         (backspace): ditto
5520
5521         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5522         pointer
5523
5524 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5525
5526         * text3.C (gotoInset): YABG (yet another bad getChar)
5527
5528 2003-04-29  André Pönitz  <poenitz@gmx.net>
5529
5530         * paragraph.h: make operator= private unimplemented as long as
5531           it is unusable
5532
5533         * ParagraphList.C: whitespace
5534
5535         * paragraph.[Ch]:
5536         * paragraph_pimpl.[Ch]:
5537         * paragraph_funcs.C:
5538         * CutAndPaste.C:
5539         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5540
5541         * text2.C:
5542           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5543
5544 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5545
5546         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5547         * paragraph.[Ch] (erase):
5548         * paragraph_pimpl.[Ch] (erase): change return type and value
5549         * text2.C (cutSelection): some rework
5550
5551 2003-04-28  John Levon  <levon@movementarian.org>
5552
5553         * bufferlist.C: changes for unsaved changes dialog
5554
5555 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * bufferlist.C (newFile): set language (messages_) for new
5558         documents also.
5559
5560         * buffer.C (readFile): ws changes only.
5561
5562 2003-04-28  André Pönitz  <poenitz@gmx.net>
5563
5564         * undo_funcs.C:
5565         * lyxfunc.C:
5566         * buffer.[Ch]:
5567         * BufferView_pimpl.C:
5568         * BufferView.C: getParFromID related ParagraphList::iterator changes
5569
5570 2003-04-28  André Pönitz  <poenitz@gmx.net>
5571
5572         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5573           Changes
5574
5575 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * messages.C: remove one more localedir class variable.
5578
5579 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * messages.C (getLocaleDir): singleton generation function
5582         (Pimpl): use it.
5583         (Messages): add a default constructor.
5584
5585         * main.C (main): do not setup localedir here, do not call
5586         gettext_init.
5587
5588         * gettext.C (_): use it.
5589         (gettext_init): delete funciton
5590
5591 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5592
5593         * gettext.C (getLyXMessages): new singleton generating function.
5594
5595         * buffer.C (updateDocLang): adjust
5596
5597         * Makefile.am (messages.o): add target
5598         (main.o): remove target
5599
5600 2003-04-27  John Levon  <levon@movementarian.org>
5601
5602         * bufferlist.C:
5603         * lyx_cb.C:
5604         * lyxfunc.C:
5605         * lyxvc.C: specify cancel button in Alert::prompt
5606
5607 2003-04-26  John Levon  <levon@movementarian.org>
5608
5609         * text3.C:
5610         * lyxfunc.C:
5611         * lfuns.h:
5612         * LyXAction.C: add LFUN_INSET_SETTINGS
5613
5614         * lyxfunc.C: don't enable tabular-feature when there's
5615         just any locking inset
5616
5617 2003-04-26  John Levon  <levon@movementarian.org>
5618
5619         * bufferlist.C: re-add Cancel to buffer close question
5620
5621         * lyxfunc.C: fix import UI a bit
5622
5623 2003-04-25  John Levon  <levon@movementarian.org>
5624
5625         * gettext.C: remove the broken asserts for now
5626
5627 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * messages.C: make case where setlocale cannot comply work better.
5630
5631         * buffer.C (updateDocLang): new function
5632         (changeLanguage): use it
5633         (readFile): use it
5634
5635         * text2.C (setCounter): use B_ a bit.
5636
5637         * lyxlayout.C (Read): be sure to trim the label strings.
5638
5639         * messages.C (Messages): fix typo in comment
5640
5641         * buffer.C (readFile): set message_ after file is loaded.
5642         (makeDocBookFile): remove double return
5643         (changeLanguage): reset message_ upon language change.
5644         (B_): new func, use this to get translated buffer strings.
5645
5646         * main.C: add myself and Jean Marc as authors.
5647
5648 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * messages.[hC]: pimplify Messages, and three different pimpls to be
5651         used in different circumstances.
5652
5653         * gettext.[Ch]: change for use with new message code.
5654
5655 2003-04-24 André Pönitz <poenitz@gmx.net>
5656
5657         * factory.C: support for eqref
5658
5659 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * messages.[Ch]: add missing char
5662
5663         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5664
5665         * messages.[Ch]: New files
5666
5667 2003-04-18  John Levon  <levon@movementarian.org>
5668
5669         * BufferView.h:
5670         * BufferView.C:
5671         * BufferView_pimpl.C:
5672         * lfuns.h:
5673         * LyXAction.C:
5674         * lyxtext.h:
5675         * text2.C: remove layout-copy/paste (bug 778)
5676
5677 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5678
5679         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5680
5681 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5682
5683         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5684         if they succeed. Act accordingly.
5685
5686 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * text2.C (setCharFont): adjust
5689         (setCounter): adjust
5690         (insertStringAsLines): adjust
5691
5692         * text.C (leftMargin): adjust
5693         (setHeightOfRow): adjust
5694
5695         * rowpainter.C (paintFirst): adjust
5696         (paintLast): adjust
5697
5698         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5699         (outerHook): ditto
5700         (isFirstInSequence): ditto
5701         (getEndLabel): ditto
5702         (outerFont): adjust
5703
5704         * paragraph.C (getParLanguage): comment out some hard stuff.
5705
5706         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5707         (sgmlError): ditto
5708         (simpleDocBookOnePar): ditto
5709         (makeDocBookFile): use ParagraphList::iterator
5710
5711         * CutAndPaste.C (pasteSelection): adjust
5712
5713 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * text2.C (getFont): adjust
5716         (getLayoutFont): adjust
5717         (getLabelFont): adjust
5718
5719         * paragraph_funcs.C (TeXOnePar): adjust
5720
5721         * buffer.C (simpleLinuxDocOnePar): adjust
5722         (simpleDocBookOnePar): adjust
5723
5724         * CutAndPaste.C (pasteSelection): adjust
5725
5726         * BufferView.C (getEncoding): adjust
5727
5728         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5729
5730 2003-04-16  John Levon  <levon@movementarian.org>
5731
5732         * lyxfind.C: use parlist stuff for search/changes
5733
5734 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5737
5738         * text2.C (deleteEmptyParagraphMechanism): adjust
5739
5740         * text2.[Ch] (ownerParagraph): delete func (both of them
5741
5742 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5745
5746 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * ParagraphList.C: prepare for NO_NEXT
5749
5750 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * text2.C (getFont): adjust
5753         (getLayoutFont): adjust
5754         (getLabelFont): adjust
5755
5756         * paragraph.C (getFont): adjust
5757         (getLabelFont): adjust
5758         (getLayoutFont): adjust
5759
5760         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5761
5762 2003-04-15  John Levon  <levon@movementarian.org>
5763
5764         From Angus Leeming
5765
5766         * lyx_main.C: handle Include in .ui files
5767
5768 2003-04-15  John Levon  <levon@movementarian.org>
5769
5770         * MenuBackend.C: make the doc files length shorter
5771
5772         * ToolbarBackend.h:
5773         * ToolbarBackend.C: handle toolbar placement flags,
5774         Minibuffer
5775
5776 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5779         adjust
5780
5781         * paragraph_funcs.C (TeXOnePar): adjust
5782
5783         * paragraph.C (getLabelFont): add outerfont arg, adjust
5784         (getLayoutFont): ditto
5785         (simpleTeXOnePar): adjust
5786
5787         * paragraph_pimpl.C (realizeFont): delete func
5788
5789 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5792         row argument, constify cur argument.
5793
5794 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * text2.C (getFont): adjust
5797         (getLayoutFont): adjust
5798         (getLabelFont): adjust
5799
5800         * paragraph_funcs.C (TeXOnePar): adjust
5801         (outerFont): new func...
5802         (realizeFont): ...moved out from here, changed this to facilitate
5803         transition
5804
5805         * paragraph.C (getFont): take outerfont as arg, adjust
5806         (simpleTeXOnePar): add outerfont arg, adjust
5807
5808         * buffer.C (simpleLinuxDocOnePar): adjust
5809         (simpleDocBookOnePar): adjust
5810
5811         * CutAndPaste.C (pasteSelection): adjust
5812
5813         * BufferView.C (getEncoding): adjust
5814
5815 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * text2.C (setCharFont): adjust
5818         (setCounter): adjust
5819
5820         * text.C (leftMargin): adjust
5821         (setHeightOfRow): adjust
5822
5823         * rowpainter.C (paintFirst): adjust
5824         (paintLast): adjust
5825
5826         * paragraph_pimpl.C (realizeFont): adjust
5827
5828         * paragraph.C (isFirstInSequence): move from here...
5829         * paragraph_funcs.C (isFirstInSequence): ...to here
5830
5831         * paragraph.C (outerHook): move from here...
5832         * paragraph_funcs.C (outerHook): ...to here
5833
5834         * paragraph.C (depthHook): move from here...
5835         * paragraph_funcs.C (depthHook): ...to here
5836
5837         * paragraph.C (getEndLabel): move from here...
5838         * paragraph_funcs.C (getEndLabel): ...to here
5839
5840         * text2.C (realizeFont): move from here...
5841         * paragraph_funcs.C (realizeFont): ...to here
5842
5843 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5846
5847 2003-04-14  Angus Leeming  <leeming@lyx.org>
5848
5849         * LColor.[Ch]: scrap LColor mathcursor.
5850
5851 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * lyxlex.[Ch] (text): delete function
5854         * trans.C (Load): adjust
5855         * paragraph_funcs.C (readParToken): adjust
5856
5857 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5860         vector<char> instead of a char[].
5861
5862         * lyxlex_pimpl.C (getString): adjust
5863         (next): adjust
5864         (lex): use getString
5865         (eatLine): adjust
5866         (nextToken): adjust
5867
5868         * lyxlex.C (text): use pimpl_->getString()
5869         (getBool): ditto
5870         (findToken): ditto
5871
5872 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5875         (makeFontEntriesLayoutSpecific): temp var for par.size()
5876         (setLayout): temp var for ownerParagraphs().end()
5877         (fullRebreak): temp var for rows().end()
5878         (selectionAsString): temp var for boost::next(startpit), realize
5879         that the while really is a regular for loop.
5880         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5881         setCursor in one place.
5882         (setParagraph): temp vr for ownerParagraphs().end()
5883         (updateCounters): make the while loop a for loop
5884         (cutSelection): temp var for ownerParagraphs().end()
5885         (updateInset): make the do {} while() a regular for loop
5886         (getCursorX): use temp vars
5887         (setCurrentFont): use temp vars
5888         (getColumnNearX): use temp vars
5889
5890 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * text.C (transformChar): use temp var for getChar
5893         (computeBidiTables): use temp var for row->par()
5894         (fill): move temp vars for row->par() and pit->layout() earlier in
5895         the function.
5896         (labelFill): use temp var for row->par()
5897         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5898         asc and desc, realize that pit never changes and that firstpit is
5899         just a duplicate and not needed. Exchange rit->par() with pit in a
5900         lot of places.
5901         (breakAgain): use a temp var for boost::next(rit)
5902         (breakAgainOneRow): ditto
5903         (breakParagraph): use a temp var for rows().begin()
5904         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5905         (cursorRightOneWord): use temp var for cursor.par() and
5906         cursor.pos(), remove usage of tmpcursor.
5907         (cursorLeftOneWord): use temp var for cursor.par() and
5908         cursor.pos() only set cur at end of function.
5909
5910 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * text.C, text2.C: exchange all usage of Paragraph::next with
5913         boost::next(ParagraphList::iterator)
5914
5915         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5916
5917         * text2.C (cursorTop): simplify implementation
5918         (cursorBottom): ditto
5919         (setParagraph): use ParagraphList::iterator
5920         (setCurrentFont): adjust
5921         (getColumnNearX): adjust
5922         (cursorRight): adjust
5923         (cursorLeft): remove usage of Paragraph::previous
5924         (cursorUpParagraph): ditto
5925         (deleteEmptyParagraphMechanism): slight cleanup
5926
5927         * text.C (isBoundary): take a Paragraph const & instead of a
5928         pointer as arg.
5929         (addressBreakPoint): ditto
5930         (leftMargin): remove usage of Paragraph::previous.
5931         (setHeightOfRow): ditto
5932         (cursorLeftOneWord): ditto
5933         (selectNextWordToSpellcheck): ditto
5934         (Delete): ditto
5935         (backspace): ditto
5936         (breakParagraph): remove one usage of Paragraph::next
5937         (redoParagraph): ditto
5938         (acceptChange): ditto
5939         (insertChar): adjust
5940         (rowBreakPoint): adjust
5941
5942         * bufferview_funcs.C (toggleAndShow): adjust
5943
5944 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5947         methods to access it.
5948         * lyxtext.h:
5949         * text.C: Added updateRowPositions to compute all row positions.
5950         Make top_y and getRowNearY() to use the cached y position
5951
5952 2003-04-11  John Levon  <levon@movementarian.org>
5953
5954         * text.C (rowBreakPoint): reintroduce the labelEnd
5955         checks, code copied from the row fill stuff. Deep voodoo.
5956
5957         * text.C (fill): add a comment and debugging for the
5958         next poor soul.
5959
5960 2003-04-11  John Levon  <levon@movementarian.org>
5961
5962         * text.C: make sure fullrow insets get wrapped to the next line,
5963         even when they're in a manual label
5964
5965 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * text2.C (insertParagraph): make it take ParagraphList::iterator
5968         as arg.
5969         (setLayout): make it return ParagraphList::iterator
5970         (redoParagraphs): ditto
5971         (setCounter): ditto
5972         (checkParagraph): ditto
5973
5974         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5975
5976         * text2.C: adjust several funcs.
5977         (realizeFont): take a ParagraphList::iterator as arg.
5978         (getLayoutFont): ditto
5979         (getLabelFont): ditto
5980         (setCharFont): ditto
5981
5982         * text.C: adjust several funcs.
5983
5984 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * text.C (selectNextWordToSpellcheck): don't accidentally
5987         skip insets
5988
5989 2003-04-10  John Levon  <levon@movementarian.org>
5990
5991         * ToolbarBackend.C (getIcon): special handling for
5992         LFUN_MATH_DELIM
5993
5994 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * text2.C (cursorRight): a getChar assert fixed
5997
5998 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * text2.C (getFont): change to take a ParagraphList::iterator
6001         instead of Paragraph*
6002         Adjust several functions.
6003
6004         * text.C (transformChar): change to take a ParagraphList::iterator
6005         instead of Paragraph*
6006         (singleWidth): ditto
6007         Adjust several functions.
6008
6009         * rowpainter.C: adjust several functions
6010         * rowpainter.h:store a ParagraphList::iterator and not a
6011         Paragraph&.
6012
6013
6014 2003-04-09  John Levon  <levon@movementarian.org>
6015
6016         * lyxfunc.C:
6017         * lfuns.h:
6018         * LyXAction.h:
6019         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6020         and the "help" bits as well
6021
6022 2003-04-09  John Levon  <levon@movementarian.org>
6023
6024         * ToolbarBackend.h:
6025         * ToolbarBackend.C: allow multiple toolbars
6026
6027 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * undo_funcs.C (setCursorParUndo): adjust
6030
6031         * text_funcs.C (transposeChars): adjust
6032
6033         * text3.C (gotoNextInset): adjust
6034         (dispatch): adjust
6035
6036         * text2.C (setLayout): adjust
6037         (changeDepth): adjust
6038         (setFont): adjust
6039         (redoParagraphs): adjust
6040         (selectionAsString): adjust
6041         (setParagraph): adjust
6042         (insertInset): adjust
6043         (cutSelection): adjust
6044         (copySelection): adjust
6045         (pasteSelection): adjust
6046         (insertStringAsLines): adjust
6047         (updateInset): adjust
6048         (setCursor): change to take a ParagraphList::iterator parameter
6049         (setCursorIntern): change to take a ParagraphList::iterator parameter
6050         (setCurrentFont): adjust
6051         (cursorLeft): adjust
6052         (cursorRight): adjust
6053         (deleteEmptyParagraphMechanism): adjust
6054
6055         * text.C (breakParagraph): adjust
6056         (insertChar): adjust
6057         (acceptChange): adjust
6058         (rejectChange): adjust
6059         (selectNextWordToSpellcheck): adjust
6060         (changeCase): adjust
6061         (Delete): adjust
6062         (backspace): adjust
6063
6064         * lyxfind.C (SearchForward): adjust
6065         (SearchBackward): adjust
6066         (nextChange): adjust
6067
6068         * lyxcursor.C (par): adjust
6069
6070         * lyxcursor.h: store a ParagraphList::iterator instead of a
6071         Paragraph*
6072
6073         * lyx_cb.C (getPossibleLabel): adjust
6074
6075         * bufferview_funcs.C (toggleAndShow): adjust
6076
6077         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6078         (dispatch): adjust
6079
6080         * BufferView.C (removeAutoInsets): adjust
6081         (lockedInsetStoreUndo): adjust
6082
6083 2003-04-09  John Levon  <levon@movementarian.org>
6084
6085         * ToolbarBackend.C: try icon without argument
6086         if with argument fails
6087
6088 2003-04-08  John Levon  <levon@movementarian.org>
6089
6090         * ToolbarBackend.h:
6091         * ToolbarBackend.C: add getIcon(), handle tooltip,
6092         and change from "Icon" to "Item".
6093
6094 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6095
6096         * BufferView.C (lockInset): another bad getchar crunched
6097
6098 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6099
6100         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6101         again)
6102
6103 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * lyxfind.C (searchForward, searchBackwards): bug 782
6106
6107 2003-04-07  John Levon  <levon@movementarian.org>
6108
6109         * paragraph.C: remove dead comment
6110
6111         * text.C: remove troublesome depth-fiddling code
6112         in leftMargin() and rightMargin() (bug 1017)
6113
6114         * text.C: fix breaking of rows in nested lists
6115         (bug 1004)
6116
6117         * text2.C (updateCounters): fix up depth values
6118         (bug 1013)
6119
6120 2003-04-07  John Levon  <levon@movementarian.org>
6121
6122         * BufferView_pimpl.C: clear message when doc finishes resizing,
6123         and after a mouse event
6124
6125         * lyxfunc.C: clear message after exiting inset
6126
6127 2003-04-07  John Levon  <levon@movementarian.org>
6128
6129         * bufferview_funcs.C: show math status not outside
6130         status in the statusbar
6131
6132 2003-04-07  John Levon  <levon@movementarian.org>
6133
6134         * lyxfunc.C: note status changed after a depth change
6135
6136 2003-04-04  Angus Leeming  <leeming@lyx.org>
6137
6138         * LaTeX.h: move AuxInfo operator==, != out of line.
6139         Remove LaTeX virtual destructor; nothing derives from it.
6140         Move operator()() out of public area and rename it startscript().
6141         Change protected for private.
6142
6143 2003-04-04  Angus Leeming  <leeming@lyx.org>
6144
6145         * lyxfunc.C:
6146         * text2.C: remove unneeded #includes.
6147
6148 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * text2.C (dEPM): fix the heigth of the next row
6151
6152 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6153
6154         * text.C: squashed an invalid getChar requester + some ws changes
6155
6156 2003-04-03  John Levon  <levon@movementarian.org>
6157
6158         * bufferview_funcs.h:
6159         * bufferview_funcs.C:
6160         * lyxfunc.C:
6161         * lyxtext.h:
6162         * text2.C: make getStatus work for the env depth lfuns
6163
6164 2003-04-03  John Levon  <levon@movementarian.org>
6165
6166         * bufferview_funcs.h:
6167         * bufferview_funcs.C:
6168         * lyxfunc.C:
6169         * lyxtext.h:
6170         * text2.C: parlistize decDepth(), by merging it with incDepth()
6171
6172 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * lyxrow.h: store a ParagraphList::iterator instead of a
6175         Paragraph* and adjust other class functions to suit.
6176
6177         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6178         above.
6179
6180 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6181
6182         * text2.C (setCursor): do not anchor to cursor row for the time being
6183
6184 2003-04-02  John Levon  <levon@movementarian.org>
6185
6186         * LyXAction.C:
6187         * lfuns.h:
6188         * lyx_main.C:
6189         * lyxtext.h:
6190         * text.C:
6191         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6192
6193 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * paragraph.h: make ParagraphList and ParagraphList::iterator
6196         friends of Paragraph.
6197
6198         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6199
6200         * ParagraphList.C: Use the private next_ and previous_ from
6201         Paragraph.
6202
6203 2003-04-01  John Levon  <levon@movementarian.org>
6204
6205         * ToolbarBackend.h:
6206         * ToolbarBackend.C:
6207         * Makefile.am: rename, remove defaults gunk
6208
6209         * MenuBackend.h:
6210         * MenuBackend.C: remove defaults gunk
6211
6212         * Languages.h:
6213         * Languages.C: remove defaults gunk
6214
6215         * lyx_main.h:
6216         * lyx_main.C: error out if files couldn't be found.
6217
6218 2003-04-02  John Levon  <levon@movementarian.org>
6219
6220         * text2.C: make incDepth() use parlist
6221
6222 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * undo_funcs.C (firstUndoParagraph): adjust
6225
6226         * text3.C (gotoInset): adjust
6227         (dispatch): adjust, and rewrite loop.
6228
6229         * text2.C (init): adjust, and rewrite loop.
6230         (redoParagraphs): adjust
6231         (updateInset): adjust, and rewrite loop.
6232         (deleteEmptyParagraphMechanism): adjust
6233
6234         * tabular.C (LyXTabular): adjust
6235         (SetMultiColumn): adjust
6236         (TeXRow): adjust
6237
6238         * lyxtext.[Ch] (ownerParagraph): delete function
6239         (ownerParagraphs): new function returns a ParagraphList.
6240
6241         * BufferView.C (removeAutoInsets): adjust
6242         (insertErrors): adjust
6243         (setCursorFromRow): adjust
6244
6245 2003-04-01  Angus Leeming  <leeming@lyx.org>
6246
6247         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6248         in the frontends.
6249
6250 2003-04-02  John Levon  <levon@movementarian.org>
6251
6252         * lyxtext.h:
6253         * text.C:
6254         * Makefile.am:
6255         * text_funcs.h:
6256         * text_funcs.C: make transposeChars a free function
6257
6258         * lyxrow_funcs.C: remove wrong comment
6259
6260 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * lyxtext.h: adjust
6263         * rowpainter.C: adjust
6264         * text.C: adjust
6265         * text2.C: adjust
6266         * text3.C: adjust
6267
6268         * lyxrow_funcs. [Ch]: new files
6269
6270         * lyxrow.[Ch]: remove next and previous pointers
6271         (next,previous): remove accessor functions
6272         (isParEnd): move to lyxrow_funcs
6273         (lastPos): move to lyxrow_funcs
6274         (nextRowIsAllInset): move to lyxrow_funcs
6275         (lastPrintablePos): move to lyxrow_funcs
6276         (numberOfSeparators): move to lyxrow_funcs
6277         (numberOfHfills): move to lyxrow_funcs
6278         (numberOfLabelHfills): move to lyxrow_funcs
6279         (hfillExpansion): move to lyxrow_funcs
6280
6281         * lyxfunc.C: adjust
6282
6283         * bufferview_funcs.C (toggleAndShow): adjust
6284
6285         * RowList.h: Remove class RowList from file leave just a
6286         std::list<Row>.
6287
6288         * RowList.C: delete file
6289
6290         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6291         and lyxrow_funcs.h
6292
6293 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * text3.C (cursorPrevious): adjust
6296         (cursorNext): adjust
6297         (dispatch): adjust
6298
6299         * text2.C (redoHeightOfParagraph): adjust
6300         (redoDrawingOfParagraph): adjust
6301         (setCursor): adjust
6302
6303         * text.C (breakParagraph): adjust
6304         (insertChar): adjust
6305         (backspace): adjust
6306
6307         * rowpainter.C (RowPainter): adjust
6308         (leftMargin): simplify and adjust
6309         (most rowpainter functions): adjust.
6310
6311         * rowpainter.h: store the row as RowList::iterator not as Row*
6312
6313         * lyxcursor.C (row): taka RowList::iterator as arg
6314         (irow): ditto
6315
6316         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6317         of Row*.
6318
6319 2003-04-01  Angus Leeming  <leeming@lyx.org>
6320
6321         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6322         stuff like bool Bool.
6323
6324 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6325
6326         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6327         rewrite a loop
6328
6329 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6332         RowList::iterator.
6333
6334         * lyxtext.h (rows): drop one version and leve a const variant that
6335         returns a RowList::iterator.
6336
6337 2003-03-31  Angus Leeming  <leeming@lyx.org>
6338
6339         * text.C (fill): ensure that the signature is the same as that in the
6340         header file.
6341
6342 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * text2.C (redoParagraphs): adjust
6345         (updateCounters): adjust
6346         (checkParagraph): adjust
6347         (getColumnNearX): adjust and reformat a bit.
6348
6349         * text.C (top_y): adjust
6350         (workWidth): adjust
6351         (leftMargin): adjust
6352         (prepareToPrint): adjust
6353         (getRow): adjust
6354         (getRowNearY): adjust
6355
6356         * lyxtext.h: make rowlist_ mutable.
6357
6358         * RowList.h: add const_iterator
6359         * RowList.C: adjust for RowList::const_iterator.
6360
6361         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6362         adjust.
6363
6364 2003-03-31  John Levon  <levon@movementarian.org>
6365
6366         * lyxrc.h:
6367         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6368
6369         * lyx_main.C: set default fonts from using lyx_gui funcs
6370
6371         * exporter.C: pdf_mode moved from lyxrc
6372
6373         * lyx_cb.C:
6374         * lyxfunc.C: changes from above
6375
6376 2003-03-31  John Levon  <levon@movementarian.org>
6377
6378         * lyx_main.C: fix to the last fix
6379
6380 2003-03-31  John Levon  <levon@movementarian.org>
6381
6382         * bufferlist.C: "Load original" -> "Load Original"
6383
6384         * converter.C:
6385         * exporter.C:
6386         * importer.C:
6387         * lyx_main.C:
6388         * format.C: more Alert cleanups
6389
6390 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * text2.C (removeParagraph): make it take a RowList::iterator as
6393         arg, adjust.
6394         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6395         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6396
6397         * text.C (anchor_row): make it take a RowList::iterator as arg,
6398         adjust.
6399         (computeBidiTables): make it take a const reference to Row instead
6400         of Row pointer, adjust.
6401         (leftMargin): make it take a RowList::iterator as arg, adjust.
6402         (rowBreakPoint): adjust
6403         (breakAgainOneRow): make it take a RowList::iterator as arg,
6404         adjust.
6405         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6406
6407         * bufferview_funcs.C (toggleAndShow): adjust
6408
6409 2003-03-30  John Levon  <levon@movementarian.org>
6410
6411         * Makefile.am:
6412         * BoostFormat.h:
6413         * boost-inst.C: moved to support
6414
6415         * several files: changes as a result
6416
6417 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * text2.C (LyXText): adjust.
6420         (init): adjust
6421         (removeRow): make it take a RowList::iterator as arg, adjust.
6422         (fullRebreak): adjust
6423         (deleteEmptyParagraphMechanism): adjust
6424         (clearPaint): adjust
6425         (postPaint): adjust
6426
6427         * text.C (top_y): adjust
6428         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6429         (breakAgain): make it take a RowList::iterator as arg, adjust.
6430         (breakParagraph): adjust
6431         (insertChar): adjust
6432         (backspace): adjust
6433
6434         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6435         need_break_row, and refresh_row.
6436
6437         * text3.C (dispatch): adjust
6438
6439         * text2.C (checkParagraph): adjust
6440         (setCursor): adjust
6441         (setCursorFromCoordinates): adjust
6442
6443         * text.C (top_y): adjust
6444         (workWidth): adjust
6445         (getRow): make it return a RowList::iterator, adjust
6446         (getRowNearY): make it return a RowList::iterator, adjust
6447
6448         * text2.C (init): adjust
6449         (insertRow): remove function
6450         (insertParagraph): adjust
6451         (redoParagraphs): adjust
6452         (fullRebreak): adjust
6453         (updateCounters): adjust
6454
6455         * text.C (top_y): rewrite to use RowList iterators.
6456         (top_y): adjust
6457         (setHeightOfRow): rewrite to sue RowList iterators.
6458         (appendParagraph): adjust
6459         (breakAgain): adjust
6460         (breakAgainOneRow): adjust
6461         (breakParagraph): adjust
6462         (getRow): adjust
6463         (getRowNearY): adjust, and remove commented code.
6464
6465         * lyxtext.h (firstRow): delete function
6466         (lastRow): delete function
6467         (rows): new function (const and non-const versions.)
6468         (insertRow): delete function
6469
6470         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6471
6472 2003-03-29  John Levon  <levon@movementarian.org>
6473
6474         * BufferView_pimpl.C: always update scrollbar top
6475         because pasting text when we're anchored could mean we
6476         miss an update altogether
6477
6478 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * text2.C (init): use rowlist_.end() and not 0.
6481         (insertRow): change to take a RowList::iterator as arg, adjust
6482         for this.
6483         (insertParagraph): change to take a RowList::iterator as arg,
6484         adjust for this.
6485         (redoParagraphs): remove some debug msgs.
6486
6487         * text.C (appendParagraph): change to take a RowList::iterator
6488         arg, adjust for this.
6489         (breakAgain): add an assert
6490         (breakAgainOneRow): ditto
6491
6492 2003-03-29  John Levon  <levon@movementarian.org>
6493
6494         * text2.C: do not clear selection after inc/decDepth
6495         (bug 550)
6496
6497 2003-03-29  John Levon  <levon@movementarian.org>
6498
6499         * BufferView.C:
6500         * buffer.C: fix broken strerrors according to Lars
6501
6502 2003-03-29  John Levon  <levon@movementarian.org>
6503
6504         * converters.C: more Alert cleanups
6505
6506 2003-03-29  John Levon  <levon@movementarian.org>
6507
6508         * bufferview_funcs.C: remove pointless Alert
6509
6510         * buffer.C: fix confusing error message when
6511         a template is chmoded 000
6512
6513 2003-03-29  John Levon  <levon@movementarian.org>
6514
6515         * BufferView.C:
6516         * BufferView.h:
6517         * BufferView_pimpl.C: Alert fixes
6518
6519         * Makefile.am:
6520         * tabular.C:
6521         * tabular-old.C: remove unused table compat reading
6522
6523 2003-03-29  John Levon  <levon@movementarian.org>
6524
6525         * BufferView.C:
6526         * buffer.C:
6527         * lyx_cb.h:
6528         * lyx_cb.C: more Alert cleanups
6529
6530         * lyxfunc.C: don't allow chktex if not latex document
6531
6532 2003-03-29  John Levon  <levon@movementarian.org>
6533
6534         * lyx_cb.C:
6535         * BufferView.C:
6536         * buffer.C: warnings pushed down from support/,
6537         kill err_alert
6538
6539 2003-03-29  John Levon  <levon@movementarian.org>
6540
6541         * lyxfunc.C: safety check for C-r (revert)
6542
6543 2003-03-29  John Levon  <levon@movementarian.org>
6544
6545         * bufferlist.h:
6546         * bufferlist.C: several UI fixes using Alert::prompt.
6547         Fix the pointless looping quit code. Fix stupid revert
6548         behaviour (bug 938)
6549
6550         * lyxvc.h:
6551         * lyxvc.C:
6552         * lyx_cb.C: use Alert::prompt
6553
6554         * lyx_main.C: remove a silly question
6555
6556         * lyxfunc.C: remove a couple of silly questions,
6557         use Alert::prompt
6558
6559 2003-03-28  John Levon  <levon@movementarian.org>
6560
6561         * text2.C: fix bug 974 (End on empty par)
6562
6563 2003-03-28  John Levon  <levon@movementarian.org>
6564
6565         * BufferView_pimpl.C:
6566         * LyXAction.C:
6567         * lfuns.h: remove do-nothing math greek lfuns
6568
6569 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * lyxgluelength.h (isValidGlueLength): add default arg on
6572         parameter 2. Remove default arg from friend in class.
6573
6574         * lyxlength.h (isValidLength): add default arg on parameter 2.
6575         Remove default arg from friend in class.
6576
6577         * text2.C (LyXText): adjust, initialize refresh_row.
6578         (init): adjust
6579         (removeRow): adjust
6580         (insertRow): adjust
6581         (insertParagraph): adjst
6582         (redoParagraphs): adjust
6583         (fullRebreak): adjust
6584         (updateCounters): adjust
6585         (deleteEmptyParagraphMechanism): first attempt at fixing a
6586         crashing bug.
6587
6588         * text.C (top_y): adjust
6589         (setHeightOfRow): adjust
6590         (getRow): adjust
6591         (getRowNearY): adjust
6592
6593         * lyxtext.h: include RowList.h
6594         (~LyXText): not needed anymore, deleted.
6595         (firstRow): modify for RowList
6596         (lastRow): new function
6597         Delete firstrow and lastrow class variables, add a Rowlist
6598         rowlist_ class variable.
6599
6600         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6601         paragraph is empty.
6602
6603         * RowList.C (insert): fix case where it == begin().
6604
6605 2003-03-26  Angus Leeming  <leeming@lyx.org>
6606
6607         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6608         the thesaurus dialog.
6609
6610 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6613
6614         * RowList.[Ch]: new files
6615
6616         * ParagraphList.C (erase): handle the case where it == begin
6617         correctly.
6618
6619 2003-03-25  John Levon  <levon@movementarian.org>
6620
6621         * Makefile.am:
6622         * aspell_local.h:
6623         * aspell.C: add new aspell support
6624
6625         * lyxrc.h:
6626         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6627         have it accessible.
6628
6629 2003-03-25  Angus Leeming  <leeming@lyx.org>
6630
6631         * lfuns.h:
6632         * LyXAction.C (init): new LFUN_INSET_INSERT.
6633
6634         * BufferView_pimpl.C (dispatch): split out part of the
6635         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6636
6637         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6638         LFUN_INSET_APPLY.
6639
6640 2003-03-25  Angus Leeming  <leeming@lyx.org>
6641
6642         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6643
6644 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6645
6646         * text2.C:
6647         * text3.C: remove useless row->height(0)
6648
6649 2003-03-25  John Levon  <levon@movementarian.org>
6650
6651         * lyxtext.h:
6652         * text2.C:
6653         * text3.C: rename the refreshing stuff to better names
6654
6655 2003-03-24  John Levon  <levon@movementarian.org>
6656
6657         * BufferView_pimpl.h:
6658         * BufferView_pimpl.C: update layout choice on a mouse
6659         press/release
6660
6661 2003-03-23  John Levon  <levon@movementarian.org>
6662
6663         * Makefile.am: fix commandtags.h reference
6664
6665 2003-03-22  John Levon  <levon@movementarian.org>
6666
6667         * BufferView_pimpl.C:
6668         * lyxtext.h:
6669         * rowpainter.C:
6670         * rowpainter.h:
6671         * text.C:
6672         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6673
6674 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * lyxtext.h:
6677         * text.C: take the rtl methods out of line
6678
6679 2003-03-21 André Pönitz <poenitz@gmx.net>
6680
6681         * metricsinfo.[Ch]: new files containing structures to be passed around
6682         during the two-phase-drawing...
6683
6684 2003-03-21 André Pönitz <poenitz@gmx.net>
6685
6686         * lyxtextclass.C: read 'environment' tag.
6687
6688 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6689
6690         * text2.C (removeRow): fix bug 964
6691
6692 2003-03-20  John Levon  <levon@movementarian.org>
6693
6694         * rowpainter.C:
6695         * text.C:
6696         * text2.C: paint cleanups. Inset::update() dropped font
6697         parameter
6698
6699 2003-03-19  John Levon  <levon@movementarian.org>
6700
6701         * lyxfunc.C: only fitcursor/markDirty if available()
6702
6703 2003-03-19  John Levon  <levon@movementarian.org>
6704
6705         * commandtags.h: rename to ...
6706
6707         * lfuns.h: ... this, and renumber / cleanup
6708
6709 2003-03-19  John Levon  <levon@movementarian.org>
6710
6711         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6712         fit the cursor after an lfun
6713
6714         * BufferView.h:
6715         * BufferView.C:
6716         * BufferView_pimpl.h:
6717         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6718
6719         * LyXAction.C: layout-character should have ReadOnly
6720
6721         * ParagraphParameters.C:
6722         * buffer.C:
6723         * bufferview_funcs.C:
6724         * lyx_cb.C:
6725         * lyxfind.C:
6726         * lyxtext.h:
6727         * text.C:
6728         * text2.C:
6729         * text3.C:
6730         * undo_funcs.C: changes from above
6731
6732 2003-03-18  John Levon  <levon@movementarian.org>
6733
6734         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6735         remove it from update()
6736
6737         * lyxfunc.C: update layout choice after an lfun
6738
6739         * text3.C: remove extra updateLayoutChoice()s
6740
6741 2003-03-18  John Levon  <levon@movementarian.org>
6742
6743         * text.C: top_y change means full repaint, fix
6744         a drawing bug with cursor movement
6745
6746 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6747
6748         * lyxtext.h:
6749         * text.C:
6750         * text2.C: anchor row on setCursor
6751
6752 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6753
6754         * lyxtext.h: remove almost all mutable keywords
6755         * text.C:
6756         * text2.C:
6757         * text3.C: remove const keywords accordingly
6758
6759 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6762         anon namespace
6763         (TeXEnvironment): ditto
6764         (TeXOnePar): ditto
6765
6766 2003-03-17  John Levon  <levon@movementarian.org>
6767
6768         * text.C (rowBreakPoint): remove attempt to fix displayed
6769         math insets inside a manual label
6770
6771 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * lyxtext.h: remove BufferView* as first arg from almost all class
6774         functions.
6775         * other files: adjust.
6776
6777 2003-03-17  John Levon  <levon@movementarian.org>
6778
6779         * lyxtext.h:
6780         * undo_funcs.C:
6781         * text2.C: more paint cleanups
6782
6783         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6784
6785         * rowpainter.h:
6786         * rowpainter.C: remove "smart" background painting code
6787
6788 2003-03-16  John Levon  <levon@movementarian.org>
6789
6790         * lyxtext.h:
6791         * text.C:
6792         * text2.C:
6793         * text3.C: add helper functions for setting refresh_row/y
6794
6795 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6796
6797         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6798         newline inset which *can* get inserted in the pass_thru layouts.
6799         This is primarily for literate documents.
6800
6801 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6802
6803         * buffer.C: increment LYX_FORMAT to 223
6804
6805 2003-03-14 André Pönitz <poenitz@gmx.net>
6806
6807         * textclass.h: prepare for environment handling, ws changes
6808         * lyxlayout.C: read latexheader and latexfooter tags
6809
6810 2003-03-14  John Levon  <levon@movementarian.org>
6811
6812         * text2.C: rewrite ::status() a bit
6813
6814 2003-03-13  John Levon  <levon@movementarian.org>
6815
6816         * lyxtext.h: add some docs
6817
6818 2003-03-13  John Levon  <levon@movementarian.org>
6819
6820         * lyxtext.h:
6821         * text.C:
6822         * text2.C:
6823         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6824
6825 2003-03-13  John Levon  <levon@movementarian.org>
6826
6827         * text3.C: fix appendix redrawing
6828
6829 2003-03-13  John Levon  <levon@movementarian.org>
6830
6831         * text.C (setHeightOfRow):
6832         * rowpainter.h:
6833         * rowpainter.C: make appendix mark have the text
6834           "Appendix" so the user knows what it is
6835
6836         * LColor.h:
6837         * LColor.C: s/appendixline/appendix/ from above
6838
6839 2003-03-13  John Levon  <levon@movementarian.org>
6840
6841         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6842
6843         * text.C: fix a getChar(pos) bug properly
6844
6845 2003-03-13  Angus Leeming  <leeming@lyx.org>
6846
6847         * commandtags.h:
6848         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6849         Probably only temporary. Let's see how things pan out.
6850
6851         * BufferView.C (unlockInset):
6852         * BufferView_pimpl.C (fitCursor):
6853         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6854
6855         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6856         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6857
6858         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6859         new functions that convert ParagraphParameters to and from a string.
6860
6861         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6862         BufferView::Pimpl's dispatch.
6863         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6864
6865 2003-03-13 André Pönitz <poenitz@gmx.net>
6866
6867         * lyxfunc.C:
6868         * text3.C:
6869         * factory.C: make it aware of InsetEnv
6870
6871 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * text2.C (setCursor): never ask for one past last
6874         (setCursor): add some debugging messages.
6875
6876         * text.C (singleWidth): never ask for one past last
6877         (singleWidth): ditto
6878         (leftMargin): ditto
6879         (rightMargin): ditto
6880         (rowBreakPoint): ditto
6881         (setHeightOfRow): ditto
6882         (prepareToPrint): ditto
6883
6884         * rowpainter.C (paintBackground): never ask for one past last
6885         (paintText): never ask for one past last
6886
6887         * paragraph_pimpl.C (getChar): make the assert stricter, never
6888         allow the one past last pos to be taken
6889
6890         * paragraph.C (getChar): ws changes only
6891
6892         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6893         (numberOfSeparators): ditto
6894         (numberOfHfills): ditto
6895
6896 2003-03-12  John Levon  <levon@movementarian.org>
6897
6898         * author.h:
6899         * author.C:
6900         * bufferparams.h:
6901         * bufferparams.C:
6902         * paragraph_funcs.C: fix per-buffer authorlists
6903
6904 2003-03-12  John Levon  <levon@movementarian.org>
6905
6906         * text.C: fix newline in right address
6907
6908 2003-03-12  Angus Leeming  <leeming@lyx.org>
6909
6910         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6911         duplicate those in LyXFunc::dispatch.
6912
6913         * commandtags.h:
6914         * LyXAction.C:
6915         * ToolbarDefaults.C:
6916         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6917         Add LFUN_FONTFREE_UPDATE.
6918
6919         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6920         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6921
6922         * bufferview_func.[Ch]: several new functions to facilliate
6923         transfer of data to and from the character dialog.
6924
6925 2003-03-12  John Levon  <levon@movementarian.org>
6926
6927         * buffer.C:
6928         * paragraph.h:
6929         * paragraph.C:
6930         * paragraph_funcs.C:
6931         * paragraph_pimpl.C:
6932         * sgml.C:
6933         * tabular.C:
6934         * text.C:
6935         * text3.C: remove META_NEWLINE in favour of an inset
6936
6937         * rowpainter.h:
6938         * rowpainter.C: remove paintNewline (done by inset)
6939
6940 2003-03-12  John Levon  <levon@movementarian.org>
6941
6942         * paragraph_pimpl.C: complain about bad getChar()s
6943         for a while at least
6944
6945 2003-03-12  John Levon  <levon@movementarian.org>
6946
6947         * buffer.h:
6948         * buffer.C: move paragraph read into a separate function,
6949         a little renaming to reflect that.
6950
6951         * bufferparams.h:
6952         * bufferparams.C: remove the author_ids map, not necessary now
6953
6954         * factory.h:
6955         * factory.C: moved Buffer::readInset to here
6956
6957         * paragraph_funcs.h:
6958         * paragraph_funcs.C: readParagraph free function moved from
6959         buffer.C
6960
6961         * tabular.C: name change
6962
6963 2003-03-12  John Levon  <levon@movementarian.org>
6964
6965         * buffer.C:
6966         * ParagraphParameters.C: move par params input to
6967         a read() method
6968
6969         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6970         behave like a normal read from the stream wrt reading
6971         a line vs. a \\token
6972
6973 2003-03-12  John Levon  <levon@movementarian.org>
6974
6975         * paragraph.C:
6976         * ParagraphParameters.h:
6977         * ParagraphParameters.C: move output code to a
6978         ::write() method
6979
6980 2003-03-12  John Levon  <levon@movementarian.org>
6981
6982         * BufferView.C (insertLyXFile):
6983         * buffer.h:
6984         * buffer.C:
6985         * tabular.C: use a parlist iterator for creating the
6986           document.
6987
6988 2003-03-12  John Levon  <levon@movementarian.org>
6989
6990         * buffer.C: make current_change static local not
6991           static file-scope
6992
6993 2003-03-12  John Levon  <levon@movementarian.org>
6994
6995         * buffer.C: fix insertStringAsLines for change tracking
6996
6997 2003-03-12  John Levon  <levon@movementarian.org>
6998
6999         * BufferView.C:
7000         * tabular.C:
7001         * buffer.h:
7002         * buffer.C:
7003         * bufferparams.h:
7004         * bufferparams.C: move author list into params. Rename some
7005           functions. Move the header reading into a separate token
7006           loop. Move the header token reading into BufferParams.
7007
7008 2003-03-12  John Levon  <levon@movementarian.org>
7009
7010         * changes.C: put debug inside lyxerr.debugging() checks
7011
7012 2003-03-11 André Pönitz <poenitz@gmx.net>
7013
7014         * factory.C: make it aware of InsetHFill
7015
7016 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7017
7018         * buffer.C (latexParagraphs): move function from here...
7019         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7020         args.
7021
7022 2003-03-10  Angus Leeming  <leeming@lyx.org>
7023
7024         * LyXAction.C (init): fix bug in poplating array with multiple entries
7025         with the same LFUN (spotted by JMarc).
7026
7027 2003-03-10  John Levon  <levon@movementarian.org>
7028
7029         * text.C:
7030         * text2.C: move getColumnNearX() near its
7031         only call site
7032
7033 2003-03-10  John Levon  <levon@movementarian.org>
7034
7035         * text.C: fix break before a minipage
7036
7037 2003-03-10  John Levon  <levon@movementarian.org>
7038
7039         * text.C: fix the last commit
7040
7041 2003-03-09  John Levon  <levon@movementarian.org>
7042
7043         * lyxtext.h:
7044         * text.C:
7045         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7046         bug 365 (don't break before insets unless needed). Don't
7047         return a value > last under any circumstances.
7048
7049 2003-03-09  Angus Leeming  <leeming@lyx.org>
7050
7051         * BufferView_pimpl.C (trackChanges, dispatch): call
7052         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7053
7054 2003-03-09  Angus Leeming  <leeming@lyx.org>
7055
7056         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7057         than Dialogs::showAboutlyx().
7058
7059 2003-03-09  Angus Leeming  <leeming@lyx.org>
7060
7061         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7062         than Dialogs::showTabularCreate().
7063
7064 2003-03-09  John Levon  <levon@movementarian.org>
7065
7066         * lyxtext.h:
7067         * text.C:
7068         * text2.C: 3rd arg to nextBreakPoint was always the same.
7069           Use references.
7070
7071 2003-03-08  John Levon  <levon@movementarian.org>
7072
7073         * lyxrow.C:
7074         * paragraph.C:
7075         * paragraph.h:
7076         * rowpainter.C:
7077         * text.C:
7078         * text2.C: Remove the "main" bit from the "main body"
7079           notion.
7080
7081 2003-03-08  John Levon  <levon@movementarian.org>
7082
7083         * text.C (leftMargin): The left margin of an empty
7084         manual label paragraph should not include the label width
7085         string length.
7086
7087         * text.C (prepareToPrint): don't attempt to measure hfills
7088         for empty manual label paragraphs - the answer should be 0
7089
7090 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * CutAndPaste.C: remove commented code and reindent.
7093
7094 2003-03-08  John Levon  <levon@movementarian.org>
7095
7096         * lyxfunc.h:
7097         * lyxfunc.C: move reloadBuffer()
7098
7099         * BufferView.h:
7100         * BufferView.C: to here
7101
7102         * lyxvc.C: add comment
7103
7104         * vc-backend.h:
7105         * vc-backend.C: call bv->reload() to avoid
7106           getStatus() check on MENURELOAD
7107
7108 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7109
7110         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7111         to an old format .dep file.
7112
7113 2003-03-07  Angus Leeming  <leeming@lyx.org>
7114
7115         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7116         when the LFUN_MOUSE_RELEASE should have been handled by
7117         inset->localDispatch.
7118
7119 2003-03-07  Angus Leeming  <leeming@lyx.org>
7120
7121         * BufferView_pimpl.C (dispatch):
7122         * LyXAction.C (init):
7123         * ToolbarDefaults.C (init):
7124         * commandtags.h:
7125         * lyxfunc.C (getStatus):
7126         remove LFUN_INSET_GRAPHICS.
7127
7128         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7129
7130 2003-03-07  Angus Leeming  <leeming@lyx.org>
7131
7132         * commandtags.h:
7133         * LyXAction.C (init):
7134         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7135
7136         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7137
7138         * commandtags.h:
7139         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7140
7141         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7142         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7143
7144 2003-03-07  Angus Leeming  <leeming@lyx.org>
7145
7146         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7147         remove "ert".
7148
7149 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * ParagraphList.C (front): new function
7152         (back): implement
7153
7154 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7157         and top_row_offset_. removed var first_y.
7158         * text.C (top_y):
7159         * text2.C (LyXText, removeRow):
7160         * text3.C:
7161         * BufferView_pimpl.C:
7162         use these methods instead of using first_y
7163
7164 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * text2.C (pasteSelection): adjust for checkPastePossible
7167
7168         * CutAndPaste.C: remove Paragraph * buf and replace with
7169         ParagraphList paragraphs.
7170         (DeleteBuffer): delete
7171         (cutSelection): change the tc type to textclass_type
7172         (copySelection): change the tc type to textclass_type
7173         (copySelection): adjust for ParagraphList
7174         (pasteSelection): change the tc type to textclass_type
7175         (pasteSelection): adjust for Paragraphlist
7176         (nrOfParagraphs): simplify for ParagraphList
7177         (checkPastePossible): simplify for ParagraphList
7178         (checkPastePossible): remove unused arg
7179
7180         * ParagraphList.C (insert): handle the case where there are no
7181         paragraphs yet.
7182
7183         * CutAndPaste.h: make CutAndPaste a namespace.
7184
7185         * text3.C (dispatch): adjust
7186
7187         * text.C (breakParagraph): add a ParagraphList as arg
7188
7189         * paragraph_funcs.C (breakParagraph): change to take a
7190         BufferParams and a ParagraphList as args.
7191         (breakParagraphConservative): ditto
7192         (mergeParagraph): ditto
7193         (TeXDeeper): add a ParagraphList arg
7194         (TeXEnvironment): ditto
7195         (TeXOnePar): ditto
7196
7197         * buffer.C (readLyXformat2): adjust
7198         (insertStringAsLines): adjust
7199         (latexParagraphs): adjust
7200
7201         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7202         (cutSelection): adjust
7203         (pasteSelection): adjust
7204
7205         * BufferView_pimpl.C (insertInset): adjust
7206
7207 2003-03-05  Angus Leeming  <leeming@lyx.org>
7208
7209         * commandtags.h:
7210         * LyXAction.C (init):
7211         * BufferView_pimpl.C (dispatch):
7212         * lyxfunc.C (getStatus):
7213         remove LFUN_CHILD_INSERT.
7214
7215         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7216
7217 2003-03-05  Angus Leeming  <leeming@lyx.org>
7218
7219         * commandtags.h:
7220         * LyXAction.C (init):
7221         * src/factory.C (createInset):
7222         * lyxfunc.C (getStatus):
7223         * text3.C (dispatch):
7224         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7225
7226         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7227
7228 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * ParagraphList.C (insert): handle insert right before end()
7231         (erase): fix cases where it can be first or last paragraph.
7232
7233 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7236         Paragraph::next and Paragraph::previous
7237         (TeXOnePar): ditto
7238
7239         * text.C (breakParagraph): adjust
7240
7241         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7242         BufferParams& as arg.
7243         (breakParagraph): use ParagraphList::insert
7244         (breakParagraphConservative): take a Buffer* instead of a
7245         BufferParams& as arg.
7246         (breakParagraphConservative): use ParagraphList::insert.
7247
7248         * buffer.C (insertStringAsLines): un-const it
7249         (insertStringAsLines): adjust
7250
7251         * ParagraphList.C (insert): new function
7252
7253         * CutAndPaste.C (pasteSelection): adjust
7254
7255         * text.C (backspace): adjust
7256
7257         * tabular.C (SetMultiColumn): adjust
7258
7259         * CutAndPaste.C (cutSelection): adjust
7260         (pasteSelection): adjust
7261
7262         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7263         Buffer const * as arg
7264
7265         * ParagraphList.C (erase): new function
7266         * paragraph_funcs.C (mergeParagraph): use it
7267         (mergeParagraph): make it take a Buffer* instead of a
7268         BufferParams* as arg
7269
7270         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7271         as arg
7272         (breakParagraphConservative): ditto
7273
7274         * paragraph.h: remove the breakParagraph friend
7275
7276         * paragraph.C (eraseIntern): new function
7277         (setChange): new function
7278
7279         * paragraph_funcs.C (mergeParagraph): make it take a
7280         ParagraphList::iterator instead of a Paragraph *, adjust
7281         accordingly.
7282
7283         * paragraph.h: move an #endif so that the change tracking stuff
7284         also works in the NO_NEXT case.
7285
7286 2003-03-04  Angus Leeming  <leeming@lyx.org>
7287
7288         * commandtags.h:
7289         * LyXAction.C: new LFUN_INSET_MODIFY.
7290
7291         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7292         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7293
7294 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * several files: ws changes only
7297
7298         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7299         (TeXEnvironment): ditto
7300         (TeXDeeper): ditto
7301
7302         * buffer.C (makeLaTeXFile): adjust
7303         (latexParagraphs): make it take ParagraphList::iterator as args
7304
7305 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7306
7307         * buffer.C (latexParagraphs): adjust
7308
7309         * paragraph.C (TeXOnePar): move function...
7310         (optArgInset): move function...
7311         (TeXEnvironment): move function...
7312         * paragraph_pimpl.C (TeXDeeper): move function...
7313         * paragraph_funcs.C: ...here
7314
7315         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7316
7317 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * buffer.C (readInset): remove compability code for old Figure and
7320         InsetInfo insets
7321
7322 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * buffer.C: ws changes
7325         (readInset):
7326
7327         * BufferView_pimpl.C: ditto
7328         * author.C: ditto
7329         * buffer.h: ditto
7330         * bufferlist.h: ditto
7331         * changes.h: ditto
7332         * lyxfunc.C: ditto
7333
7334 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7335
7336         * converter.[Ch]: split into itself +
7337         * graph.[Ch]
7338         * format.[Ch]
7339         * Makefile.am: += graph.[Ch] + format.[Ch]
7340         * MenuBackend.C
7341         * buffer.C
7342         * exporter.C
7343         * importer.C
7344         * lyx_main.C
7345         * lyxfunc.C
7346         * lyxrc.C: added #include "format.h"
7347
7348 2003-02-27  Angus Leeming  <leeming@lyx.org>
7349
7350         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7351           a label.
7352
7353         * factory.C (createInset): add "label" to the factory.
7354
7355         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7356           string and do no more.
7357
7358 2003-02-27  Angus Leeming  <leeming@lyx.org>
7359
7360         * commandtags.h:
7361         * LyXAction.C (init):
7362         * factory.C (createInset):
7363         * BufferView_pimpl.C (dispatch):
7364           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7365
7366         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7367
7368         * lyxfunc.C (dispatch):
7369         * text3.C (dispatch): pass name to params2string.
7370
7371 2003-02-26  Angus Leeming  <leeming@lyx.org>
7372
7373         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7374           blocks together.
7375           Rearrange the ~includes. Strip out the unnecessary ones.
7376
7377         * factory.C (createInset): reformat.
7378           create new insets for the various LFUN_XYZ_APPLY lfuns.
7379
7380 2003-02-26  John Levon  <levon@movementarian.org>
7381
7382         * lyxrow.h:
7383         * lyxrow.C: add isParStart,isParEnd helpers
7384
7385         * paragraph.h: make isInserted/DeletedText take refs
7386
7387         * paragraph_funcs.h:
7388         * paragraph_funcs.C: remove #if 0'd code
7389
7390         * lyxtext.h:
7391         * text3.C:
7392         * text2.C:
7393         * text.C: use lyxrow helpers above.
7394           Move draw and paint routines to RowPainter.
7395           Make several methods use refs not pointers.
7396           Make backgroundColor() const.
7397           Add markChangeInDraw(), isInInset().
7398           Merge changeRegionCase into changeCase.
7399           Make workWidth() shouldn't-happen code into an Assert.
7400
7401         * rowpainter.h:
7402         * rowpainter.C: new class for painting a row.
7403
7404         * vspace.h:
7405         * vspace.C: make inPixels take a ref
7406
7407 2003-02-26  Angus Leeming  <leeming@lyx.org>
7408
7409         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7410         LFUN_REF_APPLY.
7411
7412 2003-02-25  John Levon  <levon@movementarian.org>
7413
7414         * ispell.C: give the forked command a more accurate name
7415
7416 2003-02-22  John Levon  <levon@movementarian.org>
7417
7418         * toc.h:
7419         * toc.C: make TocItem store an id not a Paragraph *
7420           (bug #913)
7421
7422 2003-02-21  Angus Leeming  <leeming@lyx.org>
7423
7424         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7425           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7426           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7427           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7428           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7429           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7430
7431         * BufferView_pimpl.C (dispatch):
7432         * LyXAction.C (init):
7433         * factory.C (createInset):
7434         * lyxfunc.C (getStatus, dispatch):
7435         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7436
7437 2003-02-21  Angus Leeming  <leeming@lyx.org>
7438
7439         * BufferView_pimpl.C (MenuInsertLyXFile):
7440         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7441         * lyxfunc.C (menuNew, open, doImport):
7442           no longer pass a LyXView & to fileDlg.
7443
7444 2003-02-21  Angus Leeming  <leeming@lyx.org>
7445
7446         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7447         * LyXAction.C: change, BIBKEY to BIBITEM.
7448         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7449         Change InsetBibKey to InsetBibitem.
7450         Change BIBKEY_CODE to BIBITEM_CODE.
7451         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7452         * factory.C: replace insetbib.h with insetbibitem.h.
7453         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7454         * paragraph.C: replace insetbib.h with insetbibitem.h.
7455         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7456         Change bibkey() to bibitem().
7457         * text.C: remove insetbib.h.
7458         * text2.C: replace insetbib.h with insetbibitem.h.
7459         change bibkey() to bibitem().
7460         * text3.C: remove insetbib.h.
7461         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7462
7463 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7464
7465         * lyxrc.C (output): enclose user email in quotes (in case there are
7466         several words)
7467
7468 2003-02-18  John Levon  <levon@movementarian.org>
7469
7470         * buffer.h: add std::
7471
7472 2003-02-17  John Levon  <levon@movementarian.org>
7473
7474         * SpellBase.h:
7475         * ispell.h:
7476         * ispell.C:
7477         * pspell.h:
7478         * pspell.C: reworking. Especially in ispell, a large
7479           number of clean ups and bug fixes.
7480
7481         * lyxfunc.C: fix revert to behave sensibly
7482
7483 2003-02-17 André Pönitz <poenitz@gmx.net>
7484
7485         * LyXAction.C:
7486         * commandtags.h: new LFUN_INSERT_BIBKEY
7487
7488         * layout.h:
7489         * lyxlayout.C:
7490         * buffer.C:
7491         * factory.C:
7492         * text.C:
7493         * text2.C:
7494         * text3.C:
7495         * paragraph.[Ch]:
7496         * paragraph_func.C: remove special bibkey handling
7497
7498 2003-02-17  John Levon  <levon@movementarian.org>
7499
7500         * text.C (Delete): fix case where delete at the end of
7501           the very first paragraph would not merge the pars
7502
7503 2003-02-17  John Levon  <levon@movementarian.org>
7504
7505         * lyxrow.C: fix lastPrintablePos()
7506
7507 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7508
7509         * bufferparams.C (writeLaTeX): add a std:here
7510
7511         * buffer.C: and remove a using directive there
7512
7513 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * buffer.C (makeLaTeXFile): move the code that generates the
7516           preamble...
7517
7518         * bufferparams.C (writeLaTeX): ... in this new method
7519
7520         * LaTeXFeatures.C (getEncodingSet): make const
7521           (getLanguages): make const
7522
7523         * MenuBackend.C (binding): returns the binding associated to this
7524           action
7525           (add): sets the status of each item by calling getStatus. Adds
7526           some intelligence.
7527           (read): add support for OptSubMenu
7528           (expand): remove extra separator at the end of expanded menu
7529
7530 2003-02-15  John Levon  <levon@movementarian.org>
7531
7532         * BufferView.C:
7533         * BufferView_pimpl.C:
7534         * bufferlist.h:
7535         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7536           inset code that had no actual effect. Remove unneeded status
7537           code.
7538
7539 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7540
7541         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7542           in preamble
7543
7544 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7545
7546         * text.C (drawLengthMarker): also draw an arrow marker for
7547           symbolic lengths (medskip...)
7548
7549 2003-02-14  John Levon  <levon@movementarian.org>
7550
7551         * tabular.h:
7552         * tabular.C: better method names
7553
7554 2003-02-14  John Levon  <levon@movementarian.org>
7555
7556         * BufferView_pimpl.C:
7557         * bufferlist.C:
7558         * buffer.C:
7559         * converter.C:
7560         * lyx_cb.C:
7561         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7562           it's a more accurate name. Remove some pointless uses.
7563
7564 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7565
7566         * text2.C (LyXText): change order of initilizers to shut off
7567           warnings
7568
7569 2003-02-14  John Levon  <levon@movementarian.org>
7570
7571         * buffer.C: use ParIterator for getParFromID()
7572
7573         * paragraph.h:
7574         * paragraph.C:
7575         * paragraph_pimpl.h:
7576         * paragraph_pimpl.C: remove unused getParFromID()
7577
7578 2003-02-14  John Levon  <levon@movementarian.org>
7579
7580         * buffer.C: remove some very old #if 0'd parse code
7581
7582 2003-02-13  John Levon  <levon@movementarian.org>
7583
7584         * text.h:
7585         * text.C:
7586         * text2.C: move hfillExpansion(), numberOfSeparators(),
7587           rowLast(), rowLastPrintable(), numberofHfills(),
7588           numberOfLabelHfills() ...
7589
7590         * lyxrow.h:
7591         * lyxrow.C: ... to member functions here.
7592
7593         * paragraph.h:
7594         * paragraph.C:
7595         * lyxtext.h:
7596         * text.C: remove LyXText::beginningOfMainBody(), and call
7597           p->beginningOfMainBody() directly. Move the check for
7598           LABEL_MANUAL into the latter.
7599
7600         * text.h:
7601         * text.C:
7602         * text2.C:
7603         * vspace.C:
7604         * BufferView.h:
7605         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7606
7607         * text.h:
7608         * text.C:
7609         * text2.C:
7610         * text3.C:
7611         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7612           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7613
7614 2003-02-13  John Levon  <levon@movementarian.org>
7615
7616         * CutAndPaste.C: remove debug
7617
7618 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7619
7620         * paragraph.C (asString): remove two unused variables
7621
7622         * lyxtextclass.C (readTitleType):
7623           (Read):
7624           (LyXTextClass): handle new members titletype_ and titlename_
7625
7626         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7627
7628 2003-02-09  John Levon  <levon@movementarian.org>
7629
7630         * buffer.h:
7631         * buffer.C: replace hand-coded list with a map for the dep clean
7632
7633 2003-02-08  John Levon  <levon@movementarian.org>
7634
7635         * LaTeX.C: consolidate code into showRunMessage() helper
7636
7637 2003-02-08  John Levon  <levon@movementarian.org>
7638
7639         * lyxfind.C:
7640         * lyxtext.h:
7641         * text2.C:
7642         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7643           and pass the size in explicitly
7644
7645         * BufferView_pimpl.h:
7646         * BufferView_pimpl.C:
7647         * BufferView.h:
7648         * BufferView.C: add getCurrentChange()
7649
7650         * BufferView_pimpl.h:
7651         * BufferView_pimpl.C: handle change lfuns
7652
7653         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7654           for changes. Mark pasted paragraphs as new.
7655
7656         * support/lyxtime.h:
7657         * support/lyxtime.C:
7658         * DepTable.C: abstract time_t as lyx::time_type
7659
7660         * LColor.h:
7661         * LColor.C: add colours for new text, deleted text, changebars
7662
7663         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7664           package use "usenames" option.
7665
7666         * commandtags.h:
7667         * lyxfunc.C:
7668         * LyXAction.C: add change lfuns
7669
7670         * Makefile.am:
7671         * author.h:
7672         * author.C: author handling
7673
7674         * buffer.h:
7675         * buffer.C: add a per-buffer author list, with first entry as
7676           current author. Handle new .lyx tokens for change tracking. Output
7677           author list to .lyx file. Output dvipost stuff to .tex preamble.
7678           Bump lyx format to 222.
7679
7680         * bufferlist.h:
7681         * bufferlist.C: add setCurrentAuthor() to reset current author details
7682           in all buffers.
7683
7684         * bufferparams.h:
7685         * bufferparams.C: add param for tracking
7686
7687         * bufferview_funcs.C: output change info in minibuffer
7688
7689         * Makefile.am:
7690         * changes.h:
7691         * changes.C: add change-tracking structure
7692
7693         * debug.h:
7694         * debug.C: add CHANGES debug flag
7695
7696         * lyxfind.h:
7697         * lyxfind.C: add code for finding the next change piece
7698
7699         * lyxrc.h:
7700         * lyxrc.C: add user_name and user_email
7701
7702         * lyxrow.h:
7703         * lyxrow.C: add a metric for the top of the text line
7704
7705         * lyxtext.h:
7706         * text.C: implement accept/rejectChange()
7707
7708         * lyxtext.h:
7709         * text.C: paint changebars. Paint new/deleted text in the chosen
7710         colours. Strike through deleted text.
7711
7712         * paragraph.h:
7713         * paragraph.C:
7714         * paragraph_pimpl.h:
7715         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7716           in the current change to the insert functions. Rework erase to
7717           mark text as deleted, adding an eraseIntern() and a range-based
7718           erase(). Implement per-paragraph change lookup and
7719           accept/reject.
7720
7721         * paragraph_funcs.C: Fixup paste for change tracking.
7722
7723         * tabular.C: mark added row/columns as new.
7724
7725         * text.C: fix rowLast() to never return -1. Don't allow
7726           spellchecking of deleted text. Track transpose changes. Don't
7727           allow paragraph break or merge where appropriate.
7728
7729         * text2.C: leave cursor at end of selection after a cut.
7730
7731 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7732
7733         * text.C (getLengthMarkerHeight):
7734         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7735         visible on screen too.
7736
7737 2003-02-07  John Levon  <levon@movementarian.org>
7738
7739         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7740
7741 2003-02-05  Angus Leeming  <leeming@lyx.org>
7742
7743         * lyxserver.C (read_ready): revert my patch of 11 September last year
7744         as it sends PC cpu through the roof. Presumably this means that
7745         the lyxserver will no longer run on an Alpha...
7746
7747 2003-01-30  Angus Leeming  <leeming@lyx.org>
7748
7749         * factory.C (createInset): create an InsetCommandParam of type "index"
7750         and use it to 'do the right thing'.
7751
7752         * text2.C (getStringToIndex): ensure that cursor position is always
7753         reset to the reset_cursor position.
7754
7755 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7756
7757         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7758         disabled.
7759
7760 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7761
7762         * bufferview.C:
7763         * lyxcb.C:
7764         * lyxfunc.C: Output messages with identical spelling, punctuation,
7765         and spaces
7766
7767 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7768
7769         * MenuBackend.C (expandFormats): List only viewable export formats
7770         in "View" menu
7771
7772         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7773         message
7774
7775         * lyxfunc.C (getStatus): Make sure that formats other than
7776         "fax" can also be disabled
7777
7778 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7779
7780         * text3.C (dispatch): put the lfuns that insert insets in 3
7781         groups, and call doInsertInset with appropriate arguments.
7782         (doInsertInset): new function, that creates an inset and inserts
7783         it according to some boolean parameters.
7784
7785 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * buffer.C (readFile): remember to pass on 'par' when calling
7788         readFile recursively.
7789
7790 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7791
7792         * MenuBackend.C (expandFormats): add "..." to import formats.
7793
7794 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7795
7796         * paragraph.C (asString): Remove XForms RTL hacks.
7797
7798 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7799         * buffer.C: fix typo
7800
7801 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * Makefile.am (LIBS): delete var
7804         (lyx_LDADD): add @LIBS@ here instead.
7805
7806 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7807
7808         * Clarify the meaning of "wheel mouse jump"
7809
7810 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7811
7812         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7813         tabular in a float
7814
7815 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7816
7817         * importer.C (Loaders): do not preallocate 3 elements in the
7818         vector, since one ends up with 6 elements otherwise
7819
7820 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7821
7822         * DepTable.C (write): write the file name as last element of the
7823         .dep file (because it may contain spaces)
7824         (read): read info in the right order
7825
7826 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7827
7828         * paragraph_pimpl.C (simpleTeXBlanks):
7829         (simpleTeXSpecialChars):
7830         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7831
7832         * tabular.C (latex): add some missing case statements. Reindent.
7833
7834         * MenuBackend.C (expandToc): remove unused variable.
7835
7836 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7837
7838         * LColor.C:
7839         * LaTeX.C:
7840         * LyXAction.C:
7841         * MenuBackend.C:
7842         * buffer.C:
7843         * exporter.C:
7844         * lyxfunc.C:
7845         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7846         and the like.
7847
7848 2003-01-05  John Levon  <levon@movementarian.org>
7849
7850         * BufferView.h:
7851         * BufferView.C: add getEncoding()
7852
7853         * kbsequence.h:
7854         * kbsequence.C: do not store last keypress
7855
7856         * lyxfunc.h:
7857         * lyxfunc.C: store last keypress here instead. Pass encoding
7858           to getISOEncoded()
7859
7860 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7861
7862         * lyx_main.C (init): remove annoying error message when following
7863         symbolic links (bug #780)
7864
7865 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7866
7867         * text.C (insertChar):
7868         * lyxrc.C (getDescription): remove extra spaces
7869
7870 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7871
7872         * lyxrc.C (getDescription): remove extra spaces
7873
7874 2002-12-20  John Levon  <levon@movementarian.org>
7875
7876         * text3.C: hack fix for page up/down across tall rows
7877
7878 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7879
7880         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7881         not been invoked
7882
7883 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7884
7885         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7886         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7887         thesaurus is not compiled in
7888
7889 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7890
7891         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7892
7893 2002-12-16  Angus Leeming  <leeming@lyx.org>
7894
7895         * lyxrc.[Ch]:
7896         * lyx_main.C (init): remove override_x_deadkeys stuff.
7897
7898 2002-12-12  John Levon  <levon@movementarian.org>
7899
7900         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7901           insert. Only remove shift modifier under strict
7902           circumstances.
7903
7904 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * MenuBackend.C (expandToc): fix crash.
7907
7908 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * MenuBackend.C (expandToc): gettext on float names.
7911
7912 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7913
7914         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7915         implement bool empty() [bug 490]
7916
7917 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7920
7921 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * several files: ws changes
7924
7925 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * text2.C (setCounter): clean up a bit, use boost.format.
7928         (updateCounters): initialize par upon declaration.
7929
7930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7931         if the layout exists. We do not just store the layout any more.
7932         (SwitchLayoutsBetweenClasses): use boost.format
7933
7934 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7935
7936         * converter.C (convert): if from and to files are the same, use a
7937         temporary files as intermediary
7938
7939 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7940
7941         * commandtags.h:
7942         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7943
7944 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7945
7946         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7947
7948 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * tabular.C (asciiPrintCell): use string(size, char) instead of
7951         explicit loop.
7952
7953         * sgml.C (openTag): fix order of arguments to string constructor
7954         (closeTag): ditto
7955
7956         * lyxfunc.C (dispatch): use boost.format
7957
7958         * lots of files: change "c" -> 'c'
7959
7960 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7961
7962         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7963
7964 2002-11-25  Angus Leeming  <leeming@lyx.org>
7965
7966         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7967
7968         * lyx_main.C (init): compile fix.
7969
7970 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * lyx_cb.C (start): boost.formatify
7973         do not include <iostream>
7974
7975         * lengthcommon.C: ws only
7976
7977         * boost-inst.C,BoostFormat.h: add more explict instantations
7978
7979 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * lots of files: handle USE_BOOST_FORMAT
7982
7983 2002-11-21  John Levon  <levon@movementarian.org>
7984
7985         * pspell.C: fix compile
7986
7987 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7988
7989         * lyxfunc.C (dispatch): use boost::format
7990         (open): ditto
7991         (doImport): ditto
7992
7993         * lyxfont.C (stateText): use boost::format
7994
7995         * lyx_main.C (LyX): use boost::format
7996         (init): ditto
7997         (queryUserLyXDir): ditto
7998         (readRcFile): ditto
7999         (parse_dbg): ditto
8000         (typedef boost::function): use the recommened syntax.
8001
8002         * importer.C (Import): use boost::format
8003
8004         * debug.C (showLevel): use boost::format
8005
8006         * converter.C (view): use boost::format
8007         (convert): ditto
8008         (move): ditto
8009         (scanLog): ditto
8010
8011         * bufferview_funcs.C (currentState): use boost::format
8012
8013         * bufferlist.C (emergencyWrite): use boost::format
8014
8015         * buffer.C (readLyXformat2): use boost::format
8016         (parseSingleLyXformat2Token): ditto
8017
8018         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8019
8020         * LaTeX.C (run): use boost::format
8021
8022         * Chktex.C (scanLogFile): use boost::format
8023
8024         * BufferView_pimpl.C (savePosition): use boost::format
8025         (restorePosition): ditto
8026         (MenuInsertLyXFile): ditto
8027
8028         * BoostFormat.h: help file for explicit instation.
8029
8030 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8031
8032         * tabular.C (latex): Support for block alignment in fixed width
8033         columns.
8034
8035 2002-11-17  John Levon  <levon@movementarian.org>
8036
8037         * BufferView_pimpl.C:
8038         * lyx_cb.C:
8039         * lyxfunc.C: split filedialog into open/save
8040
8041 2002-11-08  Juergen Vigna  <jug@sad.it>
8042
8043         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8044         by my last patch (hopefully).
8045
8046 2002-11-08  John Levon  <levon@movementarian.org>
8047
8048         * iterators.h:
8049         * iterators.C:
8050         * buffer.h:
8051         * buffer.C:
8052         * paragraph.h:
8053         * paragraph.C:
8054         * toc.h:
8055         * toc.C: ParConstIterator, and use it (from Lars)
8056
8057 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8058
8059         * lyxtextclass.[Ch]: revise and add doxygen comments
8060
8061 2002-11-07  John Levon  <levon@movementarian.org>
8062
8063         * text.C: fix progress value for spellchecker
8064
8065         * toc.C: fix navigate menu for insetwrap inside minipage
8066
8067         * paragraph_funcs.C: added FIXME for suspect code
8068
8069 2002-11-07  John Levon  <levon@movementarian.org>
8070
8071         * BufferView_pimpl.C: fix redrawing of insets
8072           on buffer switch
8073
8074 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8075
8076         * text2.C (updateCounters): fix bug 668
8077
8078 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8079
8080         * text3.C (dispatch): Do not make the buffer dirty when moving the
8081         cursor.
8082
8083 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * vc-backend.C: STRCONV
8086         (scanMaster): ditto
8087
8088         * text2.C (setCounter): STRCONV
8089
8090         * paragraph.C (asString): STRCONV
8091
8092         * lyxlength.C (asString): STRCONV
8093         (asLatexString): ditto
8094
8095         * lyxgluelength.C (asString): STRCONV
8096         (asLatexString): ditto
8097
8098         * lyxfunc.C (dispatch): STRCONV
8099         (open): ditto
8100
8101         * lyxfont.C (stateText): STRCONV
8102
8103         * importer.C (Import): STRCONV
8104
8105         * counters.C (labelItem): STRCONV
8106         (numberLabel): ditto
8107         (numberLabel): remove unused ostringstream o
8108
8109         * chset.C: STRCONV
8110         (loadFile): ditto
8111
8112         * bufferview_funcs.C (currentState): STRCONV
8113
8114         * buffer.C (readFile): STRCONV
8115         (asciiParagraph): ditto
8116         (makeLaTeXFile): ditto
8117
8118         * Spacing.C (writeEnvirBegin): STRCONV
8119
8120         * LaTeXFeatures.C (getLanguages): STRCONV
8121         (getPackages): ditto
8122         (getMacros): ditto
8123         (getBabelOptions): ditto
8124         (getTClassPreamble): ditto
8125         (getLyXSGMLEntities): ditto
8126         (getIncludedFiles): ditto
8127
8128         * LaTeX.C: STRCONV
8129         (run): ditto
8130         (scanAuxFile): ditto
8131         (deplog): ditto
8132
8133         * LString.h: add the STRCONV macros
8134
8135         * BufferView_pimpl.C (savePosition): STRCONV
8136         (restorePosition): ditto
8137         (MenuInsertLyXFile): ditto
8138
8139         * vc-backend.C (scanMaster): change from submatch[...] to
8140         submatch.str(...)
8141
8142         * funcrequest.C: include config.h
8143
8144         * factory.C: include config.h
8145
8146         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8147
8148         * box.C: include config.h
8149
8150         * LaTeX.C (scanAuxFile): change from submatch[...] to
8151         submatch.str(...)
8152         (deplog): ditto
8153
8154 2002-10-25  Angus Leeming  <leeming@lyx.org>
8155
8156         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8157
8158         * ispell.[Ch] (setError): new method.
8159         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8160         Use setError() insetead of goto END.
8161
8162         * lyx_cb.C (AutoSave): move out child process into new class
8163         AutoSaveBuffer.
8164
8165 2002-10-30  John Levon  <levon@movementarian.org>
8166
8167         * text3.C: make start appendix undoable
8168
8169 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8170
8171         * lyxlength.C (inPixels): Fix returned value.
8172
8173         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8174         environment.
8175
8176 2002-10-24  Angus Leeming  <leeming@lyx.org>
8177
8178         * lyxgluelength.h: no need to forward declare BufferParams
8179         or BufferView, so don't.
8180
8181 2002-10-21  John Levon  <levon@movementarian.org>
8182
8183         * BufferView.C: menuUndo ->undo, redo
8184
8185         * BufferView.h: document, remove dead, make some methods private
8186
8187         * paragraph_funcs.h:
8188         * paragraph_funcs.C:
8189         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8190
8191         * buffer.h:
8192         * buffer.C:
8193         * sgml.h:
8194         * sgml.C: move sgml open/close tag into sgml.C
8195
8196         * bufferview_funcs.h: unused prototype
8197
8198         * lyxfunc.h:
8199         * lyxfunc.C: remove unused
8200
8201         * lyxtext.h:
8202         * text.C: remove unused
8203
8204 2002-10-21  John Levon  <levon@movementarian.org>
8205
8206         * BufferView.h:
8207         * BufferView.C:
8208         * BufferView_pimpl.h:
8209         * BufferView_pimpl.C: fix mouse wheel handling based on
8210           patch from Darren Freeman
8211
8212 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8213
8214         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8215
8216 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8217
8218         * lyxlength.C (inPixels): Fix hanfling of negative length.
8219         Fix LyXLength::MU case.
8220
8221 2002-10-16  John Levon  <levon@movementarian.org>
8222
8223         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8224
8225 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8226
8227         * converter.C (view): add support for $$i (file name) and $$p
8228         (file path) for the viewer command. If $$i is not specified, then
8229         it is appended to the command (for compatibility with old syntax)
8230
8231 2002-10-14  Juergen Vigna  <jug@sad.it>
8232
8233         * undo_funcs.C (textHandleUndo): alter the order in which the
8234         new undopar is added to the LyXText, as we have to set first
8235         the right prev/next and then add it as otherwise the rebuild of
8236         LyXText is not correct. Also reset the cursor to the right paragraph,
8237         with this IMO we could remove the hack in "redoParagraphs()".
8238
8239 2002-10-09  Angus Leeming  <leeming@lyx.org>
8240
8241         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8242         to turn off an optimisation if a new inset is to be inserted.
8243
8244 2002-10-11 André Pönitz <poenitz@gmx.net>
8245
8246         * lyxtext.h: make some functions public to allow access
8247         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8248
8249 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8250
8251         * text3.C (dispatch): when changing layout, avoid an infinite loop
8252         [bug #652]
8253
8254 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8255
8256         * lyxrc.C (read): treat a viewer or converter command of "none" as
8257         if it were empty.
8258
8259         * MenuBackend.C (expandFormats): for an update, also allow the
8260         formats that are not viewable
8261
8262         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8263         script if it is newer than the lyxrc.defaults in user directory
8264
8265 2002-10-07 André Pönitz <poenitz@gmx.net>
8266
8267         * text.C: Vitaly Lipatov's small i18n fix
8268
8269 2002-09-25  Angus Leeming  <leeming@lyx.org>
8270
8271         * ispell.h: doxygen fix.
8272
8273 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * buffer.h (readFile): Add a new argument to the method, to allow
8276         reading of old-format templates.
8277
8278 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8279
8280         * toc.C (getTocList): Get TOC from InsetWrap.
8281
8282 2002-09-16  John Levon  <levon@movementarian.org>
8283
8284         * lyxfunc.C: check tabular for cut/copy too
8285
8286 2002-09-12  John Levon  <levon@movementarian.org>
8287
8288         * LyXAction.C: tidy
8289
8290         * factory.h:
8291         * factory.C: add header
8292
8293         * paragraph_funcs.h:
8294         * paragraph_funcs.C: cleanup
8295
8296 2002-09-11  John Levon  <levon@movementarian.org>
8297
8298         * PrinterParams.h: odd/even default to true
8299
8300 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8301
8302         * PrinterParams.h: update printer parameters for new xforms dialog
8303
8304 2002-09-11  Angus Leeming  <leeming@lyx.org>
8305
8306         * lyxserver.C (read_ready): re-write to make it more transparent
8307         and to make it work in coherent fashion under Tru64 Unix.
8308
8309 2002-09-11  André Pönitz <poenitz@gmx.net>
8310
8311         * commandtags.h:
8312         * LyXAction.C:
8313         * text3.C: implement LFUN_WORDSEL
8314
8315 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8318         make floatlist_ a boost::shared_ptr<FloatList>
8319
8320         * lyxtextclass.C: include FloatList.h
8321         (LyXTextClass): initialize floatlist_
8322         (TextClassTags): add TC_NOFLOAT
8323         (Read): match "nofloat" to TC_NOFLOAT and use it.
8324         (readFloat): modify call to floatlist_
8325         (floats): ditto
8326         (floats): ditto
8327
8328         * FloatList.[Ch] (FloatList): remove commented out float
8329         initialization.
8330         (erase): new function
8331
8332 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8333
8334         * MenuBackend.C (expandToc): fix crash when there is no document
8335         open
8336
8337 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * many files: Add insetwrap.
8340
8341 2002-09-09  John Levon  <levon@movementarian.org>
8342
8343         * text2.C: remove confusing and awkward depth wraparound
8344
8345 2002-09-09  John Levon  <levon@movementarian.org>
8346
8347         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8348
8349         * buffer.h:
8350         * buffer.C: remove getIncludeonlyList()
8351
8352         * paragraph.C:
8353         * lyxfunc.C: remove headers
8354
8355 2002-09-09  Juergen Vigna  <jug@sad.it>
8356
8357         * text.C (getColumnNearX): fix form Michael this is most
8358         probably a cut&paste bug.
8359
8360 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8363
8364         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8365         references, ws changes.
8366
8367         * text2.C (init): update counters after init
8368         (insertParagraph): no need to set counter on idividual paragraphs.
8369         (setCounter): access the counters object in the textclass object
8370         on in the buffer object.
8371         (updateCounters): ditto
8372
8373         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8374         shared_ptr<Counters> to avoid loading counters.h in all
8375         compilation units.
8376         (LyXTextClass): initialize ctrs_
8377         (TextClassTags): add TC_COUNTER, and ...
8378         (Read): use it here.
8379         (CounterTags): new tags
8380         (readCounter): new function
8381         (counters): new funtion
8382         (defaultLayoutName): return a const reference
8383
8384         * counters.C (Counters): remove contructor
8385         (newCounter): remove a couple of unneeded statements.
8386         (newCounter): simplify a bit.
8387         (numberLabel): some small formatting changes.
8388
8389         * buffer.[Ch]: remove all traces of counters, move the Counters
8390         object to the LyXTextClass.
8391
8392 2002-09-06  Alain Castera  <castera@in2p3.fr>
8393
8394         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8395         package to set the horizontal alignment on fixed width columns.
8396
8397         * lyx_sty.C:
8398         * lyx_sty.h: added tabularnewline macro def.
8399
8400         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8401
8402 2002-09-06  John Levon  <levon@movementarian.org>
8403
8404         * LyXAction.C: tooltips for sub/superscript
8405
8406         * MenuBackend.C: a bit more verbose
8407
8408         * lyxfunc.C: tiny clean
8409
8410         * undo_funcs.C: document undo_frozen
8411
8412 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * counters.C (Counters): add missing algorithm counter.
8415
8416         * text2.C (setCounter): lookup the counter with layouts latexname
8417         instead of by section number.
8418         (setCounter): use a hackish way to lookup the correct enum
8419         counter.
8420         a float name->type change
8421         reset enum couners with counter name directly instead of depth value.
8422
8423         * counters.C (Counters): remove the push_backs, change to use the
8424         float type not the float name.
8425         (labelItem): remove unused string, float name->type change
8426
8427         * counters.h: don't include vector, loose the enums and sects vectors
8428
8429 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8432         (Read): add float->TC_FLOAT to textclassTags
8433         (Read): and handle it in the switch
8434         (readFloat): new function
8435
8436         * FloatList.C (FloatList): comment out the hardcoded float
8437         definitions.
8438
8439         * lyxlayout.h: ws change.
8440
8441 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8444
8445 2002-09-03  Angus Leeming  <leeming@lyx.org>
8446
8447         * BufferView_pimpl.h: qualified name is not allowed in member
8448         declaration: WorkArea & Pimpl::workarea() const;
8449
8450         * factory.C: added using std::endl directive.
8451
8452         * text3.C: added using std::find and std::vector directives.
8453
8454 2002-08-29  André Pönitz <poenitz@gmx.net>
8455
8456         * lyxtext.h:
8457         * text2.C: remove unused member number_of_rows
8458
8459         * Makefile.am:
8460         * BufferView2.C: remove file, move contents to...
8461         * BufferView.C: ... here
8462
8463         * BufferView_pimpl.C:
8464         * factory.C: move more inset creation to factory
8465
8466         * vspace.C: avoid direct usage of LyXText, ws changes
8467
8468         * BufferView.[Ch]:
8469                 don't provide direct access to WorkArea, use two simple
8470                 acessors haveSelction() and workHeight() instead
8471
8472
8473 2002-08-29  John Levon  <levon@movementarian.org>
8474
8475         * BufferView_pimpl.C (dispatch): do not continue when
8476           no buffer
8477
8478 2002-08-28  André Pönitz <poenitz@gmx.net>
8479
8480         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8481
8482         * BufferView.h:
8483         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8484
8485 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8486
8487         * buffer.C: increment LYX_FORMAT to 221
8488
8489         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8490         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8491
8492         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8493
8494         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8495
8496 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8497
8498         * factory.C (createInset): use LyXTextClass::floats
8499
8500         * MenuBackend.C (expandFloatListInsert):
8501         (expandFloatInsert):
8502         (expandToc):
8503
8504         * text2.C (setCounter):
8505
8506         * LaTeXFeatures.C (useFloat):
8507         (getFloatDefinitions):
8508
8509         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8510
8511         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8512         floatlist_, with accessor floats().
8513
8514         * FloatList.h: remove global FloatList
8515
8516 2002-08-26  André Pönitz <poenitz@gmx.net>
8517
8518         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8519
8520         * BufferView.h:
8521         * BufferView2.C:
8522         * BufferView_pimpl.C:
8523         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8524
8525 2002-08-25  John Levon  <levon@movementarian.org>
8526
8527         * LyXAction.C: fix margin note description
8528
8529 2002-08-24  John Levon  <levon@movementarian.org>
8530
8531         * buffer.C:
8532         * bufferlist.C:
8533         * bufferview_funcs.C:
8534         * lyxfont.C:
8535         * undo_funcs.C: cleanups
8536
8537         * lyxfunc.C: disable CUT/COPY when no selection
8538
8539 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8540
8541         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8542         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8543
8544         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8545         Add backward compatibility to "mono", "gray" and "no".
8546
8547 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8548
8549         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8550         (and file_format >= 200).
8551
8552 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8555
8556 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8557
8558         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8559
8560 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8561
8562         * BufferView_pimpl.C:
8563         * LyXAction.C:
8564         * buffer.C:
8565         * commandtags.h:
8566         * lyxfunc.C:
8567         * paragraph.[Ch]:
8568         * text2.C:
8569         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8570         inset and code to make it  work with the paragraph code. The inset
8571         can be anywhere in the paragraph, but will only do the expected
8572         thing in LaTeX if the layout file contains the parameter line
8573                         OptionalArgs    1
8574         (or more generally, a nonzero value) for that layout.
8575
8576 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * paragraph.h: remove the declaration of undefined counters class
8579         function.
8580
8581 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8582
8583         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8584         Dr. Richard Hawkins.
8585
8586 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8587
8588         * paragraph_funcs.h: remove some unneeded includes
8589
8590         * text.C (backspace): pasteParagraph now in global scipe
8591
8592         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8593         (pasteSelection): ditto
8594
8595         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8596         * paragraph_funcs.C (pasteParagraph): ... here
8597
8598 2002-08-20  André Pönitz <poenitz@gmx.net>
8599
8600         * commandtags.h: new LFUNs for swapping/copying table row/colums
8601
8602         * LyXAction.C:
8603         * lyxfunc.C: support for new lfuns
8604
8605 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8606
8607         * tabular.C:
8608         * buffer.[Ch]: remove NO_COMPABILITY stuff
8609
8610 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * boost.C (throw_exception): new file, with helper function for
8613         boost compiled without exceptions.
8614
8615         * paragraph.h:
8616         * lyxlength.C:
8617         * buffer.C:
8618         * ParameterStruct.h:
8619         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8620
8621         * bufferlist.C (emergencyWriteAll): use boost bind
8622
8623         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8624
8625         * text.C: include paragraph_funcs.h
8626         (breakParagraph): breakParagraph is now in global scope
8627
8628         * paragraph_funcs.[Ch]: new files
8629
8630         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8631         global scope
8632
8633         * buffer.C: include paragraph_funcs.h
8634         (insertStringAsLines): breakParagraph is now in global scope
8635
8636         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8637         paragraph_funcs.C
8638
8639         * CutAndPaste.C: include paragraph_funcs.h
8640         (cutSelection): breakParagraphConservative is now in global scope
8641         (pasteSelection): ditto
8642
8643         * buffer.h: declare oprator== and operator!= for
8644         Buffer::inset_iterator
8645
8646         * bufferlist.C (emergencyWrite): don't use fmt(...)
8647
8648         * text3.C: add using std::endl
8649
8650         * BufferView.C (moveCursorUpdate): remove default arg
8651
8652 2002-08-20  André Pönitz <poenitz@gmx.net>
8653
8654         * buffer.[Ch]: move inline functions to .C
8655
8656         * BufferView2.C:
8657         * BufferView_pimpl.C:
8658         * text.C:
8659         * buffer.[Ch]: use improved inset_iterator
8660
8661         * buffer.C:
8662         * paragraph.[Ch]: write one paragraph at a time
8663
8664 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8665
8666         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8667         style if style is not specified.
8668
8669 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8670
8671         * text2.C (setCounter): when searching for right label for a
8672         caption, make sure to recurse to parent insets (so that a caption
8673         in a minipage in a figure float works) (bug #568)
8674
8675 2002-08-20  André Pönitz <poenitz@gmx.net>
8676
8677         * text3.C: new file for LyXText::dispatch() and helpers
8678
8679         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8680
8681         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8682
8683 2002-08-19  André Pönitz <poenitz@gmx.net>
8684
8685         * lyxtext.h:
8686         * text.C: new LyXText::dispatch()
8687
8688         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8689
8690 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8691
8692         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8693
8694         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8695         Hebrew text.
8696
8697 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * Makefile.am: use $(variables) instead of @substitutions@
8700
8701 2002-08-15  André Pönitz <poenitz@gmx.net>
8702
8703         * lyxfunc.C:
8704         * BufferView_pimpl.C: streamlining mathed <-> outer world
8705         interaction
8706
8707         * commandtags.h:
8708         * LyXAction.C: remove unused LFUN_MATH
8709
8710 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8713
8714 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * paragraph.C (Paragraph): reformat a bit
8717         (cutIntoMinibuffer): use builtin InsetList function instad of
8718         doing it manually.
8719         (getInset): ditto
8720
8721         * buffer.C: include boost/bind.hpp, add using std::for_each
8722         (writeFileAscii): use ParagraphList iterators
8723         (validate): use for_each for validate traversal of paragraphs
8724         (getBibkeyList): use ParagraphList iterators
8725         (resizeInsets): use for_each to resizeInsetsLyXText for all
8726         paragraphs.
8727         (getParFromID): use ParagraphList iterators
8728
8729         * BufferView2.C (lockInset): use paragraph list and iterators
8730
8731 2002-08-14  John Levon  <levon@movementarian.org>
8732
8733         * lyxserver.C: remove spurious xforms include
8734
8735 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8736
8737         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8738
8739 2002-08-13  André Pönitz <poenitz@gmx.net>
8740
8741         * LyXAction.[Ch]:
8742         * lyxfunc.C: further cleaning
8743
8744 2002-08-13  André Pönitz <poenitz@gmx.net>
8745
8746         * funcrequest.h: new constructor
8747
8748         * funcrequest.C: move stuff here from .h
8749
8750         * Makefile.am:
8751         * BufferView_pimpl.C:
8752         * LyXAction.C:
8753         * toc.C:
8754         * lyxfunc.C: subsequent changes
8755
8756         * lyxfunc.h: new view() member function
8757
8758         * lyxfunc.C: subsequent changes
8759
8760 2002-08-13  Angus Leeming  <leeming@lyx.org>
8761
8762         * BufferView2.C:
8763         * BufferView_pimpl.C:
8764         * buffer.C:
8765         * converter.C:
8766         * importer.C:
8767         * lyxfunc.C:
8768         * lyxvc.C:
8769         * toc.C:
8770         * vc-backend.C:
8771         changes due to the changed LyXView interface that now returns references
8772         to member variables not pointers.
8773
8774 2002-08-13  Angus Leeming  <leeming@lyx.org>
8775
8776         * WordLangTuple (word, lang_code): return references to strings,
8777         not strings.
8778
8779         * BufferView.h:
8780         * SpellBase.h:
8781         * lyxtext.h: forward-declare WordLangTuple.
8782
8783         * BufferView2.C:
8784         * ispell.C:
8785         * pspell.C:
8786         * text.C: #include "WordLangTuple.h".
8787
8788         * lyxtext.h:
8789         * text.C: (selectNextWordToSpellcheck): constify return type.
8790
8791 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8792
8793         * buffer.C:
8794         * buffer.h:
8795         * lyxtext.h:
8796         * paragraph.C:
8797         * paragraph_pimpl.h:
8798         * text.C:
8799         * text2.C:
8800         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8801         suggested by Angus.
8802         Made updateCounter always count from start of buffer, and removed
8803         second argument (par).
8804         Reverted floats number display to '#'. Perhaps I'll try again when the
8805         code base is sanitized a bit.
8806
8807 2002-08-12  Angus Leeming  <leeming@lyx.org>
8808
8809         * buffer.[Ch] (getLabelList): constify.
8810
8811 2002-08-07  André Pönitz <poenitz@gmx.net>
8812
8813         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8814
8815         * funcrequest.h: extension to keep mouse (x,y) position
8816
8817 2002-08-12  Juergen Vigna  <jug@sad.it>
8818
8819         * BufferView2.C (insertErrors): forbid undo when inserting error
8820         insets.
8821
8822         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8823
8824 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * ParagraphList.[Ch]: new files
8827
8828         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8829
8830         * BufferView2.C (lockInset): ParagraphList changes
8831         * toc.C: ditto
8832         * text2.C: ditto
8833         * bufferlist.C: ditto
8834         * buffer.h: ditto
8835         * buffer.C: ditto
8836
8837 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8838
8839         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8840         unused class variable counter_,
8841
8842         * paragraph.[Ch] (getFirstCounter): delete unused function
8843
8844         * counters.C: include LAssert.h
8845         (reset): add a new function with no arg, change other version to
8846         not have def. arg and to not allow empty arg.
8847
8848         * text2.C (setCounter): remove empty arg from call to Counters::reset
8849
8850 2002-08-11  John Levon  <levon@movementarian.org>
8851
8852         * Makefile.am: add WordLangTuple.h
8853
8854 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8855
8856         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8857         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8858
8859         * insets/insettext.C: InsetList changes
8860
8861         * graphics/GraphicsSupport.C (operator()): InsetList changes
8862
8863         * toc.C (getTocList): InsetList changes
8864
8865         * paragraph_pimpl.[Ch]: InsetList changes
8866
8867         * paragraph.[Ch]: InsetList changes
8868
8869         * buffer.C (inset_iterator): InsetList changes
8870         (setParagraph): ditto
8871         * buffer.h (inset_iterator): ditto
8872         * iterators.C (operator++): ditto
8873         * iterators.h: ditto
8874
8875         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8876
8877         * InsetList.[Ch]: new files, most InsetList handling moved out of
8878         paragraph.C.
8879
8880         * BufferView2.C (removeAutoInsets): InsetList changes
8881         (lockInset): ditto
8882         (ChangeInsets): ditto
8883
8884 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8885
8886         * paragraph_pimpl.h (empty): new function
8887
8888         * paragraph.[Ch] (empty): new function
8889
8890         * other files: use the new Paragraph::empty function
8891
8892 2002-08-09  John Levon  <levon@movementarian.org>
8893
8894         * lyxtext.h: remove unused refresh_height
8895
8896 2002-08-09  John Levon  <levon@movementarian.org>
8897
8898         * Makefile.am:
8899         * sgml.h:
8900         * sgml.C:
8901         * buffer.C:
8902         * paragraph.h:
8903         * paragraph.C: move sgml char escaping out of paragraph
8904
8905         * paragraph.h:
8906         * paragraph.C: remove id setter
8907
8908         * buffer.C:
8909         * paragraph.C:
8910         * paragraph_pimpl.C: remove dead tex_code_break_column
8911
8912         * bufferview_funcs.C: small cleanup
8913
8914         * lyxfunc.C: remove dead proto
8915
8916         * lyxtext.h: make some stuff private. Remove some dead stuff.
8917
8918         * lyxgluelength.C: make as[LyX]String() readable
8919
8920 2002-08-08  John Levon  <levon@movementarian.org>
8921
8922         * LyXAction.h:
8923         * LyXAction.C:
8924         * MenuBackend.C:
8925         * ToolbarDefaults.C:
8926         * lyxfunc.C:
8927         * lyxrc.C:
8928         * toc.C: lyxaction cleanup
8929
8930 2002-08-08  John Levon  <levon@movementarian.org>
8931
8932         * BufferView2.C: small cleanup
8933
8934         * lyxfind.h:
8935         * lyxfind.C: move unnecessary header into the .C
8936
8937 2002-08-08  John Levon  <levon@movementarian.org>
8938
8939         * funcrequest.h: just tedious nonsense
8940
8941         * lyx_main.h:
8942         * lyx_main.C: cleanups
8943
8944         * buffer.C:
8945         * vspace.C: remove dead header lyx_main.h
8946
8947 2002-08-07  Angus Leeming  <leeming@lyx.org>
8948
8949         * Paragraph.[Ch]:
8950         * paragraph_pimpl.h:
8951         Forward declare class Counters in paragraph.h by moving the ctrs member
8952         variable into Paragraph::Pimpl.
8953         (counters): new method, returning a reference to pimpl_->ctrs.
8954
8955         * text2.C: ensuing changes.
8956
8957 2002-08-07  John Levon  <levon@movementarian.org>
8958
8959         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8960
8961         * BufferView_pimpl.C: announce X selection on double/triple
8962           click
8963
8964         * lyx_main.C: use correct bool in batch dispatch
8965
8966         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8967
8968 2002-08-07  André Pönitz <poenitz@gmx.net>
8969
8970         * funcrequest.h: new class to wrap a kb_action and its argument
8971
8972         * BufferView.[Ch]:
8973         * BufferView_pimpl[Ch]:
8974         * LaTeX.C:
8975         * LyXAction.[Ch]:
8976         * lyxfunc.[Ch]:
8977         * lyxrc.C: subsequent changes
8978
8979
8980 2002-08-07  John Levon  <levon@movementarian.org>
8981
8982         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8983           document options change.
8984
8985 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8986
8987         * counters.[Ch]
8988         * text2.C
8989         * paragraph.[Ch]
8990         * makefile.am: move counters functionality over from
8991         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8992
8993 2002-08-06  John Levon  <levon@movementarian.org>
8994
8995         * WordLangTuple.h: new file for word + language code tuple
8996
8997         * SpellBase.h:
8998         * pspell.h:
8999         * pspell.C:
9000         * ispell.h:
9001         * ispell.C:
9002         * lyxtext.h:
9003         * text.C:
9004         * text2.C:
9005         * BufferView.h:
9006         * BufferView2.C: use WordLangTuple
9007
9008         * layout.h:
9009         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9010
9011 2002-08-06  John Levon  <levon@movementarian.org>
9012
9013         * lyx_main.C: fix cmdline batch handling
9014
9015 2002-08-06  André Pönitz <poenitz@gmx.net>
9016
9017         * lyxrc.C: set default for show_banner to true
9018
9019 2002-08-06  John Levon  <levon@movementarian.org>
9020
9021         * pspell.C: fix a crash, and allow new aspell to work
9022
9023 2002-08-06  John Levon  <levon@movementarian.org>
9024
9025         * lyxfunc.C:
9026         * kbmap.C: small cleanup
9027
9028         * vspace.h:
9029         * vspace.C: add const
9030
9031 2002-08-05  John Levon  <levon@movementarian.org>
9032
9033         * LyXAction.C: back to tabular-insert
9034
9035 2002-08-04  John Levon  <levon@movementarian.org>
9036
9037         * BufferView.h:
9038         * BufferView.C: cosmetic change
9039
9040         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9041
9042         * bufferlist.C:
9043         * buffer.h:
9044         * buffer.C:
9045         * lyxcb.h:
9046         * lyxcb.C:
9047         * lyxserver.C:
9048         * lyxvc.C:
9049         * vc-backend.C:
9050         * BufferView2.C: purge all "Lyx" not "LyX" strings
9051
9052         * lyxcursor.h:
9053         * lyxcursor.C: attempt to add some documentation
9054
9055         * lyxfunc.C:
9056         * commandtags.h:
9057         * LyXAction.C:
9058         * ToolbarDefaults.C:
9059         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9060           merge with LFUN_TABULAR_INSERT
9061
9062         * Makefile.am:
9063         * SpellBase.h:
9064         * ispell.h:
9065         * ispell.C:
9066         * pspell.h:
9067         * pspell.C: split up i/pspell implementations into separate
9068           files, many cleanups
9069
9070         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9071
9072         * text2.C: some cleanup
9073
9074         * lyxfunc.C: don't check for isp_command == "none" any more, it
9075           didn't make any sense
9076
9077 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9078
9079         * counters.[Ch]
9080         * text2.C
9081         * paragraph.[Ch]
9082         * makefile.am: move counters functionality over
9083         from text2.C/paragraph.[Ch] to counters.[Ch], and
9084         make proper C++.
9085 2002-08-02  John Levon  <levon@movementarian.org>
9086
9087         * buffer.C: s/lyxconvert/lyx2lyx/
9088
9089 2002-08-02  Angus Leeming  <leeming@lyx.org>
9090
9091         * lyxlex.C: revert John's change as it breaks reading of the user
9092         preamble.
9093
9094 2002-08-02  Angus Leeming  <leeming@lyx.org>
9095
9096         * importer.C (Import):
9097         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9098         changes due to LyXView::view() now returning a boost::shared_ptr.
9099
9100 2002-08-02  John Levon  <levon@movementarian.org>
9101
9102         * lyxlex.C: small cleanup
9103
9104 2002-08-02  John Levon  <levon@movementarian.org>
9105
9106         * text2.C (status): small cleanup, no logic change
9107
9108 2002-08-01  John Levon  <levon@movementarian.org>
9109
9110         * buffer.h:
9111         * buffer.C (writeFile): don't output alerts, caller
9112           handles this
9113
9114         * bufferlist.C:
9115         * lyx_cb.C: from above
9116
9117         * lyxfunc.C: allow to open non-existent files
9118
9119 2002-07-31  John Levon  <levon@movementarian.org>
9120
9121         * lyxserver.C: don't let incidental errors get
9122           in the way (errno)
9123
9124 2002-07-30  John Levon  <levon@movementarian.org>
9125
9126         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9127
9128 2002-07-30  John Levon  <levon@movementarian.org>
9129
9130         * lyxserver.h:
9131         * lyxserver.C: remove I/O callback too
9132
9133 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9136         log.
9137
9138 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9139
9140         * many files: strip,frontStrip -> trim,ltrim,rtrim
9141
9142 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9143
9144         * PrinterParams.h: remove extern containsOnly, and include
9145         support/lstrings.h instead.
9146
9147         * LaTeX.C (scanAuxFile): modify because of strip changes
9148         (deplog): ditto
9149         * buffer.C (makeLaTeXFile): ditto
9150         * bufferparams.C (writeFile): ditt
9151         * lyxfont.C (stateText): ditto
9152         * lyxserver.C (read_ready): ditto
9153         * vc-backend.C (scanMaster): ditto
9154
9155         * BufferView_pimpl.h: ws changes
9156
9157         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9158
9159 2002-07-26  André Pönitz <poenitz@gmx.net>
9160
9161         * kb_sequence.C: remove unnedred usings
9162
9163 2002-07-26  Juergen Vigna  <jug@sad.it>
9164
9165         * lyxfind.C (LyXReplace): we have to check better if the returned
9166         text is not of theLockingInset()->getLockingInset().
9167
9168 2002-07-25  Juergen Vigna  <jug@sad.it>
9169
9170         * lyxfind.C (LyXReplace): don't replace if we don't get the
9171         right LyXText.
9172
9173         * undo_funcs.C (createUndo): remove debugging code.
9174
9175 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9176
9177         * buffer.C (parseSingleLyXformat2Token): Use default placement
9178         when reading old floats.
9179
9180         * FloatList.C (FloatList): Change the default placement of figure
9181         and tables to "tbp".
9182
9183 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * MenuBackend.C: using std::max
9186
9187 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9188
9189         * MenuBackend.C (expandToc):
9190         (expandToc2): code moved from xforms menu frontend. It is now
9191         generic and TOCs are transparent to menu frontends.
9192
9193 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * toc.C (getTocList): protect against buf=0
9196
9197         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9198         Menu as first parameter. Now, this calls itself recursively to
9199         expand a whole tree (this will be useful for TOC handling)
9200         (expandFloatInsert): remove 'wide' version of floats
9201
9202         * MenuBackend.h (submenuname): returns the name of the submenu.
9203         (submenu): returns the submenu itself, provided it has been
9204         created by MenuBackend::expand
9205
9206 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9209         insets which have noFontChange == true. (bug #172)
9210
9211 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9212
9213         * BufferView_pimpl.C: add connection objects and use them...
9214         (Pimpl): here.
9215
9216 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9217
9218         * MenuBackend.C (expandLastfiles):
9219         (expandDocuments):
9220         (expandFormats):
9221         (expandFloatListInsert):
9222         (expandFloatInsert):
9223         (expand): split expand in parts
9224
9225 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * lyx_gui.C: use lyx_gui::exit()
9228
9229 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * LyXAction.C: show the failing pseudo action
9232
9233 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9234
9235         * buffer.C (readFile): Run the lyxconvert script in order to read
9236         old files.
9237
9238 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * LyXAction.C:
9241         * commandtags.h:
9242         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9243
9244 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * LyXAction.C:
9247         * commandtags.h:
9248         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9249
9250 2002-07-22  Herbert Voss  <voss@lyx.org>
9251
9252         * lengthcommon.C:
9253         * lyxlength.[Ch]: add support for the vertical lengths
9254
9255 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9256
9257         * toc.[Ch]: std:: fixes
9258
9259 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * lyxrc.C: do not include lyx_main.h
9262
9263         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9264         for layouts
9265
9266         * lyxrc.C:
9267         * encoding.C:
9268         * bufferlist.C:
9269         * BufferView2.C: include "lyxlex.h"
9270
9271         * tabular.h:
9272         * bufferparams.h: do not #include "lyxlex.h"
9273
9274         * lyxtextclasslist.C (Add): remove method
9275         (classlist): renamed to classlist_
9276
9277         * paragraph_pimpl.C:
9278         * paragraph.C:
9279         * text2.C:
9280         * CutAndPaste.C:
9281         * bufferview_funcs.C:
9282         * bufferlist.C:
9283         * text.C:
9284         * LaTeXFeatures.C:
9285         * buffer.C:
9286         * toc.C (getTocList): use BufferParams::getLyXTextClass
9287
9288         * toc.C (getTocList): use InsetFloat::addToToc
9289
9290         * toc.[Ch]: new files, containing helper functions to handle table
9291         of contents
9292
9293         * lyxfunc.C (dispatch): no need to remove spaces around command
9294         given as a string
9295         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9296         first command of the sequence; it is not very clever, but I do not
9297         have a better idea, actually
9298
9299         * LyXAction.C (LookupFunc): make sure to remove space at the
9300         beginning and end of the command
9301
9302 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * MenuBackend.C (getMenubar): new method: return the menubar of
9305         this menu set
9306         (read): treat differently reading of menu and menubar (in
9307         particular, the menubar has no name now)
9308         (Menu::menubar): remove
9309
9310         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9311         saving is finished
9312
9313 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9314
9315         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9316         a bibitem inset in a RTL paragraph.
9317
9318 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * paragraph_pimpl.C: constify
9321
9322         * BufferView_pimpl.C:
9323         * LaTeX.C:
9324         * lyxfunc.C: fix dispatch in a nicer way
9325
9326 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * lyxfunc.C (dispatch):
9329         * BufferView_pimpl.C:
9330         * BufferView_pimpl.h:
9331         * BufferView.C:
9332         * BufferView.h: rename Dispatch() to dispatch()
9333
9334         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9335
9336         * lyxlayout.C (Read): honor DependsOn tag
9337
9338         * lyxlayout.[Ch] (depends_on): new method
9339
9340         * version.C.in: update lyx_docversion
9341
9342         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9343
9344         * paragraph.C (validate): remove from here...
9345         * paragraph_pimpl.C (validate): ... and move here
9346         (isTextAt): make it const
9347
9348         * buffer.C (getLists): ws cleanup
9349
9350 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9351
9352         * language.C (read): Use iso8859-1 encoding in latex_lang
9353         (this prevents LyX from crashing when using iso10646-1 encoding).
9354
9355 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * text2.C (toggleInset): if cursor is inside an inset, close the
9358         inset and leave cursor _after_ it
9359
9360 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9361
9362         * lyxfunc.C: move minibuffer completion handling out of here
9363
9364 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * BufferView_pimpl.C:
9367         * LaTeX.C: fix dispatch calls
9368
9369 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9370
9371         * text.C (drawChars): Fix Arabic text rendering.
9372
9373 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * LyXAction.C:
9376         * commandtags.h:
9377         * lyxfunc.C: remove message-push/pop
9378
9379         * lyxserver.C:
9380         * lyxfunc.h:
9381         * lyxfunc.C: rationalise some code by removing verboseDispatch
9382           in favour of a bool argument to dispatch()
9383
9384 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * lyx_main.C (init): make sure to read symlinks as absolute paths
9387
9388 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9389
9390         * lyxfunc.h:
9391         * lyxfunc.C: no need for commandshortcut to be a member
9392
9393 2002-07-15  André Pönitz <poenitz@gmx.net>
9394
9395         * converter.C: add support for $$s (scripts from lib/scripts dir)
9396         * lyx_main.C: white space
9397
9398 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9399
9400         * bufferlist.C:
9401         * lyxrc.h:
9402         * lyxrc.C: remove second exit confirmation
9403
9404 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * BufferView.h:
9407         * BufferView.C:
9408         * BufferView2.C:
9409         * BufferView_pimpl.h:
9410         * BufferView_pimpl.C:
9411         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9412
9413 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9414
9415         * MenuBackend.C (expand): add numeric shortcuts to document menu
9416
9417         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9418
9419 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * lyxfont.C (setLyXFamily):
9422         (setLyXSeries):
9423         (setLyXShape):
9424         (setLyXSize):
9425         (setLyXMisc):
9426         (lyxRead):
9427         * debug.C (value):
9428         * buffer.C (asciiParagraph): use ascii_lowercase
9429
9430 2002-07-15  Mike Fabian  <mfabian@suse.de>
9431
9432         * lyxlex_pimpl.C (search_kw):
9433         * lyxlex.C (getLongString):
9434         * converter.h (operator<):
9435         * converter.C (operator<):
9436         * buffer.C (parseSingleLyXformat2Token):
9437         (asciiParagraph):
9438         * ToolbarDefaults.C (read):
9439         * MenuBackend.C (checkShortcuts):
9440         (read):
9441         * LColor.C (getFromGUIName):
9442         (getFromLyXName): use the compare_ascii_no_case instead of
9443         compare_no_case, because in turkish, 'i' is not the lowercase
9444         version of 'I', and thus turkish locale breaks parsing of tags.
9445
9446 2002-07-16  Angus Leeming  <leeming@lyx.org>
9447
9448         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9449         now takes a Buffer const & argument.
9450
9451 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * BufferView.C (resize): check there's a buffer to resize
9454
9455 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9456
9457         * lyxfunc.C: remove dead code
9458
9459         * lyxserver.h:
9460         * lyxserver.C: use lyx_guii::set_read_callback
9461
9462 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9463
9464         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9465         an inset in a RTL paragraph.
9466
9467 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * lyxfunc.C: repaint after a font size update
9470
9471 2002-07-15  André Pönitz <poenitz@gmx.net>
9472
9473         * lyxlength.C: inBP should be able to return negative values
9474
9475 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * lyxfunc.C: use lyx_gui::update_fonts()
9478
9479 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9480
9481         * lyxfunc.C: use lyx_gui::update_color()
9482
9483 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * bufferlist.C:
9486         * lyxfunc.h:
9487         * lyxfunc.C:
9488         * lyxrc.h:
9489         * lyxrc.C: remove file->new asks for name option, and let
9490           buffer-new take an argument
9491
9492 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * BufferView_pimpl.C: remove unneeded extra repaint()
9495
9496 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * LyXAction.C: allow command-sequence with NoBuffer
9499
9500         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9501
9502 2002-07-10  Angus Leeming  <leeming@lyx.org>
9503
9504         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9505
9506 2002-07-09  Angus Leeming  <leeming@lyx.org>
9507
9508         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9509
9510 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * lengthcommon.h: whitespace
9513
9514         * lyxfunc.C: update scrollbar after goto paragraph
9515
9516         * lyxtext.h: factor out page break drawing, and fix it so
9517           page break/added space paints as selected nicely
9518
9519 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * BufferView_pimpl.C: add FIXMEs, clean up a little
9522
9523 2002-07-09  André Pönitz <poenitz@gmx.net>
9524
9525         * lyxfont.[Ch]: support for wasy symbols
9526
9527 2002-07-08  André Pönitz <poenitz@gmx.net>
9528
9529         * BufferView_pimpl.C: apply John's patch for #93.
9530
9531 2002-07-05  Angus Leeming  <leeming@lyx.org>
9532
9533         * BufferView_pimpl.C (buffer): generate previews if desired.
9534
9535         * LColor.h: add "preview" to the color enum.
9536
9537         * LColor.C (LColor): add a corresponding entry to the items array.
9538
9539         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9540         with this buffer.
9541
9542 2002-07-05  Angus Leeming  <leeming@lyx.org>
9543
9544         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9545         The body of the code is now in the method that is passed an ostream &
9546         rather than a file name.
9547         Pass an additional only_preamble parameter, useful for the forthcoming
9548         preview stuff.
9549
9550 2002-07-03  André Pönitz <poenitz@gmx.net>
9551
9552         * lyxfunc.C: simplify getStatus() a bit for math stuff
9553
9554 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9555
9556         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9557
9558 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9559
9560         * text.C (changeRegionCase): do not change case of all the
9561         document when region ends at paragraph end (bug #461)
9562
9563 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * paragraph.C (startTeXParParams):
9566         (endTeXParParams): add \protect when necessary
9567
9568 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * BufferView_pimpl.C (workAreaExpose): remove warning
9571
9572 2002-06-27  Angus Leeming  <leeming@lyx.org>
9573
9574         * Makefile.am: add lyxlayout_ptr_fwd.h.
9575
9576 2002-06-26  André Pönitz <poenitz@gmx.net>
9577
9578         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9579
9580 2002-06-25  Angus Leeming  <leeming@lyx.org>
9581
9582         * lyxfunc.C (dispatch): Comment out the call to
9583         grfx::GCache::changeDisplay. The method no longer exists now that the
9584         pixmap generation part of the graphics loader has been moved into
9585         InsetGraphics.
9586
9587 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9588
9589         * text2.C: layout as layout
9590
9591         * text.C: layout as layout
9592
9593         * tabular.C (OldFormatRead): layout as layout
9594
9595         * paragraph_pimpl.C (TeXDeeper): layout as layout
9596         (realizeFont): layout as layout
9597
9598         * paragraph.C (writeFile): layout as layout
9599         (validate): layout as layout
9600         (getFont): layout as layout
9601         (getLabelFont): layout as layout
9602         (getLayoutFont): layout as layout
9603         (breakParagraph): layout as layout
9604         (stripLeadingSpaces): layout as layout
9605         (getEndLabel): layout as layout
9606         (getMaxDepthAfter): layout as layout
9607         (applyLayout): layout as layout
9608         (TeXOnePar): layout as layout
9609         (simpleTeXOnePar): layout as layout
9610         (TeXEnvironment): layout as layout
9611         (layout): layout as layout
9612         (layout): layout as layout
9613
9614         * lyxtextclass.C (compare_name): new functor to work with
9615         shared_ptr, layout as layout
9616         (Read): layout as layout
9617         (hasLayout): layout as layout
9618         (operator): layout as layout
9619         (delete_layout): layout as layout
9620         (defaultLayout): layout as layout
9621
9622         * lyxlayout_ptr_fwd.h: new file
9623
9624         * lyxlayout.C (Read): layout as layout
9625
9626         * lyx_cb.C (MenuInsertLabel): layout as layout
9627
9628         * bufferlist.C (newFile): layout as layout
9629
9630         * buffer.C (readLyXformat2): layout as layout
9631         (parseSingleLyXformat2Token): layout as layout
9632         (insertStringAsLines): layout as layout
9633         (asciiParagraph): layout as layout
9634         (latexParagraphs): layout as layout
9635         (makeLinuxDocFile): layout as layout
9636         (simpleLinuxDocOnePar): layout as layout
9637         (makeDocBookFile): layout as layout
9638         (simpleDocBookOnePar): layout as layout
9639         (getLists): layout as layout
9640
9641         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9642
9643         * CutAndPaste.C (cutSelection): layout as layout
9644         (pasteSelection): layout as layout
9645         (SwitchLayoutsBetweenClasses): layout as layout
9646
9647         * BufferView_pimpl.C (Dispatch): layout as layout
9648         (smartQuote): layout as layout
9649
9650         * BufferView2.C (unlockInset): layout as layout
9651
9652 2002-06-24  André Pönitz <poenitz@gmx.net>
9653
9654         * lyxfunc.C: fix #487
9655
9656 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * lyxrc.h:
9659         * lyxrc.C:
9660         * lyxfunc.C: remove display_shortcuts, show_banner
9661
9662 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * Buffer_pimpl.C: oops, update on resize
9665
9666 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9667
9668         * buffer.C:
9669         * converter.C:
9670         * exporter.C:
9671         * lyxfunc.C:
9672         * BufferView.h:
9673         * BufferView.C: use repaint()
9674
9675         * BufferView_pimpl.h:
9676         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9677           as it's a clearer description. Remove superfluous
9678           redraws.
9679
9680 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * text.C: fix bug 488. Not ideal, but getting
9683           getWord() to work properly for the insets that
9684           matter is more difficult ...
9685
9686 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * BufferView_pimpl.C:
9689         * LyXAction.C:
9690         * commandtags.h:
9691         * lyxfunc.C: remove the six million index lyxfuncs to just
9692           one, and DTRT (bug 458)
9693
9694 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9695
9696         * BufferView.h:
9697         * BufferView.C:
9698         * BufferView_pimpl.h:
9699         * BufferView_pimpl.C: clean up resize() stuff,
9700           and unnecessary updateScreen()s
9701
9702 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * BufferView.h:
9705         * BufferView.C:
9706         * BufferView_pimpl.h:
9707         * BufferView_pimpl.C:
9708         * lyxfind.h:
9709         * lyxfind.C:
9710         * minibuffer.C: remove focus management of workarea,
9711           not needed. Use screen's greyOut()
9712
9713 2002-06-17  Herbert Voss  <voss@lyx.org>
9714
9715         * converter.C: (convert) do not post a message, when converting
9716         fails, let the calling function decide what to do in this case
9717
9718 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * lyxfunc.C: tidy up a little
9721
9722 2002-06-16    <alstrup@diku.dk>
9723
9724         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9725         Got rid of FORMS_H_LOCATION include. Now we are
9726         GUII.
9727
9728 2002-06-15  LyX Development team  <lyx@rilke>
9729
9730         * buffer.[Ch] (sgmlOpenTag):
9731         (sgmlCloseTag): Added support for avoiding pernicious mixed
9732         content. Return number of lines written.
9733
9734         (makeLinuxDocFile):
9735         (makeDocBookFile): Fixed calls to sgml*Tag.
9736         Simple white space clean.
9737
9738         (simpleDocBookOnePar): Simple white space clean.
9739
9740         * tabular.[Ch] (docBook): Renamed to docbook and got another
9741         argument to related with the pernicious mixed content.
9742
9743         (docbookRow): Fixed calls for docbook inset method.
9744
9745 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9746
9747         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9748         so it's X11 independent.
9749
9750         * kb*.[Ch]: ditto.
9751
9752         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9753
9754 2002-06-15  Lyx Development team  <lyx@electronia>
9755
9756         * intl.h: Renamed getTrans to getTransManager.
9757
9758 2002-06-14  Angus Leeming  <leeming@lyx.org>
9759
9760         * Makefile.am: nuke forgotten stl_string_fwd.h.
9761
9762 2002-06-12  Angus Leeming  <leeming@lyx.org>
9763
9764         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9765
9766 2002-06-13  Angus Leeming  <leeming@lyx.org>
9767
9768         * LaTeX.C:
9769         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9770
9771 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9772
9773         * kbmap.C (getiso): add support for cyrillic and greek
9774
9775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * BufferView.h:
9778         * BufferView.C:
9779         * BufferView_pimpl.h:
9780         * BufferView_pimpl.C: move bogus scrolling logic
9781           to xforms
9782
9783 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * lyxfunc.C:
9786         * BufferView_pimpl.C: view->resize() change
9787
9788 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * BufferView_pimpl.C: topCursorVisible
9791           prototype change
9792
9793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * Makefile.am:
9796         * lyx_gui.h:
9797         * lyx_gui.C: move to frontends/
9798
9799         * main.C:
9800         * lyx_main.h:
9801         * lyx_main.C: changes from above
9802
9803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * intl.C:
9806         * intl.h:
9807         * kbmap.C:
9808         * kbsequence.C:
9809         * lyx_cb.C:
9810         * lyx_main.C: minor tidy
9811
9812 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * BufferView_pimpl.h:
9815         * BufferView_pimpl.C:
9816         * BufferView.h:
9817         * BufferView.C: make painter() const,
9818           remove dead code
9819
9820         * BufferView2.C: use screen() accessor
9821
9822         * lyx_main.h:
9823         * lyx_main.C: some minor cleanup
9824
9825 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * BufferView_pimpl.h:
9828         * BufferView_pimpl.C: remove enter/leaveView,
9829           use workHeight()
9830
9831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * BufferView.h:
9834         * BufferView.C:
9835         * BufferView2.C:
9836         * BufferView_pimpl.h:
9837         * BufferView_pimpl.C: only construct screen once,
9838           rename
9839
9840         * lyxrc.C: remove pointless comment
9841
9842 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * BufferView.h:
9845         * BufferView.C: remove active() and belowMouse()
9846
9847         * BufferView_pimpl.h:
9848         * BufferView_pimpl.C: use workarea() not workarea_,
9849           and make it use a scoped_ptr instead
9850
9851 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * lyx_gui.C: add debug message on BadWindow
9854
9855 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9856
9857         * sp_spell.C: fdopen is not part of the C++ standard.
9858
9859         * paragraph.C (InsetIterator): use >= instead of ==
9860
9861 2002-06-07  Angus Leeming  <leeming@lyx.org>
9862
9863         Fixes needed to compile with Compaq cxx 6.5.
9864         * BufferView_pimpl.C:
9865         * DepTable.C:
9866         * buffer.C:
9867         * converter.C:
9868         * encoding.C:
9869         * lyx_gui.C:
9870         * lyx_main.C:
9871         * lyxtextclasslist.C:
9872         * minibuffer.C:
9873         * sp_spell.C:
9874         * tabular_funcs.C:
9875         * vc-backend.C:
9876         all c-library variables have been moved into namespace std. Wrap
9877         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9878
9879         * lyxlength.C:
9880         * tabular-old.C:
9881         * tabular.C:
9882         Add a using std::abs declaration.
9883
9884         * kbmap.h (modifier_pair):
9885         * paragraph.h (InsetTable, InsetList):
9886         * lyxfont.h (FontBits):
9887         type definition made public.
9888
9889         * bufferlist.C (emergencyWriteAll): the compiler complains that
9890         there is more than one possible lyx::class_fun template to choose from.
9891         I re-named the void specialisation as lyx::void_class_fun.
9892
9893         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9894
9895         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9896         the compiler is is unable to find tostr in write_attribute.
9897
9898 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * buffer.C (sgmlError): hide #warning
9901
9902 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * xtl/*: get rid of xtl, which is not in use anyway
9905
9906         * LyXAction.C (init):
9907         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9908         were unimplemented xtl experimentation
9909
9910 2002-06-04  André Pönitz <poenitz@gmx.net>
9911
9912         * lyxfunc.C: disable array operation on simple formulae
9913
9914 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * converter.C: constify a bit
9917
9918 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * lyx_gui.C: check xforms version correctly
9921
9922 2002-04-30  Herbert Voss  <voss@lyx.org>
9923
9924         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9925         "keep" option
9926
9927 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9930           attempt to register it with a VCS)
9931
9932 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9933
9934         * lyx_main.C (init): honor variables LYX_DIR_13x and
9935         LYX_USERDIR_13x
9936
9937 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * buffer.h:
9940         * buffer.C:
9941         * lyx_main.C: fix a crash on bad command line,
9942           and give a useful exit status on error
9943
9944         * lyxfunc.C (doImport): allow -i lyx to work
9945
9946 2002-03-30  André Pönitz <poenitz@gmx.net>
9947
9948         * lyxfunc.C: mathed font changes
9949
9950 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * LaTeX.C:
9953         * importer.h:
9954         * importer.C:
9955         * lyx_sty.h:
9956         * lyx_sty.C:
9957         * lyxlex.C:
9958         * lyxrow.h:
9959         * lyxtext.h:
9960         * paragraph.h:
9961         * paragraph.C:
9962         * texrow.h:
9963         * texrow.C:
9964         * text.C:
9965         * trans_mgr.h: srcdocs, and some minor cleanups
9966
9967 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9968
9969         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9970         call getFont all the time)
9971
9972 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * switch from SigC signals to boost::signals
9975
9976 2002-05-29  André Pönitz <poenitz@gmx.net>
9977
9978         * paragraph_pimpl.C (getChar): don't call size() too often...
9979
9980 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * paragraph_pimpl.C (insertChar): do not try to update tables when
9983         appending (pos == size())
9984
9985         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9986         in order to reduce drastically the number of comparisons needed to
9987         parse a large document
9988
9989 2002-05-29  André Pönitz <poenitz@gmx.net>
9990
9991         * text.C:
9992         * text2.C:
9993         * lyxtextclass.C:
9994         * sp_pspell.h:
9995         * textclasslist.[Ch]:
9996         * sp_ispell.h: whitespace change
9997
9998 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10001         lyxaction directly now.
10002
10003 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * trans.C:
10006         * lyxfont.C:
10007         * lyxvc.C: remove unused headers
10008
10009 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * Makefile.am:
10012         * buffer.h:
10013         * undostack.h:
10014         * undostack.C:
10015         * undo_funcs.h:
10016         * undo_funcs.C: some cleanups. Use shared_ptr
10017           and a template for the undo stacks.
10018
10019 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * BufferView_pimpl.h:
10022         * BufferView_pimpl.C:
10023         * kbmap.h:
10024         * kbmap.C:
10025         * kbsequence.h:
10026         * kbsequence.C:
10027         * lyxfunc.h:
10028         * lyxfunc.C:
10029         * text2.C: use key_state/mouse_state
10030
10031 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10032
10033         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10034         and LSubstring
10035
10036         * chset.C: change include order
10037         (loadFile): use boost regex and get rid of LRegex and LSubstring
10038
10039         * Makefile.am (BOOST_LIBS): new variable
10040         (lyx_LDADD): use it
10041
10042         * LaTeX.C: change include order.
10043         (scanAuxFile): use boost regex and get rid of LRegex and
10044         LSubstring
10045         (deplog): ditto
10046
10047 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * ColorHandler.h:
10050         * ColorHandler.C:
10051         * FontInfo.h:
10052         * FontInfo.C: moved to frontends/xforms/
10053
10054         * FontLoader.h:
10055         * FontLoader.C: moved into frontends for GUIIzation
10056
10057         * Makefile.am:
10058         * lyx_gui.C:
10059         * lyxfont.C:
10060         * lyxfunc.C: changes from above
10061
10062 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * LColor.C: remove spurious X include
10065
10066         * BufferView_pimpl.C:
10067         * Makefile.am:
10068         * font.h:
10069         * font.C:
10070         * text.C:
10071         * text2.C: move font metrics to frontends/
10072
10073 2002-05-24  Juergen Vigna  <jug@sad.it>
10074
10075         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10076         setting the undo_cursor.
10077
10078         * ParagraphParameters.h: include local includes first.
10079
10080 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10081
10082         * BufferView_pimpl.C:
10083         * BufferView_pimpl.h:
10084         * Makefile.am:
10085         * WorkArea.h:
10086         * WorkArea.C:
10087         * screen.C: move WorkArea into frontends/
10088
10089         * lyxscreen.h:
10090         * screen.C:
10091         * text.C:
10092         * BufferView.C:
10093         * BufferView2.C: move LyXScreen into frontends/
10094
10095         * lyxlookup.h:
10096         * lyxlookup.C:
10097         * lyx_gui.C: move lyxlookup into frontends/xforms/
10098
10099 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * BufferView2.C:
10102         * BufferView_pimpl.C:
10103         * FontLoader.C:
10104         * LyXView.h:
10105         * LyXView.C:
10106         * Makefile.am:
10107         * WorkArea.C:
10108         * XFormsView.h:
10109         * XFormsView.C:
10110         * buffer.C:
10111         * bufferlist.C:
10112         * bufferview_funcs.C:
10113         * converter.C:
10114         * importer.C:
10115         * lyx_cb.C:
10116         * lyx_gui.C:
10117         * lyx_main.C:
10118         * lyx_find.C:
10119         * lyxfunc.C:
10120         * lyxvc.C:
10121         * minibuffer.C:
10122         * text.C:
10123         * text2.C:
10124         * trans.C:
10125         * vc-backend.C: move LyX/XFormsView into frontends/
10126
10127 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * Makefile.am:
10130         * PainterBase.C:
10131         * PainterBase.h:
10132         * Painter.C:
10133         * Painter.h:
10134         * WorkArea.C:
10135         * WorkArea.h:
10136         * screen.C:
10137         * tabular.C:
10138         * text.C:
10139         * text2.C: move Painter to frontends/
10140
10141 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10142
10143         * buffer.C: comment out some some code that depend upon lyx_format
10144         < 220
10145
10146         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10147         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10148
10149         * buffer.h (NO_COMPABILITY): turn off compability
10150
10151         * ColorHandler.C: include scoped_array.hpp
10152
10153         * font.C: Use more specific smart_ptr header.
10154         * Painter.C: ditto
10155         * gettext.C: ditto
10156         * ShareContainer.h: ditto
10157         * lyx_main.h: ditto
10158         * kbmap.h: ditto
10159         * FontInfo.h: ditto
10160         * BufferView_pimpl.h: ditto
10161         * ColorHandler.h: ditto
10162
10163         * kbmap.C (defkey): change call to shared_ptr::reset
10164
10165 2002-05-21  Juergen Vigna  <jug@sad.it>
10166
10167         * buffer.C (insertErtContents): fix to insert ert asis if it is
10168         non empty. Skip it completely if it contains only whitespaces.
10169
10170 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * BufferView_pimpl.C:
10173         * BufferView2.C: clear selection on paste (bug 393)
10174
10175 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10176
10177         * DepTable.C: include ctime
10178
10179 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10180
10181         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10182
10183 2002-05-14  Juergen Vigna  <jug@sad.it>
10184
10185         * text.C (breakParagraph): fixed function to honor the keepempty
10186         layout in the right maner and also to permit the right breaking
10187         algorithm on empty or non empyt keepempty paragraphs.
10188
10189         * paragraph.C (breakParagraph): we have to check also if the par
10190         is really empty (!size()) for isempty otherwise we do the wrong
10191         paragraph break.
10192
10193 2002-05-10  Juergen Vigna  <jug@sad.it>
10194
10195         * buffer.[Ch] : The following are only changes to the ert
10196         compatibility read reading old LaTeX layout and font stuff and
10197         convert it to ERTInsets.
10198
10199         * buffer.h: added isErtInset().
10200
10201         * buffer.C (struct ErtComp): add a fromlayout bool to check
10202         if we're inside a LaTeX layout.
10203         (isErtInset): new helper function.
10204         (insertErtContents): look for other ert insets before this one
10205         and insert the contents there, so that we don't have subsequent
10206         ERT insets with nothing between them. This way we create only one
10207         inset with multiple paragraphs. Also check if we don't insert only
10208         spaces ' ' as they are ignored anyway afterwards in the .tex file
10209         so if we have only spaces we will ignore this latex part in the
10210         new file.
10211         (parseSingleLyXformat2Token \\layout): better compatibility when
10212         reading layout-latex stuff.
10213         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10214         language tag.
10215         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10216         stuff after reading the inset only get the information back from
10217         the stack.
10218
10219 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10222
10223         * LaTeXFeatures.C (getBabelOptions): New method.
10224
10225 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * BufferView_pimpl.C (Dispatch): work around missing argument for
10228         'layout'
10229
10230 2002-05-08  Juergen Vigna  <jug@sad.it>
10231
10232         * text.C (leftMargin): handle paragraph leftindent.
10233
10234         * paragraph.C (writeFile): write the new \\leftindent tag.
10235         (validate): handle leftindent code.
10236         (TeXEnvironment): handle paragraphleftindent code again.
10237
10238         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10239
10240         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10241         for paragrap_extra indent code and new token \\leftindent.
10242         (latexParagraphs): handle the leftindent as environment.
10243
10244         * ParameterStruct.h: added leftindent support.
10245
10246         * ParagraphParameters.C (leftIndent): added support functions for
10247         the paragraph left indent.
10248
10249         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10250         more appropriate.
10251
10252 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10253
10254         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10255         inside insetERT.
10256
10257         * text.C (computeBidiTables): No bidi in insetERT.
10258
10259         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10260         in RTL documents.
10261
10262 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * version.C.in: pre 5
10265
10266 2002-05-02  José Matos  <jamatos@fep.up.pt>
10267         * buffer.C (makeDocBookFile): white space changes, add newline to
10268         command styles.
10269         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10270
10271         * tabular.C (docBook): fix typo.
10272
10273 2002-05-03  Juergen Vigna  <jug@sad.it>
10274
10275         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10276         change in LyXText as we can not be sure it was not freed.
10277         (drawOneRow): remove unused code.
10278
10279         * text.C (drawInset): redo the calculation of the need_break_row as
10280         it could have a row which was already freed.
10281         (draw): look at the return value of drawInset and return false if
10282         it also returned false.
10283         (paintRowText): look at the return value of draw and return false if
10284         it also returned false.
10285
10286         * lyxtext.h: added bool return type to drawInset() and draw() so that
10287         if we have a change in the row so that the rowbreak has to be redone
10288         we abort drawing as it will be called again.
10289
10290 2002-05-02  Juergen Vigna  <jug@sad.it>
10291
10292         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10293         a change in the maintext also if we're inside an inset.
10294         (Dispatch): set the cursor again after a break line and after the
10295         screen has been updated as it could be we're in a different row.
10296
10297         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10298         to set the cursor behind the pargraph with > size().
10299         (setCursor): check also for the same paragraph when checking where
10300         to put the cursor if we have a NFR inset.
10301
10302         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10303         parts of layout read further up as it still was in the wrong
10304         position.
10305
10306 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * screen.C (drawFromTo): change sine fullRebreak always return
10309         true.
10310
10311         * buffer.C (parseSingleLyXformat2Token): reindent some
10312
10313         * BufferView_pimpl.C (update): change since fullRebreak always
10314         return true.
10315         (Dispatch): git rid of the last hardcoded "Standard"s.
10316
10317 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10318
10319         * text2.[Ch] (fullRebreak): make it return void now that we always
10320         returned true.
10321
10322 2002-04-30  Juergen Vigna  <jug@sad.it>
10323
10324         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10325         ert compatibility check for "latex" layout.
10326
10327 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10328
10329         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10330         minipages: use col% instead of p%, and also use the current font.
10331         (makeLaTeXFile): Fix use babel condition.
10332         (parseSingleLyXformat2Token): Correct font when reading old floats.
10333
10334 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10335
10336         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10337         inserting list of floats.
10338
10339 2002-04-25  Herbert Voss  <voss@lyx.org>
10340
10341         * MenuBackend.C (expand): don't add the graphics extensions to the
10342         export menu
10343
10344 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10347         non-existing layout, do not complain if it was the default layout
10348         of the original class (bug #342)
10349
10350 2002-04-24  Juergen Vigna  <jug@sad.it>
10351
10352         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10353         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10354
10355 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10356
10357         * buffer.C (getBibkeyList): If using \bibliography, return the
10358         option field with the reference itself. Enables us to provide natbib
10359         support when using \bibliography.
10360
10361 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10362
10363         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10364
10365         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10366         natbib is provided by the LaTeX class.
10367
10368 2002-04-23  Juergen Vigna  <jug@sad.it>
10369
10370         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10371         Wakeup functions.
10372
10373         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10374
10375 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10378
10379         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10380         ensuremath around textordmasculine, textordfeminine and
10381         textdegree.
10382
10383 2002-04-19  Juergen Vigna  <jug@sad.it>
10384
10385         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10386         reinitializing the buffer otherwise row-dimensions may be wrong.
10387         (update): reset also the selection cursors if they do exits otherwise
10388         their x/y positions may be wrong.
10389
10390         * text2.C (cursorDown): don't enter the inset if we came from a row
10391         above and are one row over the inset.
10392
10393         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10394         really leaving an inset.
10395
10396 2002-04-18  Juergen Vigna  <jug@sad.it>
10397
10398         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10399         of the selected paragraph does not have the selected layout also if
10400         the last one had!
10401
10402         * text2.C (setLayout): fixed bug which did not change last selected
10403         paragraph.
10404
10405         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10406         changed the read and substituted \\end_float with \\end_inset!
10407
10408         * BufferView_pimpl.C (cursorPrevious):
10409         (cursorNext): fixed to make it work with rows heigher than the work
10410         area without moving the cursor only the draw of the row.
10411         (workAreaMotionNotify): fix jumping over high rows.
10412
10413 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10414
10415         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10416         Ressler.
10417
10418 2002-04-16  Juergen Vigna  <jug@sad.it>
10419
10420         * text2.C (setCursor): set also the irow().
10421         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10422         (cursorUp):
10423         (cursorDown): support for locking an inset if the x_fix value goes
10424         inside it. That way I can transverse insets too with cursor up/down.
10425
10426         * lyxrow.h: added irow helper function same as other (i) functions.
10427
10428         * BufferView_pimpl.C (cursorPrevious):
10429         (cursorNext): fixed for insets!
10430
10431 2002-04-15  Juergen Vigna  <jug@sad.it>
10432
10433         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10434         position otherwise it is wrong in some cases.
10435
10436         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10437         inside the inset before the call.
10438
10439 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10440
10441         * buffer.[Ch] (getBibkeyList): make it const.
10442
10443 2002-04-12  Juergen Vigna  <jug@sad.it>
10444
10445         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10446
10447         * text2.C (getCursorX): new helper function
10448         (setCursor): compute also ix_
10449         (setCursorFromCoordinates): set also ix.
10450
10451         * lyxcursor.h: added ix_ and helper functions.
10452
10453         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10454
10455         * buffer.C (insertStringAsLines): dont break paragraph if the this
10456         paragraph is inside an inset which does not permit it!
10457
10458         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10459         also with no chars on this paragraph.
10460         (paintRowText): only paint stuff if it's inside the workarea!
10461
10462         * paragraph.C (breakParagraph): honor keepempty flag and break the
10463         paragraph always below not above.
10464
10465         * BufferView2.C (unlockInset): update the paragraph layout on inset
10466         unlock as we changed paragraph in such a case.
10467
10468         * lyxfind.C (LyXFind): clear the former selection if not found!
10469
10470         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10471         again called in insertChar().
10472
10473         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10474         an inset which uses the whole row!
10475         (rightMargin): ditto.
10476         (insertChar): force a rebreak if we inserted an inset!
10477
10478 2002-03-28  Herbert Voss  <voss@lyx.org>
10479
10480         * lyxlength.[Ch]: add inBP() to get the right PS-point
10481         units (BigPoint). With inPixels we have rounding errors
10482
10483 2002-04-11  Juergen Vigna  <jug@sad.it>
10484
10485         * text2.C (setCursorFromCoordinates): set iy to the right value.
10486         (setCursor): add check if row->previous exists!
10487
10488         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10489         an old float_type as this was the case in the old code!
10490
10491         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10492
10493         * BufferView2.C (showLockedInsetCursor): use iy
10494         (fitLockedInsetCursor): ditto
10495
10496         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10497         locked insets as there we have the right value now.
10498
10499         * lyxcursor.C: added iy_ variable and iy functions to set to the
10500         baseline of cursor-y of the locked inset.
10501
10502         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10503         (setCursor): fixed for insets which need a full row.
10504
10505         * text.C (rowLastPrintable): don't ignore the last space when before
10506         an inset which needs a full row.
10507         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10508         as last character of a row when before a inset which needs a full row.
10509
10510 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10511
10512         * version.C.in: update date
10513
10514         * text2.C (fullRebreak): try to always return true and see what
10515         happens...
10516
10517 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10518
10519         * MenuBackend.C (expand): use Floating::listName
10520
10521         * FloatList.C (FloatList): add listName argument to the built-in
10522         floats
10523
10524         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10525         text associated with the float.
10526
10527 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10530
10531 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10532
10533         * ShareContainer.h: add a couple of missing typenames.
10534
10535 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10536
10537         * lyxrc.C (getDescription): use _() correctly rather than N_().
10538
10539 2002-03-28  Herbert Voss  <voss@lyx.org>
10540
10541         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10542         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10543
10544 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10547         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10548
10549 2002-03-29  Juergen Vigna  <jug@sad.it>
10550
10551         * lyxfunc.C (dispatch): add a missing fitCursor call.
10552
10553         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10554         it was scrolled by a cursor move, so return the bool status.
10555
10556         * BufferView.C (fitCursor): return the bool flag also to the outside
10557         world as this is needed.
10558
10559         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10560
10561         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10562         call the edit() as it is not needed (and wrong) IMO.
10563         (workAreaButtonPress): set the screen_first variable before evt.
10564         unlock the inset as this may change screen_first and then we have
10565         a wrong y position for the click!
10566
10567 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * MenuBackend.C (expand): another translation that I missed
10570
10571 2002-03-28  Juergen Vigna  <jug@sad.it>
10572
10573         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10574
10575         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10576
10577 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10580
10581         * MenuBackend.C (expand): fix export/view/update when there is no
10582         document open.
10583
10584 2002-03-27  Herbert Voss  <voss@lyx.org>
10585
10586         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10587         and text%
10588
10589 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * bufferview_funcs.C (currentState): only show paragraph number
10592         for is DEVEL_VERSION is set.
10593
10594         * lyxfunc.C (dispatch): put warning in INFO channel
10595
10596         * MenuBackend.C (expand): translate the name of floats
10597
10598         * FloatList.C (FloatList): mark the float names for translation
10599
10600         * converter.C (convert): use LibScriptSearch
10601
10602 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10603
10604         * MenuBackend.C (defaults): fix default menu (we might as well get
10605         rid of it...)
10606
10607 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10608
10609         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10610         directory.
10611
10612 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * lyxvc.C: reorder includes.
10615
10616 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10619           properly
10620
10621 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * CutAndPaste.C: change layouts earlier on paste
10624           to avoid crashing when calling getFont()
10625
10626 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10627
10628         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10629         irritating #error.
10630
10631 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10632
10633         * WorkArea.C: remove 'Pending' debug message.
10634
10635         * most files: ws cleanup
10636
10637         * buffer.[Ch]: ws changes
10638
10639         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10640
10641 2002-03-21  Juergen Vigna  <jug@sad.it>
10642
10643         * tabular.C (SetMultiColumn): collapse also the contents of the
10644         cells and set the last border right. Added a Buffer const * param.
10645
10646 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10649         linking or not.
10650
10651 2002-03-19  Juergen Vigna  <jug@sad.it>
10652
10653         * text2.C (clearSelection): reset also xsel_cache.
10654
10655         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10656         where it needs to be called (John tells us to do so too :)
10657         (selectionLost): reset sel_cache.
10658
10659         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10660
10661 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * text2.C (setCursorIntern): put debuging code in INSETS channel
10664
10665 2002-03-19  André Pönitz <poenitz@gmx.net>
10666
10667         * lyxfunc.C: tiny whitespace change
10668
10669 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10670
10671         * ToolbarDefaults.C (init):
10672         * LyXAction.C (init):
10673         * commandtags.h:
10674         * BufferView_pimpl.C (Dispatch):
10675         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10676
10677 2002-03-19  Allan Rae  <rae@lyx.org>
10678
10679         * exporter.C (Export): removeAutoInsets before doing anything else.
10680         While I've just introduced a dependency on BufferView this really is
10681         the best place to clean the buffer otherwise you need to cleanup in
10682         a dozen places before calling export or cleanup in a dozen functions
10683         that export calls.
10684
10685         * converter.C (runLaTeX):
10686         (scanLog): Better handling of removeAutoInsets and screen updates.
10687
10688         * lyxfunc.C (dispatch): small whitespace changes
10689
10690 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * WorkArea.C (C_WorkAreaEvent): return a value.
10693         (event_cb): return 1 if we handled the event, 0 otherwise.
10694
10695         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10696
10697 2002-03-18  Juergen Vigna  <jug@sad.it>
10698
10699         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10700         (GetAdditionalWidth): ditto.
10701         (RightLine): ditto.
10702         (LeftLine): ditto.
10703
10704         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10705         inset if we're there actually (probably not used right now but this
10706         is the direction to go for unifying code).
10707         (paste): disable code to clear the selection.
10708
10709         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10710         inside an InsetText and move the check further up as it is in the
10711         wrong place.
10712
10713         * text2.C (pasteSelection): set a selection over the pasted text.
10714
10715 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10716
10717         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10718         and libgraphics to build on Cygwin.
10719
10720 2002-03-15  Juergen Vigna  <jug@sad.it>
10721
10722         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10723         inserting an Inset into the paragraph. I know this is not the best
10724         fix but we already use current_view in CutAndPaste so we will remove
10725         all of it's using at the same time.
10726
10727         * buffer.C (sgmlError): deactivated function till it is rewritten in
10728         the right mode, now it can create problems.
10729
10730         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10731         before accessing it.
10732
10733 2002-03-14  Juergen Vigna  <jug@sad.it>
10734
10735         * undo_funcs.C (textHandleUndo): do the right thing when updating
10736         the inset after the undo/redo.
10737
10738         * text2.C (setCursor): just some testcode for #44 not ready yet.
10739
10740         * undo_funcs.C (textHandleUndo): set the next() and previous()
10741         pointers of the paragraph to 0 before deleting otherwise we have
10742         problems with the Paragraph::[destructor].
10743
10744         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10745         on a paragraph insertion.
10746
10747 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * buffer.C (asciiParagraph): use += operator for char append to
10750         string.
10751
10752         * paragraph.C (getFontSettings): compare >= not just >
10753         (highestFontInRange): ditto
10754         (setFont): ditto
10755
10756 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10757
10758         * paragraph.C: change several algorithm to be more appripriate for
10759         the problem domain. This is lookip in FontList and in the InsetList.
10760
10761 2002-03-13  André Pönitz <poenitz@gmx.net>
10762
10763         * commandtags.h:
10764         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10765
10766 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * commandtags.h:
10769         * LyXAction.C:
10770         * lyxfunc.C:
10771         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10772
10773 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * Painter.C (display): anon helper function, adjust code for this
10776         change.
10777         (pixmap): remove function.
10778
10779         * Painter.h: remove private display variable.
10780
10781         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10782
10783 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10784
10785         * WorkArea.[Ch]: remove figinset_canvas cruft.
10786
10787 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10788
10789         * lyxtextclass.C (operator): add one item cache optimization.
10790
10791         * bufferlist.h: doxy changes
10792
10793         * bufferlist.C: ws changes
10794
10795         * DepTable.[Ch] (ext_exist): place const in the right spot.
10796
10797         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10798         call resizeInsets.
10799         (workAreaExpose): call resizeInsets when the with BufferView changes.
10800         (Dispatch): adjust for protectedBlank removal
10801         (specialChar): call updateInset if the insert went ok.
10802
10803         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10804         specialChar instead.
10805
10806         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10807
10808         * BufferView.h: doxy change
10809
10810         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10811
10812         * lyxtextclass.C (operator[]): remove non-const version
10813         (defaultLayout): remove non-const version
10814
10815 2002-03-12  Juergen Vigna  <jug@sad.it>
10816
10817         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10818         did resize the LyXText too.
10819
10820         * buffer.C (readLyXformat2): set layout information on newly allocated
10821         paragraphs.
10822
10823         * tabular.C (OldFormatRead): set layout information on the paragraph.
10824
10825 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10826
10827         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10828
10829 2002-03-11  Juergen Vigna  <jug@sad.it>
10830
10831         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10832         plainly wrong.
10833         (resizeCurrentBuffer): force also the insets to resize themselfes.
10834         (moveCursorUpdate): fixed up for InsetText.
10835
10836 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10837
10838         * commandtags.h:
10839         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10840         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10841         value of Dialogs::tooltipsEnabled().
10842         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10843
10844 2002-03-08  Juergen Vigna  <jug@sad.it>
10845
10846         * BufferView_pimpl.C (updateInset): update inset inside inset also
10847         if it isn't inside theLockingInset().
10848
10849 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * buffer.C (asciiParagraph): redo some of the word and line length
10852         handling.
10853         (getLists): look for Caption instead of caption.
10854
10855 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10856
10857         * buffer.C (Buffer): initialize niceFile to true
10858         (makeLaTeXFile):
10859         (makeLinuxDocFile):
10860         (makeDocBookFile): make sure niceFile is true on exit
10861
10862 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10865
10866 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10867
10868         * LyXSendto.C: remove.
10869         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10870         * lyx_gui.C: remove now-redundant comment.
10871         * ColorHandler.h: remove forward declaration of class WorkArea.
10872         * lyxfunc.C: remove #include "WorkArea.h".
10873
10874 2002-03-07  Juergen Vigna  <jug@sad.it>
10875
10876         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10877         got moved away with the DEPM and also set the inset_owner always
10878         right which before could have been omitted.
10879
10880 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10881
10882         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10883         wanted layout is not found.
10884
10885 2002-03-07  Juergen Vigna  <jug@sad.it>
10886
10887         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10888
10889 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * paragraph.C (breakParagraph): use default layout not layout of
10892         prev paragraph.
10893         (Paragraph): clear ParagraphParameters.
10894
10895 2002-03-06  Juergen Vigna  <jug@sad.it>
10896
10897         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10898         otherwise it would not be a valid lenght. Fixed a special case in
10899         the minipage compatibility read where we end the document with a
10900         minipage.
10901
10902         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10903         was set as it could be 0 for InsetTexts first entry.
10904
10905 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * paragraph.C (writeFile): if layout is empty write out
10908         defaultLayoutName().
10909
10910         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10911         file without named layout we set layout to defaultLayoutName().
10912
10913 2002-03-06  Juergen Vigna  <jug@sad.it>
10914
10915         * CutAndPaste.C (copySelection): set layout for new paragraph.
10916
10917         * text.C (prepareToPrint): leave ERT inset left aligned
10918         (leftMargin): don't indent paragraphs inside ERT insets
10919
10920 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * paragraph.C (breakParagraph): dont call clear do the work manually
10923
10924         * paragraph.[Ch] (clear): remove function
10925
10926 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10927
10928         * paragraph.C (Paragraph): dont call clear, the work has already
10929         been done.
10930
10931         * lyxtextclass.C (operator): assert if n is empty
10932
10933         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10934         work manually instead.
10935
10936 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * BufferView_pimpl.C: protect selectionLost against text == 0
10939
10940 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * text.C (breakParagraph): fix a setting layout to '0' problem.
10943
10944 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10945
10946         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10947         final location of file, for the included files, and graphics.
10948
10949 2002-03-05  Juergen Vigna  <jug@sad.it>
10950
10951         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10952
10953 2002-03-04  Juergen Vigna  <jug@sad.it>
10954
10955         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10956
10957         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10958         last column of multicolumn cells.
10959         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10960
10961 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10962
10963         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10964         file if it doesn't go to a temporary file.
10965
10966         * buffer.C (sgmlOpenTag):
10967         (sgmlCloseTag):  remove extra newline insertion.
10968
10969 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * text.C (getRowNearY): comment out debug msg
10972
10973 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * text2.C: first -> first_y
10976
10977         * text.C (getRowNearY): add some attemts at a possible
10978         optimization, not working.
10979
10980         * tabular.[Ch]: add BufferParams to several function so that newly
10981         created paragraph can be initialized to he default layotu for the
10982         buffers textclass.
10983
10984         * tabular-old.C (ReadOld): add buf->params to call of Init
10985
10986         * screen.C: rename text->first to text->first_y
10987
10988         * paragraph.C (breakParagraph): always set layout in the broken
10989         paragraph
10990
10991         * lyxtextclass.C (Read): remove lowercase
10992         (hasLayout): ditto
10993         (operator): ditto
10994         (delete_layout): ditto
10995
10996         * lyxtext.h: rename first -> first_y
10997
10998         * lyxlayout.C (Read): remove lowercase
10999         (name): ditto
11000         (setName): ditto
11001         (obsoleted_by): ditto
11002
11003         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11004
11005         * buffer.C (insertErtContents): add params are to InsetERT
11006         (parseSingleLyXformat2Token): add code to check if a paragraphs
11007         layout really exist.
11008         (parseSingleLyXformat2Token): add params to several inset
11009         constructors
11010         (asciiParagraph): remove lowercase, do the layout comparisons with
11011         no_case
11012
11013         * BufferView_pimpl.C (cursorNext): first -> first_y
11014         (resizeCurrentBuffer): first -> first_y
11015         (updateScrollbar): first -> first_y
11016         (scrollCB): first -> first_y
11017         (workAreaMotionNotify): first -> first_y
11018         (workAreaButtonPress): first -> first_y
11019         (checkInsetHit): first -> first_y
11020         (cursorPrevious): first -> first_y
11021         (cursorNext): first -> first_y
11022         (Dispatch): add buffer_->params to severl inset contructors
11023
11024 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * lyxlayout.C (Read): remove some debug info that I forgot.
11027
11028         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11029         clean up the code slightly.
11030         (makeLinuxDocFile): ditto
11031         (makeDocBookFile): ditto
11032
11033         * text2.C: layout as string
11034
11035         * text.C: layout as string
11036
11037         * paragraph_pimpl.C: layout as string
11038
11039         * paragraph.[Ch]: layout as string
11040
11041         * lyxtextclasslist.[Ch]: layout as string
11042
11043         * lyxtextclass.[Ch]: layout as string
11044
11045         * lyxtext.h: layout as string
11046
11047         * lyxlayout.[Ch]: layout as string
11048
11049         * lyx_cb.C: layout as string
11050
11051         * bufferview_funcs.C: layout as string
11052
11053         * bufferparams.C: layout as string
11054
11055         * buffer.C: layout as string
11056
11057         * LyXView.[Ch]: layout as string
11058
11059         * LaTeXFeatures.[Ch]: layout as string
11060
11061         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11062
11063         * BufferView_pimpl.C: change current_layout to string, remove
11064         lyx::layout_type.
11065         (Dispatch):
11066         (smartQuote):
11067         (insertInset):
11068         (workAreaButtonRelease): layout as string
11069
11070         * BufferView2.C (unlockInset): adjust
11071
11072         * vspace.C (asLatexCommand): use an explict temp variable.
11073
11074 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * Makefile.am: use FRONTEND_*
11077
11078 2002-03-01  Juergen Vigna  <jug@sad.it>
11079
11080         * tabular.C (SetWidthOfMulticolCell): changed to something better
11081         I hope but still work in progress.
11082         (recalculateMulticolumnsOfColumn): renamed function from
11083         recalculateMulticolCells as it is more appropriate now.
11084         (SetWidthOfCell): calculate multicols better.
11085
11086 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11089
11090         * lyxfunc.C (processKeySym): print sequence also if it is
11091         `deleted' (complete)
11092
11093         * kbsequence.C (print): print sequence even if it is deleted
11094         (complete would be a better word, actually).
11095
11096         * lyxfunc.C (dispatch): print complete options after a prefix key
11097
11098         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11099
11100 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11101
11102         * text2.C (setCharFont): eliminate setCharFont code duplication.
11103
11104 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11107         LFUN_TABULAR_FEATURE (bug #177)
11108
11109 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * Makefile.am: remove figure.h
11112
11113 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * Bufferview_pimpl.C:
11116         * CutAndPasteC:
11117         * LaTeX.C:
11118         * LyXSendto.C:
11119         * buffer.C:
11120         * bufferlist.C:
11121         * converter.C:
11122         * language.C:
11123         * lyxfunc.C:
11124         * lyxvc.C:
11125         * paragraph.C:
11126         * text.C:
11127         * text2.C: remove #include "lyx_gui_misc.h".
11128
11129         * LaTeX.C: added #include <cstdio>
11130
11131 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11134         that the paragraph following this one can have.
11135
11136         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11137
11138         * vspace.C (asLatexCommand): fix bogus gcc warning
11139
11140         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11141
11142 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11143
11144         * text2.C (setLayout): get rid of redundant code
11145
11146 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11147
11148         * text2.C (incDepth): make sure depth cannot be increased beyond
11149         reasonable values.
11150
11151 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11152
11153         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11154         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11155
11156         * PainterBase.h (image):
11157         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11158         a LyXImage const *.
11159
11160 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * BufferView.C:
11163         * BufferView.h:
11164         * BufferView_pimpl.C:
11165         * BufferView_pimpl.h:
11166         * LaTeXFeatures.C:
11167         * LyXAction.C:
11168         * LyXView.C:
11169         * Makefile.am:
11170         * UpdateList.h:
11171         * UpdateList.C:
11172         * buffer.C:
11173         * figure.h:
11174         * figureForm.C:
11175         * figureForm.h:
11176         * figure_form.C:
11177         * figure_form.h:
11178         * lyx_cb.C:
11179         * lyx_gui.C:
11180         * lyx_gui_misc.C:
11181         * lyxfunc.C:
11182         * sp_base.h:
11183         * sp_ispell.h:
11184         * sp_pspell.h:
11185         * sp_spell.C: remove fig inset, and the crap house of
11186           cards that follows it
11187
11188 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * Makefile.am:
11191         * lyxserver.C:
11192         * os2_defines.h:
11193         * os2_errortable.h:
11194         * nt_defines.h: move .h into support/
11195
11196         * vms_defines.h: remove
11197
11198         * WorkArea.C: add space in debug output
11199
11200         * text2.C:
11201         * paragraph.C:
11202         * buffer.C: add WITH_WARNINGS
11203
11204         * vc-backend.h:
11205         * vc-backend.C:
11206         * bufferlist.C: s/retrive/retrieve/, add docs
11207
11208         * vspace.h:
11209         * vspace.C:
11210         * kbmap.h:
11211         * lyxlength.h:
11212         * lyxgluelength.h:
11213         * length_common.h:
11214         * chset.h:
11215         * chset.C: add docs
11216
11217         * lyxgui.C: add ID to X error handler
11218
11219         * lyxtestclass.c: fix typo
11220
11221 2002-02-26  Juergen Vigna  <jug@sad.it>
11222
11223         * tabular_funcs.C (write_attribute): changed so that some default
11224         attributes are not written at all.
11225         (getTokenValue): set default values before trying to read the
11226         value so we have the return value always set as default if we don't
11227         find the token we search for.
11228
11229         * tabular.C (Write): write bools as bools not as strings!
11230
11231 2002-02-22  Juergen Vigna  <jug@sad.it>
11232
11233         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11234         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11235
11236         * text.C (leftMargin): don't add an indent for paragraphs inside
11237         tabular cells (fix #208).
11238
11239 2002-02-21  José Matos  <jamatos@fep.up.pt>
11240
11241         * tabular.C (docBook): fixed support for long tables.
11242
11243 2002-02-20  Juergen Vigna  <jug@sad.it>
11244
11245         * text2.C (getFont): get the drawing font of the Inset if this
11246         paragraph is inside an inset (only important for InsetERT for now).
11247
11248         * buffer.C (insertErtContents): use new lanugage params in ERT
11249         constructor.
11250
11251         * CutAndPaste.C: commenting out seemingly uneeded code.
11252
11253 2002-02-19  Allan Rae  <rae@lyx.org>
11254
11255         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11256         Iterators might be simple to use but they also get invalidated.
11257         (removeAutoInsets): renamed saved cursor tracking variables and added
11258         some comments to clarify what everything does.
11259
11260 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * Chktex.C:
11263         * LaTeX.C:
11264         * LyXSendto.C:
11265         * converter.C:
11266         * lyx_cb.C:
11267         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11268         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11269
11270         * lyxfunc.C:
11271         * vc-backend.h: remove #include "support/syscall.h"
11272
11273         * LaTeX.C:
11274         * LyXSendto.C:
11275         * converter.C: rearrange #includes in Lars' approved fashion.
11276
11277         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11278         forward declare class Timeout in the header file.
11279
11280         * XFormsView.C: changes due to the above.
11281
11282         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11283         similar to LyXView.
11284
11285         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11286         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11287
11288 2002-02-18  José Matos  <jamatos@fep.up.pt>
11289
11290         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11291         insets contents.
11292
11293 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11294
11295         * a lot of small ws changes
11296         * add a lot of using std::XXX
11297         * use std construcs some places where approp.
11298         * use some exisint stuff from lyxfunctional where approp.
11299         * Make file changes to use partial linking (lets test this now...)
11300
11301 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * Chktex.C:
11304         * buffer.C:
11305         remove #include "support/syscontr.h" as it's redundant. Always has been.
11306
11307         * Chktex.C:
11308         * LaTeX.C:
11309         * LyXSendto.C:
11310         * converter.C:
11311         * lyx_cb.C:
11312         * vc-backend.C:
11313         change Systemcalls::System to Systemcalls::Wait and
11314         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11315         No change of functionality, just reflects the stripped down Systemcalls
11316         class.
11317
11318 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11319
11320         * debug.[Ch]: add a GRAPHICS type to the enum.
11321
11322 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11325
11326         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11327         there is an inset.
11328
11329 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11332         match the changes below.
11333
11334         * text2.C (toggleInset): if there is not editable inset at cursor
11335         position, try to see if cursor is _inside_ a collapsable inset
11336         and close it.
11337
11338 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11341         document menu has a nice checkbox
11342
11343 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11344
11345         * lyxlength.C (asLatexString): change PW to output as percent of
11346         \textwidth.
11347
11348         * lengthcommon.C: change '%' to 't%'
11349
11350         * lyxfunc.C (dispatch): a few comments from Martin
11351
11352 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * WorkArea.h:
11355         * WorkArea.C:
11356         * BufferView_pimpl.h:
11357         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11358           the X selection.
11359
11360 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * vspace.C (inPixels): fix compiler warning
11363
11364 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * lyxfunc.C (getStatus): fix status message for disabled commands.
11367
11368 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11369
11370         * BufferView_pimpl.C: fix crash on close buffer
11371         during selection (#227)
11372
11373 2002-01-27  Herbert Voss  <voss@lyx.org>
11374
11375         * buffer.C: link old Figure to new graphic inset
11376
11377 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11378
11379         * FontLoader.C (getFontinfo): Change the latex font names in order
11380         to match the names of type1inst.
11381
11382 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11383
11384         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11385
11386         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11387         (extchanged): ditto
11388         (ext_exist): ditto
11389         (remove_files_with_extension): ditto
11390         (remove_file): ditto
11391         (write): ditto
11392
11393         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11394         document is smaller than the work area height. Do not initialize
11395         static variables to 0.
11396
11397 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11400
11401         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11402         LFUN_LAYOUT_PARAGRAPHS.
11403
11404         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11405         tabular. It is possible to provide a possible cell, which will
11406         typically be the actcell from the corresponding insettabular
11407
11408         * lyxfunc.C (getStatus): small cleanup; disable
11409         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11410         true
11411
11412 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11415
11416         * paragraph.C (startTeXParParams):
11417         (endTeXParParams): new methods. The LaTeX code to
11418         start/end paragraph formatting
11419         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11420         empty (fixes bug #200)
11421
11422         * vspace.C (inPixels): adapt to the change below
11423         (inPixels): [later] more cleanups (remove unused variables)
11424
11425         * lyxlength.C (inPixels): change to use a width and a height as
11426         parameter.
11427
11428 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11431         Replaced with \paperwidth
11432
11433         * DepTable.C (insert): add std:: qualifier
11434
11435 2002-01-18  Allan Rae  <rae@lyx.org>
11436
11437         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11438         updated also?
11439
11440         * text.C (drawInset): Turned out I didn't know enough about how
11441         rebreaking worked.  This fixes most of the redraw problems.  I see
11442         an occasional cursor trail when a line is broken now and the cursor
11443         placement can seem out by a few pixels also after a rebreak.
11444
11445 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * buffer.C (parseSingleLyXformat2Token): update because minipage
11448         width is now a LyXLength
11449
11450         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11451
11452         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11453         math insets
11454
11455 2002-01-17  Juergen Vigna  <jug@sad.it>
11456
11457         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11458
11459         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11460         is set correctly and the inset is updated correctly.
11461
11462 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11465         the beginning of the loop.
11466
11467 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * lyxrc.C: improve help for use_scalable_fonts
11470
11471 2002-01-17  Allan Rae  <rae@lyx.org>
11472
11473         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11474
11475 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11476
11477         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11478         make sure to set their inset_owner to the right value (bug #171)
11479
11480 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11481
11482         * DepTable.h
11483         * DepTable.C: Implement mtime checking to reduce time spent doing
11484         CRCs.
11485
11486 2002-01-16  Juergen Vigna  <jug@sad.it>
11487
11488         * tabular.C (GetAdditionalHeight): one of error fixed.
11489
11490         * lyxrc.C (output): small fix in writing use_pspell.
11491
11492 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11493
11494         * sp_base.h: #include LString.h
11495
11496 2002-01-16  Allan Rae  <rae@lyx.org>
11497
11498         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11499         Can someone check this please?
11500
11501         * text.C (drawInset): It was possible that p.row would be removed by
11502         breakAgainOneRow upsetting a few other settings.  There may be another
11503         small tweak possible by setting need_break_row = 0 when p.row has been
11504         removed but I don't know enough about the logic here.
11505
11506 2002-01-15  Allan Rae  <rae@lyx.org>
11507
11508         * text.C (insertChar): removed conditional truism.
11509
11510         * BufferView2.C (removeAutoInsets): More tweaks.
11511         cur_par_prev could be a stray pointer.  Check for trailing empty line
11512         in case last line was cur_par and only had an error inset on it.
11513
11514 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11517         absolute
11518
11519         * vc-backend.C (most methods):
11520         * exporter.C (Export):
11521         * converter.C (convert):
11522         (runLaTeX):
11523         * LyXSendto.C (SendtoApplyCB):
11524         * lyxfunc.C (dispatch):
11525         (menuNew):
11526         (open):
11527         (doImport):
11528         * lyx_cb.C (AutoSave):
11529         (InsertAsciiFile):
11530         * BufferView_pimpl.C (MenuInsertLyXFile):
11531         * buffer.C (runChktex): use Buffer::filePath().
11532
11533         * buffer.h: rename filename to filename_; rename filepath to
11534         filepath_ and make it private
11535         (filePath): new method
11536
11537         * buffer.C (writeFile): use fileName()
11538         (getLatexName):
11539
11540         * lyx_main.C (init): fix starting  of LyX when the binary is a
11541         link from so,ewhere else.
11542
11543         * minibuffer.C: include <cctype> for isprint
11544
11545 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11546
11547         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11548         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11549         name clash with InsetCollapsable's width function.
11550
11551 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * lastfiles.C: include <iterator>
11554
11555 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11558         std::count.
11559
11560         * buffer.C (makeLaTeXFile): ditto.
11561         Also make loop operation more transparent.
11562
11563 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * ToolbarDefaults.C: remove trailing comma closing namespace.
11566
11567         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11568
11569         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11570         as in WorkArea.
11571
11572         * trans.C (Load): comment out unused variable, allowed.
11573
11574 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11575
11576         * minibuffer.[Ch] (append_char): new method to recieve input from the
11577         drop-down completion browser. If a key was pressed, then recieve this
11578         char and append it to the existing string.
11579         (peek_event): modify the positioning data passed to the completion
11580         browser so that it can be placed above the minibuffer rather than below.
11581 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * LyXAction.C (init): alloe error-next for readonly documents.
11584
11585         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11586         count.
11587
11588 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11589
11590         * bufferlist.C (readFile): create the buffer _after_ checking that
11591         the file exists.
11592
11593         * lyxfunc.C (verboseDispatch): fix handling of arguments
11594
11595         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11596
11597         * lyxrc.C: use string::erase() instead of initializing to "".
11598
11599
11600 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.h:
11603         * BufferView_pimpl.C:
11604         * WorkArea.h:
11605         * WorkArea.C:
11606         * text2.C: tell X when we have made a selection for copying
11607
11608 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11609
11610         * BufferView_pimpl.C (MenuInsertLyXFile):
11611         * lyxfunc.C (menuNew):
11612         (open):
11613         (doImport): add shortcuts to directory buttons
11614
11615         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11616         open a float)
11617
11618         * lyxfunc.C (setStatusMessage):
11619         (getStatusMessage): new methods
11620         (getStatus):use setStatusMessage instead of setErrorMessage
11621         (dispatch): when function is disabled, set error message here
11622         [instead of in getStatus previously]
11623
11624         * BufferView_pimpl.C (workAreaButtonRelease): update
11625         toolbar/menubar here too.
11626
11627 2002-01-13  Allan Rae  <rae@lyx.org>
11628
11629         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11630         Now seems indestructible.  Remaining task is to audit all other
11631         code affected by deleteEmptyParagraphMechanism.  One small quirk
11632         left is that an empty document with an error in the preamble can
11633         be made to report an error but no error box appears.  I don't know
11634         where it goes.
11635         (removeAutoInsets): Improved comments.
11636
11637 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * Thesaurus.h:
11640         * Thesaurus.C: update for Aiksaurus 0.14
11641
11642 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11643
11644         * text2.C (firstParagraph): removed member function, all uses
11645         replaces with ownerParagraph
11646         (redoParagraphs): here
11647         (updateInset): here
11648         (toggleAppendix): here
11649         * BufferView2.C (insertErrors): here
11650         (setCursorFromRow): here
11651
11652 2002-01-13  Allan Rae  <rae@lyx.org>
11653
11654         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11655         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11656         There is still a way to segfault this although you may have to do this
11657         multiple times: Have an InsetERT with an unknown command in it.
11658         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11659         <down-arrow>, <Enter> again, View->DVI, BANG!
11660
11661         * text2.C (setCursor):
11662         (deleteEmptyParagraphMechanism):
11663         * lyxtext.h (setCursor):
11664         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11665         Making use of the return value may help fix other bugs.
11666
11667 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11670
11671         * LyXView.C (updateMenubar): call MenuBar::update here
11672         (updateToolbar): but not here
11673         (showState): do not update toolbar/menubar
11674
11675         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11676         should need to care about that.
11677
11678         * lyxfunc.C (verboseDispatch): simplify a bit
11679         (getStatus): have a version which takes a pseudoaction, and
11680         another which requires a (kb_action,string).
11681
11682         * LyXAction.C (retrieveActionArg): make it work also when action
11683         is not a pseudo-action.
11684         (getActionName): simplify a bit
11685         (helpText):
11686
11687 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * lyxfunc.C (verboseDispatch): new families of methods with
11690         several ways to specify a command and a bool to indicate whether
11691         the command name and shortcut should be displayed in minibuffer
11692         (eventually, we could extend that to a finer bitmask like
11693         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11694         (dispatch): the pristine dispatch command which just, well,
11695         dispatchs! Note it still sets its result to minibuffer; I'm not
11696         sure we want that.
11697
11698         * lyxfunc.h: remove setHintMessage
11699
11700         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11701
11702 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11703
11704         * BufferView_pimpl.C (specialChar): delete new inset if we have
11705         not been able to insert it.
11706
11707         * kbmap.C: revert to using int instead of kb_action, since all we
11708         are dealing with is pseudo-actions.
11709
11710         * LyXAction.C (searchActionArg): change to return int instead of
11711         kb_action, since the result is a pseudoaction.
11712
11713 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11714
11715         * buffer.C (insertErtContents): Fix (partially) the font bug.
11716
11717 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11720         as the other one is broken on my machine!
11721
11722 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11723
11724         * commandtags.h:
11725         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11726
11727 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11730         reflect their actual use. Provide compatibility code for older lyxrc
11731         files.
11732
11733         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11734         FL_NORMAL_STYLE.
11735         change names of popup font variables in line with the changes to lyxrc.C
11736
11737 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11738
11739         * buffer.C (asciiParagraph): avoid outputing a word twice after
11740         an inset.
11741
11742         * lyxrc.C (getDescription): document that document_path and
11743         template_path can be empty.
11744
11745 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * LaTeXFeatures.C (getMacros):
11748         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11749
11750         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11751
11752         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11753         getPackages.
11754         (getPackages): rename feature "floats" to "float". Use an array to
11755         iterate over 'simple' features (i.e. just a \usepackage). Add
11756         handling of "amsmath" (renamed from "amsstyle").
11757
11758 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11759
11760         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11761         features list.
11762
11763 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11766         FuncStaus::FuncStatus & FuncStaus::some_method().
11767
11768 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11769
11770         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11771         of the func_satus stuff. Edited and massaged in various ways by
11772         JMarc.
11773
11774         * lyxfunc.C (getStatus): use FuncStatus
11775
11776 2002-01-08  Juergen Vigna  <jug@sad.it>
11777
11778         * text.C (nextBreakPoint): use function Inset::isChar().
11779
11780         * paragraph.C (TeXOnePar): use function
11781         Inset::forceDefaultParagraphs.
11782
11783         * buffer.C (latexParagraphs): use function
11784         Inset::forceDefaultParagraphs.
11785
11786 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * lyx_gui.C (init): set the style of the menu popups to
11789         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11790
11791 2002-01-07  Juergen Vigna  <jug@sad.it>
11792
11793         * text.C (setHeightOfRow): small fix
11794         (prepareToPrint): don't look at alignment if we don't have the place
11795         for doing it.
11796
11797 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * box.C: New file. Move the Box methods and functions out of box.h,
11800         following Lars' suggestion.
11801
11802 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11803
11804         * box.h: #include "support/LOstream.h", needed for inlined function.
11805
11806         * lyxtextclass.C:
11807         * lyxtextclasslist.C: added some using std declarations.
11808
11809 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * box.h: make signed dimensions to allow insets wider than
11812           the screen (bug #162)
11813
11814         * BufferView_pimpl.C: add some insetHit debug
11815
11816 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * vc-backend.C: add FIXME
11819
11820 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * lyxfunc.C (getStatus): enable code for showing math font status
11823         in toolbar/menu.
11824
11825 2002-01-07  Juergen Vigna  <jug@sad.it>
11826
11827         * text.C (nextBreakPoint): removed debug output not needed anymore.
11828
11829 2002-01-06  Juergen Vigna  <jug@sad.it>
11830
11831         * text.C (nextBreakPoint): fixed up this function we had this bug
11832         since ever but now hopefully we break row better.
11833         (insertChar): we have to check if an inset is the next char as it
11834         could now happen that a large inset is causing a break.
11835
11836 2002-01-05  Juergen Vigna  <jug@sad.it>
11837
11838         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11839         if it doesn't like to be drawed.
11840
11841 2002-01-04  Juergen Vigna  <jug@sad.it>
11842
11843         * BufferView2.C (lockInset): forgot to set a cursor.
11844
11845         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11846
11847 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11848
11849         * FormMathsPanel.C:
11850         * FormMathsPanel.h
11851         * MathsSymbols.C:
11852         * form_maths_panel.C:
11853         * form_maths_panel.h:
11854         * form_maths_panel.fd: implemented sub- and super- buttons in math
11855         panel.
11856
11857         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11858         (or ^ space) to be used as in TeX (req'd by André).
11859
11860         * lyxfunc.C: Allow ^ and _ again to be used both as
11861         super/subscript (mathed) and as themselves (in text).
11862
11863 2002-01-03  Allan Rae  <rae@lyx.org>
11864
11865         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11866         "LyX" or the filename of the current buffer if it has one.  This is a
11867         modified form of John Levon's patch.
11868
11869         * XFormsView.C (setWindowTitle): also set icon title.
11870
11871         * LyXView.h (setWindowTitle): signature changed.
11872         * XFormsView.h (setWindowTitle): ditto.
11873
11874 2002-01-02  Juergen Vigna  <jug@sad.it>
11875
11876         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11877
11878 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * screen.C (topCursorVisible): introduce a temp var for
11881         text->cursor.row(), handle the case where this row is null. (kindo
11882         hachish)
11883
11884         * text2.C (setCursor): add a couple of asserts.
11885
11886         * paragraph.h (inset_iterator): add -> operator
11887
11888         * paragraph.[Ch] (autoDeleteInsets): remove member function
11889
11890         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11891         cursor pos correctly and handle inset deletion by itself.
11892         (insertErrors): move iterator declaration out of for expression
11893
11894         * lyxtextclass.C: add <algorithm>
11895
11896         * Makefile.am: added the new files to sources, removed layout.C
11897
11898         * layout.C: removed file
11899
11900         * layout.h: remove LYX_DUMMY_LAYOUT
11901
11902         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11903         layout.
11904
11905         * lyxlayout.[Ch]:
11906         * lyxtextclass.[Ch]:
11907         * lyxtextclasslist.[Ch]: new files
11908
11909         * include order changes to a lot of files, also changes because of
11910         the six new files.
11911
11912 2001-12-27  Juergen Vigna  <jug@sad.it>
11913
11914         * buffer.C (asciiParagraph): more fixes.
11915
11916         * tabular.C (ascii): make ascii export support export of only the
11917         data separated by a column-delimiter.
11918         (ascii): better support for ascii export.
11919
11920         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11921
11922 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11923
11924         * tabular_funcs.C: use a "using std::getline" instead of the
11925         previous fix from Angus (necessary for cxx + lyxstring)
11926
11927 2001-12-24  Juergen Vigna  <jug@sad.it>
11928
11929         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11930
11931         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11932         problems. First check a minipage also if we have some ert-contents
11933         (not only on par->size(), second set the right depth of the paragraph
11934         on the relink to the root-paragraph-list!
11935
11936         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11937         which then did not anymore update the main paragraphs on undo/redo!
11938
11939 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11942         code. Support all font-changing funcs (even those which are not in
11943         menu currently). Support for reporting font settings in
11944         mathed (disabled until Andre provides a function on mathed's side).
11945
11946         * func_status.h (toggle): small helper function to set toggle
11947         state on a flag.
11948
11949 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11950
11951         * tabular_funcs.C: getline -> std::getline
11952
11953 2001-12-21  Juergen Vigna  <jug@sad.it>
11954
11955         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11956         accessed and could be 0 (I couldn't generate this but it seems
11957         Michael could!).
11958
11959 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11962         * tabular_funcs.h: here and include iosfwd
11963
11964 2001-12-20  Juergen Vigna  <jug@sad.it>
11965
11966         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11967         inside inset but undo_par was.
11968
11969 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * Thesaurus.C: always include <config.h> in sources.
11972
11973         * Painter.h:
11974         * lyxlookup.h:
11975         * box.h: do not include <config.h> in header files
11976
11977         * text.C (paintLastRow): remove unused variable
11978
11979         * text.C (transformChar):
11980         (insertChar):
11981         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11982
11983         * Painter.C (text):
11984         * font.C (width): rewrite to use uppercase() instead of
11985         islower/toupper.
11986
11987         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11988
11989 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyxfind.C: clean up of find failure position change
11992
11993 2001-12-20  Juergen Vigna  <jug@sad.it>
11994
11995         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11996
11997         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11998         (TeXRow): added to LaTeX a single tabular row.
11999         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12000         (Latex): simplified and finally good LT-h/f support.
12001         (various_functions): just small adaptions for LT-h/f support.
12002
12003         * tabular_funcs.[hC]: added and moved here all not classfunctions
12004         of LyXTabular.
12005
12006 2001-12-19  Juergen Vigna  <jug@sad.it>
12007
12008         * tabular.[Ch]: better support for longtabular options (not finished
12009         yet!)
12010
12011 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * text.C (paintLastRow): use the label font instead of the font of
12014         the last character to compute the size of *_BOX. This makes more
12015         sense and avoids a crash with empty paragraphs.
12016         Use Painter::rectangle to draw EMPTY_BOX.
12017
12018 2001-12-19  Juergen Vigna  <jug@sad.it>
12019
12020         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12021         the paragraphs if the replaced paragraph is not the first one!
12022         Tried to delete not used paragraphs but does not work yet so for
12023         now it's inside #ifdef's and by default off!
12024
12025 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12026
12027         * MenuBackend.C: include "lyx_main.h" instead of declaring
12028         lastfiles (actually was declared as LastFiles* instead of a
12029         scoped_ptr).
12030
12031 2001-12-17  Juergen Vigna  <jug@sad.it>
12032
12033         * tabular.C (AppendColumn): applied John's fix
12034
12035 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView.h:
12038         * BufferView.C:
12039         * BufferView_pimpl.h:
12040         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12041
12042         * Makefile.am:
12043         * box.h: new start of class for above
12044
12045         * lyxfunc.C: ignore space-only minibuffer dispatches.
12046           Show the command name when it doesn't exist
12047
12048         * minibuffer.C: don't add empty lines to the history
12049
12050         * minibuffer.C: add a space on dropdown completion
12051
12052 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * text.C: fix line above/below drawing in insets
12055
12056 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * lyxlength.C (LyXLength): Initialize private variables.
12059
12060 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12061
12062         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12063         when inserting error insets.
12064
12065 2001-12-13  Juergen Vigna  <jug@sad.it>
12066
12067         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12068         actually sometimes the before-paragraph.
12069         (setUndo): don't clear the redostack if we're not actually undoing!
12070
12071 2001-12-06  Juergen Vigna  <jug@sad.it>
12072
12073         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12074         and fixed redoing of main paragraph, so we can use it now ;)
12075
12076         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12077
12078 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12081         Juergen's request
12082
12083 2001-12-13  André Pönitz <poenitz@gmx.net>
12084
12085         * undostack.[Ch]:
12086         * undo_func.C: minor cleanup
12087
12088 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12091         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12092         font in urw-fonts package which is marked as -urw-fontspecific and
12093         does not work (incidentally, changing the encoding in the
12094         fonts.dir of this package to -adobe-fontspecific fixes the
12095         problem).
12096
12097         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12098         is a crash when undoing first paragraph (Juergen, please take a
12099         look). THis does not mean the undo fix is wrong, just that it
12100         uncovers problems.
12101
12102         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12103         the (Paragraph*) version when needed instead of duplicating the
12104         code.
12105
12106         * text.C (workWidth): use Inset::parOwner to find out where the
12107         inset has been inserted. This is a huge performance gain for large
12108         documents with lots of insets. If Inset::parOwner is not set, fall
12109         back on the brute force method
12110
12111         * paragraph_pimpl.C (insertInset):
12112         * paragraph.C (Paragraph):
12113         (cutIntoMinibuffer): set parOwner of insets when
12114         inserting/removing them
12115
12116         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12117
12118 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12119
12120         * commandtags.h:
12121         * LyXAction.C:
12122         * lyx_main.C:
12123         * lyxfunc.C:
12124         * mathed/formulabase.C:
12125         * mathed/math_cursor.[Ch]:
12126         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12127
12128
12129 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * lyxlength.[Ch] (operator!=): new function
12132
12133 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * text.C (workWidth): use Inset::parOwner to find out where the
12136         inset has been inserted. This is a huge performance gain for large
12137         documents with lots of insets. If Inset::parOwner is not set, fall
12138         back on the brute force method
12139
12140         * paragraph_pimpl.C (insertInset):
12141         * paragraph.C (Paragraph):
12142         (cutIntoMinibuffer): set parOwner of insets when
12143         inserting/removing them
12144
12145         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12146
12147 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * tabular-old.C (getTokenValue):
12150         * tabular.C (getTokenValue):
12151         (write_attribute): new versions for LyXLength
12152         (everywhere): adjust the use of widths
12153
12154         * tabular.h: change the type of widths from string to LyXLength
12155
12156 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12157
12158         * paragraph.C: fixed missing line number count when exporting
12159         Environments to LaTeX file
12160
12161         * buffer.C: added informational message for checking line numbers.
12162
12163 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12166         paragraph, do the 'double space' part, but not the 'empty
12167         paragraph' one.
12168
12169         * text.C (workWidth): small optimization
12170         (getLengthMarkerHeight): use minimal size for negative lengths.
12171
12172 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12173
12174         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12175
12176         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12177
12178 2001-12-11  André Pönitz <poenitz@gmx.net>
12179
12180         * FontLoader.C:
12181         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12182
12183 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * text2.C: keep selection on a setFont()
12186
12187 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * lyx_cb.C: another bv->text misuse, from insert label
12190
12191 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * kbsequence.h:
12194         * kbsequence.C: re-instate nmodifier mask
12195
12196 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12197
12198         * lyx_main.h: make lyxGUI private.
12199
12200 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * lyxfind.C: place the cursor correctly on failed search
12203
12204 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12205
12206         * text.C (getLengthMarkerHeight): for small heights, the arrows
12207         are not always on top/bottom of the text
12208         (drawLengthMarker): smaller arrows; take the left margin in
12209         account; draw also vfills.
12210         (paintFirstRow):
12211         (paintLastRow): remove special code for vfill and standard spaces,
12212         since everything is handled in drawLengthMarker now.
12213
12214 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * buffer.C (insertErtContents): try to handle font and language
12217         interaction a bit better.g
12218
12219         * ColorHandler.C (updateColor): change the hash to cover the whole
12220         LColor enum, ws cleanup
12221         (getGCLinepars): ditto
12222         (getGCLinepars): only lookup in the linecache once.
12223
12224 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12225
12226         * iterators.C (operator++): Make the iterator more robust
12227
12228         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12229         (John's patch)
12230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12231
12232 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * lyxtext.h:
12235         * text.C: better added space drawing
12236
12237 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12238
12239         * LyXView.C:
12240         * BufferView2.C: fix layout combo update on inset unlock
12241
12242 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * Makefile.am: don't compile unused files
12245
12246 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxfunc.C:
12249         * commandtags.h:
12250         * LyXAction.C: remove old LFUN_LAYOUTNO
12251
12252 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * paragraph_pimpl.h:
12255         * paragraph_pimpl.C: isTextAt() doesn't need font param
12256
12257 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * lyxlex.h:
12260         * lyxlex.C: little cleanup
12261
12262 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * BufferView_pimpl.C: fix insertAscii for insets
12265
12266 2001-12-05  Juergen Vigna  <jug@sad.it>
12267
12268         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12269         set the right font on the "multi" paragraph paste!
12270
12271 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * trans_decl.h:
12274         * trans_mgr.[Ch]:
12275         * trans.[Ch]:
12276         * lyxgluelength.C:
12277         * lyxlength.C: remove out-commented code.
12278
12279         * BufferView_pimpl:
12280         * CutAndPaste.C:
12281         * DepTable.C:
12282         * buffer.C:
12283         * chset.C:
12284         * lastfiles.C:
12285         * lyxlex.C:
12286         * lyxlex_pimpl.C:
12287         * lyxserver.C:
12288         * screen.C:
12289         * tabular-old.C:
12290         * tabular.C:
12291         * text.C:
12292         * trans_mgr.C:
12293         * vc-backend.C: change "while(" to "while ("
12294
12295         * lyxlength.[Ch]: add zero function to check if length is zero or
12296         not
12297         * lyxgluelength.C: use it
12298
12299 2001-12-05  Allan Rae  <rae@lyx.org>
12300
12301         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12302         Works for 2.95.3, from what I understand of Garst's reports this should
12303         work for other g++ versions.  We're screwed if the abs(int) definition
12304         changed between bugfix releases of gcc.
12305
12306 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * text.C: fix chapter label offset !
12309
12310 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * lyxtext.h:
12313         * text.C: fix hfill at end of line, clean up
12314
12315 2001-12-04  Juergen Vigna  <jug@sad.it>
12316
12317         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12318         that we force an update of the inset and it's owners if neccessary.
12319
12320 2001-12-03  Juergen Vigna  <jug@sad.it>
12321
12322         * text.C (rowLast): simplified code
12323
12324 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * lyxfunc.C: fix show options on timeout
12327
12328 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12329
12330         * screen.C (topCursorVisible): scroll half a page when the cursor
12331         reached top of bottom of screen
12332
12333 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * minibuffer.C: deactivate on loss of focus
12336
12337 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * vspace.[Ch] (operator!=): add operator.
12340
12341 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * BufferView_pimpl.C: refuse to open an inset when
12344         there's a selection.
12345
12346 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * BufferView_pimpl.C: allow to click on RHS of full row insets
12349
12350 2001-11-30  Juergen Vigna  <jug@sad.it>
12351
12352         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12353         insets for undo reasons.
12354
12355 2001-11-28  André Pönitz <poenitz@gmx.net>
12356
12357         * vspace.[Ch]: cosmetical changes
12358
12359 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * LyXAction.h:
12362         * LyXAction.C:
12363         * lyxfunc.h:
12364         * lyxfunc.C:
12365         * kbmap.h:
12366         * kbmap.C:
12367         * lyxrc.C:
12368         * kbsequence.h:
12369         * kbsequence.C: part re-write of old kb code
12370
12371         * Painter.C:
12372         * WorkArea.C: remove Lgb_bug_find_hack
12373
12374 2001-11-30  José Matos <jamatos@fep.up.pt>
12375
12376         * buffer.C (makeDocBookFile): add a comment to point a hack.
12377         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12378         Fixed a double write of labels.
12379
12380 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12381
12382         * LaTeX.C:
12383         * LaTeX.h Fixed bug in LaTeX class where it would not
12384         re-run latex if no depfiles were changed, but the .dvi was removed.
12385
12386 2001-11-28  André Pönitz <poenitz@gmx.net>
12387
12388         * all the files from the change on 2001/11/26:
12389         use lyx::layout_type instead of LyXTextClass::size_type
12390         use lyx::textclass_type instead of LyXTextClassList::size_type
12391
12392 2001-11-29  Juergen Vigna  <jug@sad.it>
12393
12394         * text.C: added support for paragraph::isFreeSpacing()
12395
12396         * buffer.C: same as above
12397
12398         * paragraph.h: inserted isFreeSpacing() function to enable
12399         FreeSpacing inside InsetERT.
12400
12401         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12402         of the paragraph's in the cut/copy buffer to 0!
12403
12404         * text2.C (removeRow): remove the assert as it can!
12405
12406         * lyxtext.h: added helper function firstRow returning firstrow and
12407         made firstrow private again.
12408
12409         * BufferView2.C (lockInset): don't relock if we're already locked!
12410
12411         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12412         the only paragraph.
12413         (removeRow): added Assert::(firstrow)
12414
12415         * debug.C: forgot to add INSETTEXT here.
12416
12417 2001-11-28  Juergen Vigna  <jug@sad.it>
12418
12419         * sp_spell.C (initialize): changed error text to more general
12420         spellchecker command use (not only ispell!)
12421
12422         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12423
12424         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12425
12426 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * vspace.C: initialise lyxgluelength on failure
12429
12430 2001-11-28  Allan Rae  <rae@lyx.org>
12431
12432         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12433         declaration & definition that looks like a function declaration.
12434
12435 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * BufferView2.C (copy):
12438         (copyEnvironment): do not clear the selection when doing a copy.
12439
12440         * text.C (paintFirstRow): compilation fix
12441
12442 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12443
12444         * tabular.C (Latex): correct line count when writing latex.
12445
12446 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * paragraph_pimpl.h:
12449         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12450           bug a bit
12451
12452 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * text.C:
12455         * LColor.h:
12456         * LColor.C: change vfillline->added_space
12457
12458         * text.C: add markers and text for added space
12459
12460         * vspace.C: fix comment
12461
12462 2001-11-28  André Pönitz <poenitz@gmx.net>
12463
12464         * paragraph.C: whitespace changes
12465         * all the other files from the change on 2001/11/26:
12466         change *::pos_type into lyx::pos_type
12467
12468 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12469
12470         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12471         language of the document when inserting error insets.
12472
12473 2001-11-26  André Pönitz <poenitz@gmx.net>
12474
12475         * BufferView_pimpl.[Ch]:
12476         *       CutAndPaste.C:
12477         * buffer.[Ch]:
12478         * lyxcursor.[Ch]:
12479         * lyxfind.C:
12480         * lyxfunc.C:
12481         * lyxrow.[Ch]:
12482         * paragraph.[Ch]:
12483         * paragraph_pimpl.[Ch]:
12484         * sp_spell.C:
12485         * text.C:
12486         * text2.C: reduce header dependencies, introduce type for positions
12487
12488 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * <various>: change to use Alert.h
12491
12492 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12495         when encountering an unknown token.
12496         (readLyXformat2): Show an error message if there were unknown tokens.
12497
12498 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * BufferView2.C:
12501         * BufferView_pimpl.C:
12502         * buffer.C:
12503         * paragraph.h:
12504         * text.C:
12505         * text2.C: use par->isInset()
12506
12507 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * paragraph_pimpl.h:
12510         * paragraph_pimpl.C: cleanup
12511
12512 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * text2.C (removeRow):
12515         * text.C (setHeightOfRow): remove useless (and costly) call to
12516         getRow.
12517
12518 2001-11-20  Allan Rae  <rae@lyx.org>
12519
12520         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12521         Now need Inset*::checkInsertChar() to return true for appropriate
12522         cases so that the characters in the minibuffer will actually be
12523         inserted.
12524
12525 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * text.C: change the order of the includes.
12528         (workWidth): initialize it at once.
12529         (workWidth): make maxw unsigned
12530         (setHeightOfRow): remove unused variable (inset)
12531         (selectSelectedWord): remove unused variable (inset)
12532         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12533
12534 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12535
12536         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12537         server is not running.
12538         (openConnection):
12539         (closeConnection): add debug info when server is disabled.
12540
12541         * ColorHandler.C (getGCForeground): send debug message to GUI
12542         channel.
12543
12544         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12545
12546         * kbmap.C (bind): modify because return conventions of
12547         kb_sequence::parse have changed.
12548
12549         * kbsequence.C (parse): only ignore spaces and not any stupid
12550         control character. This avoids tests like s[i] <= ' ', which are
12551         guaranteed to fail with 8bit characters and signed chars.
12552         Change return code to string::npos when there have been no error
12553         (0 was a bad idea when error is at first character)
12554
12555 2001-11-14  José Matos  <jamatos@fep.up.pt>
12556
12557         * buffer.h:
12558         * buffer.C (simpleDocBookOnePar): removed unused argument.
12559
12560 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12563         insets which are part of a word. Paragraph::isLetter takes care of
12564         that now. Use Paragraph::isInset to identify insets.
12565         (selectSelectedWord): do not test for hyphenation break.
12566
12567         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12568         that protected spaces are considered as spaces.
12569
12570         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12571         Inset::isLetter.
12572
12573 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * lyxserver.h:
12576         * lyxserver.C: fix it. and small cleanup.
12577
12578 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView_pimpl.C: use inline helpers
12581
12582         * LaTeXFeatures.h:
12583         * LaTeXFeatures.C: fix typos
12584
12585         * Spacing.h:
12586         * Spacing.C: move spacing_string into class
12587
12588         * ToolbarDefaults.C: move stuff into namespace anon
12589
12590         * layout.h: update enum
12591
12592         * lyxfunc.C: use better debug
12593
12594         * minibuffer.h: fix typo
12595
12596         * debug.h:
12597         * debug.C:
12598         * WorkArea.C: add and use Debug::WORKAREA
12599
12600         * lyxtext.h:
12601         * text.C:
12602         * text2.C: code re-organisation, inline helpers
12603
12604 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12605
12606         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12607         std::vector.empty().
12608
12609 2001-11-09  Allan Rae  <rae@lyx.org>
12610
12611         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12612         '\n's after tables.  Tabular and ERT inset work now makes this no
12613         longer necessary.
12614
12615 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * minibuffer.h:
12618         * minibuffer.C: fix crash, improve drop-down completion
12619
12620 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * lyxserver.h:
12623         * lyxserver.C: invalidate fd's when doing endPipe()
12624
12625 2001-11-08  José Matos  <jamatos@fep.up.pt>
12626
12627         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12628         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12629
12630         * paragraph.h:
12631         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12632
12633 2001-11-07  José Matos  <jamatos@fep.up.pt>
12634
12635         * buffer.h:
12636         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12637         const qualifier.
12638
12639         * buffer.C (sgmlOpenTag):
12640         * buffer.C (sgmlCloseTag): removed debug info.
12641
12642         * buffer.h (sgmlOpenTag):
12643         * buffer.h (sgmlCloseTag): made public.
12644
12645 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * buffer.C (saveParamsAsDefaults):
12648         * lyx_cb.C (MenuLayoutSave): remove
12649
12650         * LyXAction.C (init):
12651         * commandtags.h:
12652         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12653
12654 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * buffer.C (setPaperStuff): removed from here...
12657
12658         * bufferparams.C (setPaperStuff): ... and moved there.
12659
12660 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * minibuffer.h:
12663         * minibuffer.C:
12664         * XFormsView.C: add support for drop-down completion
12665
12666 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12667
12668         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12669         commands.
12670
12671 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12672
12673         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12674         disabled.
12675
12676 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * lyx_main.C: change ref to known bugs
12679
12680 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12681
12682         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12683         to work around older babel problems.
12684
12685 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12686
12687         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12688
12689 2001-10-24  Juergen Vigna  <jug@sad.it>
12690
12691         * tabular-old.C (ReadOld): below variable changes reflected.
12692
12693         * tabular.[Ch]: added ltType struct for longtable header/footer
12694         defines and changed all instances where they are used. Added
12695         future support for double top/bottom rows.
12696
12697 2001-10-24  José Matos  <jamatos@fep.up.pt>
12698
12699         * buffer.h (docbookHandleCaption):
12700         * buffer.C (docbookHandleCaption): removed unused function.
12701         (makeDocBookFile): moved docbook supported version to v4.1.
12702
12703 2001-10-24  José Matos  <jamatos@fep.up.pt>
12704
12705         * tabular.h:
12706         * tabular.C (docbookRow): new function to export docbook code of a row.
12707         (DocBook): now honors the longtable flags.
12708
12709 2001-10-23  José Matos  <jamatos@fep.up.pt>
12710
12711         * LaTeXFeatures.h:
12712         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12713         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12714
12715         * buffer.C (makeLinuxDocFile):
12716         (makeDocBookFile): reworked the preamble, more clean, and with
12717         support for lyx defined entities. Changed the document declaration
12718         to be more XML friendly.
12719
12720         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12721         if we need to output XML that should be done with a filter.
12722
12723 2001-10-22  Juergen Vigna  <jug@sad.it>
12724
12725         * sp_pspell.h (class PSpell): add alive function needed in the
12726         controller to see if the spellchecker could be started.
12727
12728 2001-10-22  Juergen Vigna  <jug@sad.it>
12729
12730         * buffer.C (insertStringAsLines): modify the font for inserting
12731         chars in certain conditions by calling checkInsertChar(font).
12732
12733 2001-10-19  Juergen Vigna  <jug@sad.it>
12734
12735         * text.C (workWidth): use getRow instead of wrong algorithm.
12736         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12737
12738 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * lyxserver.h:
12741         * lyxserver.C:
12742         * lyx_main.h:
12743         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12744
12745 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12746
12747         * text.C (workWidth): do not search for the exact row when
12748         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12749         optimization for big documents.
12750
12751 2001-10-18  Juergen Vigna  <jug@sad.it>
12752
12753         * text.C (workWidth): new function with added Inset * parameter.
12754
12755 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12758
12759         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12760         change return type of getColumnNearX.
12761
12762
12763         * text.C (changeRegionCase): use uppercase/lowercase instead of
12764         toupper/tolower.
12765         (leftMargin):
12766         (rightMargin): simplify code by factoring out the uses of
12767         textclasslist.
12768         (labelFill):
12769         (numberOfHfills):
12770         (setHeightOfRow):
12771         (appendParagraph): use Paragraph::size_type
12772
12773 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12774
12775         * vspace.C (asLatexString): add a missing break
12776
12777 2001-10-15  Herbert Voss  <voss@perce.de>
12778
12779         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12780
12781 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12784         is not available.
12785
12786 2001-10-10  André Pönitz <poenitz@gmx.net>
12787
12788         * lyxfunc.C: removed greek_kb_flag.
12789
12790 2001-10-10  Herbert Voss  <voss@perce.de>
12791
12792         * lyx_main.C: delete global string help_lyxdir.
12793
12794 2001-10-09  Herbert Voss  <voss@perce.de>
12795
12796         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12797
12798         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12799
12800         * lyx_main.C: added global string help_lyxdir.
12801
12802         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12803
12804 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12805
12806         * lyxrc.C (set_font_norm_type): support iso8859-4
12807
12808 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12809
12810         * LaTeX.C (deplog): add another regex for MikTeX
12811
12812 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12813
12814         * lyxrc.C (set_font_norm_type): support iso8859-3
12815
12816 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12819
12820         * LaTeXFeatures.C: remove special case of french and index
12821
12822         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12823         before \begin{document}). This solves several incompatibilities.
12824
12825 2001-10-03  Garst Reese  <reese@isn.net>
12826
12827         * lyx_cb.C: change CheckTex error msg.
12828
12829 2001-10-03  José Matos  <jamatos@fep.up.pt>
12830
12831         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12832
12833 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * .cvsignore: update
12836
12837         * lyx_main.C (commandLineVersionInfo): use new style version info.
12838
12839         * buffer.C (writeFile):
12840         (makeLaTeXFile):
12841         (makeLinuxDocFile):
12842         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12843
12844         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12845
12846         * version.h: update to use stuff in version.C
12847
12848         * version.C.in: new file. Contains version information determined
12849         at compile time. This is a merging of version.h and
12850         version_info.h.in.
12851
12852 2001-10-03  Juergen Vigna  <jug@sad.it>
12853
12854         * BufferView_pimpl.C (update): don't change "dirty" status in
12855         updateInset call.
12856
12857 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12858
12859         * WorkArea.C (c-tor): re-position version string slightly.
12860
12861 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12862
12863         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12864         revert to previous code.
12865
12866         WorkArea.[Ch]: (show, destroySplash): methods removed.
12867
12868         WorkArea.C: rework code so that it's an amalgam of the codes before and
12869         after the splash screen was moved to WorkArea.
12870
12871 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * lyxrc.C (read):
12874         * vspace.C (inPixels):
12875         (lyx_advance):
12876         * kbmap.C (bind):
12877         * buffer.C (insertStringAsLines):
12878         (asciiParagraph): fix types to be large enough
12879
12880         * lyxlex_pimpl.h: change member status from short to int
12881
12882         * layout.h: fix type of endlabeltype
12883
12884         * kbmap.C (bind):
12885         * kbsequence.C (parse): change return type to string::size_type
12886
12887         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12888         variable
12889
12890         * Bullet.C (bulletSize):
12891         (bulletEntry): do not use short ints as parameters
12892
12893         * BufferView2.C (insertLyXFile): change a char to an int.
12894
12895         * WorkArea.C (WorkArea): remove unneeded floats in computation
12896
12897 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12898
12899         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12900
12901         * paragraph.C (asString): Do not ignore newline/hfill chars when
12902         copying to the clipboard.
12903
12904 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12905
12906         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12907         after a multi-line inset.
12908
12909 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12910
12911         * paragraph.C (validate): Set NeedLyXFootnoteCode
12912
12913 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12916         and decrease-error to decrease.
12917
12918 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12919
12920         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12921         it more readable (should be equivalent)
12922
12923 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12924
12925         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12926
12927 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12930         of a cursor (row, etc.) after a character has been deleted
12931         (deleteEmptyParagraphMechanism): call the method above on _all_
12932         cursors held by the LyXText when a double space has been
12933         detected/deleted.
12934
12935 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12938         pixmap.
12939         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12940
12941         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12942         background. Use greyOut() and the new show() methods to toggle between
12943         the foreground and background. Add code to remove the splash after
12944         its initial showing.
12945
12946         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12947         (create_forms): no longer call Dialogs::showSplash.
12948
12949 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12950
12951         * .cvsignore: add version_info.h
12952
12953 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12954
12955         * version_info.h.in: new file
12956
12957         * Makefile.am: add version_info.h.in
12958
12959         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12960         version_info.h instead of VERSION_INFO
12961
12962 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12963
12964         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12965         The ERT inset now returns string().
12966
12967 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         * lyxtext.h, text.C (selectNextWord): renamed as
12970         selectNextWordToSpellcheck.
12971
12972         * text.C (selectNextWordToSpellcheck): Modified to not select
12973         words inside an ERT inset.
12974
12975 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12976
12977         * lyx_cb.C (MenuLayoutSave): change a bit the question
12978
12979         * sp_base.h: include <sys/types.h>
12980
12981 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12984
12985 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12986
12987         * several files: fix typos in user-visible strings
12988
12989 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * text2.C (pasteSelection): do not set the selection, since it
12992         will be cleared later. Actually, the intent was to fix the way the
12993         selection was set, but I figured rmoving the code was just as good.
12994
12995 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12996
12997         * FontLoader.C (available): Check if font is available without
12998         loading the font.
12999
13000 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13001
13002         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13003
13004 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * lyxrc.[Ch]: added display_graphics variable and associated code.
13007
13008 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * bufferparams.C (hasClassDefaults): new method. Returns true if
13011         the buffer parameters correspond to known class defaults
13012
13013 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * XFormsView.C (show): set minimum size to the main window.
13016
13017 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * text2.C (copySelection):
13020         (cutSelection):
13021         * lyxfind.C (LyXReplace):
13022         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13023         LyXText::selectionAsString.
13024
13025         * paragraph.C (asString): add "label" argument to the second form
13026
13027         * text2.C (selectionAsString): add "label" argument and pass it to
13028         Paragraph::asString.
13029
13030 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13031
13032         * lyx_main.C (commandLineHelp): remove version information
13033
13034 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13035
13036         * lyx_main.C: add -version commandline option
13037
13038 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * paragraph.h: make the optional constructor arg required instead.
13041         some modifications to other files because of this.
13042
13043         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13044
13045         * lyxserver.C (C_LyXComm_callback): make it static
13046
13047         * lyx_main.C (error_handler): make it static
13048
13049         * lyx_gui.C (LyX_XErrHandler): make it static
13050
13051         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13052
13053         * WorkArea.C: make the extern "C" methods static.
13054
13055         * Makefile.am (lyx_LDADD): simplify
13056
13057 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13060         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13061
13062         * LyXAction.C (init):
13063         * lyxfunc.C (dispatch): associated code removal.
13064
13065 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * lyxfont.h (isSymbolFont): shut off warning
13068
13069         * text.C (setHeightOfRow):
13070         (getVisibleRow): fix crash with empty paragraphs which have a
13071         bottom line
13072
13073 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13074
13075         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13076         code.
13077
13078 2001-09-04  José Matos  <jamatos@fep.up.pt>
13079         * buffer.C
13080         * buffer.h
13081         * tabular.C (docbook): rename docBook method to docbook.
13082
13083 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * Makefile.am: add dependencies to main.o.
13086
13087 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13088
13089         * FontLoader.C (available): Return false if !lyxrc.use_gui
13090
13091 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13092
13093         * FontInfo.C (query):
13094         * converter.C (view):
13095         * importer.C (Import):
13096         * exporter.C (Export): Can not -> cannot.
13097
13098 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13099
13100         * BufferView_pimpl.C: allow to create index inset even if
13101           string is empty
13102
13103 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * buffer.C (getLists): replace boost::tie code with an explicit pair
13106         as boost::tie can break some compilers.
13107
13108         * iterators.h: Added a std:: declaration to the return type of
13109         ParIterator::size.
13110
13111 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13112
13113         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13114           case.
13115
13116 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13117
13118         * iterators.[Ch]: New files. Provide paragraph iterators.
13119
13120         * buffer.C (changeLanguage): Use paragraph iterators.
13121         (isMultiLingual): ditto
13122
13123         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13124
13125 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13126
13127         * FontLoader.C: Support for cmr font.
13128
13129 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13130
13131         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13132         (available): New method.
13133
13134         * FontInfo.C (getFontname): Use scalable fonts even when
13135         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13136         found.
13137
13138 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13139
13140         * converter.C (Formats::view): reverted! Incorrect fix.
13141
13142 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * converter.C (Formats::view): only output the -paper option
13145         if the dvi viewer is xdvi, thereby fixing bug #233429.
13146
13147 2001-08-23  Herbert Voss  <voss@perce>
13148
13149         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13150
13151 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * Spacing.h (Spacing): Set space to Default on in the default
13154         constructor.
13155
13156 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * vc-backend.h (RCS::versionString): add RCS to version
13159         (CVS::versionString): add CVS to version
13160
13161         * vc-backend.C (scanMaster): do not add CVS to version.
13162         (scanMaster): do not add RCS to version
13163
13164         * lyxvc.C (versionString): new method
13165
13166         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13167
13168 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * Spacing.C (set): initialize fval
13171
13172 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13175         " or \.
13176
13177 2001-08-16  Juergen Vigna  <jug@sad.it>
13178
13179         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13180
13181 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * BufferView_pimpl.C:
13184         * figureForm.C:
13185         * lyxtext.h:
13186         * text2.C: setParagraph takes linespacing now
13187
13188 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * LyxAction.C: add internal LFUN_CITATION_INSERT
13191
13192         * LyXView.C: actually apply fix
13193
13194         * bufferlist.C: fix open non-existent file
13195
13196         * lyxfind.C: fix indentation
13197
13198         * lyxfunc.C: remove unneeded assert, fix typo
13199
13200 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * MenuBackend.C: use "Floatname List"
13203
13204 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13205
13206         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13207         when converting LaTeX layout to insetERT.
13208         Generate a non-collapsed float when reading old float
13209
13210 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13213         ERT insets.
13214
13215 2001-08-13  Juergen Vigna  <jug@sad.it>
13216
13217         * text.C (fill): return 0 instead of 20 as this seems to be the more
13218         correct value.
13219
13220 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13223         lyxrc.font_norm.
13224
13225 2001-08-13  Juergen Vigna  <jug@sad.it>
13226
13227         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13228         casesensitive off.
13229         (SearchBackward): comment out the unlocking of the inset_owner this
13230         should not be needed!
13231
13232 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13233
13234         * Many files: Remove inherit_language, and add latex_language
13235
13236         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13237         collapsible insets.
13238
13239 2001-08-10  Juergen Vigna  <jug@sad.it>
13240
13241         * text.C (prepareToPrint): fixed hfill-width in draw!
13242
13243         * BufferView2.C (selectLastWord): save the selection cursor as this
13244         now is cleared in the function LyXText::clearSelection!
13245
13246 2001-08-08  Juergen Vigna  <jug@sad.it>
13247
13248         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13249         BACKSPACE type functions.
13250
13251         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13252         is only cutted from the document but not put in the cut-buffer, where
13253         still the old stuff should be.
13254
13255         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13256
13257         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13258
13259         * tabular.C (SetWidthOfCell): fixed special case where the width
13260         was not updated!
13261         (LeftLine): handle '|' in align_special.
13262         (RightLine): ditto
13263         (LeftAlreadyDrawed): ditto
13264         (SetWidthOfCell): ditto
13265
13266 2001-08-07  Juergen Vigna  <jug@sad.it>
13267
13268         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13269
13270 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13273         * lyxlex.[hC]: ditto
13274
13275 2001-08-06  Juergen Vigna  <jug@sad.it>
13276
13277         * text.C (getVisibleRow): fix up row clearing a bit.
13278
13279 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * minibuffer.C: make sure the X server sees the changes in the input.
13282
13283 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * paragraph.C (getFont): split into...
13286         (getLabelFont): this
13287         (getLayoutFont): and this
13288         * paragraph_pimpl.C (realizeFont): calling this
13289
13290         * text2.C (getFont): split into...
13291         (getLayoutFont): this
13292         (getLabelFont): and this
13293         (realizeFont): all three calling this
13294
13295         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13296         files where used.
13297
13298 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13301
13302 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13303
13304         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13305         layouts from the Quote inset insertion.
13306
13307 2001-08-03  Juergen Vigna  <jug@sad.it>
13308
13309         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13310
13311         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13312         only if status not is already CHANGED_IN_DRAW (second level).
13313
13314         * text.C (draw): don't set the need_break_row when inside an
13315         InsetText LyXText.
13316
13317 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * buffer.C (parseSingleLyXformat2Token): handle more latex
13320         conversion cases.
13321
13322         * bufferview_funcs.[hC]: change function names to
13323         begin with small char, adjust other files.
13324
13325 2001-08-02  André Pönitz <poenitz@gmx.net>
13326
13327         * lyxfunc.C:
13328         BufferView_pimpl.C: remove broken special code for math-greek
13329
13330 2001-08-02  Juergen Vigna  <jug@sad.it>
13331
13332         * BufferView_pimpl.C (update): redone this function so that we
13333         update the text again if there was a CHANGE_IN_DRAW.
13334
13335         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13336         (drawFromTo): added a new internal bool which is used by draw() and
13337         redraw() function.
13338         (general): some cursor drawing problems fixed.
13339
13340 2001-08-01  Juergen Vigna  <jug@sad.it>
13341
13342         * lyxfind.C (LyXFind): fixed
13343         (SearchForward): ditto
13344         (SearchBackward): ditto
13345
13346         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13347         spurius drawing of the cursor in the main area.
13348
13349         * text2.C (status): small fix which could lead to a segfault!
13350         (clearSelection): remove unneeded BufferView param.
13351
13352 2001-08-01  André Pönitz <poenitz@gmx.net>
13353
13354         * lyxfunc.C: small change due to changed mathed interface
13355
13356 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13359
13360 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * lyxfunc.c: fail gracefully if file doesn't exist
13363
13364         * LyXSendto.C:
13365         * buffer.C:
13366         * lyxfunc.C:
13367         * BufferView_pimpl.C: IsDirWriteable() proto changed
13368
13369         * LyXView.C: fix updateWindowTitle() to store the last title
13370
13371 2001-07-31  Juergen Vigna  <jug@sad.it>
13372
13373         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13374         the font (wrong since using of Paragraph::highestFontInRange).
13375
13376         * paragraph.C (highestFontInRange): added a default_size parameter.
13377
13378         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13379         (setHeightOfRow): reformat
13380
13381 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * converter.[hC] + affected files: move to (inital-char)lowercase
13384         function names.
13385
13386         * ParagraphParameters.C (ParagraphParameters): remove commented code
13387
13388         * PainterBase.[Ch]: remove commented code
13389
13390         * LaTeXFeatures.h: add "bool floats" for float.sty
13391
13392         * LaTeXFeatures.C (LaTeXFeatures): init floats
13393         (require): handle float
13394         (getPackages): do it with floats
13395
13396 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * BufferView_pimpl.C (Dispatch): improve handling of
13399         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13400
13401         * commandtags.h: #include lyxfont.h here temporarily to avoid
13402         keybinding bug.
13403
13404         * bufferlist.h: include LString.h here.
13405
13406 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13407
13408         * text2.C (getStringToIndex): new method.
13409
13410 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13411
13412         * *: Reduced header file dependencies all over.
13413
13414 2001-07-30  Baruch Even  <baruch@lyx.org>
13415
13416         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13417
13418 2001-07-29  Baruch Even  <baruch@lyx.org>
13419
13420         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13421
13422 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * ParameterStruct.h (endif): add a default constructor to make
13425         sure that all variables is initialized.
13426
13427         * ParagraphParameters.C (ParagraphParameters): adjust
13428
13429 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13432         index; also, check that there is something to index, and that it
13433         does not span over several paragraphs.
13434         (doubleClick): use WHOLE_WORD_STRICT for double click.
13435
13436         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13437
13438         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13439         scheme.
13440
13441 2001-07-26  Baruch Even  <baruch@lyx.org>
13442
13443         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13444         an InsetFig figure, backwards compatible reading of old figure code.
13445
13446 2001-07-27  Juergen Vigna  <jug@sad.it>
13447
13448         * text2.C: font.realize function adaption.
13449
13450         * text.C (draw): add a warnings lyxerr text if needed.
13451
13452         * layout.C: font.realize function adaption.
13453
13454         * language.C: add inherit_language and implement it's handlings
13455
13456         * bufferview_funcs.C (StyleReset): remove language parameter from
13457         font creation (should be language_inherit now).
13458
13459         * bufferparams.C (writeFile): handle ignore_language.
13460
13461         * paragraph.C (getFontSettings): the language has to be resolved
13462         otherwise we have problems in LyXFont!
13463
13464         * lyxfont.C (lyxWriteChanges): added document_language parameter
13465         (update): removed unneeded language parameter
13466
13467         * paragraph.C (validate): fixed wrong output of color-package when
13468         using interface colors for certain fonts in certain environments,
13469         which should not seen as that on the final output.
13470
13471 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * BufferView_pimpl.C:
13474         * Thesaurus.h:
13475         * Thesaurus.C:
13476         * Makefile.am:
13477         * commandtags.h:
13478         * LyXAction.C: add thesaurus support
13479
13480         * lyxfind.h:
13481         * lyxfind.C: add "once" parameter, for thesaurus, to not
13482           move to the next match
13483
13484 2001-07-26  Juergen Vigna  <jug@sad.it>
13485
13486         * lyxfont.C (realize): honor ignore_language too!
13487         (resolved): ditto.
13488
13489         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13490
13491         * text.C (draw): one place more for ignore_language to not draw
13492         itself!
13493
13494 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13497
13498 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13501         the minipage conversion problem.
13502
13503 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13506         insert an inset.
13507
13508 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * BufferView.h: don't forward declare WorkArea
13511
13512         * BufferView.C: don't include WorkArea.h
13513
13514 2001-07-25  André Pönitz <poenitz@gmx.net>
13515
13516         * commandtags.h:
13517         * LyXAction.C:
13518         * lyxfunc.C:  new LFUN 'math-space'
13519
13520         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13521
13522 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * text2.C (toggleInset): call open/close
13525
13526 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * lyxfunc.C (dispatch): add debug for the disabled case
13529
13530         * font.C (buttonText): make similar to rectText
13531
13532         * buffer.C (readInset): comment out parsing of insetlist and
13533         insttheorem
13534
13535         * PainterBase.C (rectText): small correction
13536
13537         * BufferView_pimpl.C: comment out insettheorem and insetlist
13538         * LyXAction.C: ditto
13539         * commandtags.h: ditto
13540
13541 2001-07-24  Juergen Vigna  <jug@sad.it>
13542
13543         * text.C (draw): honor the ignore_language.
13544
13545         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13546
13547 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13548
13549         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13550         char inset.
13551
13552 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13553
13554         * lyxtext.h: remove unused (and unimplemented) methods
13555
13556 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13557
13558         * text.C (getVisibleRow): honor background color
13559
13560         * PainterBase.h:
13561         * Painter.h: remove default color argument for fillRectangle
13562
13563         * text.C (backgroundColor): new method
13564
13565 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * text.C (getVisibleRow): adjust
13568
13569         * font.[Ch] (rectText): new method, metrics
13570         (buttonText): new method, metrics
13571
13572         * PainterBase.[hC]: make rectText and buttonText always draw and take
13573         fewer paramteres.
13574
13575 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13576
13577         * ToolbarDefaults.C (read):
13578         * MenuBackend.C (read): allow escaping in all strings
13579
13580         * BufferView_pimpl.C (insertAndEditInset): new method.
13581         (Dispatch): use insertAndEditInset whenever appropriate.
13582
13583         * BufferView_pimpl.C (insertNote): removed
13584
13585         * BufferView_pimpl.C (smartQuote): new method, moved from
13586         BufferView; if an insetquote cannot be inserted, insert a '"'
13587         character instead.
13588
13589         * BufferView2.C: remove insertCorrectQuote();
13590
13591         * lyxfunc.C (getStatus): Add support for all remaingin
13592         inset-insert lfuns.
13593
13594         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13595
13596         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13597         command (necessary to pass " as parameter of self-insert.
13598
13599         * text.C (selectWordWhenUnderCursor):
13600         (selectWord): add word_location parameter
13601         (selectWordWhenUnderCursor): same + remove special code for word
13602         boundary.
13603         (selectNextWord): use kind() to guess type of insetspecialchar,
13604         not latex().
13605
13606         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13607         (insertErtContents): create ert insets as collapsed.
13608         (readInset): better compatibility code for Info inset.
13609
13610 2001-07-20  Juergen Vigna  <jug@sad.it>
13611
13612         * lyxfunc.C (dispatch): use always LyXFind now!
13613
13614         * text2.C (init): add a reinit flag so that the LyXText can be
13615         reinited instead of deleted and reallocated (used in InsetText).
13616
13617         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13618
13619         * text.C: ditto
13620
13621         * text2.C: ditto
13622
13623 2001-07-18  Juergen Vigna  <jug@sad.it>
13624
13625         * text.C (selectNextWord): handle insets inside inset by calling
13626         always the bv->text functions so that we can go up the_locking_inset!
13627
13628         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13629         in strange locations when inside an inset!
13630
13631         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13632         handling to include insets.
13633
13634         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13635
13636 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13637
13638         * LyXAction.C (init):
13639         * commandtags.h:
13640         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13641         LIGATURE_BREAK, since the name is so stupid.
13642
13643 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13644
13645         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13646         InsetInfos.
13647
13648         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13649
13650         * sp_form.[Ch]: remove.
13651
13652         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13653
13654         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13655         InsetInfo.
13656
13657         * src/buffer.C (readInset): ditto.
13658
13659 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13660
13661         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13662         menuSeparator(), endOfSentenceDot(), ldots() and
13663         hyphenationPoint(), which are therefore removed.
13664         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13665
13666         * LyXAction.C (init):
13667         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13668
13669         * paragraph.C (getWord): removed.
13670
13671         * BufferView_pimpl.C (Dispatch): use last word or selection for
13672         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13673
13674         * lyx_main.C (queryUserLyXDir): do not ask before creating
13675         user_dir, except if it has been named explicitely.
13676
13677 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13678
13679         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13680         a document of zero size.
13681
13682 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13685         approriately in the c-tor and in require().
13686         (getPackages): output the appropriate LaTeX for natbib support.
13687
13688         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13689         variables "use_natbib" and "use_numerical_citations" when reading the
13690         LyX file.
13691         (readInset): read the various natbib cite commands.
13692         (validate): white-space change.
13693
13694         * bufferparams.[Ch]: new variables "bool use_natbib" and
13695         "bool use_numerical_citations".
13696         (writeFile): output them in the LyX file.
13697
13698 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13699
13700         * lyxfunc.C (getStatus): add support for all the inset insertion
13701         commands.
13702
13703         * text2.C (insertInset):
13704         * paragraph.C (insetAllowed):
13705         * BufferView_pimpl.C (insertInset): update to take in account the
13706         renaming of insertInsetAllowed
13707
13708         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13709
13710         * text2.C (getInset): new method. returns inset at cursor position.
13711
13712         * BufferView_pimpl.C (Dispatch): changes because of this.
13713
13714         * LyXAction.C (init): rename open-stuff to inset-toggle.
13715
13716         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13717
13718         * text2.C (toggleInset): renamed from openStuff; use
13719         Inset::open().
13720
13721 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13722
13723         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13724
13725         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13726
13727 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13728
13729         * buffer.C (readLyXformat2): Add filename to the error dialog
13730
13731 2001-07-18  Juergen Vigna  <jug@sad.it>
13732
13733         * tabular.C (GetCellNumber): put an assert here instead of the check!
13734
13735 2001-07-17  Juergen Vigna  <jug@sad.it>
13736
13737         * BufferView_pimpl.C (toggleSelection): adapted too.
13738
13739         * text.C (selectNextWord): adapted for use with insets.
13740         (selectSelectedWord): ditto
13741
13742 2001-07-17  Juergen Vigna  <jug@sad.it>
13743
13744         * sp_spell.C (PSpell): fix initialitation order.
13745
13746 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * paragraph.C: spacing
13749
13750 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13751
13752         * sp_spell.C: repair language selection for pspell
13753
13754 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * lyxfunc.h: change more methods to begin with lower char.
13757
13758 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13759
13760         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13761         for unknown layouts.
13762
13763 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * buffer.C (readLyXformat2): Generate an error dialog if there are
13766         unknown layouts.
13767
13768 2001-07-16  Juergen Vigna  <jug@sad.it>
13769
13770         * sp_spell.C: always compile ISpell part.
13771
13772         * lyxrc.C: added use_pspell entry and it's handling.
13773
13774 2001-07-13  Juergen Vigna  <jug@sad.it>
13775
13776         * sp_spell.C: removed double includes.
13777
13778 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         Consistent use of Lsstream.h:
13781         * Lsstream.h: added using std::stringstream for consistencies sake.
13782
13783         * buffer.C: removed using std::stringstream
13784
13785         * lyxfont.C (stateText):
13786         * paragraph.C (asString):
13787         * text.C (selectNextWord, selectSelectedWord):
13788         * text2.C (setCounter):
13789         * vspace.C (asString, asLatexString):
13790         std::ostringstream -> ostringstream.
13791
13792 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13793
13794         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13795         * commandtags.h: add LFUN_HELP_ABOUTLYX
13796         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13797
13798 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13799
13800         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13801         cursorToggle()
13802         * lyx_gui_misc.C: remove spellchecker
13803         * lyxfunc.C: showSpellchecker
13804         * sp_base.h: added
13805         * sp_ispell.h: added
13806         * sp_pspell.h: added
13807         * sp_spell.C: added
13808         * sp_form.[Ch]: removed
13809         * spellchecker.[Ch]: removed
13810
13811 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13812
13813         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13814         is set.
13815         (simpleTeXSpecialChars): Simply print the input character without
13816         any special translation if pass_thru is set.
13817
13818         * layout.h: Added bool pass_thru to layout class for being able to
13819         implement pass through of a paragraph for Literate Programming.
13820
13821         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13822         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13823         * layout.C (Read): add "passthru" to list of layout tags and add
13824         code to set the pass_thru boolean when it is read.
13825
13826 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * trans_decl.h: remove allowed from KmodInfo
13829
13830         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13831         remove allowed code
13832         (Load): adjust
13833
13834         * paragraph_pimpl.C (erase): use boost::prior
13835
13836         * Painter.C (text): use data() instead of c_str() when length is
13837         also provided.
13838         * WorkArea.C (putClipboard): ditto
13839         * font.h (width): ditto
13840
13841         * BufferView2.C: use it-> instead of (*it). for iterators
13842         * texrow.C: ditto
13843         * paragraph_pimpl.C: ditto
13844         * paragraph.C: ditto
13845         * minibuffer.C: ditto
13846         * language.C: ditto
13847         * kbmap.C: ditto
13848         * encoding.C: ditto
13849         * counters.C: ditto
13850         * converter.C: ditto
13851         * chset.C: ditto
13852         * Variables.C: ditto
13853         * TextCache.C: ditto
13854         * MenuBackend.C: ditto
13855         * LyXAction.C: ditto
13856         * LColor.C: ditto
13857         * FloatList.C: ditto
13858         * DepTable.C: ditto
13859         * ColorHandler.C (LyXColorHandler): ditto
13860
13861 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13864
13865         * text2.C (openStuff): reintroduce this method (which had been
13866         nuked in NEW_INSETS frenzy).
13867
13868         * lyxfunc.C (Dispatch): when an action has not been handled, use
13869         its name in the error message, not its number.
13870
13871         * paragraph.C (inInset): change method name to begin with lowercase.
13872
13873         * undo_funcs.C:
13874         * text2.C: updates because of this.
13875
13876 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * ToolbarDefaults.C (add): add spaces in error message
13879
13880 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13881
13882         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13883         (readLyXformat2): rename return_par to first_par, use lyxlex's
13884         pushToken and remove the manual push handling.
13885         (parseSingleLyXformat2Token): add another ert comp. variable:
13886         in_tabular, rename return_par to first_par. handle newlines better
13887
13888 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13889
13890         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13891
13892 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * text2.C (getParFromID): removed
13895
13896         * buffer.C (getParFromID): new method moved form lyxtext.
13897         * BufferView2.C (insertErrors): adjust
13898         (setCursorFromRow): adjust
13899         * BufferView_pimpl.C (restorePosition): adjust
13900         * lyxfunc.C (Dispatch): adjust
13901         * undo_funcs.C (textUndo): adjust
13902         (textRedo): adjust
13903         (textHandleUndo): adjust
13904         (textHandleUndo): adjust
13905
13906 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * buffer.C: up' the LYX_FORMAT
13909
13910         * lyxfont.h: turn NO_LATEX on as default
13911
13912         * buffer.C (insertErtContents): new methods of tex style compability.
13913         (parseSingleLyXformat2Token): use it several places.
13914         * tabular.C (OldFormatRead): and here
13915
13916 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13917
13918         * text2.C: remove some commented code.
13919         reindent file.
13920
13921         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13922         * trans.C: changes because of the above.
13923
13924 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13925
13926         * text2.C (setCounter): Fix counters bug with bibliography layout.
13927
13928 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13931         own member functions
13932         (simpleTeXSpecialChars): ditto
13933
13934 2001-07-06  Juergen Vigna  <jug@sad.it>
13935
13936         * a lot of files: changed the access to LyXText::status and the
13937         call of undo-functions.
13938
13939         * undo.[Ch]: added a inset_id to the undo informations.
13940
13941         * undo_funcs.[Ch]: added and moved here all undo functions.
13942
13943         * lyxtext.h: give the status enum a weight, made status_ a private
13944         variable and made accessor functions for it, removed the whole bunch
13945         of undo-functions as they are now in their own file, make some
13946         functions publically available. Added function ownerParagraph with
13947         int parameter.
13948
13949         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13950         made InInset() a const function, added getParFromID() function.
13951
13952         * buffer.[Ch]: added const version for inset_iterator functions,
13953         added getInsetFromID() function.
13954
13955         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13956         changed undo functions for new version.
13957
13958 2001-07-05  Juergen Vigna  <jug@sad.it>
13959
13960         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13961         unknow mechanism does not call the proper constructor but only this
13962         one also if I request the other!?
13963
13964 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13965
13966         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13967
13968         * text2.C (LyXText): use initialization lists.
13969
13970         * lyxtext.h (Selection): initialize set_ and mark_
13971         (init): remove method
13972
13973 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13976
13977 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * screen.[Ch]: change method names to begin with lowercase
13980
13981         * BufferView_pimpl.C (updateScrollbar): simplify further and
13982         hopefully make it a bit faster.
13983
13984 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13985
13986         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13987         calling directly xforms functions.
13988
13989         * Painter.C (Painter):
13990         * lyx_cb.C (MenuWrite):
13991         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13992         fl_display.
13993
13994         * lyx_gui.C: remove bogus guiruntime extern declaration.
13995
13996 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13997
13998         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13999         in NEW_INSETS
14000         (redoDrawingOfParagraph): ditto
14001         (redoParagraphs): ditto
14002         (cutSelection): don't create a object for CutAndPaste use the
14003         static method directly
14004         (pasteSelection): ditto
14005
14006         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14007         LyXview (+ rename)
14008
14009 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * modifications to some other files because of this.
14012
14013         * Makefile.am (lyx_SOURCES): add XFormsView
14014
14015         * XFormsView.[Ch]: new files
14016
14017         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14018         the main window. Move the gui dependent stuff to XFormsView
14019
14020 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * tabular.C (GetCellInset): update cur_cell also in the row/col
14023         version of this function.
14024
14025         * lyxfunc.C: no need to include figure_form.h here.
14026
14027         * FontLoader.h:
14028         * lyxfunc.h:
14029         * lyxscreen.h:
14030         * text2.C:
14031         * lyxvc.C: no need to include forms.h here.
14032
14033 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14034
14035         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14036
14037         * lyxfunc.C (Dispatch):
14038         * Spacing.C (set):
14039         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14040         constructor argument.
14041
14042 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * paragraph.C (Paragraph): dont't clear, and just set layout.
14045         (makeSameLayout): use params's copy contructor.
14046
14047         * ParagraphParameters.[Ch] (makeSame): delete method
14048
14049 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * Variables.[Ch]: fix indentation, rename set to isSet
14052
14053 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * lyxfunc.C (Dispatch): fix typo
14056
14057 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14060         upper_bound.
14061
14062         * bufferlist.C: include assert.h for emergencyWrite().
14063
14064 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14067           give up at last (bug #425202) !
14068
14069 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * lyx_gui_misc.C:
14072         * sp_form.h:
14073         * sp_form.C:
14074         * spellchecker.h:
14075         * spellchecker.C: strip spellchecker options and bring up
14076           preferences tab instead
14077
14078 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14079
14080         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14081         the istringstream constructor
14082
14083 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * paragraph.C (getLayout): fix return value
14086
14087         * paragraph.h: do not declare getLayout as inline.
14088
14089         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14090
14091 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * lyxcursor.h (operator<): new func
14094         (operator>): new func
14095         (operator>=): new func
14096         (operator<=): new func
14097
14098         * text.C (changeCase): use selection.start and selection.end
14099         (changeRegionCase): require from to be <= to. Require par to be a
14100         valid paragraph.
14101
14102         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14103
14104 2001-06-27  Juergen Vigna  <jug@sad.it>
14105
14106         * text.C (cursorLeftOneWord): changed to return the cursor and added
14107         overlay with BufferView * parameter which calls this one.
14108         (getWord): added
14109         (selectWord): use new getWord function.
14110         (changeCase): renamed from changeWordCase as and extended to work
14111         also on selections.
14112
14113         * lyxtext.h: added enum word_location
14114
14115         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14116         changeCase as this operates now also on selections.
14117
14118 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14119
14120         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14121
14122         * many files: send debug output to Debug::INFO instead of
14123         Debug::ANY.
14124
14125         * converter.C (View):
14126         (Convert):
14127         (Move): send debug output to Debug::FILES instead of console.
14128
14129 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14130
14131         * lyxfunc.C (getStatus): use func_status
14132
14133         * func_status.h: new header, describing the results of
14134         LyXFunc::getStatus;
14135
14136         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14137         LFUN_MATH_HALIGN.
14138
14139 2001-06-25  The LyX Project  <jug@sad.it>
14140
14141         * buffer.C (sgmlOpenTag):
14142         (sgmlCloseTag):
14143         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14144
14145 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14146
14147         * text2.C: remove some dead code
14148
14149         * tabular.C (GetCellInset): store the last cell checked (gotten)
14150
14151         * tabular.h: add the helper for the speedup
14152
14153         * lyxtext.h: remove some dead code
14154
14155 2001-06-26  The LyX Project  <Asger>
14156
14157         * paragraph.C: Change export to LaTeX of alignment to
14158         \begin{center} and family for better roundtrip work with reLyX.
14159
14160         * Tune the math drawing a bit.
14161
14162 2001-06-25  The LyX Project  <Asger>
14163
14164         * LColor.C (LColor): New color for math background. New color
14165         for buttons.
14166
14167 2001-06-25  The LyX Project  <jug@sad.it>
14168
14169         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14170
14171         * lyxfunc.C (Open):
14172         * bufferlist.C (newFile): do not restrict to files ending with
14173         .lyx
14174
14175         * BufferView_pimpl.C (MenuInsertLyXFile):
14176
14177 2001-06-24  The LyX Project  <jug@sad.it>
14178
14179         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14180         of compare_no_case
14181
14182 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14183
14184         * lyxtext.h: rename most methods to begin with a small char.
14185         Lots of changes because of this.
14186
14187         * paragraph.C (Paragraph): do not call fitToSize
14188         (erase): call Pimpl::erase
14189         (insertChar): call Pimpl::insertChar
14190         (insertInset): call Pipl::insertInset
14191         (breakParagraph): do not call fitToSize
14192         (breakParagraphConservative): do not call fitToSize
14193         (fitToSize): remove method
14194
14195         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14196
14197 2001-06-24  The LyX Project  <Asger>
14198
14199         * Fix Qt compilation^2
14200
14201 2001-06-24  The LyX Project  <jug@sad.it>
14202
14203         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14204         depthHook(getDepth()-1).
14205
14206         * paragraph.h:
14207         * ParagraphParameters.h:
14208         * ParameterStruct.h: change type of depth to unsigned int ==
14209         depth_type. Many adaptations to other files before of that.
14210
14211 2001-06-24  The LyX Project  <Asger>
14212
14213         * Fix Qt compilation.
14214
14215 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * paragraph.h: renamed several methods to begin with small letter.
14218         several changes to many parts of the code because of this.
14219
14220 2001-06-23  The LyX Project  <jug@sad.it>
14221
14222         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14223         rewritten to discard all double spaces when KeepEmpty is off
14224         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14225         to only handle newlines but not fiddle with spaces and friends.
14226
14227         * lyxfunc.C (MenuNew): when doing 'new from template', use
14228         template_path as default directory
14229
14230 2001-06-23  The LyX Project  <Asger>
14231
14232         * Clean-up of header file includes all over
14233         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14234
14235 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * paragraph.h: renamed from lyxparagraph.h
14238
14239 2001-06-23  Asger  <lyx@violet.home.sad.it>
14240
14241         * Buffer.h: Removed Buffer::resize
14242         * BufferList.h: Removed BufferList::resize
14243         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14244         the document lazily when we change the width, or the font settings.
14245
14246 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14249
14250 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * buffer.h: remove out of date comment
14253
14254 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * lyxscreen.h:
14257         * screen.C: fix "theoretical" GC leak
14258
14259 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * LaTeX.C (scanAuxFile):
14262         (deplog): remove trailing \r when reading stream (useful under
14263         win32)
14264
14265 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14268         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14269         and BufferView::theLockingInset(Inset*), so should use them and not
14270         access bv_->text->the_locking_inset directly.
14271
14272         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14273
14274 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14275
14276         * Makefile.am:
14277         * tex-defs.h: remove old unused file
14278
14279 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * BufferView_pimpl.C: fix typo, remove minibuffer message
14282           when buffer has loaded
14283
14284 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * lyxfunc.C (Dispatch): use stringstream
14287         (MenuNew): use stringstream
14288         (Open): use stringstream
14289
14290         * importer.C (Import): use stringstream
14291
14292         * bufferview_funcs.C (CurrentState): use stringstream
14293
14294         * LaTeX.C (run): use stringstream
14295
14296         * BufferView_pimpl.C (savePosition): use stringstream
14297         (restorePosition): use stringstream
14298         (MenuInsertLyXFile): use stringstream
14299
14300 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * BufferView.C:
14303         * Bullet.C:
14304         * ColorHandler.C:
14305         * FontInfo.C:
14306         * FontLoader.C:
14307         * LColor.C:
14308         * LaTeXFeatures.C:
14309         * Painter.C:
14310         * gettext.C:
14311         * lyx_gui_misc.C:
14312         * lyxserver.C:
14313         * vspace.C: removed // -*- C++ -*- as first line.
14314
14315         * lyxfind.h:
14316         * version.h: added // -*- C++ -*- as first line.
14317
14318 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14321
14322         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14323         of string
14324
14325 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14326
14327         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14328         of floats.
14329
14330 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14331
14332         * gettext.C: include LString.h even when --disable-nls is on.
14333
14334 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         * converter.h (Get): changed argument type from int to
14337         FormatList::size_type to avoid unnecessary conversion.
14338
14339         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14340         before using it.
14341
14342 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * gettext.h: include LString.h even when --disable-nls is on.
14345
14346 2001-06-07  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (BreakAgain): subst spaces with tabs.
14349
14350         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14351         (resizeInsetsLyXText): set force on resizeLyXText.
14352
14353 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14354
14355         * gettext.h (gettext_init):
14356         (locale_init): use a real definition instead of a macro
14357
14358 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14359
14360         * Bufferview_pimpl.C:
14361         * LColor.h:
14362         * LColor.C: further lcolor tidies
14363
14364 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * BufferView_pimpl.C (updateScrollbar): simplify.
14367
14368         * BufferView2.C: don't include insets/insetinfo.h, change
14369         prototype for insertInset and call the Pimpl version. let
14370         updateInset call Pimpl version.
14371
14372         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14373         gotoInset to BufferView::Pimpl
14374
14375 2001-06-01  Juergen Vigna  <jug@sad.it>
14376
14377         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14378         inside a LockingInset (is the update needed at all?).
14379
14380 2001-05-31  Juergen Vigna  <jug@sad.it>
14381
14382         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14383         here not the old one otherwise how should we compare it afterwards
14384         if it's the same!
14385
14386 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * lyxfont.C:
14389         * tabular.C:
14390         * tabular-old.C:
14391         * FontInfo.C: bring C functions into global namespace when
14392         necessary
14393
14394 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * LString.h: make sure config.h has been loaded before LString.h.
14397
14398         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14399         (one for each char read by EatLine!).
14400
14401         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14402         variables.
14403
14404 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14405
14406         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14407         to the same as the par we break from
14408
14409 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14412
14413         * MenuBackend.C (expand): also create menu entries for wide
14414         versions of the floats.
14415
14416         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14417
14418         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14419
14420         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14421         frontends/Makefile.am
14422
14423         * text2.C: adjust
14424         * text.C: adjust
14425
14426
14427         * tabular.C (getTokenValue): add std::
14428
14429         * tabular-old.C (getTokenValue): add std::
14430         (getTokenValue): ditto
14431         (getTokenValue): ditto
14432
14433         * screen.C (ToggleSelection): adjust
14434
14435         * lyxtext.h: put selection cursors inside a Selection struct.
14436
14437         * lyxfunc.C (moveCursorUpdate): adjust
14438
14439         * lyxfont.C (latexWriteStartChanges): add std::
14440
14441         * lyxfind.C: adjust
14442
14443         * font.h: delete with(char const *, LyXFont const &)
14444
14445         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14446
14447         * FontInfo.C (getFontname): add std::
14448
14449         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14450         (workAreaButtonPress): adjust
14451         (tripleClick): adjust
14452         (update): adjust
14453         (moveCursorUpdate): adjust
14454         (Dispatch): adjust
14455
14456         * BufferView2.C (gotoInset): adjust
14457
14458 2001-05-30  Juergen Vigna  <jug@sad.it>
14459
14460         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14461         to check pspell I add this as default as I now have new pspell
14462         libraries and they seem to use this.
14463
14464 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * text2.C (CutSelection): make the cursor valid before the call to
14467         ClearSelection.
14468
14469 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14472         relied on 0 terminated strings and other horrors. Bug found due to
14473         the new assert in lyxstring!
14474
14475         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14476         KP_ keys.
14477
14478 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14481         to latinkeys.bind.
14482
14483         * lyxfunc.C (processKeySym): change method of getting to the
14484         self-insert char.
14485
14486         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14487         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14488         * BufferView_pimpl.[Ch]: here as private methods.
14489
14490 2001-05-28  Juergen Vigna  <jug@sad.it>
14491
14492         * text.C (SetHeightOfRow): added the update() call again as it is
14493         needed to initialize inset dimensions!
14494
14495 2001-05-16  Juergen Vigna  <jug@sad.it>
14496
14497         * text2.C (SetCharFont): Add new function with BufferView * and
14498         bool toggleall parameters for setting insets internal fonts.
14499         (SetFont): Freeze the undo as we may change fonts in Insets and
14500         all this change should be inside only one Undo!
14501
14502         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14503         setting font's in insets as for them we have the SetFont function!
14504
14505 2001-05-15  Juergen Vigna  <jug@sad.it>
14506
14507         * text2.C (ClearSelection): to be sure we REALLY don't have any
14508         selection anymore!
14509
14510         * tabular.C (TeXCellPreamble): fixed the left border problem for
14511         multicolumn cells.
14512
14513 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14514
14515         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14516         dependancy file
14517
14518 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14519
14520         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14521         LFUN_BREAKPARAGRAPH.
14522
14523         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14524         help test to "internal only", similar for LFUN_INSERT_URL
14525
14526         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14527         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14528         auto_region_delete and deadkeys.
14529
14530 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14531
14532         * LColor.h:
14533         * LColor.C: remove some dead entries, tidy a little
14534
14535 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14538         commented code.
14539         (Dispatch): implement LFUN_ESCAPE
14540
14541         * commandtags.h: add LFUN_ESCAPE
14542
14543         * LyXAction.C (init): add entry for LFUN_ESCAPE
14544
14545         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14546         Remove commented code.
14547         (insertNote): moved here
14548         (open_new_inset): moved here
14549
14550         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14551         BufferView_pimpl
14552
14553 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14554
14555         * kbmap.C (findbinding): clean it up and make it work correctly.
14556
14557         * lyx_main.C (init): do not pass argc and argv as parameters
14558
14559 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14560
14561         * buffer.C: fix path for OS/2 & Win32
14562
14563         * lyx_gui.C:
14564         * lyx_main:
14565         * lyx_main.C: Added os:: class.
14566
14567         * os2_defines.h: update
14568
14569 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14572         better by trying again with reduced state.
14573
14574 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14575
14576         * lyxrc.C (read): print error about invalid key sequence only when
14577         debugging (because not all latinX keysyms are known to some X
14578         servers)
14579
14580         * kbsequence.C (getiso): add a few std:: qualifiers
14581         (getiso): comment out extra return statement.
14582
14583 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14584
14585         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14586         handling.
14587         (Dispatch): enhance the accent inset a bit. (not perfect)
14588
14589 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14592
14593 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * bufferlist.C (emergencyWrite): fix assert() call
14596
14597 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14598
14599         * text.C (InsertChar): Added trivial patch to only send the "you
14600         can not do multiple spaces this way" message once during a
14601         session.
14602
14603 2001-05-08  Baruch Even  <baruch@lyx.org>
14604
14605         * Makefile.am: Changed order of libraries to get LyX to link properly
14606         with the gnome frontend.
14607
14608 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14609
14610         * LaTeXFeatures.h: add a std:: qualifier
14611
14612 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * paragraph.C (String): use stringstream
14615
14616 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * paragraph.C (writeFile): remove footflag arg
14619
14620         * buffer.C (makeLaTeXFile): use stringstream
14621         (latexParagraphs): remove footnot gurba
14622
14623         * LaTeXFeatures.C (getPackages): use stringstream
14624         (getMacros): likewise
14625         (getTClassPreamble): likewise
14626         (getFloatDefinitions): new method
14627
14628         * paragraph.C (writeFile): reindent
14629         (Erase): reindent
14630
14631         * WorkArea.h: revert the xpos + etc changes.
14632
14633         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14634
14635         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14636
14637         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14638         (pasteSelection): likewise
14639         * text2.C (CreateUndo): likewise
14640
14641 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14642
14643         * minibuffer.C (peek_event): temporarily reduce the functionality
14644         of the minibuffer (to allow args on lfuns)
14645
14646         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14647         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14648
14649         * buffer.C (readInset): add compability reading of old float
14650         lists, add reading of new style float list.
14651         (readInset): avoid reevaluation of inscmd.getCmdName()
14652         (getLists): reindent
14653
14654         * MenuBackend.C (MenuItem): implement parsing of
14655         md_floatlistinsert and md_floatinsert.
14656         (expand::LastFiles): move initalizaton of iterators out of loop,
14657         avoid reevaluation.
14658         (expand::Documents): introduce typdedef vector<string> Strings,
14659         and use it.
14660         (expand::ExportFormats): introduce typedef vector<Format const *>
14661         Formats, and use it.
14662         (expand): implement FloatListInsert and FloatInsert.
14663
14664         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14665         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14666         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14667
14668         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14669         handling.
14670         (Dispatch::LFUN_FLOAT_LIST): implement
14671
14672 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14673
14674         * LaTeX.C (run): Fix problem with --export code.
14675
14676 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14677
14678         * BufferView.[Ch] (workarea): removed.
14679         (getClipboard) new method; wrapper for workarea()->getClipboard()
14680
14681         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14682         bug.
14683
14684         * WorkArea.h (width, height, xpos, ypos): These methods all
14685         returned the dimensions of the work_area sub-area of WorkArea,
14686         resulting in a position error if the WorkArea were resized. Now
14687         return the dimensions of the entire WorkArea.
14688
14689         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14690
14691 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14692
14693         * LaTeX.C (deplog): correct the syntax of regex reg1
14694
14695 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14696
14697         * undo.C: remove !NEW_INSETS cruft
14698
14699 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * text2.C: remove !NEW_INSETS cruft
14702
14703         * text.C: remove !NEW_INSETS cruft
14704
14705         * tabular.C: remove !NEW_INSETS cruft
14706
14707         * spellchecker.C: remove !NEW_INSETS cruft
14708
14709         * lyxtext.h: remove !NEW_INSETS cruft
14710
14711         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14712
14713         * lyxfunc.C: remove !NEW_INSETS cruft
14714
14715         * lyxfind.C: remove !NEW_INSETS cruft
14716
14717         * lyx_cb.C: remove !NEW_INSETS cruft
14718
14719         * figureForm.C: remove  !NEW_INSETS cruft
14720
14721         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14722
14723         * buffer.[Ch]: remove !NEW_INSETS cruft
14724
14725         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14726
14727         * CutAndPaste.C: remove !NEW_INSETS cruft
14728
14729         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14730
14731         * BufferView2.C: remove !NEW_INSETS cruft
14732
14733         * BufferView.h: remove !NEW_INSETS cruft
14734
14735 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * Lsstream.h: include LString.h before the sstream headers to
14738         fix problem with gcc 2.95.3 and lyxstring
14739
14740 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * lyx_main.C: add using directives when needed for C functions
14743         declared in std:: namespace.
14744
14745 2001-04-27  Juergen Vigna  <jug@sad.it>
14746
14747         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14748         (SetHeightOfRow): comment out the update call should not be needed!
14749
14750 2001-04-13  Juergen Vigna  <jug@sad.it>
14751
14752         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14753         (LyXTabular): tried to minimize operator= operations (and realized
14754         hopfully Lars wish).
14755
14756 2001-04-27  Juergen Vigna  <jug@sad.it>
14757
14758         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14759
14760 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14763
14764         * buffer.C (readInset): hack to make listof algorithm work
14765
14766         * BufferView_pimpl.C: hack to make listof algorithm work
14767
14768 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * LyXAction.C: removed all !NEW_INSETS cruft
14771         (init): moved lfun_item in method
14772
14773         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14774
14775 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14776
14777         * BufferView2.C (theLockingInset): white space.
14778
14779 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * minibuffer.C: include <iostream>
14782
14783         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14784
14785         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14786
14787         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14788
14789         * text.[Ch] (TransposeChars): new method
14790
14791 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * call message directly through LyXView instead of through LyXFunc
14794         * BufferView2.C: adjust
14795         * BufferView_pimpl.C: adjust
14796         * FontLoader.C: adjust
14797         * buffer.C: adjust
14798         * bufferview_funcs.C: adjust
14799         * converter.C: adjust
14800         * figureForm.C: adjust
14801         * importer.C: adjust
14802         * lyx_cb.C: adjust
14803         * lyx_gui_misc.C: adjust
14804         * lyxfunc.C: adjust
14805         * lyxvc.C: adjust
14806         * text2.C: adjust
14807         + more files in subdirs
14808
14809         * lyxparagraph.h (size): move up int file
14810         (GetLayout): ditto
14811
14812         * adjust all uses of Assert to lyx::Assert.
14813
14814         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14815         lyxfunctional in namespace lyx
14816         * layout.C (hasLayout): ditto
14817         (GetLayout): ditto
14818         (GetLayout): ditto
14819         (delete_layout): ditto
14820         (NumberOfClass): ditto
14821         * converter.C (GetFormat): ditto
14822         (GetNumber): ditto
14823         (Add): ditto
14824         (Delete): ditto
14825         (SetViewer): ditto
14826         * bufferlist.C (getFileNames): ditto
14827         (emergencyWriteAll): ditto
14828         (exists): ditto
14829         (getBuffer): ditto
14830         * MenuBackend.C (hasSubmenu): ditto
14831         (hasMenu): ditto
14832         (getMenu): ditto
14833         * BufferView_pimpl.C (getInsetByCode): ditto
14834
14835 2001-04-18  Juergen Vigna  <jug@sad.it>
14836
14837         * vspace.C (asLatexString): fixed the 100% problem.
14838
14839 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * lyxfunc.C (Dispatch):
14842         * minibuffer.C:
14843         * minibuffer.h: add a few std:: qualifiers
14844
14845 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14846
14847         * minibuffer.[Ch]: reimplement so that commands is initiated and
14848         run from lyxfunc, simplified som handling, and made the completion
14849         and history code for complete. wip.
14850
14851         * lyxfunc.C (processKeySym): call message
14852         (miniDispatch): new temporary method
14853         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14854         (LFUN_MESSAGE): implement
14855         (LFUN_MESSAGE_PUSH): implement
14856         (LFUN_MESSAGE_POP): implement
14857         (initMiniBuffer): the initial/defualt minibuffer message.
14858
14859         * lyxfont.[Ch]: inline some more getters
14860
14861         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14862
14863         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14864
14865         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14866         (AutoSave): use LFUN_MESSAGE
14867         (Reconfigure): ditto
14868
14869         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14870
14871         * figureForm.C: use LFUN_MESSAGE
14872
14873         * converter.C (runLaTeX): use LFUN_MESSAGE
14874
14875         * bufferview_funcs.C: use LFUN_MESSAGE
14876         (Melt): ditto
14877         (changeDepth): ditto
14878
14879         * bufferparams.h: use boost::
14880
14881         * bufferlist.h: inherit privately from noncopyable
14882
14883         * bufferlist.C (loadLyXFile): remove some commented code.
14884
14885         * buffer.C (runChktex): use LFUN_MESSAGE
14886
14887         * ShareContainer.h: inherit privately from noncopyable
14888
14889         * ParagraphParameters.[hC] (depth): inline it.
14890
14891         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14892         methods.
14893         (message): new method
14894         (messagePush): ditto
14895         (messagePop): ditto
14896         (show): init minibuffer
14897         (showState): direct call
14898
14899         * LaTeX.[Ch]: inherit privately from noncopyable
14900         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14901         instead of WriteStatus.
14902
14903         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14904
14905         * BufferView_pimpl.C (buffer): don't init minibuffer
14906         (workAreaButtonPress): use LFUN_MESSAGE
14907         (workAreaButtonRelease): ditto
14908         (savePosition): ditto
14909         (restorePosition): ditto
14910         (MenuInsertLyXFile): ditto
14911         (workAreaExpose): don't init minibuffer
14912         (update): remove commented code, simplify
14913
14914         * BufferView2.C (openStuff): use LFUN_MESSAGE
14915         (toggleFloat): ditto
14916         (menuUndo): ditto
14917         (menuRedo): ditto
14918         (copyEnvironment): ditto
14919         (pasteEnvironment): ditto
14920         (copy): ditto
14921         (cut): ditto
14922         (paste): ditto
14923         (gotoInset): ditto
14924         (updateInset): remove some commented code
14925
14926         * lastfiles.h: inherit privately from noncopyable
14927         * layout.h: ditto
14928         * lyx_gui.h: ditto
14929         * lyx_main.h: ditto
14930         * lyxlex.h: ditto
14931         * lyxlex_pimpl.h: ditto
14932
14933         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14934         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14935         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14936
14937         * LyXAction.h: inherit privately from noncopyable, add methods
14938         func_begin, func_end, returning iterators to the func map.
14939
14940         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14941         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14942         (func_begin): new method
14943         (func_end): new method
14944
14945         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14946         and not)
14947         (copySelection): ditto
14948         (pasteSelection): ditto
14949
14950         * BufferView.C: whitespace change
14951         * BufferView.h: inherit privately from noncopyable
14952
14953 2001-04-16  Allan Rae  <rae@lyx.org>
14954
14955         * tabular-old.C (l_getline):
14956         * spellchecker.C (sc_check_word):
14957         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14958         an unrecognised preprocessor directive.  So ensure they're wrapped.
14959
14960 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * src/exporter.C (Export): Give an error message when path to file
14963         contains spaces.
14964
14965 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * LaTeX.C (deplog): Always check that foundfile exists.
14968
14969 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * lyx_main.h:
14972         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14973
14974 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * tabular.[Ch] (getLabelList): implement new method
14977
14978         * minibuffer.h: comment ouf setTiimer
14979
14980         * minibuffer.C (ExecutingCB): constify res
14981         (peek_event): constify s
14982         (Set): constify ntext
14983         (Init): constify nicename
14984
14985         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14986
14987         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14988         (savePosition): use two params to Minibuffer::Set
14989         (restorePosition): ditto
14990
14991 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * lyx_main.C: include language.h
14994
14995         * Makefile.am (lyx_main.o): add language.h
14996
14997 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * exporter.C:
15000         * paragraph.C:
15001         * screen.C:
15002         * tabular.C:
15003         * CutAndPaste.C: include gettext.h
15004
15005         * lyxfont.h: remove old hack with ON and OFF.
15006
15007         * lyxparagraph.h:
15008         * lyxfont.h: do not include language.h...
15009
15010         * BufferView2.C:
15011         * LaTeXFeatures.C:
15012         * Painter.C:
15013         * bufferview_funcs.C:
15014         * font.C:
15015         * lyxfont.C:
15016         * text.C:
15017         * text2.C:
15018         * trans_mgr.C:
15019         * paragraph.C: ... but do it here instead
15020
15021 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15022
15023         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15024
15025         * tabular.C: small reformat
15026
15027         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15028         NEW_INSETS version
15029         (GetChar): ditto
15030         (BreakParagraph): ditto
15031         (SetOnlyLayout): ditto
15032         (SetLayout): ditto
15033
15034         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15035         with one arg less.
15036
15037         * lastfiles.C: removed most using decl, add std:: where needed
15038
15039         * buffer.C: ws changes
15040
15041         * MenuBackend.C (class compare_format): put into anon namespace
15042         (expand): constify label, names, action, action2
15043         (expand):
15044
15045         * text.C (SingleWidth): constify font
15046         (IsBoundary): constify rtl2
15047         (GetVisibleRow): constify ww
15048
15049         * LaTeX.C (deplog): constify logfile
15050
15051         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15052         start_x, end_x
15053         (workAreaExpose): constify widthChange, heightChange
15054
15055         * lyxrow.C (par): moved
15056         (height): moved
15057         (next): moved
15058         * lyxrow.h: as inlines here
15059
15060         * lyxfont.h (shape): moved from lyxfont.C
15061         (emph): moved from lyxfont.C
15062
15063         * lyxfont.C (LyXFont): use initialization list for all
15064         constructors
15065         (shape): move to lyxfont.h as inline
15066         (emph): move to lyxfont.h as inline
15067
15068
15069 2001-04-04  Juergen Vigna  <jug@sad.it>
15070
15071         * vspace.C: had to include stdio.h for use of sscanf
15072
15073 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15074
15075         * BufferView.h:
15076         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15077         independent of xforms.
15078
15079 2001-04-02  Juergen Vigna  <jug@sad.it>
15080
15081         * spellchecker.C: fixed namespace placing!
15082
15083 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15086         the LyXParagraph * is 0.
15087
15088 2001-03-29  Juergen Vigna  <jug@sad.it>
15089
15090         * vspace.C: added support for %, c%, p%, l%.
15091         (stringFromUnit): added helper function.
15092         (asLatexString): changed to give right results for the %-values.
15093
15094         * buffer.C: convert the widthp in a width%.
15095
15096 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15097
15098         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15099         figureForm.[Ch].
15100
15101         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15102         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15103
15104         * lyx_cb.[Ch]: see above.
15105
15106         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15107         form1.[Ch].
15108
15109         * form1.[Ch]:
15110         * lyx.[Ch]: replaced by figure_form.[Ch].
15111
15112         * lyx_gui.C:
15113         * lyx_gui_misc.C:
15114         * lyxfunc.C: changed headers associated with above changes.
15115
15116 2001-03-27  Juergen Vigna  <jug@sad.it>
15117
15118         * BufferView_pimpl.C: set the temporary cursor right!
15119
15120 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15121
15122         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15123
15124 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15125
15126         * LString.h: removed "using std::getline"!
15127
15128         * BufferView_pimpl.C (Dispatch): changes due to changes in
15129         InsetInclude::Params.
15130
15131         * buffer.C (tag_name): removed redundant break statements as they were
15132         producing lots of warnings with my compiler.
15133
15134 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * LString.h: add "using std::getline" when using the real <string>.
15137
15138 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15139
15140         * buffer.C: removed bitset usage.
15141         PAR_TAG moved to an anonymous name space.
15142         (tag_name): new funtion, also in the anonymous namespace.
15143         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15144         (makeDocBookFile): clean code. Completed transition from string arrays
15145         to string vectors.
15146         (SimpleDocBookOnePar): code clean.
15147
15148 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15149
15150         * tabular.C: add some comments.
15151
15152 2001-03-22  Juergen Vigna  <jug@sad.it>
15153
15154         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15155         compatibility read a bit and fixed bug with minipage in different
15156         depth.
15157
15158 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15159
15160         * buffer.C (pop_tag): removed.
15161         (push_tag): removed.
15162         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15163         array replaced with vector. Added support for CDATA sections.
15164         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15165         at any nest level.
15166         (makeDocBookFile): XML conformant declaration of CDATA section,
15167         fixed bug related to <emphasis> in the first paragraph char.
15168         (sgmlOpenTag): exclude empty tags.
15169         (sgmlCloseTag): ditto.
15170
15171         * buffer.h (pop_tag): removed.
15172         (push_tag): removed.
15173
15174 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15175
15176         * language.h (Languages): added size_type and size().
15177
15178 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15179
15180         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15181         response on compability reading of minipages. One probliem is that
15182         the old usage of minipages was «flertydig»
15183
15184         * several files here and in subdirs: don't use static at file
15185         scope use anon namespaces instead.
15186
15187 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15188
15189         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15190         LaTeX output. This is necessary for Literate document
15191         processing.
15192
15193 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15194
15195         * buffer.C: insert hfill when needed.
15196
15197         * tabular.C (l_getline): use string::erase, small whitespace change.
15198
15199         * BufferView_pimpl.C: try the anon namespace.
15200         * WorkArea.C: ditto
15201
15202 2001-03-16  Juergen Vigna  <jug@sad.it>
15203
15204         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15205         otherwise it won't open options-dialogs.
15206
15207         * buffer.C: honor pextraWidth(p) on converting minipages.
15208
15209         * tabular.C (l_getline): changed the functions to strip trailing \r.
15210
15211 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15212
15213         * BufferView_pimpl.C:
15214         * minibuffer..C: added "using SigC::slot" declaration.
15215
15216 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15217
15218         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15219
15220         * text2.C: ditto
15221
15222         * text.C: ditto
15223
15224         * paragraph.C: ditto
15225
15226         * lyxtext.h: NO_PEXTRA
15227
15228         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15229
15230         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15231         * ParameterStruct.h: ditto
15232         * ParagraphParameters.h: ditto
15233         * lyxparagraph.h: ditto
15234
15235 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15236
15237         * buffer.C: add compability for minipage alignment.
15238         (latexParagraphs): remove unwanted pextra check.
15239
15240         * several files: remove CXX_WORKING_NAMESPACES
15241
15242         * buffer.C (pop_tag): tie is in namespace boost
15243
15244         * BufferView.h: noncopyable is in namespace boost
15245         * lyxlex.h: ditto
15246         * lyx_main.h: ditto
15247         * lyx_gui.h: ditto
15248         * layout.h: ditto
15249         * lastfiles.h: ditto
15250         * bufferlist.h: ditto
15251         * ShareContainer.h: ditto
15252         * LyXView.h: ditto
15253         * LyXAction.h: ditto
15254         * LaTeX.h: ditto
15255
15256 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15257
15258         * Merging changes from BRANCH_MVC back into HEAD.
15259
15260         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15261
15262 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * BufferView_pimpl.C: change from intl.C
15265
15266         * combox.h:
15267         * combox.C:
15268         * Makefile.am: move combox.*
15269
15270         * form1.h:
15271         * form1.C:
15272         * lyx_gui.C:
15273         * intl.h:
15274         * intl.C: remove dialog (covered by prefs)
15275
15276 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15277
15278         * lyxfunc.C (Dispatch): removed redundant break statement.
15279
15280 2001-03-14  Juergen Vigna  <jug@sad.it>
15281
15282         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15283
15284 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15285
15286         * buffer.C: add hack to fix compability reading of minipages.
15287
15288 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * buffer.C (getLists): Cleanup.
15291
15292 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * lyxfont.C (update): don't honor toggleall on font size.
15295
15296 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15297
15298         * bmtable.c:
15299         * bmtable.h:
15300         * Makefile.am: moved to frontends/xforms/
15301
15302         * lyx_gui_misc.C:
15303         * lyxfunc.C:
15304         * BufferView_pimpl.C: changes for moved mathpanel
15305
15306 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * gettext.h: fix gettext_init() in --disable-nls
15309
15310 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15313
15314 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * lyx.C:
15317         * lyx.h: strip external form
15318
15319 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * BufferView_pimpl.C: add comment, destroySplash()
15322
15323 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15324
15325         * BufferView_pimpl.C:
15326         * LyXAction.C:
15327         * buffer.C:
15328         * commandtags.h:
15329         * lyxfunc.C: use re-worked insetinclude
15330
15331 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15332
15333         * buffer.C: add using std::stringstream.
15334
15335         * lyx_cb.C: readd using std::ios.
15336
15337         * buffer.C: add using std::map.
15338
15339         * BufferView_pimpl.C: add using std::vector.
15340
15341         * ShareContainer.h: add std:: to swap.
15342
15343         * buffer.h: add some typedefs
15344         * buffer.C (getLists): use them
15345         (getLists): renamed from getTocList.
15346         add a counter for the different float types and use it in the
15347         generated string.
15348         (getLists): use the same counter for the NEW_INSETS and the "non"
15349         NEW_INSETS
15350
15351         * lyx_cb.h: remove unused items, includes, using etc.
15352
15353         * ShareContainer.h: remove some commented code, add more comments
15354         and "documentation".
15355
15356 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15357
15358         * buffer.C (getTocList): make the list also when NEW_INSETS is
15359         defined.
15360
15361         * buffer.h: remove TocType
15362
15363         * buffer.C (getTocList): change to return a map<string,
15364         vector<TocItem> >, implement for dynamic number of list.
15365
15366         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15367         * text2.C (PasteSelection): adjust
15368         * CutAndPaste.C (pasteSelection): adjust
15369
15370         * FloatList.C (FloatList): update from the new_insets branch.
15371         * Floating.[Ch]: ditto
15372         * LaTeXFeatures.C: ditto
15373         * buffer.C: ditto
15374         * lyxlex_pimpl.C: ditto
15375
15376         * paragraph.C (Last): remove when NEW_INSETS is defined.
15377
15378         * other file: changes because of the above.
15379
15380 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15381
15382         * lyxparagraph.h: rename next to next_, previous to previous_,
15383         make them private for NEW_INSETS. Rename Next() to next(),
15384         Previous() to previous().
15385
15386         * other files: changes because of the above.
15387
15388 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15389
15390         * BufferView.h:
15391         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15392         problem.
15393
15394 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15395
15396         * main.C (main): pass lyx_localedir to gettext_init().
15397
15398         * gettext.h: remove locale_init and gettext_init macros
15399
15400         * gettext.C (locale_init): new function
15401         (gettext_init): new function
15402
15403         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15404         setlocale().
15405
15406 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15407
15408         * Moved credits to frontends:
15409         * credits.[Ch]: removed
15410         * credits_form.[Ch]: removed
15411         * lyx_gui_misc.C: remove credits stuff
15412         * Makefile.am:
15413
15414 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15415
15416         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15417
15418         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15419         unneeded destructor.
15420
15421         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15422         a standalone pointer again.
15423
15424         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15425
15426 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15427
15428         * Makefile.am:
15429         * filedlg.h:
15430         * filedlg.C:
15431         * LyXAction.C:
15432         * ToolbarDefaults.C:
15433         * bufferlist.C:
15434         * commandtags.h:
15435         * form1.C:
15436         * form1.h:
15437         * lyx_cb.C:
15438         * lyx_cb.h:
15439         * lyxfunc.h:
15440         * lyxfunc.C:
15441         * BufferView_pimpl.C: use new file dialog in GUII
15442
15443         * lyx_cb.h:
15444         * lyx_cb.C: remove LayoutsCB to Toolbar
15445
15446 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * ShareContainer.h (get): add std:: qualifier
15449
15450 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15451
15452         * ShareContainer.h: define a proper ShareContainer::value_type
15453         type (and use typename to please compaq cxx)
15454
15455 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15456
15457         * lyxparagraph.h: move serveral local vars to
15458         ParameterStruct/ParagraphParameters., use ShareContainer in
15459         FontTable., make vars in FontTable private and add getter and
15460         setter.
15461
15462         * paragraph.C: changes because of the above.
15463
15464         * lyxfont.h: remove copy constructor and copy assignment. (the
15465         default ones is ok), move number inside FontBits. move inlines to
15466         lyxfont.C
15467
15468         * lyxfont.C: add number to initializaton of statics, move several
15469         inlines here. constify several local vars. some whitespace
15470         cleanup. Dont hide outerscope variables.
15471
15472         * Spacing.h: add two new constructors to match the set methods.
15473
15474         * ShareContainer.h: new file, will perhaps be moved to support
15475
15476         * ParameterStruct.h: new file
15477
15478         * ParagraphParameters.h: new file
15479
15480         * ParagraphParameters.C: new file
15481
15482         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15483         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15484
15485         * BufferView_pimpl.C: ParagraphParameter changes.
15486         * buffer.C: Likewise.
15487         * bufferview_funcs.C: Likewise.
15488         * text.C: Likewise.
15489         * text2.C: Likewise.
15490
15491 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * lyxfind.C (LyXReplace): do not redefine default argument in
15494         implementation.
15495         (IsStringInText): ditto
15496         (SearchForward): ditto
15497         (SearchBackward): ditto
15498
15499 2001-03-06  Juergen Vigna  <jug@sad.it>
15500
15501         * lyxfind.C (IsStringInText): put parentes around expressions.
15502
15503 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15504
15505         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15506
15507 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15508
15509         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15510
15511         * stl_string_fwd.h: add comment
15512
15513         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15514
15515         * tabular.h:
15516         * tabular.C: remove unused DocBook methods
15517
15518         * intl.C:
15519         * language.C:
15520         * paragraph.C:
15521         * buffer.C:
15522         killed DO_USE_DEFAULT_LANGUAGE
15523
15524 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * lyx_gui.C: do not include language.h.
15527
15528         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15529         arguments in function implementation.
15530
15531 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15532
15533         * BufferView_pimpl.C: add <ctime>
15534
15535 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15536
15537         * BufferView_pimpl.C: add using std::find_if
15538
15539 2001-02-27  José Matos  <jamatos@fep.up.pt>
15540
15541         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15542         by OnlyPath.
15543
15544 2001-02-11  José Matos  <jamatos@fep.up.pt>
15545
15546         * buffer.C (makeDocBookFile): command styles now have a parameter as
15547         "title" by default.
15548
15549 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15550
15551         * layout_forms.[Ch]: removed
15552         * lyx_cb.[Ch]: out character
15553         * lyx_gui.C: out character
15554         * lyx_gui_misc.C: out character
15555         * bufferview_funcs.C: : out character,
15556         added toggleall as parameter in ToggleAndShow
15557
15558 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15559
15560         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15561
15562         * text2.C (SetCurrentFont): Disable number property at boundary.
15563
15564 2001-02-26  Juergen Vigna  <jug@sad.it>
15565
15566         * lyxfunc.C (getStatus): added a string argument override function so
15567         that this is correctly called from LyXFunc::Dispatch if it contains a
15568         do_not_use_argument which is used!
15569         (Dispatch): added check for "custom" export and call appropriate func.
15570
15571 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * lyxrc.C: Add language_command_local, language_use_babel and
15574         language_global_options.
15575
15576         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15577
15578         * buffer.C (makeLaTeXFile): Use language_use_babel and
15579         language_global_options.
15580
15581 2001-02-23  Juergen Vigna  <jug@sad.it>
15582
15583         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15584         which works with LyXText and putted it inside BufferView. Here now we
15585         only call for that part the BufferView::Dispatch() function.
15586
15587         * BufferView.C (Dispatch): added.
15588
15589         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15590         functions which needs to use a LyXText over from LyXFunc.
15591         (MenuInsertLyXFile): added
15592         (getInsetByCode): added
15593         (moveCursorUpdate): added
15594         (static TEXT): added
15595
15596 2001-02-22  Juergen Vigna  <jug@sad.it>
15597
15598         * BufferView_pimpl.C (update): call a status update to see if LyXText
15599         needs it.
15600
15601 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15602
15603         * vc-backend.C (revert): implement for CVS
15604         (getLog): implement for CVS
15605
15606 2001-02-20  Juergen Vigna  <jug@sad.it>
15607
15608         * text2.C (ClearSelection): added BufferView param for inset_owner call
15609
15610         * lyxfunc.C (TEXT): added this function and use it instead of
15611         directly owner->view()-text of getLyXText().
15612
15613 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15614
15615         * src/layout_forms.C: out preamble
15616         * src/layout_forms.h: out preamble
15617         * src/lyx_cb.C: out preamble
15618         * src/lyx_cb.h: out preamble
15619         * src/lyx_gui.C: out preamble
15620         * src/lyx_gui_misc.C: out preamble
15621         * src/lyxfunc.C: connect with guii preamble
15622
15623 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15624
15625         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15626
15627 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15630         whether to run bibtex.
15631
15632 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15635
15636 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15637
15638         * Makefile.am (lyx_SOURCES): removed bibforms.h
15639
15640         * vspace.h: doxygen
15641
15642         * text.C (GetVisibleRow): make several local vars const
15643
15644         * tabular.C: small cleanup.
15645
15646         * lyxserver.C (callback): use compare instead of strncmp
15647
15648         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15649         inlines to after class or to paragraph.C
15650
15651         * lyxfont.h: remove friend operator!=
15652
15653         * converter.h: move friend bool operator< to non friend and after
15654         class def.
15655
15656         * combox.h: small cleanup
15657
15658         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15659         to inlines after class def.
15660
15661         * buffer.C (pop_tag): use string operations instead of strcmp
15662
15663         * bmtable.c: doxygen, small cleanup
15664
15665         * LaTeX.h: remove friend operator==
15666
15667 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15668
15669         * screen.C:
15670         * lyxrc.[Ch]:
15671         * lyxfunc.C:
15672         * lyxfont.[Ch]:
15673         * lyx_cb.C:
15674         * intl.[Ch]:
15675         * commandtags.h:
15676         * buffer.C:
15677         * WorkArea.[Ch]:
15678         * LyXAction.C:
15679         * BufferView_pimpl.C:
15680         * BufferView.[Ch]: remove cruft
15681
15682 2001-02-14  Juergen Vigna  <jug@sad.it>
15683
15684         * lyxfunc.C: removed #if 0 unused code
15685
15686         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15687
15688         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15689
15690         * text2.C (SetSelection): added a BufferView * parameter
15691
15692 2001-02-13  Juergen Vigna  <jug@sad.it>
15693
15694         * lyxfunc.C (Dispatch): fixed protected blank problem.
15695         * BufferView2.C (protectedBlank): added LyxText * parameter.
15696
15697         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15698         (AppendColumn): same as above for column_info.
15699
15700         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15701         (moveCursorUpdate): use a LyXText param for support of InsetText.
15702
15703         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15704         (tripleClick): ditto
15705
15706         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15707
15708         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15709
15710         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15711
15712         * text2.C (SetSelection): set correct update status if inset_owner
15713         (ToggleFree): ditto
15714
15715 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15716
15717         * tabular.C: remove some commented code.
15718
15719 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15720
15721         * BufferView_pimpl.C: call hideSplash()
15722
15723         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15724
15725         * include_form.h:
15726         * bibforms.h: remove
15727
15728         * lyxfunc.C:
15729         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15730           add LFUN_CHILD_CREATE
15731
15732         * counters.h: fix tiny typo
15733
15734         * lyx_cb.C:
15735         * lyx.h:
15736         * lyx_gui.C:
15737         * lyx.C: move splash to frontends/xforms/
15738
15739         * lyx_gui_misc.C: move Include and Bibform to frontends
15740
15741         * lyxvc.h: clarify comment
15742
15743         * vspace.C: tiny housekeeping
15744
15745 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * text.C (PrepareToPrint): RTL Fix.
15748
15749         * paragraph.C (GetUChar): New method.
15750         (String):  Use GetUChar.
15751
15752         * buffer.C (asciiParagraph): Use GetUChar.
15753
15754 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15757
15758 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15759
15760         * buffer.h:
15761         * buffer.C: rename to getLogName(), handle
15762           build log / latex log nicely
15763
15764 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * MenuBackend.C:
15767         * MenuBackend.h: remove support for reference menuitem type.
15768
15769 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15770
15771         * BufferView_pimpl.C: housekeeping
15772         * BufferView_pimpl.h:
15773         * LyXView.h:
15774         * Makefile.am:
15775         * Timeout.C:
15776         * Timeout.h:
15777         * minibuffer.h: move Timeout GUI-I
15778
15779 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15780
15781         * lyxrc.C (read): Update converters data-structures.
15782
15783 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15784
15785         * LaTeX.h (operator!=): add operator != for Aux_Info
15786
15787 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15790
15791         * LaTeXLog.C: deleted, useful code moved to Buffer
15792
15793         * buffer.h:
15794         * buffer.C: new function getLatexLogName()
15795
15796         * lyx_gui_misc.C:
15797         * lyx_gui.C:
15798         * lyxvc.C:
15799         * lyxvc.h:
15800         * lyxfunc.C: use frontends for LaTeX and VC logs
15801
15802 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * LaTeX.h: yet another std:: that Allan forgot.
15805
15806         * Variables.C (set): renamed from isset(), because this clashes
15807         with some HP-UX macros (grr).
15808
15809 2001-02-06  Allan Rae  <rae@lyx.org>
15810
15811         * LaTeX.h: Another bug fix.  Missing std:: this time.
15812
15813 2001-02-04  Allan Rae  <rae@lyx.org>
15814
15815         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15816         floats problem. I've left it commented out because it's not quite
15817         correct.  It should also test that the current object is a table or
15818         figure inset.  But I haven't gotten around to figuring out how to do
15819         that.  I *think* it'll be something like: "table" == inset.type()
15820
15821         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15822         bool.
15823
15824 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15825
15826         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15827         all the citation/databases/styles in the auxilary file.
15828         (run): Rerun latex if there was a babel language error.
15829
15830 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * text.C (Backspace): Preserve the font when changing newline char
15833         with a space.
15834         (BreakParagraph): If the cursor is before a space, delete the space.
15835
15836         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15837
15838 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15841         new argument (code).
15842         (ChangeCitationsIfUnique): New method.
15843
15844         * paragraph.C (GetPositionOfInset): Handle bibkey.
15845
15846 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15847
15848         * BufferView_pimpl.h: change type of Position::par_pos to
15849         LyXParagraph::size_type.
15850
15851 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15852
15853         * BufferView_pimpl.C (savePosition, restorePosition): Write
15854         messages to minibuffer.
15855
15856 2001-01-28  José Matos  <jamatos@fep.up.pt>
15857
15858         * buffer.C (makeDocBookFile): adds support for document language.
15859         A silly restriction on the name of LatexCommand types where removed.
15860         Added support for CDATA sections, allows to chars unescaped, used
15861         among others in code, to avoid escape < and >.
15862
15863 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15866         saved positions instrad of a stack. Furthermore, a position is
15867         stored using paragraph id/paragraph position.
15868
15869         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15870         Remove LFUN_REF_BACK.
15871
15872 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15873
15874         * converter.C (dvipdfm_options): New method.
15875
15876 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15877
15878         * vspace.C (isValidLength): Fix for empty input string.
15879
15880 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * LyXAction.C (init): change description of LFUN_FIGURE to
15883         "Insert Graphics"
15884
15885 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * LaTeX.C: add using directive
15888
15889 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15890
15891         * MenuBackend.C (expand): Fix the sorting of the formats.
15892
15893 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15894
15895         * lyx_main.C: tiny error message fix
15896
15897 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15898
15899         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15900         calling fl_initialize(). This fixes the problem with ',' as
15901         decimal separator in text files.
15902
15903 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * trans.C (process): Fix the keymap bug.
15906
15907 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15908
15909         * LaTeX.C (scanAuxFiles): New method. Provides support for
15910         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15911         (scanLogFile) Scan for "run BibTeX" messages.
15912
15913         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15914         OT1 font encoding. Also, load the aecompl package if the ae
15915         package is loaded.
15916
15917         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15918
15919 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * texrow.C (increasePos): turn two error messages into debug
15922         messages.
15923
15924 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15925
15926         * LaTeX.C (scanAux): Handle the \@input macro.
15927         (runBibTeX): Use scanAux().
15928
15929         * language.C (latex_options_): New field.
15930
15931         * LaTeXFeatures.C (getMacros): Add language macros.
15932
15933         * buffer.C (makeLaTeXFile): Small fix.
15934
15935 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15938
15939         * text2.C: add a using directive.
15940
15941 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15942
15943         * BufferView2.C:
15944         * lyx_gui_misc.h:
15945         * lyxfr1.C:
15946         * lyxfunc.C: kill LyXBell.
15947
15948 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * text.C (IsBoundary): Remove the error message
15951
15952         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15953
15954         * lyxrc.C (setDefaults): Correct initialization value for
15955         font_norm_type.
15956
15957 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15958
15959         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15960         gotoError().
15961
15962         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15963         and GotoNextNote().
15964
15965         * src/LyXAction.C: Added reference-next.
15966
15967         * text.C (InsertChar): Use contains instead of strchr.
15968
15969         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15970
15971 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15972
15973         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15974         alignment commands (when needed).
15975
15976         * text.C (InsertChar): Add ':' to number separator chars.