]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c3edb49d08aab20297e68a36b0c9d104f96c1b3f
[lyx.git] / src / ChangeLog
1 2004-08-20  José Matos  <jamatos@lyx.org>
2
3         * lyxrc.C: remove support/translator.h inclusion since it is not used.
4
5 2004-08-20  José Matos  <jamatos@lyx.org>
6
7         * lyxlex.[Ch] (findToken): remove function.
8
9         * ParagraphParameters.C (findToken):
10         * bufferparams.C (findToken): replace call for previous function
11         with local copy. This local function has one more argument, the
12         read string argument.
13
14 2004-08-16  José Matos  <jamatos@lyx.org>
15
16         * ParagraphParameters.C (write):
17         * Spacing.C (writeFile):
18         * bufferparams.C (writeLaTeX):
19         * lyx_cb.C (Reconfigure):
20         * paragraph.C (write):
21         * tabular.C (write): remove unnecessary space at end of line.
22
23
24 2004-08-16  José Matos  <jamatos@lyx.org>
25
26         * text.C (readParagraph): remove debug message.
27
28 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
31         crash
32
33         * output_plaintext.C (asciiParagraph): set depth correctly
34
35         * outputparams.h: add member depth
36
37         * paragraph_funcs.C (ownerPar): remove.
38
39         * text2.C (setCounter): remove first_pit; comment out some
40         non-working code that uses ownerPar
41
42         * BufferView.C (getParentLanguage): remove. Not used anymore, and
43         uses ownerPar
44
45 2004-08-16  José Matos  <jamatos@lyx.org>
46
47         * text.C (readParToken, readParagraph, read): report all unknown tokens.
48         For the same level of importance use the same chanel to report problems.
49         (read): add code to deal with \begin_body and \end_body.
50
51
52 2004-08-15  José Matos  <jamatos@lyx.org>
53
54         * lyxlex.C (getString): fix comment, buffer::readBody is now
55         buffer:readDocument.
56         
57         * tex-strings.C (string_papersize): Default -> default,
58         Custom -> custom, for consistency with other options.
59
60 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * pch.h: new file
63
64         * Makefile.am: support pch
65
66 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * text.C (readParToken): remove the static LyXFont variable and
69         pass it as a parameter instead. This fixes a nasty bug where an
70         inset will be inserted with a bad font in some situations
71         (readParagraph): adapt
72
73         * text2.C (setCounter): reduce number of calls to pars_[pit]
74
75         * text.C (singleWidth): add an assert, fix a test
76
77         * rowpainter.C (paintText): reduce number of calls to singleWidth
78
79         * paragraph.C (isHfill):
80         (isNewline): ws only
81
82 2004-08-14  André Pönitz  <poenitz@gmx.net>
83
84         * text.C:
85         * text2.C:
86         * rowpainter.C:
87         * lyxtext.h (several functions): use a Paragraph & argument
88         instead of par_type
89
90 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * metricsinfo.h: add a new field ltr_pos to PainterInfo
93
94         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
95
96         * text.C (singleWidth): remove useless test
97
98 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * tabular.h: remove bogus comments
101
102         * tabular.C (getDescentOfRow):
103         (isPartOfMultiColumn): add assertions
104
105         * lyxlength.C (inPixels): remove #warning
106
107 2004-08-14  André Pönitz  <poenitz@gmx.net>
108
109         * paragraph.h: inline getChar()
110
111         * BufferView.h: remove unused declarations
112
113 2004-08-14  José Matos  <jamatos@lyx.org>
114
115         * Buffer.[Ch] (readDocument): new name for old readBody.
116         * Buffer.C: new file format, new keywords: \begin_document,
117         \begin_header, \begin_body, \end_body.
118
119         * bufferparams.C (readToken): replace all calls to lex.nextToken
120         by lex.next(). Do the same to eatLine except where really needed.
121
122         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
123         line when writing to the lyx file.
124
125         * output_plaintext.C (asciiParagraph): fix Bibliography style
126         handling.
127
128         * text.C (read): fix end of file handling.
129
130 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * MenuBackend.C (Menu::operator[]): new method to access
133         individual menu items
134         (Menu::hasFunc): new method. search for an item that corresponds
135         to a given func
136         (MenuBackend::specialMenu): new method
137         (MenuBackend::expand): if a special menu has been set, skip
138         entries whose func() appears in this menu
139
140 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
141
142         * text3.C: use Debug::DEBUG a bit more
143
144         * text.C (leftMargin): try to simplify a tiny bit change var x to
145         l_margin. Dont output the wide margins always.
146         (rightMargin): no margin in inner texts
147
148         * rowpainter.h (nestMargin): new func
149         (changebarMargin): new func
150         (rightMargin): new func
151
152         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
153         now functions.
154         (paintLast): ditto
155
156         * factory.C (createInset): modify setDrawFrame
157
158         * cursor.C: use Debug::DEBUG a bit more
159
160 2004-08-14  André Pönitz  <poenitz@gmx.net>
161
162         * coordcache.[Ch]:
163         * Makefile.am: new files to accomodate an 'external' (x,y)-position
164         cache for all insets in (at least partially) visible (top-level)
165         paragraphs.
166
167         * BufferView_pimpl.C: reset external coord cache before every update.
168         This means the coord cache only contains valid entries.
169
170 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
171
172         bug 1096
173         * BufferView_pimpl.C (getInsetByCode): move function out of class
174         and change in to a template in anon namespace. Also fix to do what
175         suits us better.
176
177 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
178
179         bug 1305
180         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
181         of char
182         (breakParagraph): rename par to par_offset and use a local
183         reference. Add code to keep the language over a rebreak.
184         (breakParagraphConservative): rename par to par_offset, use a
185         local reference
186         (mergeParagraph): ditto
187         (outerHook): ditto
188         (isFirstInSequence): ditto
189         (outerFont): rename pit to par_offset
190
191         * paragraph.C: ws change
192         * paragraph.h: ditto
193         * text3.C: ditto
194         * text.C: ditto
195
196 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
199         treatment for ']'
200
201         * paragraph.C (simpleTeXOnePar): when we have a \item with
202         optional argument, enclose the argument with curly brackets (in
203         case it contains a closing square bracket)
204
205         * text2.C (editXY):
206         * text2.C (editXY):
207         * text3.C (checkInsetHit): constify
208
209 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
212         documents (bug 1629)
213
214 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         Fix toggling of collapsable insets with the mouse (bug 1558)
217
218         * lyxfunc.C (dispatch): adapt to LCursor changes
219
220         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
221         make sure that dispatch is not invoked twice
222
223         * cursor.C (needsUpdate): new method
224         (dispatch): return void
225         (result): new method, to access the DispatchResult of the cursor.
226
227 2004-08-13  José Matos  <jamatos@lyx.org>
228
229         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
230
231 2004-08-13  André Pönitz  <poenitz@gmx.net>
232
233         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
234
235         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
236           multiple cells
237
238 2004-08-12  André Pönitz  <poenitz@gmx.net>
239
240         * text3.C: take out the 'cursor right' form insertInset and only
241         do it in those places when it is really needed. Fixes crash on
242         C-m...
243
244 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
247
248         * BufferView_pimpl.C (setBuffer): initialize the current font of
249         the underlying LyXText
250
251 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * kbsequence.C (print): use UI native formatting for menu
254         shortcuts
255
256         * text.C (insertChar): call Paragraph::insertChar with a font
257         argument (cosmetic)
258
259         * paragraph.C (insertInset, insertChar): the version that takes a
260         LyXFont argument is now a wrapper around the other one (the
261         opposite used to be true).
262
263         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
264         argument. Font setting is done in Paragraph now.
265
266 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * outputparams.h: add new members intitle and lang.
269
270         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
271         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
272
273 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * text3.C (dispatch): remove special handling of button 4 and 5,
276         it is now taken care of in the frontend code.
277
278 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
279
280         * Spacing.h: add <string> (STLPort compile fix)
281
282 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
283
284         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
285
286 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
287
288         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
289         to bool.
290
291         * converter.C (showMessage): inherit from unary_function, make
292         operator() const.
293
294         * buffer.C (writeFile): initialize retval
295
296         * InsetList.h: rename private variable list to list_
297         * InsetList.[Ch]: adjust accordingly.
298
299 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
300
301         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
302         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
303         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
304         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
305         * ParagraphParameters.C, LaTeXFeatures.C: replace
306         "support/std_sstream.h" with <sstream>
307
308 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
309
310         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
311         * lyxsocket.C (LyXServerSocket): ditto
312         (serverCallback): ditto
313
314 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
315
316         * LaTeXFeatures.C: check release date when loading jurabib.
317
318 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * lyxserver.C (startPipe): call register_socket_callback
321         (endPipe): call unregister_socket_callback
322
323 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
326         (LyXServerSocket): register the callback
327         (LyXServerSocket): unregister the callback
328         (fd): delete function
329         (serverCallback): improve error checking and setup the callbacks.
330         (dataCallback): change arg to fd.
331         (writeln): new func (copied fro the client socket) used for server
332         write to client.
333         (LyXDataSocket): simplify
334         (~LyXDataSocket): close ann unregiser callback
335         (server): delete function
336         (fd): delete function
337         (readln): small changes, improve some std::string usage
338         (writeln): constify a bit
339
340 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
343         Qt frontend
344
345 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * BufferView_pimpl.C (setBuffer): set the layout combox value only
348         after it has been populated
349
350 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * text2.C (insertInset): move cursor when inserting inset.
353
354 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * kbmap.C (findbindings): a couple of new methods. returns a
357         container of kb_sequence objects. The real work is done by the
358         private recursive version
359         (printbindings): uses findbindings to print out a bracketed list
360         of bindings (renamed from findbinding).
361
362         * MenuBackend.C (binding): use kb_keymap::findbindings
363
364         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
365
366 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
369
370 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * paragraph.C (isWord): return true on insets that report
373         isLetter().
374
375         * text.C (getWord): use Paragraph::isWord to decide what is in a
376         word and what is not; fix bug 1609.
377
378 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * tex-strings.C: add "none" to string_paperpackages[], fixes
381         off-by-one-error in the paperpackage selection.
382
383         * lyxlex.[Ch]:
384         * tex-strings.[Ch]: char const * string[n]
385         -> char const * const string[]
386
387 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
390         command, return early.
391
392 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
393
394         * debug.h: add DEBUG to enum and fix size of ANY.
395
396         * debug.C: add support for Debug::DEBUG
397         (showTags): cast errorTags.level to unsigned int
398
399         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
400         (redoCurrentBuffer): ditto
401         (updateScrollbar): ditto
402         * cursor.C (dispatch): ditto
403         * text2.C (setLayout): ditto
404         (setFont): ditto
405         (updateCounters): ditto
406         (editXY): ditto
407         (deleteEmptyParagraphMechanism): ditto
408
409 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
412         annotations to cleanup the Makefile slightly.
413
414 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * lyxrc.C: do not set user_email to a default value but use empty
417         instead. The entry used to be translated, which does not work
418         since at the point where lyxrc is constructed there is no
419         translation service available
420
421         * messages.C (getLocaleDir): remove and use directly
422         lyx_localedir() instead
423
424 2004-06-02  Angus Leeming  <leeming@lyx.org>
425
426         Fix crash caused by dereferencing null pointer 'exportdata' in
427         OutputParams by creating a new ExportData variable on the heap,
428         storing it in a boost::shared_ptr.
429         The crash was triggered when generating an Instant Preview
430         of an external inset.
431
432         * Makefile.am: add outputparams.C
433
434         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
435         (c-tor): allocate memory to it.
436
437         * exporter.C (c-tor): associated changes.
438
439 2004-06-01  Angus Leeming  <leeming@lyx.org>
440
441         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
442         contains data before calling isInset(0). (Bug 1513.)
443
444 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
445
446         * exporter.C (checkOverwrite): new method
447         * exporter.C (copyFile): new method
448         * exporter.C (Export): copy referenced files to the document dir
449         * exporter.[Ch]: new class ExportedFile
450         * exporter.[Ch]: new class ExportData. Contains currently the
451         names of referenced external files
452         * outputparams.h: add exportdata member.
453
454 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
455
456         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
457         version.C-tmp
458
459 2004-05-19  Angus Leeming  <leeming@lyx.org>
460
461         * LaTeXFeatures.C:
462         * ToolbarBackend.C:
463         * bufferparams.C:
464         * lyxfunc.C: small changes due to the introduction of namespace
465         lyx::frontend and the moving of namespace biblio to lyx::biblio.
466
467 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * text3.C (dispatch): supress update when only moving the cursor
470         * cursor.C (selHandle): remove commented code
471
472 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
473
474         * paragraph.C (startTeXParParams): correct column count
475         * CutAndPaste.C (pasteSelection): remove const_cast
476         * output_docbook.C (docbookParagraphs): remove const_cast
477         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
478         const_cast and return ParagraphList::const_iterator
479         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
480         * output_plaintext.C (writeFileAscii): remove const_cast
481         * paragraph.[Ch] (simpleTeXOnePar): make const
482         * paragraph_funcs.C (outerPar): use const iterators
483         * paragraph_pimpl.C (validate): use const iterators
484         * text.C (setHeightOfRow): use const iterators
485
486 2004-05-17  Angus Leeming  <leeming@lyx.org>
487
488         * lfuns.h:
489         * LyXAction.C (init): new LFUN_INSET_REFRESH.
490
491         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
492         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
493         if the citation engine has changed.
494
495 2004-05-14  José Matos  <jamatos@lyx.org>
496
497         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
498         if the textclass does not provide it. Have it different for sgml and
499         xml.
500         support the language of document.
501         * output_docbook.C (docbookParagraphs):
502         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
503         first anchor as the id of the paragraph, remove special case code.
504         * sgml.C (escapeChar): escape only < & >.
505
506 2004-05-14  Angus Leeming  <leeming@lyx.org>
507
508         * bufferparams.h: move biblio::CiteEngine enum here to minimize
509         dependencies on src/frontends/controllers/biblio.h. Define a
510         CiteEngine_enum wrapper class to enable the enum to be forward
511         declared.
512
513 2004-05-12  Angus Leeming  <leeming@lyx.org>
514
515         * buffer.C: up LYX_FORMAT to 234.
516         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
517         use_numerical_citations with a single biblio::CiteEngine cite_engine
518         variable.
519         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
520
521 2004-05-13  José Matos  <jamatos@lyx.org>
522
523         * converter.h:
524         * converter.C (Converter, readFlags): add xml member.
525         * outputparams.h: add XML flavor.
526         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
527
528 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * lyxfunc.C (dispatch):
531         (getStatus): fix handling of LFUN_SEQUENCE
532
533 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * debug.C (showLevel): do not forget the end-of-line marker
536
537 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * kbmap.C (read): do not stop parsing a bind file when an error
540         occurs (bug 1575)
541
542 2004-04-29  Angus Leeming  <leeming@lyx.org>
543
544         * cursor.C:
545         * factory.C:
546         * pariterator.C:
547         * text2.C: wrap a bunch of #warning statements
548         inside #ifdef WITH_WARNINGS blocks.
549
550 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
551
552         * buffer.C: increment format to 233.
553
554 2004-04-28  Angus Leeming  <leeming@lyx.org>
555
556         * BufferView_pimpl.C:
557         * lyxfunc.C:
558         * text3.C:
559         s/updateToolbar()/updateToolbars()/
560         s/Toolbar.h/Toolbars.h/
561
562 2004-04-28  Angus Leeming  <leeming@lyx.org>
563
564         * BufferView.[Ch] (c-tor):
565         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
566         No longer passes these data to the WorkArea generator.
567
568 2004-04-28  Angus Leeming  <leeming@lyx.org>
569
570         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
571
572 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
573
574         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
575
576 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * output_latex.C (TeXEnvironment): make sure that there is a line
579         break before \end{foo} for the last paragraph of a document
580         (TeXOnePar): if the paragraph is at the end of the document (or
581         inset) and the language has to be reset, then make sure that the
582         line break is _before_ the language command, not after (fixes bug
583         1225); also make sure that the language reset command is the first
584         thing after the paragraph (to ensure proper nesting of
585         environments and thus fix bug 1404)
586
587 2004-04-21  John Levon  <levon@movementarian.org>
588
589         * ToolbarBackend.h:
590         * ToolbarBackend.C: make "name" be a programmatic name
591         and a gui_name field.
592
593         * lyxfunc.C: display the minibuffer on M-x
594
595 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
598         (bug 1526)
599
600 2004-04-19  Angus Leeming  <leeming@lyx.org>
601
602         * BufferView_pimpl.C (setBuffer): changed preview interface.
603
604         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
605         possible values.
606
607 2004-04-19  John Levon  <levon@movementarian.org>
608
609         * BufferView_pimpl.C:
610         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
611
612 2004-04-05  Angus Leeming  <leeming@lyx.org>
613
614         * text.C (redoParagraphs): add call to updateCounters(), thereby
615         fixing the missing "Figure #:" label from the caption of a
616         figure float.
617
618 2004-04-13  Angus Leeming  <leeming@lyx.org>
619
620         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
621         cursor is clicked out of an inset.
622
623 2004-04-13  Angus Leeming  <leeming@lyx.org>
624
625         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
626         than an InsetOld one.
627
628 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
629
630         * format.[Ch]: add editor to Format
631         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
632         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
633
634 2004-04-08  André Pönitz  <poenitz@gmx.net>
635
636         * metricsinfo.h: remove PainterInfo::width member
637
638 2004-04-08  Angus Leeming  <leeming@lyx.org>
639
640         * lyx_sty.C (boldsymbol_def): modify so that it outputs
641         "\providecommand" rather than "\newcommand", thereby preventing
642         clashes with packages that define "\boldsymbol" themselves.
643         Eg, beamer.
644
645 2004-04-08  Angus Leeming  <leeming@lyx.org>
646
647         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
648         thereby squashing an unnecessary warning.
649
650 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
651
652         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
653         setBuffer()
654
655 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * BufferView.C (setCursor): call redoParagraph (some insets could
658         have been opened)
659         (putSelectionAt): remove the 'double update' trick
660
661         * BufferView_pimpl.C (fitCursor): call refreshPar
662         (workAreaDispatch): remove an uneeded update call
663         (dispatch): remove some manual update calls
664
665         * cursor.[Ch]: remove cached_y_, updatePos
666         (selHandle): set noUpdate when appropriate
667
668         * lyxfunc.C (dispatch): track if we need an update
669
670         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
671
672         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
673         (paintSelection): cheap optimization, do not call cursorX when not
674         needed
675         (paintPars): change signature
676         (refreshPar): add
677         (paintText): adjust
678         (paintTextInset): adjust
679
680         * text.C: adjust
681
682 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * lengthcommon.C: compilation fix: remove explicit array size from
685         unit_name[] and friends
686
687 2004-04-05  Angus Leeming  <leeming@lyx.org>
688
689         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
690
691         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
692         present only for the preferences dialog.
693         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
694
695 2004-04-05  Angus Leeming  <leeming@lyx.org>
696
697         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
698         to enable the frontends to export changes to lyxrc correctly.
699
700         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
701
702 2004-04-07  André Pönitz  <poenitz@gmx.net>
703
704         * cursor.[Ch] (selClear, adjust): remove math
705
706         * cursor_slice.C: more agressive assert
707
708         * lyxfunc.C:
709         * BufferView_pimpl.C: rework mouse event dispatch
710
711         * dociterator.C:
712         * paragraph.C:
713         * text2.C:
714         * text3.C: adjust
715
716 2004-04-05  André Pönitz  <poenitz@gmx.net>
717
718         * cursor.[Ch] (valign, halign...): remove unneeded functions
719
720 2004-04-05  Angus Leeming  <leeming@lyx.org>
721
722         * lyxlength.[Ch] (unit_name et al.): const-correct.
723
724 2004-04-05  Angus Leeming  <leeming@lyx.org>
725
726         * BufferView_pimpl.C:
727         * buffer.C:
728         * counters.C:
729         * cursor.C:
730         * lyxfunc.C
731         * paragraph.C:
732         * pariterator.C:
733         * text.C:
734         * text2.C:
735         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
736
737 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
738
739         * text3.C (getStatus): add LFUN_BEGINNINGBUF
740
741 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * lyxfind.C: add a couple of inTexted() tests + other small fixes
744         * BufferView_pimpl.[Ch] (getStatus)
745         * BufferView.[Ch] (getStatus): add
746         * lyxfunc.C (getStatus): move lfuns handled in
747         BufferView::dispatch to te function above
748         * Cursor.C (setSelection): set selection() = true
749
750 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
751
752         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
753
754 2004-03-31  Angus Leeming  <leeming@lyx.org>
755
756         * lyxfunc.C (dispatch): Fall through to the generic
757         Dialogs::show("preamble").
758
759 2004-03-31  Angus Leeming  <leeming@lyx.org>
760
761         * lyxfunc.C (dispatch): Fall through to the generic
762         Dialogs::show("spellchecker").
763
764 2004-03-31  Angus Leeming  <leeming@lyx.org>
765
766         * lyxfunc.C (getStatus, dispatch): changed invocation of the
767         preferences dialog.
768
769 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * BufferView.C
772         * cursor.[Ch]
773         * dociterator.[Ch]:
774         * insetiterator.[Ch]:
775         * lyxfind.C:
776         * lyxfunc.C:
777         * pariterator.[Ch]:
778         * text2.C:
779         * undo.[Ch]: s/DocumentIterator/DocIterator/g
780
781 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * BufferView.C (setCursor, putSelectionAt): call edit to open the
784         insets where we are putting the cursor.
785
786 2004-03-31  Angus Leeming  <leeming@lyx.org>
787
788         * lfuns.h:
789         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
790
791         * lyxrc.[Ch] (read, write): overloaded member functions taking
792         a std::[io]stream arguments.
793
794         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
795
796 2004-03-31  Angus Leeming  <leeming@lyx.org>
797
798         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
799         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
800
801         * lyxtextclass.C (load): if the text class couldn't be loaded, then
802         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
803
804 2004-03-31  Angus Leeming  <leeming@lyx.org>
805
806         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
807         the LFUN_ALL_INSETS_TOGGLE code.
808
809 2004-03-30  Angus Leeming  <leeming@lyx.org>
810
811         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
812         has died. Fall through to the generic Dialogs::show("document").
813
814 2004-03-30  Angus Leeming  <leeming@lyx.org>
815
816         * lfuns.h:
817         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
818         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
819
820         * lyxfunc.C (getStatus, dispatch): define the actions for these
821         lfuns. Little more than a cut and pste job from ControlDocument.C
822
823         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
824
825 2004-03-30  Angus Leeming  <leeming@lyx.org>
826
827         * lfuns.h:
828         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
829         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
830
831         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
832         open/closed state of ollapsable insets. Usage:
833
834         all-inset-toggle <state> <name>, where
835         <state> == "open" || "closed" || "toggle" and
836         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
837
838         * lyxtext.h, text2.C (toggleInset): removed.
839
840         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
841         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
842         now passes LFUN_INSET_TOGGLE to the found inset.
843
844         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
845         is now invoked as "all-insets-toggle toggle branch".
846
847 2004-03-30  Angus Leeming  <leeming@lyx.org>
848
849         * dociterator.C:
850         * insetiterator.C:
851         * pariterator.[Ch]: added/corrected header blurb.
852
853 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * dociterator.[Ch]: add an inset_ member
856         (backwardPos): implemented
857         (backwardPos, forwardPos): use inset_ when the stack is empty.
858         (doc_iterator_begin, doc_iterator_end): implemented
859         * pariterator.[Ch]: adjust, add begin, end
860         * insetiterator.[Ch]: adjust, add begin, end
861         * cursor.C:
862         * document.C:
863         * BufferView.C:
864         * BufferView_pimpl.C:
865         * CutAndPaste.C: adjust
866
867 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
868
869         * buffer.C: increment file format to 232.
870         * LaTeXFeatures.C: add bibtopic package.
871         * bufferparams.[Ch]: param \use_bibtopic.
872
873         * lyxrc.[Ch]: add lyxrc bibtex_command
874         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
875
876         * buffer.C: increment file format to 231.
877
878 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * dociterator.C: implement forwardPar
881         * iterators.[Ch]: remove, replaced by
882         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
883         * BufferView.C:
884         * BufferView_pimpl.C:
885         * CutAndPaste.C:
886         * buffer.C:
887         * bufferview_funcs.C:
888         * cursor.C:
889         * lyxfind.C
890         * lyxfunc.C
891         * paragraph_funcs.C
892         * toc.C:
893         * Makefile.am: adjust
894
895 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * CutAndPaste.C (pasteSelection): fix 2 crashes
898         (eraseSelection): fix a crash
899         * paragraph_funcs.C: remove a warning
900
901 2004-03-28  Angus Leeming  <leeming@lyx.org>
902
903         * lfuns.h:
904         * LyXAction.C (init): new LFUN_PRINT.
905
906         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
907
908 2004-03-27  Angus Leeming  <leeming@lyx.org>
909
910         * lfuns.h:
911         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
912
913         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
914
915 2004-03-27  Angus Leeming  <leeming@lyx.org>
916
917         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
918         insetlist always contains non-null pointers to insets.
919
920 2004-03-26  Angus Leeming  <leeming@lyx.org>
921
922         * src/BufferView_pimpl.C:
923         * src/CutAndPaste.C:
924         * src/buffer.C:
925         * src/iterators.C:
926         * src/output_plaintext.C:
927         * src/outputparams.h:
928         * src/paragraph_funcs.C:
929         * src/rowpainter.C:
930         * src/text.C:
931         * src/text2.C:
932         * src/frontends/controllers/ControlErrorList.C:
933         * src/frontends/gtk/FileDialogPrivate.C:
934         * src/frontends/gtk/GPainter.C:
935         * src/frontends/gtk/GToolbar.C:
936         * src/frontends/qt2/QRef.C:
937         * src/mathed/math_scriptinset.C: squash compiler warnings.
938
939 2004-03-26  Angus Leeming  <leeming@lyx.org>
940
941         * ispell.C (LaunchIspell::start):
942         * lyx_cb.C (AutoSaveBuffer::start):
943         invoke run(DontWait) rather than runNonBlocking().
944
945 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
948
949 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * kbsequence.C (print): adjust
952
953         * kbmap.C (printKeySym): rename and change signature
954         (printKey): use LyXKeySym::print()
955
956 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
957
958         * undo.C: add using std::advance to compile for stlport
959
960 2004-03-24  Angus Leeming  <leeming@lyx.org>
961
962         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
963         it leads to a crash when no buffer is present.
964
965 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966             Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * lyxfunc.C (dispatch):
969         * bufferparams.C (readToken): use the new LColor::setColor
970
971         * LColor.[Ch] (setColor): new version that takes two strings as
972         argument and creates a new color entry if necessary
973
974 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
975
976         * buffer.C (makeLaTeXFile): if the main latex file that is
977         processed is usually a subdocument of some master, then pretend
978         for a while that it is actually the master
979
980 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
981
982         * buffer.C (getLabelList):
983         (getBibkeyList): use getMasterBuffer()
984         (getMasterBuffer): new method. Returns the main document in the
985         case where one is using included documents.
986
987 2004-03-25  André Pönitz  <poenitz@gmx.net>
988
989         * Makefile.am:
990         * iterators.[Ch]:
991         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
992
993         * ParagraphList_fwd.h: change ParagraphList to a std::vector
994
995         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
996         text*.C over here. Rename namespace CutAndPaste to lyx::cap
997
998         * ParameterStruct.h: merge with ParagraphParameters
999
1000         * lyxtext.h: remove LyXText::parOffset() and getPar()
1001
1002         * text3.C: Remove all 'manual' update calls. We do now one per user
1003         interaction which is completely sufficient.
1004
1005         * Bidi.C:
1006         * BufferView.[Ch]:
1007         * BufferView_pimpl.C:
1008         * FontIterator.[Ch]:
1009         * MenuBackend.C:
1010         * ParagraphParameters.[Ch]:
1011         * buffer.C:
1012         * buffer.h:
1013         * bufferlist.C:
1014         * cursor.[Ch]:
1015         * cursor_slice.[Ch]:
1016         * dociterator.[Ch]:
1017         * errorlist.[Ch]:
1018         * factory.C:
1019         * lfuns.h:
1020         * lyxfind.C:
1021         * lyxfunc.C:
1022         * output_docbook.[Ch]:
1023         * output_latex.[Ch]:
1024         * output_linuxdoc.[Ch]:
1025         * output_plaintext.[Ch]:
1026         * paragraph.[Ch]:
1027         * paragraph_funcs.[Ch]:
1028         * paragraph_pimpl.[Ch]:
1029         * rowpainter.C:
1030         * tabular.[Ch]:
1031         * text.C:
1032         * text2.C:
1033         * toc.C:
1034         * undo.[Ch]: adjust
1035
1036         * frontends/controllers/ControlDocument.C:
1037         * frontends/controllers/ControlErrorList.C:
1038         * frontends/controllers/ControlSpellchecker.C:
1039         * insets/inset.C:
1040         * insets/inset.h:
1041         * insets/insetbase.h:
1042         * insets/insetbibitem.C:
1043         * insets/insetbox.C:
1044         * insets/insetbranch.C:
1045         * insets/insetcaption.C:
1046         * insets/insetcharstyle.C:
1047         * insets/insetcharstyle.h:
1048         * insets/insetcollapsable.C:
1049         * insets/insetcollapsable.h:
1050         * insets/insetert.C:
1051         * insets/insetfloat.C:
1052         * insets/insetfoot.C:
1053         * insets/insetmarginal.C:
1054         * insets/insetnote.C:
1055         * insets/insetoptarg.C:
1056         * insets/insettabular.C:
1057         * insets/insettext.C:
1058         * insets/insettext.h:
1059         * insets/insetwrap.C:
1060         * mathed/math_mboxinset.C:
1061         * mathed/math_nestinset.C:
1062         * mathed/math_scriptinset.C:
1063         * mathed/math_scriptinset.h:
1064         * support/types.h:
1065
1066 2004-03-24  Angus Leeming  <leeming@lyx.org>
1067
1068         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1069         deal with any child processes that have finished but are waiting to
1070         communicate this fact to the rest of LyX.
1071
1072 2004-03-24  Angus Leeming  <leeming@lyx.org>
1073
1074         64-bit compile fixes.
1075
1076         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1077         (c-tor): pass lyx::pos_types rather than ints.
1078
1079         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1080         lyx::pos_type.
1081
1082         * text.C (Delete): compile fix.
1083         (getPar): ensure that function declaration is the same as that in
1084         the header file.
1085
1086 2004-03-23  Angus Leeming  <leeming@lyx.org>
1087
1088         * ispell.C (LaunchIspell):
1089         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1090         a boost::shred_ptr rather than a std::auto_ptr.
1091
1092 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1093
1094         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1095         handle LFUN_FILE_INSERT_*
1096
1097         * lyxrc.C (setDefaults, getDescription, output, read):
1098         * lyxrc.h: remove ps_command
1099
1100 2004-03-22  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1103         Ensure that error_handler is processed once only and that all data
1104         is saved before attempting to output any warning messages.
1105
1106         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1107
1108 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1111
1112 2004-03-19  André Pönitz  <poenitz@gmx.net>
1113
1114         * cursor.[Ch] (reset): take main text inset as argument
1115
1116         * BufferView: adjust
1117         * BufferView_pimpl.C: adjust
1118
1119         * paragraph.[Ch]: fix completely broken operator=()
1120
1121 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * LColor.C (getFromLyXName): make sure that the color name is used
1124         as lowercase.
1125
1126 2004-03-17  Angus Leeming  <leeming@lyx.org>
1127
1128         * lfuns.h:
1129         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1130
1131         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1132         dialog and to kill a forked process.
1133
1134 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * text2.C (setCursorFromCoordinates): fix font problem
1137
1138 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1141         bogus "rebuild cursor" code
1142
1143 2004-03-11  André Pönitz  <poenitz@gmx.net>
1144
1145         * buffer.[Ch]: use InsetText instead of LyXText as container for
1146         the main lyx text.
1147
1148         * dociterator.[Ch]: drop the BufferView * member which is not needed
1149         anymore after the change to buffer.C
1150
1151         * paragraph_funcs.C:
1152         * text.C:
1153         * text2.C:
1154         * BufferView.[Ch]:
1155         * BufferView_pimpl.[Ch]:
1156         * cursor.[Ch]:
1157         * cursor_slice.[Ch]: adjust
1158
1159         * text3.C: fix bug in mathDispatch
1160
1161 2004-03-08  André Pönitz  <poenitz@gmx.net>
1162
1163         * undo.[Ch]: use 'StableDocumentIterator' as base for
1164         the Undo struct.
1165
1166 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1167
1168         * LaTeXFeatures.C:
1169         * bufferparams.[Ch]: add jurabib support and param.
1170
1171         * LaTeX.C: add FIXME/comment.
1172
1173 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * buffer.C: increment file format to 230.
1176
1177 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1178
1179         * cursor.C (dispatch): avoid infinite loops
1180
1181 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1182
1183         * rowpainter.C (paintSelection): fix x coordinates
1184
1185 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1186
1187         * text.C (rowBreakPoint): fix breaking before displayed insets
1188
1189 2004-03-01  André Pönitz  <poenitz@gmx.net>
1190
1191         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1192
1193         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1194
1195         * Makefile.am:
1196         * BufferView.C:
1197         * BufferView_pimpl.C:
1198         * buffer.C:
1199         * lyxfind.C:
1200         * lyxfunc.C:
1201         * text.C:
1202         * text2.C:
1203         * text3.C: adjust
1204
1205 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1206
1207         * lyxtext.h:
1208         * text.C:
1209         * text2.C:
1210         * rowpainter.C:
1211         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1212         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1213
1214 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * Bidi.[Ch] (computeTables): const correctness
1217         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1218         fill_hfill, fill_label_hfill and x from Row
1219         * lyxtext.h: prepareToPrint returns a RowMetrics
1220         * rowPainter.C: adjust
1221         * text.C (prepareToPrint): use width, not textWidth. adjust
1222         (redoParagraphInternal, cursorX): adjust
1223         * text2.C (getColumnNearX): adjust
1224         (init): put a default value to the top LyXText::width
1225
1226 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1229
1230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * lyxtext.h: add FontIterator class
1233
1234         * text.C (FontIterator, operator*, operator->, operator++): add
1235         (rowBreakPoint, setRowWidth): adjust (fixing a
1236         rebreaking bug)
1237
1238 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * BufferView_pimpl.C (workAreaDispatch): allow also
1241         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1242
1243 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * text.C (rowBreakPoint): fix a bug showing with very large insets
1246
1247 2004-02-25  André Pönitz  <poenitz@gmx.net>
1248
1249         * text3.C:
1250         * cursor.[Ch]: move some mathed specific code to mathed
1251
1252 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1253
1254         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1255         use_tempdir in preferences
1256         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1257         tempfile creation
1258         * lyx_main.C: ensure that tempdir is valid
1259         * lyxlex.h: correct typo
1260         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1261         * paragraph.[Ch] (isMultiLingual): make const
1262         * cursor.[Ch] (openable): make const
1263
1264 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1265
1266         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1267
1268 2004-02-20  André Pönitz  <poenitz@gmx.net>
1269
1270         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1271
1272         * cursor.[Ch]: prepare for localized getStatus()
1273
1274         * lyxtext.h:
1275         * tabular.C:
1276         * text.C:
1277         * text2.C:
1278         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1279
1280 2004-02-20  André Pönitz  <poenitz@gmx.net>
1281
1282         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1283
1284 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1285
1286         * text2.C (setCursorFromCoordinates): switch to absolute coords
1287         (cursorUp): adjust
1288         (cursorDown): adjust
1289         * text3.C (dispatch): adjust
1290
1291 2004-02-16  André Pönitz  <poenitz@gmx.net>
1292
1293         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1294           insets/ChangeLog)
1295
1296         * cursor_slice.[Ch]: remove unneeded acessor function
1297
1298         * lyxtext.h: rename rtl() to isRTL()
1299
1300         * rowpainter.C:
1301         * tabular.C:
1302         * text.C:
1303         * text2.C:
1304         * text3.C: adjust
1305
1306 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * rowpainter.C (paintSelection): coord fix
1309
1310 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1311
1312         * Spacing.C: compile fix
1313
1314 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1315
1316         * cursor.C (dispatch): restore current_ before returning
1317
1318 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1319
1320         * text2.C (cursorUp, cursorDown): fix coords
1321         (moveUp): fix crash
1322
1323 2004-02-12  André Pönitz  <poenitz@gmx.net>
1324
1325         * lyxtext.h:
1326         * text.C:
1327         * text2.C:
1328         * text3.C: add LCursor & parameter to most cursor movement functions
1329           remove usage of LyXText::cursorRow() and cursorPar()
1330
1331         * cursor.[Ch]: add textRow() needed members
1332
1333         * BufferView.C:
1334         * BufferView_pimpl.C:
1335         * paragraph.[Ch]:
1336         * BufferView.C:
1337         * BufferView_pimpl.C: adjust
1338
1339 2004-02-11  André Pönitz  <poenitz@gmx.net>
1340
1341         * lyxfunc.C:
1342         * BufferView.[Ch]:
1343         * BufferView_pimpl.C: shift undo/redo handling
1344
1345         * cursor.[Ch]: fix mathed crash
1346
1347         * lyxfind.C:
1348         * lyxtext.h: move selectionAsText to LCursor
1349
1350         * output_latex.C:
1351         * paragraph.C:
1352         * text.C:
1353         * text2.C:
1354         * text3.C: adjust
1355
1356         * rowpainter.C: fix excessive drawing
1357
1358 2004-02-06  André Pönitz  <poenitz@gmx.net>
1359
1360         * BufferView.[Ch]:
1361         * BufferView_pimpl.[Ch]:
1362         * text3.C: move some text specific LFUN handling
1363
1364 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1365
1366         * text3.C (checkInsetHit): adjust coords
1367         * text2.C (getColumnNearX): adjust coords
1368         (edit): adjust coords
1369         * text.C (getRowNearY): add two asserts
1370
1371 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1372
1373         * converter.C:
1374         * format.C: add using std::distance to compile on gcc 2.95/stlport
1375
1376 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1377
1378         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1379
1380 2004-02-04  André Pönitz  <poenitz@gmx.net>
1381
1382         * BufferView.[Ch] (insertInset):
1383         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1384
1385         * text2.C:
1386         * text3.C: adjust
1387
1388 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1391         on the default clause of the switch
1392         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1393         wasn't catched by LCursor::dispatch
1394
1395 2004-02-03  André Pönitz  <poenitz@gmx.net>
1396
1397         * BufferView.C:
1398         * cursor.[Ch]: some additional asserts
1399
1400         * undo.[Ch]: remove LyXText dependency in interface
1401
1402         * lyxfunc.C: adjust
1403
1404         * lyxtext.h (firstPar, lastPar): remove dead functions
1405
1406         * text.C:
1407         * text2.C:
1408         * text3.C:
1409         * paragraph.[Ch]: adjust
1410
1411 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * lyxfind.C (find): fix argument order in call to ::find
1414
1415 2004-02-02  André Pönitz  <poenitz@gmx.net>
1416
1417         * cursor.[Ch]: remove direct access to anchor
1418
1419         * text.C: remove findText() hack
1420
1421 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * iterators.[Ch] (lockPath): remove in favour of...
1424         * BufferView.[Ch] (setCursor): this addition
1425         * BufferView.C (putSelectionAt): adjust
1426         * undo.C (performUndoOrRedo): adjust
1427         * lyxfunc.C (dispatch): adjust
1428
1429 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * iterators.C (lockPath): add a missing slice
1432         * undo.C (performUndoOrRedo): remove redundant positioning code
1433
1434 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * vc-backend.C (scanMaster): ";" -> ';'
1437
1438 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1439
1440         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1441         std::binary_function
1442
1443         * lyxtextclass.C (compare_name): rename to...
1444         (LayoutNamesEqual): ...this
1445
1446         * lyxlex_pimpl.C (compare_tags): inherit from
1447         std::binary_function, put back into anon namespace
1448
1449         * lyxfind.C (MatchString): inherig from std::binary_function
1450         (findChange): use empty() istead of !size()
1451
1452         * format.C (FormatNamesEqual): new functor
1453         (getFormat): use it
1454         (getNumber): use it
1455         (add): use it
1456         (erase): use it
1457         (setViewer): use it
1458
1459         * converter.C (compare_Converter): rename to...
1460         (ConverterEqual): ...this, and fixup a bit.
1461         (getConverter): use it, and make function const
1462         (getNumber): use it, and make function const
1463         (add): use it
1464         (erase): use it:
1465
1466         * bufferlist.C: add using boost::bind
1467
1468         * MenuBackend.C (MenuNamesEqual): new functor
1469         (hasMenu): use it, and make function const
1470         (hasSubmenu): use nested bind to get rid of compare_memfun.
1471
1472 2004-01-30  André Pönitz  <poenitz@gmx.net>
1473
1474         * BufferView_pimpl.C:
1475         * cursor.C:
1476         * cursor.h:
1477         * cursor_slice.[Ch]:
1478         * lyxfunc.C:
1479         * lyxtext.h:
1480         * paragraph_funcs.C:
1481         * paragraph_funcs.h:
1482         * rowpainter.C:
1483         * text.C:
1484         * text2.C:
1485         * text3.C: move some of the edit(x,y) handling to the insets
1486         some coordinate changes.
1487
1488 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * text.C: add using statements for std::advance and std::distance
1491
1492         * paragraph.C: add using statement for std::distance
1493
1494         * lyxfind.C: add using statement for std::advance
1495
1496         * cursor.C (region): remove std:: from swap
1497         (openable): use nucleus in stead of operator->
1498
1499         * BufferView.C: add using statements for std::distance and std::swap
1500
1501 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1502
1503         * iterators.C: Remove the pimple, move the needed structures to
1504         the header file. Create accessor for the positions stack.
1505         (asPosIterator): remove function
1506
1507         * PosIterator.C (PosIterator): move constructors to top of file
1508         (PosIterator): reimplement the constructor taking a ParIterator in
1509         terms of setFrom.
1510         (setFrom): new function
1511         (operator!=): inline it
1512
1513 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1514
1515         * lyxfind.C (replaceAll): use std::advance
1516
1517         * iterators.h: inherit from std::iterator.
1518
1519         * PosIterator.C (advance, distance): remove
1520         * PosIterator.h: interit from std::iterator.
1521
1522 2004-01-26  André Pönitz  <poenitz@gmx.net>
1523
1524         * BufferView.[Ch]:
1525         * BufferView_pimpl.[Ch]:
1526         * InsetList.[Ch]:
1527         * PosIterator.[Ch]:
1528         * buffer.h:
1529         * bufferview_funcs.C:
1530         * cursor.[Ch]:
1531         * cursor_slice.h:
1532         * factory.[Ch]:
1533         * iterators.[Ch]:
1534         * lyxfind.C:
1535         * lyxfunc.C:
1536         * lyxtext.h:
1537         * output_docbook.C:
1538         * output_latex.C:
1539         * output_linuxdoc.C:
1540         * output_plaintext.C:
1541         * paragraph.[Ch]:
1542         * paragraph_funcs.[Ch]:
1543         * paragraph_pimpl.[Ch]:
1544         * rowpainter.C:
1545         * tabular.C:
1546         * tabular.h:
1547         * text.C:
1548         * text2.C:
1549         * text3.C: more IU:  dumps most of the rest of the mathcursor
1550     implementation into cursor.[Ch]; "globalize" a bit of it.
1551
1552 2004-01-25  Angus Leeming  <leeming@lyx.org>
1553
1554         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1555
1556 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1557
1558         * LaTeXFeatures.h: add nice_ and nice() const
1559         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1560
1561 2004-01-20  André Pönitz  <poenitz@gmx.net>
1562
1563         * BufferView.[Ch]:
1564         * BufferView_pimpl.C:
1565         * PosIterator.C:
1566         * bufferview_funcs.C:
1567         * cursor.[Ch]:
1568         * cursor_slice.[Ch]:
1569         * factory.C:
1570         * iterators.C:
1571         * lyx_cb.C:
1572         * lyxfind.C:
1573         * lyxfunc.C:
1574         * lyxtext.h:
1575         * rowpainter.C:
1576         * text.C:
1577         * text2.C:
1578         * text3.C:
1579         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1580           LCursor and mathcursor parts to LCursor and InsetBase.
1581
1582 2004-01-15  André Pönitz  <poenitz@gmx.net>
1583
1584         * cursor_slice.[Ch]: add a few covienience functions
1585
1586         * funcrequest.[Ch]: remove BufferView * member
1587
1588         * BufferView_pimpl.C:
1589         * cursor.C:
1590         * factory.[Ch]:
1591         * lyxfind.[Ch]:
1592         * lyxfunc.C:
1593         * lyxtext.h:
1594         * text3.C:
1595         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1596
1597 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1598
1599         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1600         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1601
1602 2004-01-13  André Pönitz  <poenitz@gmx.net>
1603
1604         * textcursor.[Ch]:
1605         * lyxtext.h: hide cursor and selection anchor behind accessor function
1606
1607         * BufferView.C:
1608         * BufferView_pimpl.[Ch]:
1609         * PosIterator.C:
1610         * bufferview_funcs.C:
1611         * cursor.h:
1612         * lyxfind.C:
1613         * lyxfunc.C:
1614         * text.C:
1615         * text2.C:
1616         * text3.C:
1617         * undo.C: adjust
1618
1619         * cursor.h:
1620         * cursor_slice.[Ch]: some integer type changes for inset unification
1621
1622         * lyxcursor.[hC]: remove, it's CursorSlice now.
1623
1624         * Makefile.am:
1625         * BufferView_pimpl.[Ch]:
1626         * bufferview_funcs.C:
1627         * cursor_slice.C:
1628         * lyxtext.h:
1629         * text.C:
1630         * text2.C:
1631         * text3.C:
1632         * textcursor.[Ch]: adjust
1633
1634 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1635
1636         * text2.C (undoSpan): add and use
1637         * text.C (breakParagraph): use undoSpan (fix bug 578)
1638         * lyxtext.h: adjust
1639
1640 2004-01-08  Angus Leeming  <leeming@lyx.org>
1641
1642         * BufferView_pimpl.C (MenuInsertLyXFile):
1643         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1644         * lyxfunc.C (menuNew, open, doImport):
1645         FileFilterList change to the FileDialog open and save functions.
1646
1647 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1648
1649         * ShareContainer.h: make isEqual and isUnique adaptable
1650
1651         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1652
1653 2004-01-07  Angus Leeming  <leeming@lyx.org>
1654
1655         * LyXAction.C:
1656         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1657
1658         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1659
1660         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1661         functions replacing find, replace and replaceAll.
1662
1663         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1664         LFUN_WORDFIND(FORWARD|BACKWARD).
1665
1666 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1667
1668         * text.C (breakParagraph): remove an outdated #warning
1669
1670 2004-01-07  André Pönitz  <poenitz@gmx.net>
1671
1672         * lyxfind.C: somewhat clearer logic
1673
1674         * text.C: prevent crash in cursorX on unitialized row cache
1675
1676 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * lyxcursor.[Ch] (operator>): add
1679         * textcursor.C (selStart, selEnd): use std::min and std::max
1680
1681 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1682
1683         * Chktex.C: include boost/format.hpp
1684
1685 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1686
1687         * InsetList.C: replace functor MathcIt with adaptable functor
1688         InsetTablePosLess
1689         (insetIterator): modify accordingly
1690
1691         * BranchList.h: move the BranchNamesEqual functor here from...
1692         * BranchList.C: ... to here
1693
1694         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1695         SameName and match.
1696         (add): replace a finding loop with std::find_if.
1697
1698 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1699
1700         * output_docbook.C: moving LatexParam functionality into
1701         .layout files
1702
1703 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1704
1705         * buffer.C: increment format to 229.
1706
1707 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1708
1709         * LaTeXFeatures.C:
1710         * lyx_sty.[Ch]: remove minipageindent_def
1711
1712         * LyXAction.C:
1713         * factory.C:
1714         * lfuns.h:
1715         * lyxfunc.C:
1716         * text3.C: remove LFUN_INSET_MINIPAGE
1717
1718 2003-12-28  Angus Leeming  <leeming@lyx.org>
1719
1720         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1721
1722 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1723
1724         * text2.C (setParagraph): fix off-by-one crash
1725
1726 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * output_docbook.C: header stuff for AGU
1729
1730 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1731
1732         * text2.C (redoCursor): remove
1733         * text.C:
1734         * text3.C:
1735         * BufferView_pimpl.C: remove calls to redoCursor and
1736         setCursor(cursor.par(), cursor.pos()) all around
1737
1738 2003-12-15  Angus Leeming  <leeming@lyx.org>
1739
1740         * buffer.C: up the format to 228.
1741
1742 2003-12-15  André Pönitz  <poenitz@gmx.net>
1743
1744         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1745         slices
1746
1747         * Makefile.am:
1748
1749         * BufferView_pimpl.C:
1750         * cursor.[Ch]:
1751         * lyxcursor.[Ch]:
1752         * rowpainter.[Ch]:
1753         * lyxtext.h:
1754         * text.C:
1755         * text2.C:
1756         * text3.C: adjust
1757
1758 2003-12-15  Angus Leeming  <leeming@lyx.org>
1759
1760         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1761         than getFromGUIName to manipulate the color.
1762
1763 2003-12-14  Angus Leeming  <leeming@lyx.org>
1764
1765         * BranchList.[Ch]: minimize the API.
1766         (Branch::getBranch, getColor): now return a 'const &'.
1767         (Branch::setSelected) now returns a bool set to true if the
1768         selection status changes.
1769         (BranchList::clear, size, getColor, setColor, setSelected,
1770         allBranches, allSelected, separator): removed.
1771         (BranchList::find): new functions, returning the Branch with
1772         the given name.
1773         (BranchList::add, remove): return a bool indicating that
1774         the operation was successful.
1775
1776         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1777         new InsetBranch::isBranchSlected member function.
1778
1779         * LColor.[Ch]: mimimize the API.
1780         (fill): renamed as addColor and made private.
1781         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1782         versions of these functions taking a string arg have been removed.
1783
1784         * bufferparams.C (readToken):
1785         * lyxfunc.C (dispatch):
1786         * lyxrc.C (read): changes due to the altered BranchList and
1787         LColor APIs.
1788
1789         * factory.C (createInset, readInset): changes due to altered
1790         InsetBranch c-tor.
1791
1792 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1793
1794         * factory.C:
1795         * lyxfunc.C: remove insetminipage. "minipage-insert"
1796         now produces a frameless minipage box inset.
1797
1798 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * textcursor.[Ch] (selStart,selEnd): add new methods
1801         remove selection::start, end, use LyXCursor::operator<
1802         * lyxcursor.[Ch] (operator<): add
1803         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1804         * BufferView.[Ch] (unsetXSel): add
1805         * text2.C (clearSelection): use unsetXSel,adjust
1806         * text.C: adjust
1807         * text3.C: adjust
1808         * rowpainter.C: adjust
1809         * bufferview_funcs.C (put_selection_at): adjust
1810
1811 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * BufferView_pimpl.C: small coord. correction
1814
1815 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1818         dragging over the splash screen.
1819
1820 2003-12-11  Angus Leeming  <leeming@lyx.org>
1821
1822         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1823         as it is now handled in LyXText::dispatch.
1824
1825         * text3.C (doInsertInset): remove a level of nesting.
1826
1827 2003-12-11  Angus Leeming  <leeming@lyx.org>
1828
1829         * factory.C (createInset): changes due to the changed interface to
1830         InsetCommandMailer::string2params.
1831
1832 2003-12-10  Angus Leeming  <leeming@lyx.org>
1833
1834         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1835         'dialog-show-new-inset <inset name>'
1836
1837 2003-12-10  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer.C: up the format to 227.
1840
1841         * factory.C: the box inset is now identified simply by 'Box'.
1842
1843 2003-12-10  Angus Leeming  <leeming@lyx.org>
1844
1845         * buffer.C: up the format to 226.
1846
1847         * factory.C: the note inset is now identified simply by 'Note'.
1848
1849 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1850
1851         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1852         when a pit is enough. Standarize a couple of loops.
1853
1854 2003-12-05  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1857         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1858         data to the re-worked "log" dialog.
1859
1860 2003-12-03  André Pönitz  <poenitz@gmx.net>
1861
1862         * PosIterator.C:
1863         * iterators.C:
1864         * lyxtext.h:
1865         * output_latex.C:
1866         * paragraph_funcs.C:
1867         * text.C:
1868         * text2.C: use Inset::getText instead of Inset::getParagraph
1869
1870 2003-12-03  André Pönitz  <poenitz@gmx.net>
1871
1872         * buffer.[Ch]:
1873         * lyxtext.h:
1874         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1875         InsetText::read() as LyXText::read()
1876
1877 2003-12-02  Angus Leeming  <leeming@lyx.org>
1878
1879         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1880         type. Add a comment in the implementation that the function uses
1881         the stream's bad() function rather than fail() as the std::streams
1882         would do.
1883
1884 2003-12-02  André Pönitz  <poenitz@gmx.net>
1885
1886         * lyxlex.[Ch]: make interface more similar to std::stream
1887
1888         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1889
1890 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1891
1892         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1893
1894 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1895
1896         * vspace.[Ch]: remove VSpace::NONE
1897
1898 2003-12-01  André Pönitz  <poenitz@gmx.net>
1899
1900         * buffer.[Ch]:
1901         * lyxtext.h: move ParagraphList member to LyXText
1902         rename LyXText::ownerParagraphs to LyXText::paragraph
1903
1904         * CutAndPaste.C:
1905         * bufferview_funcs.C:
1906         * iterators.[Ch]:
1907         * lyx_cb.C:
1908         * paragraph.C:
1909         * rowpainter.C:
1910         * tabular.C:
1911         * text.C:
1912         * text2.C:
1913         * text3.C: adjust
1914
1915         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1916
1917         * undo.C: fix cursor positioning
1918
1919 2003-12-01  John Levon  <levon@movementarian.org>
1920
1921         * BufferView_pimpl.C: fix a crash on exit with
1922         a buffer open
1923
1924 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1925
1926         * BranchList.C: fix setSelected() method.
1927
1928 2003-11-28  André Pönitz  <poenitz@gmx.net>
1929
1930         * ParagraphParameters.[Ch]:
1931         * ParameterStruct.h: remove space above/below from Paragraph to
1932          InsetVSpace
1933
1934         * BufferView_pimpl.C:
1935         * factory.C:
1936         * lyxfunc.C:
1937         * lyxtext.h:
1938         * output_latex.C:
1939         * paragraph.C:
1940         * paragraph_funcs.C:
1941         * rowpainter.[Ch]:
1942         * text.C:
1943         * text2.C:
1944         * text3.C: adjust
1945
1946 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1947
1948         * factory.C: Syntax change for CharStyles
1949
1950 2003-11-28  André Pönitz  <poenitz@gmx.net>
1951
1952         * BufferView.[Ch]:
1953         * BufferView.[Ch]:
1954         * buffer.[Ch]:
1955         * buffer.[Ch]: move LyXText member
1956
1957 2003-11-28  André Pönitz  <poenitz@gmx.net>
1958
1959         * BufferView.[Ch]: make LyXText * text a private member
1960
1961         * BufferView_pimpl.C:
1962         * cursor.C:
1963         * iterators.C:
1964         * lyx_cb.C:
1965         * lyxfind.C:
1966         * lyxtext.h:
1967         * rowpainter.[Ch]:
1968         * text.C:
1969         * text2.C:
1970         * undo.C: adjust
1971
1972         * output_plaintext.C: cleanup
1973
1974 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1975
1976         * buffer.C:
1977         * lyxtextclass.[Ch]: parametrize SGML document header
1978
1979 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1980
1981         * converter.[Ch]:
1982         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1983         getFlavor().
1984
1985 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * text2.C (setFont): rework using PosIterator (no more recursive)
1988         (setCharFont): no more needed
1989         (setLayout): no more selection cursors fiddling (done by redoCursor)
1990         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1991         destroy remaining ones)
1992
1993 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1996         * lyxtext.h: ditto
1997         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1998         selection cursors
1999         * lyxfunc.C: adjust
2000         * text3.C: adjust + re-allow multi par depth changes
2001         * textcursor.C: simplify a bit
2002
2003 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2004
2005         * src/buffer.C:
2006         * src/lyxlayout.C:
2007         * src/lyxlayout.h:
2008         * src/lyxtext.h:
2009         * src/output_docbook.C:
2010         * src/output_latex.C:
2011         * src/paragraph.C:
2012         * src/paragraph.h:
2013         * src/sgml.C:
2014         * src/sgml.h:
2015         * src/text2.C: Introducing a number of tags parametrizing various
2016         XML formats that we may want to support
2017
2018 2003-11-25  André Pönitz  <poenitz@gmx.net>
2019
2020         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2021
2022         * lyxtext.h (leftMargin/rightMargin): simplify interface
2023
2024         * rowpainter.C:
2025         * text.C:
2026         * text2.C:
2027         * text3.C: adjust
2028
2029 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2030
2031         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2032         master file to any child files. Fixes bug 546.
2033
2034 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2035
2036         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2037
2038 2003-11-24  André Pönitz  <poenitz@gmx.net>
2039
2040         * rowpainter.C: simplification
2041
2042         * text2.C (updateCounters): remove call to redoParagraph on
2043         changed labels as this is far too expensive.
2044
2045 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * converter.C (convert): fix a crash: this function gets
2048         called with buffer == 0 from importer code.
2049
2050 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2051
2052         * text3.C (cursorPrevious): make sure that we do not compare
2053         iterators form different containers.
2054         (cursorNext): ditto
2055
2056         * rowpainter.C (paintSelection): make sure that we do not compare
2057         iterators from different containers.
2058
2059         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2060         iterators from different ParagraphList containers.
2061         [NEXT] ditto
2062
2063         * text2.C (LyXText): change order of initialization slightly
2064         (operator=): new function. copy all variables except cache_par_
2065         (moveUp): make sure that we do not compare iterators from
2066         different ParagraphList constainers.
2067         (moveDown): ditto
2068
2069         * text.C (firstPar): new function
2070         (lastPar): new function
2071         (endPar): new function
2072
2073         * lyxtext.h: move things around and group public functions, public
2074         variables, private functions, private variables
2075
2076 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2077
2078         * factory.C: change call to InsetERT constructor to avoid
2079         additional invocation of method status
2080         * text2.C (toggleInset): remove redundant update() call
2081         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2082         instead of a Bufferview pointer
2083
2084 2003-11-21  André Pönitz  <poenitz@gmx.net>
2085
2086         * rowpainter.C: simplification
2087
2088 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * text3.C (dispatch): make possible to extend a word/row selection
2091         with the mouse
2092
2093 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * lyxtext.h: x0_,y0_ -> xo_,yo_
2096         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2097         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2098         * rowpainter.C (paintRows): paint full paragraphs
2099
2100 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2103         screen coordinates)
2104
2105 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * lyxtext.h: add x0_, y0_
2108         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2109         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2110
2111 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * text2.C (setCursorIntern): move the x_target update here *
2114         * text3.C: change some bv() to true/false in calls to
2115         cursorUp/Down/Right/Left
2116         * cursor.C: use helper function.
2117
2118 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2121         * paragraph_funcs.[Ch]: correct comment
2122         * rowpainter.C: do not paint selections away from bv->cursor()
2123         Fix a long standing selection painting bug.
2124         * text3.C: generalize mouse-selection code to LyXTexts other that
2125         top one
2126         * textcursor.C: do not use y coords if we can use par offsets
2127
2128 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2131         cursor position after e.g. inset insert)
2132
2133 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * lyxfind.C (replace): adjust to locking removal + some
2136         code simplification
2137
2138 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2141         of the path
2142
2143 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2144
2145         * lyxlayout.[Ch]:
2146         * output_docbook.C: XML sanitation: new layout
2147         parameters InnerTag and CommandDepth
2148
2149 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2150
2151         * BufferView_pimpl.C:
2152         * factory.C:
2153         * text3.C: Fix the insertion and modification of button-style
2154         insets
2155
2156 2003-11-13  André Pönitz  <poenitz@gmx.net>
2157
2158         * InsetList.[Ch]: remove deleteLyXText
2159
2160         * paragraph.[Ch]: cache beginOfBody position
2161
2162         * Bidi.C:
2163         * text.C:
2164         * text2.C:
2165         * text3.C: remove superfluous update() calls
2166
2167         * vspace.C: cleanup
2168
2169 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2172         * BufferView.C (fitLockedInsetCursor): remove
2173         * cursor.[Ch] (getDim): add
2174         * text.C (getRowNearY): add faster version
2175         * text3.C: remove some update calls
2176
2177 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2178
2179         * LaTeXFeatures.C:
2180         * LyXAction.C:
2181         * MenuBackend.C:
2182         * MenuBackend.h:
2183         * dispatchresult.h:
2184         * factory.C:
2185         * lfuns.h:
2186         * lyxfunc.C:
2187         * lyxtextclass.C:
2188         * lyxtextclass.h:
2189         * text3.C: The Character Style /XML short element patch.
2190
2191 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2192
2193         * text3.C:
2194         * factory.C: Small step to solving 'unable to insert some insets'
2195         problem
2196
2197 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2198
2199         * cursor.[Ch] (updatePos): new function for updating the y
2200         position of the tip inset
2201         * bufferview_funcs.C (put_selection_at):
2202         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2203
2204 2003-11-11  André Pönitz  <poenitz@gmx.net>
2205
2206         * text.C: remove big comment on invalid Paragraph pointers as it is
2207         not valid anymore
2208
2209 2003-11-11  André Pönitz  <poenitz@gmx.net>
2210
2211         * text_funcs.[Ch]: merge with ...
2212
2213         * text.C: ... this
2214
2215         * lyxtext.h:
2216         * text2.C:
2217         * text3.C: adjust
2218
2219         * Makefile.am: remove text_funcs.[Ch]
2220
2221 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2222
2223         * cursor.C (getPos): return absolute cached y coord
2224
2225         * BufferView_pimpl.C (fitCursor): new simplistic code
2226         (workAreaDispatch): add a fitCursor call
2227
2228 2003-11-10  André Pönitz  <poenitz@gmx.net>
2229
2230         * BufferView.[Ch]:
2231         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2232
2233 2003-11-10  André Pönitz  <poenitz@gmx.net>
2234
2235         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2236         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2237         indicate that the cursor needs to leave an inset
2238
2239         * lyxtext.h: remove inset locking
2240
2241         * cursor.[Ch]: re-implement functionality provided by inset locking
2242
2243         * BufferView.[Ch]:
2244         * BufferView_pimpl.[Ch]:
2245         * LyXAction.C:
2246         * bufferview_funcs.[Ch]:
2247         * factory.C:
2248         * funcrequest.[Ch]:
2249         * iterators.C:
2250         * lyx_cb.C:
2251         * lyxfind.C:
2252         * lyxfunc.C:
2253         * text.C:
2254         * text2.C:
2255         * text3.C:
2256         * undo.C: adjust
2257
2258 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2259
2260         * PosIterator.[Ch]: replace the stack with a vector, add inset
2261         accesor
2262         * iterators.[C]: adjust
2263
2264 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2265
2266         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2267         replaced
2268         * paragraph_funcs.C (readParToken): put the correct id in the
2269         error item, not the id of the top paragraph
2270
2271 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2274         * bufferview_funcs.C (put_selection_at): use the above
2275
2276 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2277
2278         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2279
2280 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2281
2282         * output_linuxdoc.h:
2283         * output_plaintext.h:
2284         * output.h:
2285         * output_docbook.h: add #include statements
2286
2287 2003-11-05  José Matos  <jamatos@lyx.org>
2288
2289         * output_docbook.[Ch]:
2290         * output_latex.[Ch]:
2291         * output_linuxdoc.[Ch]:
2292         * output_plaintext.[Ch]: New files for output formats.
2293         * output.[Ch]: New file for helper functions.
2294
2295         * buffer.[Ch]:
2296         * paragraph_funcs.[Ch]: output functions moved to new files.
2297
2298         * outputparams.h: rename of latexrunparams.h
2299
2300         * LaTeX.[Ch]:
2301         * buffer.[Ch]:
2302         * bufferlist.[Ch]:
2303         * converter.[Ch]:
2304         * exporter.C:
2305         * paragraph.[Ch]:
2306         * paragraph_funcs.[Ch]:
2307         * paragraph_pimpl.[Ch]:
2308         * tabular.[Ch]: rename ascii to plaintext
2309         and LatexRunParams to OutputParams.
2310
2311 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * iterators.[Ch] (text): require bv argument
2314         * undo.C (recordUndo):
2315         * lyxfunc.C (dispatch):
2316         * bufferview_funcs.C (put_selection_at): adjust
2317
2318 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2319
2320         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2321
2322 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2323
2324         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2325         nestings
2326
2327 2003-11-04  André Pönitz  <poenitz@gmx.net>
2328
2329         * cursor.[Ch]: restructure
2330
2331         * BufferView.[Ch]:
2332         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2333
2334         * iterators.[Ch] (asCursor): remove
2335
2336         * lfuns.h: remove LFUN_INSET_EDIT
2337
2338         * lyxfunc.C:
2339         * tabular.C:
2340         * text.C:
2341         * text2.C:
2342         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2343
2344 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2345
2346         * lyxfind.[Ch]: complete overhaul
2347         * BufferView_pimpl.C:
2348         * lyxfunc.C: adjust
2349         * paragraph.[Ch] (insert): add
2350
2351 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2352
2353         * BufferView.[Ch]:
2354         * lyxtext.h:
2355         * text.C: remove dead spellcheck code
2356
2357 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * dispatchresult.h: add a val setter
2360
2361         * cursor.C (dispatch): use a tempvar for data_[i]
2362
2363 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2364
2365         * PosIterator.[Ch]: compile fix
2366
2367 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2368
2369         * text.C (cursorPar): deactivate the cursor cache
2370
2371 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2372
2373         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2374
2375 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2376
2377         * text3.C (dispatch): adjust for new DisptchResult semantics.
2378
2379         * lyxfunc.C (dispatch): handle update when return from
2380         Cursor::dispatch, adjust for new DispatchResult semantics.
2381
2382         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2383         DispatchResult(true) mean to not update. Add class functions for
2384         setting dispatched and update, as well as reading.
2385
2386         * cursor.C (dispatch): don't handle update here
2387
2388 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2391         * trans_mgr.C: adjust
2392
2393         * paragraph_funcs.C (readParToken): exception safety
2394
2395         * lyxvc.h: store the vcs pointer in a scoped_ptr
2396         * lyxvc.C: adjust
2397
2398         * lyxsocket.C (serverCallback): exception safety
2399
2400         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2401
2402         * ispell.C (clone): make it return a auto_ptr
2403
2404         * factory.C (createInset): exception safety
2405         (readInset): exception safety
2406
2407         * bufferlist.C (newBuffer): exception safety
2408
2409         * Thesaurus.C (Thesaurus): use initialization for aik_
2410
2411         * MenuBackend.C (expandToc): exception safety.
2412
2413 2003-11-03  André Pönitz  <poenitz@gmx.net>
2414
2415         * buffer.C:
2416         * buffer.h:
2417         * bufferview_funcs.C: remove getInsetFromId()
2418
2419         * lyxcursor.[Ch]:
2420         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2421
2422         * lyxfunc.C:
2423         * text2.C:
2424         * text3.C: adjust
2425
2426 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2427
2428         * PosIterator.C (distance, advance): new
2429         * bufferview_funcs.[Ch] (put_selection_at): new
2430         * iterators.[Ch] (lockPath): new
2431
2432 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * iterators.[Ch] (asPosIterator): added
2435         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2436         * PosIterator.[Ch]: added
2437
2438 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2439
2440         * text3.C:
2441         * lyxfunc.C:
2442         * cursor.C (dispatch):
2443         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2444
2445         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2446         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2447         contructor, add a class function dispatched. Remove operator>=
2448
2449 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * debug.C: only use the default constructor for debugstream
2452         (lyxerr) here.
2453
2454         * main.C (main): include debug.h and setup the lyxerr streambuf
2455         here.
2456
2457 2003-10-31  José Matos  <jamatos@lyx.org>
2458
2459         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2460
2461         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2462         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2463         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2464         * paragraph_pimpl.C (simpleTeXSpecialC):
2465         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2466         add LatexRunParams argument.
2467
2468         * exporter.C (Export): change call accordingly.
2469
2470         * latexrunparams.h: add new member to take care of the other backends.
2471 2003-10-30  José Matos  <jamatos@lyx.org>
2472
2473         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2474         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2475         factorise code for paragraph output.
2476         * buffer.[Ch]:
2477         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2478         move functions.
2479
2480 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * text3.C (dispatch):
2483         * lyxfunc.C (dispatch):
2484         * cursor.C (dispatch):
2485         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2486
2487         * dispatchresult.h: make the dispatch_result_t ctor explicit
2488
2489 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2490
2491         * sgml.[Ch]:
2492         * buffer.C: small refactoring of docbook stuff
2493
2494 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2497         meaning.
2498
2499 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2502         operator dispatch_result_t, and operators for == != and >=
2503
2504         * cursor.C (dispatch): adjust for operator dispatch_result_t
2505         removal. comment out call to update
2506
2507         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2508
2509 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * text3.C:
2512         * text2.C:
2513         * text.C:
2514         * lyxtext.h:
2515         * lyxfunc.C:
2516         * cursor.C:
2517         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2518         (dispatch):
2519
2520         * dispatchresult.h: new file, DispatchResult broken out of
2521         insets/insetbase.h
2522
2523         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2524
2525 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * text.C (rowBreakPoint): put a hack inside #if 0
2528
2529 2003-10-28  André Pönitz  <poenitz@gmx.net>
2530
2531         * lyxtext.h:
2532         * metricsinfo.C:
2533         * paragraph_funcs.C:
2534         * rowpainter.C:
2535         * text.C:
2536         * text2.C: general cleanup (lots of small stuff)
2537
2538 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * text2.C (cursorEnd): simple fix to the "end key goes to one
2541         before the end on last row" bug
2542
2543 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2544
2545         * text.C (backspace): fix the "zombie characters"
2546
2547 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2550
2551 2003-10-27  André Pönitz  <poenitz@gmx.net>
2552
2553         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2554
2555         * factory.C: handle new InsetPagebreak, InsetLine
2556
2557         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2558         and move handling into new InsetPagebreak, InsetLine
2559
2560         * BufferView_pimpl.C:
2561         * LyXAction.C:
2562         * ParagraphParameters.C:
2563         * ParameterStruct.h:
2564         * lyxfunc.C:
2565         * lyxtext.h:
2566         * paragraph.C:
2567         * paragraph.h:
2568         * paragraph_funcs.C:
2569         * paragraph_pimpl.C:
2570         * rowpainter.C:
2571         * text.C:
2572         * text2.C:
2573         * text3.C: adjust
2574
2575 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * text.C:
2578         * lyxrow_funcs.[Ch]:
2579         * Bidi.C:
2580         * paragraph.C:
2581         * lyxtext.h:
2582         * rowpainter.C:
2583         * text2.C:
2584         * text3.C: remove lastPos uses in favour of Row::endpos
2585
2586 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2587
2588         * undo.C (performUndoOrRedo): fix two crashes by setting a
2589         cursor by hand and reordering some calls. Use bv->lockInset instead
2590         of inset->edit because the latter loses cursor information
2591
2592 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2595         by Martin
2596         (rowBreakPoint): fix width. change point to point + 1.
2597         Add a missing check.
2598
2599 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2600
2601         * MenuBackend.C:
2602         * lyxfunc.C: fix (at least partly) the problems
2603         with the Nav menu and headers inside branch insets
2604         reported by Kayvan
2605
2606 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2607
2608         * paragraph.C (getChar): add strong asserts
2609
2610         * lyxrow_funcs.C (lastPos): remove hideous hack
2611
2612         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2613         (fill): adjust to that (avoid an infinite loop)
2614
2615 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2618
2619 2003-10-23  André Pönitz  <poenitz@gmx.net>
2620
2621         * RowList_fwd.h: change list<> to vector<> to gain speed
2622         after suggestion from Alfredo
2623
2624 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2625
2626         * lyxtext.h: move the bidi stuff from here...
2627         * text.C: and here
2628         * text2.C: and here
2629         * Bidi.[Ch]: ... to here
2630
2631 2003-10-23  André Pönitz  <poenitz@gmx.net>
2632
2633         * lyxtext.h:
2634         * text.C (isLastRow, isFirstRow): new functions
2635
2636         * paragraph.h: new width cache member
2637
2638         * rowpainter.C: replace RowList::iterator with Row & where possible
2639
2640         * lyxfunc.C: replace several view()->text with a single call
2641
2642         * toc.C: fix 'unused' warning
2643
2644 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2647         when woring with stream::pos_type
2648         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2649
2650 2003-10-22  André Pönitz  <poenitz@gmx.net>
2651
2652         * lyxtext.h:
2653         * text.C: use Row & instead of RowList::iterator
2654
2655         * lyxrow.h: rename end() to endpos()
2656
2657         * rowpainter.C:
2658         * text.C:
2659         * text2.C: adjust
2660
2661 2003-10-22  Angus Leeming  <leeming@lyx.org>
2662
2663         * buffer.[Ch] (fully_loaded): new member function, returning true
2664         only when the file has been loaded fully.
2665         Used to prevent the premature generation of previews and by the
2666         citation inset to prevent computation of the natbib-style label.
2667
2668         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2669         templates are all set up.
2670
2671         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2672
2673 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2674
2675         * text.C: fixed an "oops" in the "is a bit silly"
2676         bug fix
2677
2678 2003-10-21  André Pönitz  <poenitz@gmx.net>
2679
2680         * FuncStatus.[Ch]: small stuff, whitespace
2681
2682         * lyxfont.[Ch]: operator<<() for debug reasons
2683
2684         * lyxfunc.C:
2685         * lyxrow_funcs.C:
2686         * lyxtext.h: whitespace, spelling
2687
2688         * paragraph.C: naming of variables
2689
2690         * text.C:
2691         * text2.C: small stuff
2692
2693
2694 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2695
2696         * text.C: (1) finish off the inset display() work;
2697         (2) fix the "is a bit silly" bug (accessing char
2698         past end of par).
2699
2700 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2701
2702         * text.C: re-introduce display() for insets, fixing the
2703         various bugs (stretch of line above, math inset
2704         positioning, ...)
2705
2706 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2707
2708         * text.C (rightMargin): remove spurious semicolon
2709
2710         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2711         1415)
2712
2713 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2714
2715         * text3.C: fix one crash due to wrong cursor def
2716
2717 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2718
2719         * vc-backend.C (scanMaster): make the regex static
2720
2721         * LaTeX.C (scanAuxFile): make the regexs static
2722
2723         * text3.C (doInsertInset, dispatch, dispatch):
2724         * text2.C (cursorUp, cursorDown):
2725         * text.C (selectNextWordToSpellcheck):
2726         * BufferView_pimpl.C (dispatch):
2727         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2728
2729 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2730
2731         * lyxsocket.C: include <cerrno>
2732
2733 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * lyxfunc.C (dispatch): remove textcache stuff
2736
2737         * bufferlist.C (release): remove textcache stuff
2738         (closeAll): ditto
2739
2740         * TextCache.C: delete file
2741         * TextCache.h: delete file
2742
2743         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2744
2745         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2746         delete of the bv_->text.
2747         (resizeCurrentBuffer): remove texcache stuff
2748         (workAreaResize): ditto
2749
2750 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2753         action.
2754
2755 2003-10-16  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxrow.[Ch]:
2758         * paragraph.h:
2759         * rowpainter.C:
2760         * text.C:
2761         * text2.C:
2762         * text3.C: speed up by storing y positions per paragraph plus per-row
2763         offset instead of having a 'full' y position in the row.
2764
2765 2003-10-15  André Pönitz  <poenitz@gmx.net>
2766
2767         * iterators.[Ch]:
2768         * iterators.[Ch]:
2769         * undo.[Ch]: make undo aware of inner insets
2770
2771 2003-10-14  Angus Leeming  <leeming@lyx.org>
2772
2773         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2774         static member functions LyX::ref() and LyX::cref.
2775         (lastfiles): new accessor functions for the new lastfiles_ member var.
2776         (addLyXView, views_): add a new LyXView to the list of views_.
2777         (updateInset): loop over all LyXViews to call their own updateInset
2778         member function, returning a pointer to the Buffer owning the inset.
2779
2780         * BufferView_pimpl.C (loadLyXFile):
2781         * MenuBackend.C (expandLastfiles):
2782         * bufferlist.C (MenuWrite, QuitLyX):
2783         lastfiles is no longer a global variable.
2784         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2785
2786         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2787         static function. Access through LyX::cref().emergencyCleanup().
2788
2789 2003-10-14  André Pönitz  <poenitz@gmx.net>
2790
2791         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2792
2793         * undo.[Ch]: restoring part of 'undo in insets'
2794
2795         * Makefile.am:
2796         * undo_funcs.[Ch]: merge with undo.[Ch]
2797
2798         * tabular.C: small cleansing stuff
2799
2800 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2801
2802         * paragraph_funcs.C (readParToken): report unknown insets as error
2803         boxes. Use the outer paragraph as location (also for unknown
2804         tokens).
2805
2806         * factory.C (readInset): do not abort on reading an unknown inset.
2807         Eat it and return 0.
2808
2809 2003-10-13  Angus Leeming  <leeming@lyx.org>
2810
2811         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2812
2813         * lyxrc.C: displayTranslator is now a function,
2814         declared in GraphicsTypes.h.
2815
2816 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2817
2818         * format.C: new placeholder $$a to pass the socket address.
2819
2820         * bufferlist.[Ch]: new function getBufferFromTmp.
2821
2822         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2823           files in the temporary dir.
2824
2825 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2826
2827         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2828
2829         * Makefile.am: add lyxsocket.[Ch].
2830
2831         * lyx_main.C (error_handler): handle SIGPIPE.
2832
2833 2003-10-13  André Pönitz  <poenitz@gmx.net>
2834
2835         * BufferView_pimpl.C:
2836         * lyxtext.h:
2837         * text.C:
2838         * text2.C:
2839         * text3.C:
2840         * undo_funcs.[Ch]: use paroffset_type instead of
2841           ParagraphList::iterators to prevent multiple conversion
2842           (and get a more robust interface)
2843
2844 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2845
2846         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2847         * lyxtext.h: ditto
2848         * text3.C (dispatch): ditto
2849
2850 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2853         move the onlyfile, use onlyfile instead of foundfile in a couple
2854         of places.
2855
2856         * DepTable.C (update): flush the error stream a bit more
2857
2858 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * lyxserver.C (callback): adjust
2861
2862         * lyxfunc.C (getStatus): add a missing brace in commented code
2863         (ensureBufferClean): reindent
2864         (dispatch): delete version taking a string
2865
2866 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * LaTeX.C (deplog): move found file handlig from here...
2869         (handleFoundFile): .. to new function here.
2870         (deplog): make sure to discover several files mentioned on the
2871         same log line.
2872
2873 2003-10-10  André Pönitz  <poenitz@gmx.net>
2874
2875         * lyxfunc.C:
2876         * lyxtext.h:
2877         * tabular.C:
2878         * text.C:
2879         * text2.C:
2880         * text3.C: fix some of the tabular crashes
2881
2882 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2883
2884         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2885
2886         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2887
2888 2003-10-09  André Pönitz  <poenitz@gmx.net>
2889
2890         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2891
2892         * BufferView.C:
2893         * BufferView_pimpl.C:
2894         * bufferview_funcs.C:
2895         * lyx_cb.C:
2896         * lyxcursor.C:
2897         * lyxfind.C:
2898         * lyxfunc.C:
2899         * lyxtext.h:
2900         * text.C:
2901         * text2.C:
2902         * text3.C:
2903         * text_funcs.[Ch]:
2904         * textcursor.[Ch]:
2905         * undo_funcs.C: adjust
2906
2907 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2908
2909         * text2.C (incrementItemDepth): new function, use a backtracking
2910         algorithm to discover the correct item depth.
2911         (resetEnumCounterIfNeeded): new function, use a backtracking
2912         algorithm to discover if counter reset is needed.
2913         (setCounter): use them. Simplify a bit. Add different labels for
2914         different item depths for itemize.
2915
2916         * paragraph.C (Paragraph): remove initialization of enumdepth
2917         (operator=): ditto
2918
2919         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2920         enumerate and itemize. Change the type of itemdepth to signed char.
2921
2922 2003-10-08  André Pönitz  <poenitz@gmx.net>
2923
2924         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2925           thing assignable.
2926         * text.C:
2927         * text2.C: adjust
2928
2929         * tabular.[Ch]: fix crash after 'row-insert'
2930
2931 2003-10-08  Angus Leeming  <leeming@lyx.org>
2932
2933         Fix doxygen warnings.
2934
2935         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2936         Remove CutAndPaste:: prefix from header file declaration.
2937
2938         * LColor.h (fill): remove LColor:: prefix from declaration.
2939
2940         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2941         use lyx::depth_type rather than Paragraph::depth_type so that
2942         header file and .C file match.
2943
2944         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2945
2946         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2947         * aspell.C: \file aspell_local.C -> \file aspell.C
2948         * gettext.C: \file gettext.C -> \file src/gettext.C
2949         * gettext.h: \file gettext.h -> \file src/gettext.h
2950         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2951         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2952         * text.C: \file text.C -> \file src/text.C
2953
2954         * toc.C: move comment so that doxygen is not confused.
2955
2956 2003-10-07  Angus Leeming  <leeming@lyx.org>
2957
2958         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2959
2960 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2961
2962         * aspell.C:
2963         * aspell_local.h: add forgotten std::string's.
2964
2965 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2966
2967         * LaTeXFeatures.C:
2968         * LyXAction.C:
2969         * factory.C:
2970         * lfuns.h:
2971         * lyxfunc.C:
2972         * text3.C: The Box patch. Fancybox support, minipage, parbox
2973
2974 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2975
2976         * CutAndPaste.h:
2977         * DepTable.h:
2978         * FloatList.h:
2979         * LaTeXFeatures.h:
2980         * ParagraphParameters.h:
2981         * TextCache.h:
2982         * Thesaurus.h:
2983         * bufferlist.h:
2984         * exporter.h:
2985         * importer.h:
2986         * lastfiles.h:
2987         * lyxfind.h:
2988         * lyxfont.h:
2989         * lyxlex.h:
2990         * lyxtextclasslist.h:
2991         * messages.h:
2992         * paragraph.h:
2993         * paragraph_pimpl.C:
2994         * textcursor.h: add <string> and other small fixes to make Lars'
2995         std::string patch compile with STLport.
2996
2997 2003-10-06  Angus Leeming  <leeming@lyx.org>
2998
2999         * LColor.h: Add missing #include <string>.
3000
3001 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * All most all file in all subdirs: Make <string> be the prefered
3004         way of getting to std::string, add using declarations.
3005
3006 2003-10-06  André Pönitz  <poenitz@gmx.net>
3007
3008         * metricsinfo.C: initialize LyXFont before changing attribute.
3009         (fixes the 'math in \emph is upright' bug)
3010
3011 2003-10-06  André Pönitz  <poenitz@gmx.net>
3012
3013         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3014
3015 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * graph.C:
3018         * paragraph_pimpl.C: Small fixes to build using STLport
3019
3020 2003-10-02  André Pönitz  <poenitz@gmx.net>
3021
3022         * lyxfunc.C:
3023         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3024
3025 2003-10-01  André Pönitz  <poenitz@gmx.net>
3026
3027         * factory.C: assert early
3028
3029 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * lyx_main.C: remove the global debug object
3032
3033         * debug.h: adjust for new debugstream
3034
3035         * debug.C: adjust for new debugstream and keep the global debug
3036         object here.
3037
3038 2003-09-22  Angus Leeming  <leeming@lyx.org>
3039
3040         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3041         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3042         an incomplete class LyXFont.
3043
3044 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3045
3046         * factory.C: bug fix in branches
3047
3048 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * lyxfunc.C (processKeySym): adjust
3051         (dispatch): adjust
3052         (dispatch): change arg name from ev to func, adjust
3053         (sendDispatchMessage): ditto
3054
3055         * lyx_main.C (defaultKeyBindings): adjust keybindings
3056         (deadKeyBindings): ditto
3057
3058         * kbsequence.C (addkey): return a FuncRequest
3059
3060         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3061
3062         * kbmap.C (bind): take a FuncRequest as arg, adjust
3063         (read): adjust
3064         (lookup): adjust
3065         (defkey): change to take a FuncRequest as arg, adjust
3066         (findbinding): take a FuncRequest as arg, adjust.
3067
3068         * funcrequest.h (operator=): added
3069
3070         * funcrequest.C (FuncRequest): default kb_action changed from
3071         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3072
3073         * buffer.C (dispatch): simplify
3074         (dispatch): adjust to take a FuncRequest as arg, adjust
3075
3076         * boost.C (assertion_failed): change assertion message slightly
3077
3078         * ToolbarBackend.C (read): simplify
3079
3080         * MenuBackend.C (binding): adjust call to findbinding, add a
3081         message if no binding is found.
3082         (read): simplify
3083         (expandToc): correct by adding a empty FuncRequest
3084
3085         * LyXAction.C: include <boost/assert.hpp>
3086         (isPseudoAction): delete function
3087         (LookupFunc): change name to...
3088         (lookupFunc): this. change return type to FuncRequest.
3089         (getActionName): take kb_action as arg, simplify
3090         (funcHasFlag): add an assert, simplify.
3091
3092 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * toc.C (action): return a FuncRequest, simplify
3095
3096         * lyxfunc.C (processKeySym): adjust
3097         (getStatus): delete version that takes an int.
3098         (getStatus): adjust
3099         (dispatch): delete version that takes action as int
3100         (dispatch): adjust
3101         (sendDispatchMessage): simplify and adjust
3102
3103         * funcrequest.C (getArg): take unsigned int as arg
3104
3105         * ToolbarBackend.C (read): adjust
3106         (add): delete version that takes func as a string.
3107         (getIton): take a FuncRequest as arg
3108
3109         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3110         action.
3111
3112         * MenuBackend.C (MenuItem): add a new construct that only takes a
3113         Kind, simplify the constructor use for submenus.
3114         (add): adjust
3115         (expandLastfiles): adjust
3116         (expandDocuments): adjust
3117         (expandFormats): adjust
3118         (expandFloatListInsert): adjust
3119         (expandFloatInsert): adjust
3120         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3121
3122         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3123         Remove class variables lyx_pseudo_map and lyx_arg_map
3124
3125         * LyXAction.C (searchActionArg): delete function
3126         (getPseudoAction): delete function
3127         (retrieveActionArg): delete function
3128         (LookupFunc): make it return kb_action, simplify.
3129         (getActionName): simplify
3130
3131         * factory.C (createInset): fix new bug
3132
3133 2003-09-19  Angus Leeming  <leeming@lyx.org>
3134
3135         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3136         masterFilename_ parameter in the include inset.
3137
3138         * factory.C (createInset): changes due to the changes to InsetInclude.
3139
3140 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3141
3142         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3143
3144 2003-09-18  Angus Leeming  <leeming@lyx.org>
3145
3146         * buffer.C:
3147         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3148         Inset::fillWithBibKeys.
3149         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3150
3151 2003-09-18  Angus Leeming  <leeming@lyx.org>
3152
3153         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3154         variables.
3155         (ctor): pass and store a 'Buffer const &'
3156         (buffer): new member function.
3157
3158         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3159         '*this' to the LaTeXFeatures ctor.
3160
3161 2003-09-18  Angus Leeming  <leeming@lyx.org>
3162
3163         * LColor.h:
3164         * lyxfont.C:
3165         * lyxfont.h:
3166         * lyxtext.h:
3167         * text.C: rename EnumLColor as LColor_color.
3168
3169 2003-09-18  Angus Leeming  <leeming@lyx.org>
3170
3171         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3172         remove #include "insets/insetbase.h" from cursor.h.
3173
3174 2003-09-18  Angus Leeming  <leeming@lyx.org>
3175
3176         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3177         InsetOld_code to remove #include "inset.h".
3178
3179         * iterators.C: add #include "insets/inset.h"
3180
3181 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3182
3183         * BufferView.C: remove more locking stuff that apparently doesn't
3184         do anything sensible.
3185
3186 2003-09-16  André Pönitz  <poenitz@gmx.net>
3187
3188         * paragraph.[Ch]:
3189         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3190           performance boost.
3191
3192 2003-09-16  Angus Leeming  <leeming@lyx.org>
3193
3194         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3195
3196         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3197         arg/return type.
3198
3199         * paragraph.h: remove #include "lyxfont.h". Forward declare
3200         LyXFont_size.
3201
3202 2003-09-16  Angus Leeming  <leeming@lyx.org>
3203
3204         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3205         of support/textutils.h.
3206         (isWord): move the contents of support/textutils.h's IsWordChar here.
3207
3208         * buffer.C:
3209         * lyxfind.C:
3210         * rowpainter.C:
3211         * text.C:
3212         * text2.C: add #include "paragraph.h".
3213
3214         * rowpainter.C:
3215         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3216
3217 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * main.C:
3220         * lyx_main.C:
3221         * lyx_cb.C:
3222         * buffer.C:
3223         * LaTeX.C: use namespace alias for lyx::support::os
3224
3225 2003-09-16  Angus Leeming  <leeming@lyx.org>
3226
3227         * bufferparams.C:
3228         * bufferview_funcs.C:
3229         * factory.C:
3230         * lyxfunc.C:
3231         * paragraph_pimpl.C:
3232         * rowpainter.C:
3233         * text.C: add #include "LColor.h".
3234
3235 2003-09-16  Angus Leeming  <leeming@lyx.org>
3236
3237         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3238         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3239         return LyXFont &.
3240         Store the FontBits::color variable as an int rather than as an
3241         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3242         file.
3243
3244         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3245         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3246         string calls together.
3247
3248         * lyxrc.C: add #include "LColor.h".
3249
3250 2003-09-15  Angus Leeming  <leeming@lyx.org>
3251
3252         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3253         a cow_ptr.
3254
3255 2003-09-15  Angus Leeming  <leeming@lyx.org>
3256
3257         * LColor.h: add an EnumLColor wrapper for LColor::color.
3258
3259         * lyxfont.[Ch] (color, setColor, realColor):
3260         * lyxtext.h, text.C (backgroundColor):
3261         pass EnumLColor args to/from the functions, rather than LColor::color
3262         ones.
3263
3264         * lyxfont.h:
3265         * lyxtext.h: forward declare EnumLColor.
3266
3267         * lyx_main.C: add #include "LColor.h".
3268
3269 2003-09-15  Angus Leeming  <leeming@lyx.org>
3270
3271         * .cvsignore: add lyx-gtk.
3272
3273 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * Chktex.C
3276         * LaTeX.C
3277         * LaTeXFeatures.C
3278         * ParagraphParameters.C
3279         * Spacing.C
3280         * buffer.C
3281         * bufferparams.C
3282         * bufferview_funcs.C
3283         * chset.C
3284         * counters.C
3285         * funcrequest.C
3286         * lyxfont.C
3287         * lyxgluelength.C
3288         * lyxlength.C
3289         * paragraph.C
3290         * paragraph_funcs.C
3291         * text3.C
3292         * vc-backend.C: remove usage of STRCONV
3293
3294 2003-09-15  Angus Leeming  <leeming@lyx.org>
3295
3296         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3297         explicitly define the color passed to the painter.
3298
3299 2003-09-15  Angus Leeming  <leeming@lyx.org>
3300
3301         * bufferparams.C (BufferParams): reorder member initializers to avoid
3302         compiler warning.
3303
3304 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3305
3306         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3307         * text.C (updateRowPositions): remove an unusual nop
3308
3309 2003-09-12  André Pönitz  <poenitz@gmx.net>
3310
3311         * BufferView_pimpl.C:
3312         * Bullet.C:
3313         * layout.h:
3314         * lyxfunc.C:
3315         * lyxlayout.[Ch]:
3316         * lyxtextclass.C:
3317         * rowpainter.C:
3318         * text.C:
3319         * text2.C:
3320         * Counters.[Ch]: finish the 'automatic counters' job
3321
3322 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3323
3324         * aspell.C: include <boost/assert.cpp> (compile fix)
3325
3326 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3327
3328         * boost.C (assertion_failed): use lyx::support::abort instead of
3329         assert.
3330
3331 2003-09-10  Angus Leeming  <leeming@lyx.org>
3332
3333         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3334         with their _fwd progeny.
3335
3336 2003-09-09  Angus Leeming  <leeming@lyx.org>
3337
3338         134 files throughtout the source tree: replace 'using namespace abc;'
3339         directives with the appropriate 'using abc::xyz;' declarations.
3340
3341 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3342
3343         * boost.C (emergencyCleanup): moved here from LAssert.c
3344         (assertion_failed): new function, called by BOOST_ASSERT
3345
3346         * several files: change Assert to BOOST_ASSERT
3347
3348 2003-09-09  Angus Leeming  <leeming@lyx.org>
3349
3350         * buffer.[Ch]: Add an Impl class and move Buffer's member
3351         variables into it. As a result move several header files out of
3352         buffer.h.
3353
3354         Add header files to lots of .C files all over the tree as a result.
3355
3356 2003-09-09  Angus Leeming  <leeming@lyx.org>
3357
3358         * buffer.[Ch]: make Buffer's member variables private. Add
3359         accessor functions.
3360
3361         Lots of changes all over the tree as a result.
3362
3363 2003-09-08  Angus Leeming  <leeming@lyx.org>
3364
3365         * graph.C: #include <config.h>.
3366
3367 2003-09-08  Angus Leeming  <leeming@lyx.org>
3368
3369         * BranchList.C:
3370         * BufferView.C:
3371         * BufferView_pimpl.C:
3372         * CutAndPaste.C:
3373         * DepTable.C:
3374         * LaTeX.C:
3375         * LaTeXFeatures.C:
3376         * LyXAction.C:
3377         * MenuBackend.C:
3378         * TextCache.C:
3379         * aspell.C:
3380         * buffer.C:
3381         * bufferlist.C:
3382         * changes.C:
3383         * chset.C:
3384         * converter.C:
3385         * counters.C:
3386         * debug.C:
3387         * graph.C:
3388         * ispell.C:
3389         * lyx_cb.C:
3390         * lyxfind.C:
3391         * lyxfunc.C:
3392         * lyxlex_pimpl.C:
3393         * lyxrc.C:
3394         * lyxrow.C:
3395         * paragraph.C:
3396         * rowpainter.C:
3397         * texrow.C:
3398         * text.C:
3399         * text2.C:
3400         * toc.C: remove redundant using directives.
3401
3402 2003-09-07  Angus Leeming  <leeming@lyx.org>
3403
3404         * LaTeXFeatures.h: remove #include "support/types.h".
3405         * ToolbarBackend.h: remove #include <algorithm>.
3406         * changes.h: remove #include <ctime>.
3407         * debug.h: remove #include <iosfwd>.
3408         * graph.h: remove #include "support/std_string.h".
3409         * lyx_main.h: remove #include <csignal>.
3410         * lyxlex_pimpl.h: remove #include <fstream>.
3411         * sgml.h: remove #include <algorithm>, <utility>.
3412         * toc.h: remove #include "support/std_ostream.h".
3413         Add #include <iosfwd>.
3414
3415 2003-09-07  Angus Leeming  <leeming@lyx.org>
3416
3417         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3418
3419         * converter.h: forward declare LatexRunParams.
3420         * encoding.h: remove #include "lyxrc.h".
3421         * lyxtext.h: remove #include "LColor.h".
3422         * lyxtextclass.h: remove #include "support/types.h".
3423         * trans.h: remove #include "tex-accent.h".
3424         * trans_mgr.h: remove #include "tex-accent.h".
3425         * insets/inset.h: remove #include "support/types.h", <vector>.
3426         * insets/insetcollapsable.h: remove #include "LColor.h".
3427         * insets/insetinclude.h: remove #include "dimension.h".
3428         * insets/insetlatexaccent.h: remove #include "dimension.h".
3429         * insets/insetoptarg.h:: remove #include "insettext.h".
3430         * insets/insettext.h: remove #include "dimension.h",
3431         <boost/shared_ptr.hpp>
3432
3433         * insets/renderers.h: add #include "dimension.h".
3434         * insets/updatableinset.h: add #include "support/types.h".
3435
3436         * many .C files: Associated changes.
3437
3438 2003-09-06  Angus Leeming  <leeming@lyx.org>
3439
3440         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3441         one, inside testInvariant.
3442
3443         * PrinterParams.C: new file.
3444         * PrinterParams.[Ch]: move the function bodies out of line.
3445
3446 2003-09-06  Angus Leeming  <leeming@lyx.org>
3447
3448         * ParagraphParameters.h: forward declare ParameterStruct rather than
3449         including its header file.
3450         (depth): moved out-of-line.
3451
3452 2003-09-06  Angus Leeming  <leeming@lyx.org>
3453
3454         * BufferView_pimpl.h:
3455         * kbmap.h:
3456         * kbsequence.h:
3457         * lyxfunc.h: forward declare LyXKeySym rather than
3458         #include "frontends/LyXKeySym.h".
3459
3460         * BufferView_pimpl.C:
3461         * kbmap.C:
3462         * kbsequence.C:
3463         * lyxfunc.C: associated changes.
3464
3465 2003-09-06  Angus Leeming  <leeming@lyx.org>
3466
3467         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3468         As a result, can remove the #include "insets/inset.h" from BufferView.h
3469
3470 2003-09-06  Angus Leeming  <leeming@lyx.org>
3471
3472         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3473         As a result, can remove the #include "insets/inset.h" from BufferView.h
3474
3475 2003-09-06  Angus Leeming  <leeming@lyx.org>
3476
3477         * buffer_funcs.C:
3478         * buffer.h:
3479         * bufferlist.C:
3480         * BufferView.C:
3481         * bufferview_funcs.C:
3482         * BufferView_pimpl.C:
3483         * CutAndPaste.C:
3484         * lyx_cb.C:
3485         * lyxfunc.C:
3486         * paragraph.h:
3487         * ParagraphParameters.C:
3488         * tabular.C:
3489         * text3.C:
3490         * toc.C:
3491         * undo_funcs.C:
3492         * frontends/controllers/ControlDocument.C:
3493         * insets/insetcaption.C: rearrange the #includes into some sort of
3494         coherent order.
3495
3496         * buffer.h: remove #includes ErrorList.h, undo.h
3497
3498 2003-09-06  Angus Leeming  <leeming@lyx.org>
3499
3500         * support/types.h: add a 'depth_type' typedef, used to store the
3501         nesting depth of a paragraph.
3502
3503         * paragraph.h:
3504         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3505         defining explicitly.
3506
3507         * buffer.h:
3508         * paragraph_funcs.h:
3509         * ParagraphParameters.h:
3510         * sgml.h: use lyx::depth_type rather than Paragraph or
3511         ParameterStruct's depth_type.
3512
3513         * buffer.h
3514         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3515
3516         * BufferView.C:
3517         * BufferView_pimpl.C:
3518         * CutAndPaste.C:
3519         * ParagraphParameters.C:
3520         * buffer_funcs.C:
3521         * bufferlist.C:
3522         * bufferview_funcs.C:
3523         * lyx_cb.C:
3524         * lyxfunc.C:
3525         * tabular.C:
3526         * text3.C:
3527         * toc.C:
3528         * undo_funcs.C:
3529         * frontends/LyXView.C:
3530         * frontends/controllers/ControlDocument.C:
3531         * frontends/controllers/ControlErrorList.C:
3532         * insets/insetbibitem.C:
3533         * insets/insetbranch.C:
3534         * insets/insetcaption.C:
3535         * insets/insetcollapsable.C:
3536         * insets/insetenv.C:
3537         * insets/insetert.C:
3538         * insets/insetfloat.C:
3539         * insets/insetfoot.C:
3540         * insets/insetfootlike.C:
3541         * insets/insetnewline.C:
3542         * insets/insetquotes.C:
3543         * insets/insettabular.C:
3544         * insets/insettext.C:
3545         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3546
3547         * frontends/controllers/ControlChanges.C: #include "changes.h".
3548
3549 2003-09-06  Angus Leeming  <leeming@lyx.org>
3550
3551         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3552         than #including paragraph.h.
3553
3554         * ParagraphList.h:
3555         * RowList.h: deleted. Superfluous.
3556
3557         * CutAndPaste.h:
3558         * iterators.h:
3559         * lyxcursor.h:
3560         * lyxtext.h:
3561         * text_funcs.h:
3562         * undo.h:
3563         * undo_funcs.h:
3564         * insets/inset.h:
3565         * insets/insettext.h: use ParagraphList_fwd.h rather than
3566         ParagraphList.h.
3567
3568         * paragraph.h: don't forward declare ParagraphList.
3569
3570         * buffer.h:
3571         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3572         rather than ParagraphList.h. paragraph.h is still needed for the
3573         Paragraph::depth_type parameters.
3574
3575         * textcursor.h: enable it to compile stand-alone in light of the
3576         above changes.
3577
3578         * bufferview_funcs.C:
3579         * iterators.C:
3580         * lyxfunc.C:
3581         * lyxrow_funcs.C:
3582         * paragraph.C:
3583         * rowpainter.C:
3584         * text.C:
3585         * text2.C:
3586         * text3.C:
3587         * text_funcs.C:
3588         * textcursor.C:
3589         * undo.C:
3590         * frontends/controllers/ControlParagraph.C:
3591         * frontends/controllers/ControlTabular.C:
3592         * insets/insetmarginal.C:
3593         * insets/insetminipage.C:
3594         * insets/insetnote.C:
3595         * insets/insetoptarg.C: add header files needed to compile again.
3596
3597 2003-09-06  Angus Leeming  <leeming@lyx.org>
3598
3599         * RowList_fwd.h: new file, forward-declaring Row rather than
3600         #including lyxrow.h.
3601
3602         * lyxrow_funcs.h:
3603         * lyxtext.h:
3604         * paragraph.h:
3605         * insets/insettext.h: use it instead of RowList.h
3606
3607         * bufferview_funcs.C:
3608         * lyxfunc.C:
3609         * lyxrow_funcs.C:
3610         * paragraph.C:
3611         * rowpainter.C:
3612         * text.C:
3613         * text2.C:
3614         * text3.C: #include "RowList.h".
3615
3616 2003-09-05  Angus Leeming  <leeming@lyx.org>
3617
3618         * factory.C (createInset):
3619         * vspace.C (c-tor): replace sscanf call with an istringstream.
3620         * ispell.C: re-add missing HP/UX headers.
3621         * lyxserver.C: re-add missing  os2 headers.
3622
3623 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3624
3625         * BranchList.C:
3626         * graph.C:
3627         * ispell.C:
3628         * lastfiles.C:
3629         * lyx_cb.C:
3630         * lyxserver.C:
3631         * texrow.C:
3632         * text3.C: re-add missing system headers, needed for 2.95.2.
3633
3634 2003-09-05  Angus Leeming  <leeming@lyx.org>
3635
3636         Changes most place everywhere due to the removal of using directives
3637         from support/std_sstream.h.
3638
3639 2003-09-05  Angus Leeming  <leeming@lyx.org>
3640
3641         Replace LString.h with support/std_string.h,
3642         Lsstream.h with support/std_sstream.h,
3643         support/LIstream.h with support/std_istream.h,
3644         support/LOstream.h with support/std_ostream.h.
3645
3646         Changes resulting throughout the tree.
3647
3648 2003-09-05  Angus Leeming  <leeming@lyx.org>
3649
3650         * sgml.h: ensure that the header file can be compiled stand-alone.
3651         * *.C: strip out redundant #includes. (320 in total.)
3652
3653 2003-09-04  Angus Leeming  <leeming@lyx.org>
3654
3655         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3656         here (from getPackages).
3657
3658         * debug.[Ch]: add a new EXTERNAL tag.
3659
3660 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3661
3662         * text2.C (cursorEnd): simplify
3663         (setCursor): adjust
3664         (getColumnNearX): adjust
3665
3666         * text.C (computeBidiTables): adjust
3667         (fill): adjust
3668
3669         * rowpainter.C (paintChars): adjust
3670         (paintSelection): adjust
3671         (paintChangeBar): adjust
3672         (paintText): adjust
3673
3674         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3675         lastPos instead.
3676         (numberOfSeparators): adjust
3677
3678 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * LyXAction.C:
3681         * box.[Ch]:
3682         * lfuns.h:
3683         * lyxfunc.C:
3684         * text3.C: Restricts the mouse click functionality
3685         of insets like bibtex, include, toc and floatlist to the visible
3686         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3687         up the dialogs. Cursor has to be in front of the inset (i.e.
3688         start of row) for this to function.
3689
3690 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3691
3692         * bufferview_funcs.C (currentState): output row information
3693
3694 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3695
3696         * bufferview_funcs.C (currentState): output paragraph position
3697
3698 2003-09-04  Angus Leeming  <leeming@lyx.org>
3699
3700         * FloatList.h: move out #include "Floating.h".
3701         * LaTeX.h: move out #include "DepTable.h".
3702         * LyXAction.h: move out #include "funcrequest.h".
3703         * buffer.h: move out #include "author.h", "iterators.h".
3704         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3705         * lyx_main.h: move out #include "errorlist.h".
3706         * lyxfunc.h: move out #include "FuncStatus.h".
3707         * lyxtext: move out #include "lyxcursor.h".
3708         * paragraph_pimpl.h: move out #include "counters.h".
3709
3710 2003-09-03  Angus Leeming  <leeming@lyx.org>
3711
3712         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3713         preamble_snippets list, enabling us to add snippets to the preamble
3714         only if the snippet was not there already.
3715
3716 2003-09-04  Angus Leeming  <leeming@lyx.org>
3717
3718         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3719
3720 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3723         update
3724
3725 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * BranchList.C: point fix, earlier forgotten
3728
3729 2003-09-02  Angus Leeming  <leeming@lyx.org>
3730
3731         * box.C (contains): renamed from 'contained' after a fantastic
3732         amount of hot air.
3733
3734 2003-09-02  John Levon  <levon@movementarian.org>
3735
3736         * BufferView.C:
3737         * lyxcursor.h:
3738         * lyxcursor.C:
3739         * lyxfunc.C:
3740         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3741
3742 2003-09-02  John Levon  <levon@movementarian.org>
3743
3744         * text2.C: simplification of cursorEnd(), including partial
3745         fix for bug 1376
3746
3747 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * buffer.C (readFile): add a space
3750
3751 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3754
3755 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * buffer.C (readFile): new function, take a filename and a
3758         ParagraphList::iterator
3759         (readFile): adjust
3760         (readFile): adjust, make it private. don't use setStream, make
3761         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3762         always contain the filename.
3763
3764         * BufferView.C (insertLyXFile): simplify and make it work for
3765         gzipped files.
3766
3767 2003-08-30  John Levon  <levon@movementarian.org>
3768
3769         * Makefile.am: fix dist (from Kayvan)
3770
3771 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * most files: change to use const Buffer refs
3774
3775 2003-08-27  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3778         on top of ownerPar().
3779
3780 2003-08-27  John Levon  <levon@movementarian.org>
3781
3782         * funcrequest.C: properly initialise POD members
3783
3784 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * lyxtext.h (top_y): move top_y from here
3787         * text.C:
3788         * text2.C:
3789         * text3.C:
3790         * BufferView.[Ch]:
3791         * BufferView_pimpl.[Ch]: to here
3792         * frontends/screen.C:
3793         * insets/insettabular.C:
3794         * insets/insettext.C: adjust
3795         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3796
3797 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * BufferView.[Ch]:
3800         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3801
3802 2003-08-26  André Pönitz  <poenitz@gmx.net>
3803
3804         * paragraph_func.[Ch] (outerPar): new function
3805
3806         * paragraph.C:
3807         * paragraph_funcs.C:
3808         * paragraph_funcs.h:
3809         * paragraph_pimpl.C:
3810         * text2.C: remove Inset::par_owner
3811
3812 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3813
3814         * lyxrow_funcs.C:
3815         * lyxtext.h:
3816         * text.C:
3817         * text2.C: eliminates the needFullRow/display() stuff
3818         altogether, putting the logic in metrics/draw in the insets.
3819
3820 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * text2.C (redoParagraphInternal, redoParagraphs):
3823         * text.C (redoParagraph): add a call to updateRowPositions at the
3824         end of each 'metrics-like' call. Remove all others.
3825         (getRow): remove the 'y-computing' version.
3826         (getRowNearY): do not compute nor return the real y. Solve the
3827         'y < 0' problem and simplify.
3828
3829 2003-08-22  Angus Leeming  <leeming@lyx.org>
3830
3831         * *.[Ch]: clean-up of licence and author blurbs.
3832         Also move config.h out of a few .h files and into a few .C files.
3833
3834 2003-08-22  André Pönitz  <poenitz@gmx.net>
3835
3836         * lyxrow.[Ch]: add x_ and *fill_ members
3837
3838         * lyxtext.h:
3839         * text.C:
3840         * rowpainter.C:
3841         * text2.C: adjust/remove prepareToPrint() calls
3842
3843 2003-08-22  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxrow.[Ch]: add  end_ member
3846
3847         * lyxrow_funcs.C: use LyXRow::end_
3848
3849         * lyxtext.h (singleWidth): add LyXFont parameter
3850
3851         * rowpainter.C:
3852         * text2.C: adjust LyXText::singleWidth() calls
3853
3854         * text.C (redoParagraph): simplify row breaking logic
3855
3856
3857 2003-08-19  André Pönitz  <poenitz@gmx.net>
3858
3859         * funcrequest.C: initialize button_ member
3860
3861         * text3.C:
3862         * rowpainter.[Ch]: interface consolidation
3863
3864 2003-08-18  André Pönitz  <poenitz@gmx.net>
3865
3866         * BufferView.C:
3867         * BufferView_pimpl.C:
3868         * lyxfind.C:
3869         * paragraph_funcs.C:
3870         * rowpainter.C:
3871         * text3.C: remove LyXScreen::draw() and fitCursor calls
3872
3873         * BranchList.h: remove spurious semicolons
3874
3875         * MenuBackend.C: fix branchlist related crash
3876
3877 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * BranchList.[Ch]:
3880         * InsetList.[Ch]:
3881         * LColor.[Ch]:
3882         * LyXAction.C:
3883         * Makefile.am:
3884         * MenuBackend.[Ch]:
3885         * bufferparams.[Ch]:
3886         * factory.C:
3887         * lfuns.h:
3888         * lyxfunc.C:
3889         * text3.C: implements the 'branch inset'
3890         idea. This allows the output of various versions of a document
3891         from a single source version, selectively outputing or suppressing
3892         output of parts of the text.
3893         This implementation contains a 'branch list editor' in a separate
3894         tab of the document settings dialog. Branches are user definable
3895         and have a "display colour" to distinguish them on-screen.
3896
3897         ColorHandler was somewhat cleaned up.
3898         (1) make possible a dynamically growing LColor list by allowing
3899         the graphic context cache to grow along (vector);
3900         (2) eliminate an IMHO unnecessary step in colour allocation.
3901
3902 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3903
3904         * BufferView_pimpl.C: compile fix
3905
3906 2003-08-15  André Pönitz  <poenitz@gmx.net>
3907
3908         * rowpainter.C: remove extra metrics calls
3909
3910         * lyxtext.h: merge the two constructors into a single one,
3911           pass reference to owner's par list
3912
3913         * BufferView_pimpl.C:
3914         * text.C:
3915         * text2.C: adjust
3916
3917 2003-08-15  André Pönitz  <poenitz@gmx.net>
3918
3919         * lyxrow_funcs.[Ch]:
3920         * lyxtext.h:
3921         * paragraph.h:
3922         * paragraph_funcs.C:
3923         * rowpainter.C:
3924         * text.C:
3925         * text2.C:
3926         * text3.C:
3927         * text_funcs.C: split LyXText::rowlist_ into individual
3928         Paragraph::rows_ chunks
3929
3930         * BufferView.[Ch]:
3931         * BufferView_pimpl.[Ch]:
3932         * lyxfind.C:
3933         * lyxtext.h:
3934         * text3.C: remove toggleSelection()
3935
3936 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3937
3938         * bufferlist.C: beautify two alerts (shorter text of buttons)
3939         * buffer.C: Remove redundant ' ' from message
3940         * tabular.h:
3941         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3942         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3943         rename VALIGN_CENTER to VALIGN_MIDDLE
3944
3945 2003-08-11  André Pönitz  <poenitz@gmx.net>
3946
3947         * lyxtext.h (getPar):
3948         * text.C: new function
3949
3950 2003-08-11  André Pönitz  <poenitz@gmx.net>
3951
3952         * Makefile.am:
3953         * tracer.[Ch]: remove unneeded files
3954
3955         * InsetList.[Ch]: remove resizeInsetsLyXText()
3956
3957         * lyxtext.h:
3958         * text.C:
3959         * text2.C:
3960         * text3.C: merge insertParagraphs() and appendParagraph()
3961         remove breakAgain(), update()
3962
3963         * BufferView_pimpl.[Ch]:
3964         * bufferview_funcs.[Ch]:
3965         * lyxfunc.C:
3966         * paragraph.[Ch]:
3967         * rowpainter.C:
3968         * tabular.C: adjust after text & InsetList changes.
3969
3970 2003-08-08  André Pönitz  <poenitz@gmx.net>
3971
3972         * text.C (insertChar, backspace): replace rowlist fiddling
3973         with rebreak of full par
3974
3975         * lyxtext.h:
3976         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3977         checkParagraph, updateInset): removed
3978
3979 2003-08-07  André Pönitz  <poenitz@gmx.net>
3980
3981         * paragraph.C:
3982         * text3.C: merge some LFUN handlers, remove dead code
3983
3984 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3985
3986         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3987
3988 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * text2.C (DEPM): fix part of bug 1255 and 1256
3991
3992 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3993
3994         * BufferView_pimpl.C (workAreaDispatch): change to use
3995         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3996         that are no mouse related.
3997
3998 2003-08-05  André Pönitz  <poenitz@gmx.net>
3999
4000         * BufferView.[Ch]:
4001         * BufferView_pimpl.[Ch]:
4002         * bufferview_funcs.C:
4003         * text2.C:
4004         * text3.C: rip out "deep update"
4005
4006         * textcursor.[Ch] (last_sel_cursor): remove unused member
4007
4008 2003-08-04  André Pönitz  <poenitz@gmx.net>
4009
4010         * BufferView.[Ch]:
4011         * BufferView_pimpl.[Ch]:
4012         * ParagraphParameters.C:
4013         * bufferview_funcs.C:
4014         * lyx_cb.C:
4015         * lyxfind.C:
4016         * lyxfunc.C:
4017         * text.C:
4018         * text2.C:
4019         * text3.C: replace "complicated" BufferView::update(...) calls with
4020         simpler ones.
4021
4022         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4023
4024 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4025
4026         * Makefile.am (lyx_SOURCES): add paper.h
4027
4028 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4029
4030         * Makefile.am: move things around so that both lyx-qt and
4031         lyx-xforms can be built (according to --with-frontend). Then lyx
4032         is a symbolic link to lyx-[firstfrontend]
4033
4034 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4035
4036         * Always use std::endl with lyxerr
4037
4038 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4039
4040         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4041
4042 2003-08-01  André Pönitz  <poenitz@gmx.net>
4043
4044         * BufferView.[Ch]:
4045         * BufferView_pimpl.[Ch]:
4046         * lyxfunc.C:
4047         * text3.C: merge BufferView::repaint() and BufferView::update()
4048
4049 2003-08-01  José Matos  <jamatos@lyx.org>
4050
4051         * buffer.[Ch]: file_format is no longer a buffer data element.
4052
4053 2003-08-01  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView.C:
4056         * lyxtext.h:
4057         * text.C:
4058         * text2.C: make redoParagraph more independent of current cursor
4059
4060         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4061         * text.C:
4062         * text2.C: remove unneeded members
4063
4064 2003-07-30  André Pönitz  <poenitz@gmx.net>
4065
4066         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4067
4068         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4069           create a single function...
4070
4071         * paragraph_funcs.C (moveItem): ... here.
4072
4073         * text.C:
4074           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4075
4076 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4077
4078         * LColor.[Ch]: Add comment and greyedout logical colors.
4079
4080 2003-07-30  André Pönitz  <poenitz@gmx.net>
4081
4082         * tabular.C: don't use Assert too heavily. This crashes where it
4083           shouldn't
4084
4085 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4086
4087         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4088         is disabled (bug 1232)
4089
4090 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4091
4092         * factory.C: limited 'arg' scope
4093
4094 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4095
4096         * factory.C: fixed Note submenu issues
4097
4098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4099
4100         * factory.C: submenu for Note/Comment/Greyedout
4101
4102 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4103
4104         * lyx_main.C (LyX):
4105         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4106
4107 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * LaTeXFeatures.C:
4110         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4111         greyedout. Patch provided by Jürgen Spitzmüller.
4112
4113 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4114
4115         * kbmap.C (read): fix error message when reading bind files
4116
4117 2003-07-29  Angus Leeming  <leeming@lyx.org>
4118
4119         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4120         certainly does not do what it purports to do. I am doing it, and
4121         us, a favour by killing it.
4122
4123 2003-07-28  José Matos  <jamatos@lyx.org>
4124
4125         * buffer.C (readBody, do_writeFile):
4126         * paragraph.C(readParagraph): \end_document replaces \the_end.
4127
4128 2003-07-29  André Pönitz  <poenitz@gmx.net>
4129
4130         * BufferView.[Ch]:
4131         * BufferView_pimpl.[Ch]:
4132         * lyxfunc.C:
4133         * text2.C:
4134         * text3.C:
4135         * textcursor.[Ch]: remove toggleToggle & Co
4136
4137 2003-07-28  José Matos  <jamatos@fep.up.pt>
4138
4139         * buffer.C (readParagraph):
4140         * params_func (readParToken, readParagraph):
4141         * paragraph.C (write): \layout -> \begin_layout.
4142
4143 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * lyxlex_pimpl.C (setFile): clean up slightly.
4146
4147         * bufferparams.h: add compressed var
4148
4149         * buffer_funcs.C (readFile): adjust for LyXLex change
4150         (newFile): ditto + simplify
4151
4152         * buffer.C (writeFile): handle writing of compressed files
4153
4154         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4155         Check if the file is compressed and set a bufferparm if so.
4156
4157         * Makefile.am (lyx_LDADD): remove explicit -lz
4158
4159 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4160
4161         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4162         makeDocBookFile): put the real LyX version in the first line of
4163         the file
4164
4165         * version.h:
4166         * version.C.in: remove lyx_docversion
4167
4168         * tabular.C (write_attribute): add a template-based version to
4169         write enums properly
4170
4171 2003-07-28  André Pönitz  <poenitz@gmx.net>
4172
4173         * lyxtext.h:
4174         * text.C:
4175         * text2.C:
4176         * text3.C: use doubles again for x-coordinates. They are needed.
4177
4178 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * messages.C (getLocaleDir): use lyx_localedir()
4181
4182         * lyxlex_pimpl.C (setFile): compress stuff
4183
4184         * buffer.C (writeFile): add some compression stuff
4185         (do_writeFile): new func, dont call expliti close... will this
4186         breake anything?
4187
4188         * Makefile.am (lyx_LDADD): add -lz
4189
4190 2003-07-28  José Matos  <jamatos@fep.up.pt>
4191
4192         * buffer.C: increment file format.
4193         * paragraph_funcs (readParagraph, readParToken):
4194         * paragraph.C (readParagraph): add \end_layout.
4195
4196 2003-07-27  Angus Leeming  <leeming@lyx.org>
4197
4198         * Makefile.am: remove special casing for configure-time setting of
4199         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4200
4201         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4202         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4203
4204 2003-07-26  André Pönitz  <poenitz@gmx.net>
4205
4206         * paragraph_func.[Ch]:
4207         * paragraph.C (realizeFont): inline it whereever it is used
4208
4209         * rowpainter.C:
4210         * text.C:
4211         * text2.C:
4212         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4213
4214
4215 2003-07-26  André Pönitz  <poenitz@gmx.net>
4216
4217         *       lyxtext.h:
4218         * text.C:
4219         * text2.C: get rid of LyXText::need_break_row
4220
4221 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * toc.[Ch]: put namespace toc inside namespace lyx
4224
4225         * MenuBackend.C (expandToc2): adjust for lyx::toc
4226         (expandToc): ditto
4227
4228         * lyxfunc.C (dispatch): adjust for lyx::find
4229
4230         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4231         lyx::find instead. Reorganize a bit.
4232         (LyXReplace): rename to replace
4233         (LyXFind): rename to find
4234
4235         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4236         (dispatch): ditto
4237
4238 2003-07-26  André Pönitz  <poenitz@gmx.net>
4239
4240         * text.C (setHeightOfRow): restrict scope of temporary variable
4241
4242         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4243           code (never has been used?)
4244
4245 2003-07-27  Asger Alstrup  <alstrup@local>
4246
4247         * text.C (fill): Optimise algorithm to exploit that we can reuse
4248         the LyXFont for many characters.
4249         (setHeightOfRow): Same thing.
4250         (rowBreakPoint): Same thing.
4251
4252 2003-07-26  Asger Alstrup  <alstrup@local>
4253
4254         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4255
4256         * text.C (singleWidth): Spurious font copying in hot-spot
4257         singleWidth avoided. Reorder tests for arabic for efficiency.
4258
4259         * text.C (fill): handle empty paragraphs better.
4260
4261 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4262
4263         * ispell.C:
4264         * encoding.h: add includes
4265
4266         * lyxrc.C: remove reading of bind files
4267
4268         * lyx_main.C (init): setup bindings and menus only if we have a
4269         gui.
4270
4271         * kbmap.C (read): new method. Do the actual reading of bind
4272         files.
4273
4274         * converter.C (dvipdfm_options):
4275         * bufferparams.C:
4276         * lyxrc.C (read):
4277         (output): adapt PAPER_* enums.
4278
4279         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4280
4281         * bufferparams.h: remove paper-related enums from there
4282
4283         * paper.h: New file. A trivial header file to hold paper-related
4284         enums. It should later expand to contain many paper-related
4285         horrors access.
4286
4287         * lyxrc.C: declare extern displayTranslator
4288
4289 2003-07-27  José Matos  <jamatos@fep.up.pt>
4290
4291         * tabular.[Ch] (linuxdoc): add support for tables and figures
4292         (linuxdoc).
4293
4294 2003-07-27  José Matos  <jamatos@fep.up.pt>
4295
4296         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4297         consistency in both functions.
4298         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4299
4300 2003-07-26  Asger Alstrup  <alstrup@local>
4301
4302         * rowpainter.C (paintRows): Change algorithm to work directly on
4303         the insets rather than asking every character in the document
4304         whether its an inset.
4305
4306 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * buffer.C (openFileWrite): factorize some code
4309
4310 2003-07-26  Angus Leeming  <leeming@lyx.org>
4311
4312         * lyx_cb.C:
4313         * lyx_main.[Ch]: replace occurances of system_tempdir with
4314         os::getTmpDir().
4315
4316 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * rename Inset to InsetOld
4319
4320 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4321
4322         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4323         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4324         which I think is a bit clearer. EDIT is gone, since it was
4325         premature optimisation, and broken for mathed anyway.
4326         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4327         with cursor positioning in insets as well (math insets still do not
4328         work, but that's a different story anyway.) It mysteriously
4329         crashes sometimes with undo in the first paragraph, but I'm fairly
4330         confident that this is a compiler bug.
4331
4332 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * paragraph.C (Paragraph): adjust for new clone return type
4335         (operator==): ditto
4336         (copyIntoMinibuffer): ditto
4337
4338 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4339
4340         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4341         by not having a special case, and always doing a full rebreak of
4342         the document after undo.
4343
4344 2003-07-23  Angus Leeming  <leeming@lyx.org>
4345
4346         * factory.C (createInset): InsetExternal::setParams now takes a
4347         Buffer const * arg.
4348
4349 2003-07-23  Angus Leeming  <leeming@lyx.org>
4350
4351         * factory.C (createInset): changed interface to the external and
4352         graphics mailers' string2params functions.
4353
4354 2003-07-23  Angus Leeming  <leeming@lyx.org>
4355
4356         * factory.C (createInset): pass a
4357         Buffer const * parameter to InsetExternalMailer's string2params.
4358
4359 2003-07-22  John Levon  <levon@movementarian.org>
4360
4361         * Thesaurus.h: include the right aiksaurus header
4362
4363 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4364
4365         * MenuBackend.C (expand): check menu shortcuts unconditionally
4366
4367 2003-07-21  Angus Leeming  <leeming@lyx.org>
4368
4369         * factory.C (createInset): pass a
4370         buffer_path parameter to InsetGraphicsMailer's string2params.
4371
4372 2003-07-21  Angus Leeming  <leeming@lyx.org>
4373
4374         * BufferView_pimpl.C (buffer):
4375         * buffer.C (d-tor):
4376         * lyx_main.C (LyX):
4377         * lyxfunc.C (dispatch):
4378         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4379         rather than the grfx shortcut.
4380
4381 2003-07-21  André Pönitz  <poenitz@gmx.net>
4382
4383         * rowpainter.C: remove unused variables
4384
4385         * tabular_funcs.C:
4386         * tabular_funcs.h: move to tabular.C
4387         * Makefile.am: adjust
4388
4389         * tabular.[Ch]: basic optical cleaning
4390
4391         * author.h: pass references, not values
4392
4393 2003-07-18  André Pönitz  <poenitz@gmx.net>
4394
4395         * lyxtext.h:
4396         * metricsinfo.C:
4397         * metricsinfo.h:
4398         * rowpainter.C:
4399         * text.C:
4400         * text2.C:
4401         * text3.C: two-phase drawing for InsetText and InsetTabular
4402         some float -> int changes.
4403
4404 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4405
4406         * lyx_main.C: fix the fix
4407
4408 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * lyx_main.C: fix a crash in batch mode if no files specified
4411         * converter.C: ws
4412
4413 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4414
4415         * format.[Ch] (papersize): moved to BufferParams
4416         * converter.[Ch] (dvips_options): moved to BufferParams
4417         (dvipdfm_options): moved to anon namespace
4418         * bufferparams.[Ch]: added above functions.
4419
4420 2003-07-17  André Pönitz  <poenitz@gmx.net>
4421
4422         * lyxtext.h:
4423         * rowpainter.C:
4424         * text2.C: don't call inset->update() anymore
4425
4426         * metricsinfo.[Ch]: add convenience constructor
4427
4428 2003-07-16  André Pönitz  <poenitz@gmx.net>
4429
4430         * lyxcursor.[Ch]:
4431         * lyxfunc.[Ch]:
4432         * text.C:
4433         * text2.C: replace the LyXCursor::irow_ member with
4434          on-demand computation of the value
4435
4436 2003-07-16  John Levon  <levon@movementarian.org>
4437
4438         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4439
4440 2003-07-15  André Pönitz  <poenitz@gmx.net>
4441
4442         * text.C:
4443         * text2.C: remove no more needed refresh_row
4444
4445 2003-07-15  André Pönitz  <poenitz@gmx.net>
4446
4447         * lyxtext.h:
4448         * rowpainter.C:
4449         * text2.C:
4450         * text3.C: refresh_status tristate -> need_update bool
4451
4452 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * lyxtext.h (init): remove reinit argument (act as if always true)
4455         * text2.C: adjust to that
4456
4457 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4458
4459         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4460         * text3.C: use it to delete selections in some cases
4461         (bugs 441, 673, 702, 954).
4462
4463 2003-07-14  André Pönitz  <poenitz@gmx.net>
4464
4465         * rowpainter.[Ch]: reduce interface
4466
4467 2003-07-14  André Pönitz  <poenitz@gmx.net>
4468
4469         * BufferView_pimpl.C:
4470         * text2.C: adjust after removing unused BufferView * argument
4471
4472 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4473
4474         * text2.C (init): fix a crash fired on resize
4475
4476 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * buffer.[Ch]: added new closing signal
4479         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4480         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4481         BufferView::Pimpl via the closing the signal
4482
4483 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4484
4485         * buffer.[Ch]: take out all bv-related from buffer
4486         * BufferView.C:
4487         * BufferView_pimpl.[Ch]: connect to new signals
4488         * CutAndPaste.C: removed useless asserts
4489         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4490         * lyxvc.[Ch]:
4491         * vc-backend.[Ch]:
4492         * lyxfunc.C: moved view-related funciontality from vc here
4493         * paragraph.C: removed outdated comments
4494         * text.C: ws
4495
4496 2003-07-10  André Pönitz  <poenitz@gmx.net>
4497
4498         * BufferView_pimpl.C:
4499         * tabular.h:
4500         * tabular_funcs.C:
4501         * text.C:
4502         * text2.C: remove InsetText::InnerCache, clean up consequences
4503
4504 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4505
4506         * ispell.C: fix two typos in error messages
4507
4508 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * Extend Note inset to other forms of annotation like Comment
4511         and Greyedout. Right button click gives dialog.
4512
4513         Files modified or added (+):
4514
4515         * insetnote.[Ch]
4516         * FormNote.[Ch]      +
4517         * ControlNote.[Ch]   +
4518         * form_note.fd       +
4519         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4520         frontends/controllers
4521         * xforms/Dialogs.C
4522         * factory.C
4523
4524 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4525
4526         * aspell.C: add missing namespace lyx::support
4527
4528 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4529
4530         * BufferView.[Ch] (newFile): Add
4531         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4532         * LaTeX.[Ch] (message): added this signal and use it
4533         * buffer.[Ch] (busy, message): added these signals and use them
4534         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4535         * converter.C:
4536         * exporter.C:
4537         * format.C:
4538         * importer.C: use buffer signals instead of direct bv calling
4539         * lyx_cb.[Ch] (ShowMessage): removed
4540         * lyx_main.C:
4541         * lyxfunc.C:
4542         * paragraph_funcs.C:
4543         * text2.C: use buffer signals
4544
4545 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * introduce namespace lyx::graphics
4548
4549 2003-07-02  André Pönitz  <poenitz@gmx.net>
4550
4551         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4552
4553 2003-07-01  André Pönitz  <poenitz@gmx.net>
4554
4555         * text.C:
4556         * text2.C:
4557         * text3.C:
4558         * text_funcs.[Ch]:
4559         * textcursor.h:
4560         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4561           text*.C to text_func.C
4562
4563 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * introduce namespace lyx::support
4566
4567 2003-06-30  André Pönitz  <poenitz@gmx.net>
4568
4569         * Chktex.C:
4570         * funcrequest.C:
4571         * lyxtext.h:
4572         * text.C: re-enable --with-included-string
4573
4574 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * textcursor.C: add <config.h>
4577
4578         * text.C (getWord): remove const from word_location arg
4579
4580         * lyxvc.C (getLogFile): fix const type order
4581
4582         * lyxtext.h: remove const from word_location arg, add arg name
4583
4584         * lyxlayout.h: currect type on labeltype.
4585
4586         * importer.C: correct \file
4587
4588         * converter.C (intToFormat): use std:: on ret val, ws changes
4589
4590         * bufferlist.h: correct \file
4591
4592         * buffer.C (makeLinuxDocFile): fix const type order
4593         (makeDocBookFile): ditto
4594         (fillWithBibKeys): use std:: on stdlib args.
4595
4596         * CutAndPaste.C: fix authors.
4597         (availableSelections): use std:: on return vector
4598
4599 2003-06-27  André Pönitz  <poenitz@gmx.net>
4600
4601         * BufferView_pimpl.C:
4602         * bufferview_funcs.C:
4603         * lyxcursor.C:
4604         * lyxcursor.h:
4605         * lyxfunc.C:
4606         * lyxtext.h:
4607         * rowpainter.C:
4608         * text.C:
4609         * text2.C:
4610         * text3.C: remove LyXCursor::row_ member
4611
4612         * lyxtext.h:
4613         * text.C: rename fullRebreak() to partialRebreak() and implement
4614           a fullRebreak() that really bereks fully
4615
4616         * textcursor.h: new struct for cursor-related data
4617
4618 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4619
4620         * lyx_main.C (LyX): get full path of document loaded on the
4621         command line
4622
4623 2003-06-26  André Pönitz  <poenitz@gmx.net>
4624
4625         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4626           remove unused/broken operator>,<,>=.
4627
4628         *       text.C: remove only use of broken operator<= in an Assert().
4629
4630 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4631
4632         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4633         moved errorlist_.clear to showErrorList
4634
4635 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4636
4637         * converter.C (scanLog, runLaTeX):
4638         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4639         move the bv->showErrorList call to the callers
4640         * lyxfunc.C: i.e. here...
4641         * text2.C: and here
4642         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4643         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4644         namespace, the second to...
4645         * buffer_funcs (BufferFormat, parseErrors): added
4646         * errorlist.C (ErrorList(TeXErrors const &)): removed
4647
4648 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4649
4650         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4651
4652 2003-06-24  "Garst R. Reese" <reese@isn.net>
4653
4654         * debug.C: fix typo
4655
4656 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4657
4658         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4659
4660         * version.C.in: change docversion to 1.4
4661
4662 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * buffer.C: fix a bug just introduced
4665
4666 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * buffer.[Ch]: added the parseError signal and use it, removed
4669         sgmlError
4670         * BufferView.[Ch] (addError): moved to ...
4671         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4672         to the Buffer::parseError signal to catch (guess what) parse errors
4673         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4674
4675 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4678         ability to create a buffer and to return an existing one from
4679         the list. Moved these functions to...
4680         * buffer_funcs.[Ch]: added
4681         * BufferView.[Ch] (loadLyXFile): added
4682         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4683         job removed from bufferlist::loadLyXFile.
4684         * buffer.C (setReadOnly): make it work without view
4685         (i.e added an if (users))
4686
4687 2003-06-19  Angus Leeming  <leeming@lyx.org>
4688
4689         * lfuns.h:
4690         * LyXAction.C (init):
4691         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4692         with LFUN_DIALOG_SHOW <name> <data>.
4693
4694 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4695
4696         * CutAndPaste.C (availableSelections): small compilation fix for
4697         ancient (gcc 2.9x) compilers
4698
4699 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * text3.C (cursorNext): add tmp var
4702
4703         * text2.C (updateCounters): for function calling out of for clause
4704         (replaceSelectionWithString): ditto
4705         (insertStringAsParagraphs): ditto
4706         (getColumnNearX): add tmp var
4707         (setCursorFromCoordinates): add tmp var
4708         (cursorDownParagraph): add tmp var
4709         (deleteEmptyParagraphMechanism): add tmp var
4710
4711         * text.C (insertChar): add tmp var
4712
4713         * rowpainter.C (paintDepthBar): add tmp var
4714
4715         * CutAndPaste.C (availableSelections): potentially check all
4716         paragraphs in a cut to fill the shown strings.
4717
4718 2003-06-18  André Pönitz  <poenitz@gmx.net>
4719
4720         * kbmap.[Ch]: use vector<> instead of list<>
4721
4722 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4723
4724         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4725         pasteSelection with index
4726
4727         * text2.C (pasteSelection): modify, call pasteSelection with index
4728
4729         * paragraph.C (asString): reimplement version with no interval to
4730         call the one with interval.
4731
4732         * lyxtext.h: add index arg to pasteSelection
4733
4734         * MenuBackend.C (MenuItem): handle PasteRecent
4735         (Menu::read::Menutags): add md_pasterecent
4736         (read): handle it
4737         (expandPasteRecent): new function
4738         (expand): use it
4739
4740         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4741
4742         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4743         the limited stack
4744         (availableSelections): new function
4745
4746 2003-06-17  Angus Leeming  <leeming@lyx.org>
4747
4748         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4749
4750 2003-06-17  Angus Leeming  <leeming@lyx.org>
4751
4752         * lfuns.h:
4753         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4754
4755         * lyxfunc.C (dispatch): invoke it.
4756
4757 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4758
4759         * iterators.C (operator++, ParPosition): reintroduce some
4760         const_cast for the benefit of older compilers.
4761
4762 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4763
4764         * text3.C (dispatch): do not modify clipboard when doing
4765         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4766         LFUN_DELETE_SKIP on a selection selection
4767
4768 2003-06-16  André Pönitz  <poenitz@gmx.net>
4769
4770         * BufferView.C:
4771         * buffer.C:
4772         * buffer.h:
4773         * paragraph.C:
4774         * tabular.[Ch]: IU of clone() and getLabelList();
4775
4776 2003-06-13  André Pönitz  <poenitz@gmx.net>
4777
4778         * tabular.h: compactification
4779
4780 2003-06-12  André Pönitz  <poenitz@gmx.net>
4781
4782         * tabular.C:
4783         * tabular.h:
4784         * tabular_funcs.h: some renaming plus whitespace
4785
4786 2003-06-12  André Pönitz  <poenitz@gmx.net>
4787
4788         * BufferView.C:
4789         * BufferView_pimpl.C:
4790         * CutAndPaste.C:
4791         * buffer.C:
4792         * iterators.[Ch]:
4793         * lyxfunc.C:
4794         * text.C:
4795         * toc.C: Return a Paragraph & for ParIterator::operator*()
4796
4797 2003-06-11  John Levon  <levon@movementarian.org>
4798
4799         * lyx_main.C:
4800         * ToolbarBackend.h:
4801         * ToolbarBackend.C: add "Toolbars" section and
4802         put the flags there
4803
4804 2003-06-10  Angus Leeming  <leeming@lyx.org>
4805
4806         * lfuns.h:
4807         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4808
4809         * lyxfunc.C (dispatch): invoke it.
4810
4811 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * main.C: protect <ios> with HAVE_IOS
4814         (main): protect sync_with_stdio with HAVE_IOS
4815
4816 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4817
4818         * text2.C (cutSelection): adjust
4819         (pasteSelection): adjust
4820
4821         * messages.C: handle get of empty string
4822
4823         * main.C (main): use sync_with_stdio(false)
4824
4825         * lyxfunc.C (dispatch): adjust
4826
4827         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4828         (WriteAs): remove unneeded BufferView arg.
4829
4830         * bufferparams.h: use correct types on papersize, papersize2 and
4831         paperpackage.
4832
4833         * bufferparams.C (readToken): adjust for type
4834         (writeLaTeX): add missing cases to switch.
4835
4836         * bufferlist.C (quitWriteBuffer): adjust
4837         (close): adjust
4838
4839         * buffer.C (asciiParagraph): remove some commented code.
4840
4841         * CutAndPaste.C: remove current_view extern variable.
4842         (cutSelection): add BufferParams arg.
4843         (eraseSelection): add BufferParams arg.
4844         (pasteSelection): add Buffer const & arg
4845
4846 2003-06-07  John Levon  <levon@movementarian.org>
4847
4848         * buffer.C:
4849         * paragraph_funcs.C:
4850         * paragraph_pimpl.C:
4851         * text.C:
4852         * text2.C:
4853         * paragraph.h:
4854         * paragraph.C: allow InsetERT to freely space lines,
4855         and some consolidation of code
4856
4857 2003-06-06  José Matos  <jamatos@fep.up.pt>
4858
4859         * buffer.C (makeDocBookFile): fix bug #821
4860
4861 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4864
4865 2003-06-04  Angus Leeming  <leeming@lyx.org>
4866
4867         * buffer.C: bump format to 224.
4868
4869 2003-06-05  André Pönitz  <poenitz@gmx.net>
4870
4871         * text2.C (redoParagraphs): remove two const_cast<>
4872
4873 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4874
4875         * ParagraphList.h: remove last remnants of NO_STD_LIST
4876
4877 2003-06-03  Angus Leeming  <leeming@lyx.org>
4878
4879         * factory.C (createInset): small change to the way InsetExternal's params
4880         are set.
4881
4882 2003-06-04  André Pönitz  <poenitz@gmx.net>
4883
4884         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4885
4886         * paragraph_pimpl.h:
4887         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4888
4889         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4890
4891         * undo_funcs.C: make some simple cases of undo work again
4892
4893 2003-06-03  John Levon  <levon@movementarian.org>
4894
4895         * ispell.C: HPUX doesn't have sys/select.h
4896         (from Albert Chin)
4897
4898 2003-06-03  John Levon  <levon@movementarian.org>
4899
4900         * CutAndPaste.C: update tabular and include inset
4901         buffer references
4902
4903         * buffer.h:
4904         * paragraph.h:
4905         * paragraph.C: remove owningBuffer(), don't pass Buffer
4906         to clone()
4907
4908         * factory.C: insetGraphicsParams changed
4909
4910 2003-06-02  John Levon  <levon@movementarian.org>
4911
4912         * LyXAction.C:
4913         * factory.C:
4914         * lfuns.h:
4915         * lyxfunc.C:
4916         * text3.C: remove insetparent
4917
4918 2003-06-02  John Levon  <levon@movementarian.org>
4919
4920         * buffer.h:
4921         * buffer.C: fix inset_iterator.end(), move out of line
4922         (bug 1149)
4923
4924 2003-06-01  John Levon  <levon@movementarian.org>
4925
4926         * text3.C: use a proper cut/paste when doing inset
4927         insert (from Jürgen Spitzmüller)
4928
4929 2003-06-01  John Levon  <levon@movementarian.org>
4930
4931         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4932
4933 2003-05-30  André Pönitz  <poenitz@gmx.net>
4934
4935         * rowpainter.C: unify second drawing phase
4936
4937 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * trans_mgr.C: remove one case of current_view
4940
4941         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4942
4943         * paragraph_funcs.h: remove paragraph.h include
4944
4945         * paragraph.h: delete NO_STD_LIST stuff
4946
4947         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4948
4949         * buffer.h: remove paragraph.h include
4950
4951         * ParagraphList.C: delete file
4952
4953         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4954
4955         * toc.C (getTocList): adjust
4956
4957         * paragraph_pimpl.C (validate): adjust
4958
4959         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4960
4961         * paragraph.C (Paragraph): adjust
4962         (getPositionOfInset): use const_iterator, adjust
4963         (bibitem): use const_iterator, adjust
4964         (setInsetOwner): adjust
4965
4966         * iterators.C (operator++): adjust
4967
4968         * InsetList.[Ch]: Replace selfmade iterator with standard
4969         vector::iterator also introduce const_iterator. Remove getPos,
4970         getInset and setInset from InsetTable. Adjust accordingly.
4971
4972         * BufferView.C (lockInset): adjust
4973         (ChangeInsets): adjust
4974
4975         * tabular.[Ch]: delete commented same_id functions
4976
4977 2003-05-28  John Levon  <levon@movementarian.org>
4978
4979         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4980
4981 2003-05-28  André Pönitz  <poenitz@gmx.net>
4982
4983         * metricsinfo.[Ch]: remove 'fullredraw' member
4984
4985 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4986
4987         * lyxtextclass.C (operator): remove caching.
4988
4989 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * text3.C: adjust
4992
4993         * text2.C (cursorBottom): adjust
4994         (setCounter): use ParagraphList::find, adjust
4995
4996         * text.C (workWidth): use ParagraphList::find, adjust
4997
4998         * lyxcursor.C (LyXCursor): adjust
4999
5000         * buffer.C (inset_iterator): adjust
5001
5002         * ParagraphList.h: make iterator(value_type) private, make
5003         ParagraphList a friend of iterator.
5004
5005         * ParagraphList.C (find): new function
5006
5007         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5008
5009 2003-05-27  André Pönitz  <poenitz@gmx.net>
5010
5011         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5012
5013 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5014
5015         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5016
5017 2003-05-26  John Levon  <levon@movementarian.org>
5018
5019         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5020
5021 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * remove same_id from function signatures, adjust.
5024
5025 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5028
5029         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5030
5031         * paragraph.C (Paragraph): get rid of same_ids parameter
5032
5033         * ParagraphList.C (insert): adjust
5034         (push_back): adjust
5035
5036 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * paragraph_funcs.C (breakParagraph): adjust
5039         (breakParagraphConservative): adjust
5040
5041         * buffer.C (readParagraph): adjust
5042
5043         * ParagraphList.C (insert): take a reference instead of a pointer
5044         (insert): adjust
5045
5046         * paragraph.[Ch] (id): new function
5047
5048         * bufferlist.C (newFile): adjust
5049
5050         * ParagraphList.C (ParagraphList): adjust
5051         (assign): adjust
5052         (push_back): take a reference instead of a pointer.
5053
5054         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5055
5056         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5057         instead.
5058
5059         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5060         set else use old code.
5061
5062         * ParagraphList.C: remove all NO_NEXT code and only compile this
5063         code of NO_STD_LIST is set.
5064
5065 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * BufferView_pimpl.C:
5068         * TextCache.C:
5069         * TextCache.h:
5070         * bufferlist.C:
5071         * errorlist.h:
5072         * format.C:
5073         * format.h:
5074         * graph.C:
5075         * lyxfunc.C:
5076         * lyxrc.C:
5077         * graphics/GraphicsConverter.C:
5078         * graphics/PreviewLoader.C: header adjustment
5079
5080 2003-05-23  Angus Leeming  <leeming@lyx.org>
5081
5082         * LaTeXFeatures.[Ch] (useBabel): new method.
5083         * bufferparams.C (writeLaTeX): use it.
5084
5085 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * ParagraphList.h (set): remove unused function.
5088
5089 2003-05-23  André Pönitz  <poenitz@gmx.net>
5090
5091         * BufferView.C:
5092         * BufferView_pimpl.C:
5093         * buffer.C:
5094         * buffer.h:
5095         * lyxfunc.C:
5096         * undo_funcs.C: setUndo reworked
5097
5098         * iterators.[Ch]: add access to topmost ParagraphList
5099
5100         * lyxtext.[Ch] (workWidth): add a const
5101
5102 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5103
5104         * texrow.[Ch] (increasePos): remove function
5105         * exporter.C (export): removed unused var and outdated comment
5106
5107 2003-05-23  Angus Leeming  <leeming@lyx.org>
5108
5109         * latexrunparams.h: rename fragile as moving_arg.
5110         * paragraph.C (simpleTeXOnePar): ditto.
5111         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5112
5113 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5116         (createUndo): ditto
5117         (textUndoOrRedo): comment out a currently unused var.
5118
5119         * paragraph.h (NO_NEXT): enable NO_NEXT
5120
5121         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5122
5123         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5124
5125         * exporter.C (Export): adjust for removeAutoInsets removal.
5126
5127         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5128
5129         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5130
5131         * BufferView.[Ch] (removeAutoInsets): delete function
5132
5133 2003-05-22  Angus Leeming  <leeming@lyx.org>
5134
5135         * latexrunparams.h: add a free_spacing variable.
5136
5137         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5138         to pass moving_arg, as the data is stored in runparams.fragile.
5139
5140         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5141         to Inset::latexOptional or to simpleTeXOnePar.
5142
5143         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5144         free_spacing arg to Inset::latexOptional.
5145
5146         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5147         free_spacing arg.
5148
5149 2003-05-22  Angus Leeming  <leeming@lyx.org>
5150
5151         * latexrunparams.h: add fragile and use_babel variables.
5152
5153         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5154         * buffer.C (makeLaTeXFile): store this returned value in
5155         runparams.use_babel, thus passing it to the inset::latex methods.
5156
5157         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5158         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5159
5160         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5161         longer has a fragile arg, as it is stored in runparams.fragile.
5162
5163         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5164         moving_arg parameter as the data is stored in runparams.fragile.
5165
5166         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5167         a fragile parameter as the data is stored in runparams.fragile.
5168
5169 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5172
5173 2003-05-22  Angus Leeming  <leeming@lyx.org>
5174
5175         * latexrunparams.h: add a 'bool nice' which defaults to false.
5176
5177         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5178         now encapsulated within runparams.
5179
5180         * bufferlist.C (updateIncludedTeXfiles):
5181         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5182
5183 2003-05-22  Angus Leeming  <leeming@lyx.org>
5184
5185         * latexrunparams.h: new file containing struct LatexRunParams.
5186         * Makefile.am: add new file.
5187
5188         * LaTeX.[Ch] (c-tor, run):
5189         * buffer.[Ch] (makeLaTeXFile):
5190         * bufferlist.[Ch] (updateIncludedTeXfiles):
5191         * converter.C (convert, scanLog):
5192         * converter.[Ch] (runLaTeX):
5193         * exporter.C (Export):
5194         * paragraph.[Ch] (simpleTeXOnePar):
5195         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5196         * paragraph_funcs.[Ch] (latexParagraphs):
5197         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5198         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5199         pass around a LatexRunParams parameter.
5200
5201 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * paragraph.[Ch]: remove unused constructor
5204
5205         * ParagraphList.C (erase): new function, taking two iterators
5206
5207 2003-05-22  André Pönitz  <poenitz@gmx.net>
5208
5209         * undo_funcs.C: remove duplicated code
5210
5211         * iterator.[Ch]: operator=
5212
5213 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * tabular.C (SetMultiColumn): ws changes
5216
5217         * rowpainter.C (paintFirst): get rid of a ->previous
5218
5219         * lyx_cb.C (getPossibleLabel): parlist simplification
5220
5221         * BufferView.C (ChangeInsets): simplify slightly.
5222
5223 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5224
5225         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5226         * lfuns.h: new LFUN_SPACE
5227         * lyxfunc.C: protected space has a new lfun
5228         * paragraph_funcs.C: read new space insets
5229         * text3.C:
5230         * factory.C: handle new space insets
5231
5232 2003-05-22  André Pönitz  <poenitz@gmx.net>
5233
5234         * BufferView.C:
5235         * BufferView_pimpl.C:
5236         * buffer.[Ch]:
5237         * lyxfunc.C:
5238         * undo_funcs.C: return a ParIterator from getParFromID.
5239
5240         * iterators.[Ch]: add two const's
5241
5242 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * toc.C (getTocList): adjust
5245
5246         * iterators.[Ch]: rework for parlist
5247
5248         * buffer.C (par_iterator_begin): adjust
5249         (par_iterator_end): adjust
5250
5251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5252
5253         * BufferView.C (removeAutoInsets): adjust
5254         (ChangeInsets): adjust
5255
5256 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5257
5258         * text.C (top_y): fix bug 1110
5259
5260 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * errorlist.[Ch]: added
5263         * buffer.C:
5264         * BufferView.[Ch]:
5265         * BufferView_pimpl.C:
5266         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5267         instead
5268
5269 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * Makefile.am: ensure that lyx is relinked upon changes to the
5272         various "convenience" libs.
5273
5274 2003-05-20  Angus Leeming  <leeming@lyx.org>
5275
5276         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5277         files are compiled in alphabetical order again.
5278
5279         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5280
5281 2003-05-19  Angus Leeming  <leeming@lyx.org>
5282
5283         * gettext.[Ch]: remove "char const * _(char const *)".
5284
5285 2003-05-19  André Pönitz  <poenitz@gmx.net>
5286
5287         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5288
5289         * Makefile.am:
5290         * BufferView.C:
5291         * DepTable.h:
5292         * LaTeXFeatures.C:
5293         * buffer.C:
5294         * lyxfont.C:
5295         * lyxlex.h:
5296         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5297
5298 2003-05-19  André Pönitz  <poenitz@gmx.net>
5299
5300         * buffer.C:
5301         * lyxlayout.[Ch]:
5302         * lyxtextclass.[Ch]:
5303         * paragraph.C:
5304         * paragraph_funcs.[Ch]:
5305         * text2.C:
5306         * text3.C: more insetenv work
5307
5308 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5309
5310         * ParagraphParameters.C (params2string): small bug fixed
5311
5312 2003-05-16  André Pönitz  <poenitz@gmx.net>
5313
5314         * debug.C:
5315         * bufferview_funcs.C: patch from Kornel Benko to prevent
5316           crash when _(...) is called twice in a statement
5317
5318 2003-05-16  André Pönitz  <poenitz@gmx.net>
5319
5320         * BufferView.C:
5321         * lyxfunc.C:
5322         * text.C:
5323         * text2.C:
5324         * text3.C:
5325         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5326
5327 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * lyx_main.C (init): remove spurious static_cast
5330
5331 2003-05-14  André Pönitz  <poenitz@gmx.net>
5332
5333         * BufferView.C: fix format string
5334
5335 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * BufferView.[Ch] (insertErrors): removed
5338         * BufferView.[Ch] (showErrorList): added
5339         * buffer.C (runChkTeX):
5340         * converter.C (scanLog): call showErrorList instead of inserterrors
5341
5342 2003-05-13  André Pönitz  <poenitz@gmx.net>
5343
5344         * BufferView_pimpl.C:
5345         * buffer.C:
5346         * bufferview_func.C:
5347         * MenuBackend.C:
5348         * lyxfunc.C:
5349         * lyxrc.C:
5350         * tex-accent.C:
5351         * text3.C:
5352         * toc.C:
5353         * tabular_funcs.h: tostr() from its own header
5354
5355         * ParagraphParameters.C:
5356         * ToolbarBackend.C:
5357         * bufferparams.C:
5358         * format.C:
5359         * lyxlex_pimpl.C:
5360         * text3.C: STRCONV()
5361
5362 2003-05-12  André Pönitz  <poenitz@gmx.net>
5363
5364         * BufferView.C:
5365         * BufferView_pimpl.C:
5366         * CutAndPaste.C:
5367         * LaTeX.C:
5368         * LaTeXFeatures.C:
5369         * ParagraphParameters.C:
5370         * buffer.C:
5371         * bufferlist.C:
5372         * bufferparams.C:
5373         * bufferview_funcs.C:
5374         * converter.C:
5375         * counters.C:
5376         * debug.C:
5377         * exporter.C:
5378         * format.C:
5379         * importer.C:
5380         * lyx_cb.C:
5381         * lyx_main.C:
5382         * lyxfont.C:
5383         * lyxfunc.C:
5384         * lyxvc.C:
5385         * paragraph.C:
5386         * paragraph_funcs.C:
5387         * tabular.C:
5388         * tabular_funcs.C:
5389         * text2.C:
5390         * text3.C:  boost::format -> bformat  all over the place
5391
5392
5393 2003-05-09  André Pönitz  <poenitz@gmx.net>
5394
5395         * LColor.[Ch]: Pimpl the #include <map> away
5396
5397 2003-05-09  John Levon  <levon@movementarian.org>
5398
5399         * bufferlist.C: never remove emergency saves
5400
5401 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * Makefile.am: better lib building
5404
5405 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5408         instead.
5409         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5410         (simpleTeXSpecialChars): adjust
5411         (simpleTeXSpecialChars): adjust
5412         * paragraph.C (simpleTeXOnePar): adjust
5413         * buffer.C (makeLaTeXFile): adjust
5414
5415         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5416
5417         * text2.C (changeDepth): parlist cleanup
5418         (getColumnNearX): ditto
5419
5420         * rowpainter.C (getLabelFont): parlist cleanup
5421
5422         * bufferlist.C (newFile): parlist cleanup
5423
5424         * CutAndPaste.C (eraseSelection): parlist cleanup
5425
5426         * BufferView_pimpl.C (trackChanges): parlist cleanup
5427         (dispatch): ditto
5428
5429         * BufferView.C (lockInset): parlist cleanup.
5430         (ChangeInsets): ditto
5431
5432 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * CutAndPaste.h: Update file header.
5435
5436         * CutAndPaste.C: Update file header.
5437         Store the parts cut out of the Document in a limited_stack.
5438         (copySelection): adjust
5439         (pasteSelection): new function, takes the index in the limited stack.
5440         (nrOfParagraphs): adjust
5441         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5442         simplify error inset insertion.
5443         (checkPastePossible): adjust
5444
5445 2003-05-06  John Levon  <levon@movementarian.org>
5446
5447         * text2.C: don't cast wrap inset to float
5448
5449 2003-05-05  André Pönitz  <poenitz@gmx.net>
5450
5451         * iterator.C:
5452         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5453
5454         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5455           few naked Paragraph *.
5456
5457 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5458
5459         * bufferparams.C: Output warning if a document with missing
5460         TeX document class is loaded
5461         * exporter.C: Disable TeX exports if the document class is missing
5462         * lyxtextclass.C:
5463         * lyxtextclass.h:
5464         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5465         isTeXClassAvailable()
5466
5467 2003-05-03  John Levon  <levon@movementarian.org>
5468
5469         * BufferView.h:
5470         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5471         explicit cursor show/hide
5472
5473         * BufferView_pimpl.h:
5474         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5475         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5476
5477         * lyxfunc.C: hide cursor before dispatching.
5478
5479         * lyx_cb.C:
5480         * lyxfind.C:
5481         * text.C:
5482         * text3.C: remove explicit cursor hides
5483
5484 2003-05-02  André Pönitz  <poenitz@gmx.net>
5485
5486         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5487
5488         * undo_funcs.C:
5489         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5490           linked lists
5491
5492         * text2.C: tiny whitespace
5493
5494 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * undo_funcs.C: almost only ws changes.
5497
5498         * ParagraphList.C (splice): just return if pl is empty.
5499
5500 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * ParagraphList.C (splice): new function.
5503
5504         * CutAndPaste.C (pasteSelection): use it
5505
5506 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * CutAndPaste.C (pasteSelection): remove the last next and
5509         previous from this file.
5510
5511 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * CutAndPaste.C (pasteSelection): more clean up, user proper
5514         ParagraphList functions for pasteing.
5515
5516         * ParagraphList.C (insert): new function, three arg insert
5517
5518 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * ParagraphList.C (insert): new function, three arg insert
5521
5522         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5523         not on paragraphs.
5524
5525 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5528
5529 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5532
5533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5536         (copySelection): clean up a bit.
5537         (pasteSelection): use make_pair
5538
5539         * ParagraphList.C (ParagraphList): implement copy constructor
5540         (operator=): implement, base on copy constructor.
5541         (assign): new func
5542
5543         * paragraph.C (erase): return a bool
5544
5545         * paragraph_pimpl.C (erasePos): remove function, move contents...
5546         (erase): ... here. Return a bool.
5547         (erase): call erase instead of erasePos.
5548
5549 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * ParagraphList.h: define PitPosPair
5552         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5553         ParagraphList, fix a bug on pasting multiple pars
5554         * text2.C: change interface to C&P
5555
5556 2003-04-30  André Pönitz  <poenitz@gmx.net>
5557
5558         * undo_func.C: revert part of yesterday's patch 2
5559
5560 2003-04-30  John Levon  <levon@movementarian.org>
5561
5562         * LColor.C: s/tabular/table/
5563
5564 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * text3.C (dispatch): do not convert iterator -> pointer
5567         * undo_funcs.C (setCursorParUndo): ditto
5568         * text_funcs.C (transposeChars): ditto
5569
5570         * text2.C (setLayout): ws changes only
5571
5572         * text.C (breakParagraph): do not convert iterator -> pointer
5573         (insertChar): ditto
5574         (acceptChange): ditto
5575         (rejectChange): ditto
5576         (changeCase): ditto
5577         (Delete): ditto
5578         (backspace): ditto
5579
5580         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5581         pointer
5582
5583 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5584
5585         * text3.C (gotoInset): YABG (yet another bad getChar)
5586
5587 2003-04-29  André Pönitz  <poenitz@gmx.net>
5588
5589         * paragraph.h: make operator= private unimplemented as long as
5590           it is unusable
5591
5592         * ParagraphList.C: whitespace
5593
5594         * paragraph.[Ch]:
5595         * paragraph_pimpl.[Ch]:
5596         * paragraph_funcs.C:
5597         * CutAndPaste.C:
5598         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5599
5600         * text2.C:
5601           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5602
5603 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5604
5605         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5606         * paragraph.[Ch] (erase):
5607         * paragraph_pimpl.[Ch] (erase): change return type and value
5608         * text2.C (cutSelection): some rework
5609
5610 2003-04-28  John Levon  <levon@movementarian.org>
5611
5612         * bufferlist.C: changes for unsaved changes dialog
5613
5614 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * bufferlist.C (newFile): set language (messages_) for new
5617         documents also.
5618
5619         * buffer.C (readFile): ws changes only.
5620
5621 2003-04-28  André Pönitz  <poenitz@gmx.net>
5622
5623         * undo_funcs.C:
5624         * lyxfunc.C:
5625         * buffer.[Ch]:
5626         * BufferView_pimpl.C:
5627         * BufferView.C: getParFromID related ParagraphList::iterator changes
5628
5629 2003-04-28  André Pönitz  <poenitz@gmx.net>
5630
5631         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5632           Changes
5633
5634 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * messages.C: remove one more localedir class variable.
5637
5638 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * messages.C (getLocaleDir): singleton generation function
5641         (Pimpl): use it.
5642         (Messages): add a default constructor.
5643
5644         * main.C (main): do not setup localedir here, do not call
5645         gettext_init.
5646
5647         * gettext.C (_): use it.
5648         (gettext_init): delete funciton
5649
5650 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * gettext.C (getLyXMessages): new singleton generating function.
5653
5654         * buffer.C (updateDocLang): adjust
5655
5656         * Makefile.am (messages.o): add target
5657         (main.o): remove target
5658
5659 2003-04-27  John Levon  <levon@movementarian.org>
5660
5661         * bufferlist.C:
5662         * lyx_cb.C:
5663         * lyxfunc.C:
5664         * lyxvc.C: specify cancel button in Alert::prompt
5665
5666 2003-04-26  John Levon  <levon@movementarian.org>
5667
5668         * text3.C:
5669         * lyxfunc.C:
5670         * lfuns.h:
5671         * LyXAction.C: add LFUN_INSET_SETTINGS
5672
5673         * lyxfunc.C: don't enable tabular-feature when there's
5674         just any locking inset
5675
5676 2003-04-26  John Levon  <levon@movementarian.org>
5677
5678         * bufferlist.C: re-add Cancel to buffer close question
5679
5680         * lyxfunc.C: fix import UI a bit
5681
5682 2003-04-25  John Levon  <levon@movementarian.org>
5683
5684         * gettext.C: remove the broken asserts for now
5685
5686 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * messages.C: make case where setlocale cannot comply work better.
5689
5690         * buffer.C (updateDocLang): new function
5691         (changeLanguage): use it
5692         (readFile): use it
5693
5694         * text2.C (setCounter): use B_ a bit.
5695
5696         * lyxlayout.C (Read): be sure to trim the label strings.
5697
5698         * messages.C (Messages): fix typo in comment
5699
5700         * buffer.C (readFile): set message_ after file is loaded.
5701         (makeDocBookFile): remove double return
5702         (changeLanguage): reset message_ upon language change.
5703         (B_): new func, use this to get translated buffer strings.
5704
5705         * main.C: add myself and Jean Marc as authors.
5706
5707 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * messages.[hC]: pimplify Messages, and three different pimpls to be
5710         used in different circumstances.
5711
5712         * gettext.[Ch]: change for use with new message code.
5713
5714 2003-04-24 André Pönitz <poenitz@gmx.net>
5715
5716         * factory.C: support for eqref
5717
5718 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * messages.[Ch]: add missing char
5721
5722         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5723
5724         * messages.[Ch]: New files
5725
5726 2003-04-18  John Levon  <levon@movementarian.org>
5727
5728         * BufferView.h:
5729         * BufferView.C:
5730         * BufferView_pimpl.C:
5731         * lfuns.h:
5732         * LyXAction.C:
5733         * lyxtext.h:
5734         * text2.C: remove layout-copy/paste (bug 778)
5735
5736 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5737
5738         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5739
5740 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5743         if they succeed. Act accordingly.
5744
5745 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * text2.C (setCharFont): adjust
5748         (setCounter): adjust
5749         (insertStringAsLines): adjust
5750
5751         * text.C (leftMargin): adjust
5752         (setHeightOfRow): adjust
5753
5754         * rowpainter.C (paintFirst): adjust
5755         (paintLast): adjust
5756
5757         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5758         (outerHook): ditto
5759         (isFirstInSequence): ditto
5760         (getEndLabel): ditto
5761         (outerFont): adjust
5762
5763         * paragraph.C (getParLanguage): comment out some hard stuff.
5764
5765         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5766         (sgmlError): ditto
5767         (simpleDocBookOnePar): ditto
5768         (makeDocBookFile): use ParagraphList::iterator
5769
5770         * CutAndPaste.C (pasteSelection): adjust
5771
5772 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * text2.C (getFont): adjust
5775         (getLayoutFont): adjust
5776         (getLabelFont): adjust
5777
5778         * paragraph_funcs.C (TeXOnePar): adjust
5779
5780         * buffer.C (simpleLinuxDocOnePar): adjust
5781         (simpleDocBookOnePar): adjust
5782
5783         * CutAndPaste.C (pasteSelection): adjust
5784
5785         * BufferView.C (getEncoding): adjust
5786
5787         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5788
5789 2003-04-16  John Levon  <levon@movementarian.org>
5790
5791         * lyxfind.C: use parlist stuff for search/changes
5792
5793 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5796
5797         * text2.C (deleteEmptyParagraphMechanism): adjust
5798
5799         * text2.[Ch] (ownerParagraph): delete func (both of them
5800
5801 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5804
5805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * ParagraphList.C: prepare for NO_NEXT
5808
5809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * text2.C (getFont): adjust
5812         (getLayoutFont): adjust
5813         (getLabelFont): adjust
5814
5815         * paragraph.C (getFont): adjust
5816         (getLabelFont): adjust
5817         (getLayoutFont): adjust
5818
5819         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5820
5821 2003-04-15  John Levon  <levon@movementarian.org>
5822
5823         From Angus Leeming
5824
5825         * lyx_main.C: handle Include in .ui files
5826
5827 2003-04-15  John Levon  <levon@movementarian.org>
5828
5829         * MenuBackend.C: make the doc files length shorter
5830
5831         * ToolbarBackend.h:
5832         * ToolbarBackend.C: handle toolbar placement flags,
5833         Minibuffer
5834
5835 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5838         adjust
5839
5840         * paragraph_funcs.C (TeXOnePar): adjust
5841
5842         * paragraph.C (getLabelFont): add outerfont arg, adjust
5843         (getLayoutFont): ditto
5844         (simpleTeXOnePar): adjust
5845
5846         * paragraph_pimpl.C (realizeFont): delete func
5847
5848 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5851         row argument, constify cur argument.
5852
5853 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * text2.C (getFont): adjust
5856         (getLayoutFont): adjust
5857         (getLabelFont): adjust
5858
5859         * paragraph_funcs.C (TeXOnePar): adjust
5860         (outerFont): new func...
5861         (realizeFont): ...moved out from here, changed this to facilitate
5862         transition
5863
5864         * paragraph.C (getFont): take outerfont as arg, adjust
5865         (simpleTeXOnePar): add outerfont arg, adjust
5866
5867         * buffer.C (simpleLinuxDocOnePar): adjust
5868         (simpleDocBookOnePar): adjust
5869
5870         * CutAndPaste.C (pasteSelection): adjust
5871
5872         * BufferView.C (getEncoding): adjust
5873
5874 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * text2.C (setCharFont): adjust
5877         (setCounter): adjust
5878
5879         * text.C (leftMargin): adjust
5880         (setHeightOfRow): adjust
5881
5882         * rowpainter.C (paintFirst): adjust
5883         (paintLast): adjust
5884
5885         * paragraph_pimpl.C (realizeFont): adjust
5886
5887         * paragraph.C (isFirstInSequence): move from here...
5888         * paragraph_funcs.C (isFirstInSequence): ...to here
5889
5890         * paragraph.C (outerHook): move from here...
5891         * paragraph_funcs.C (outerHook): ...to here
5892
5893         * paragraph.C (depthHook): move from here...
5894         * paragraph_funcs.C (depthHook): ...to here
5895
5896         * paragraph.C (getEndLabel): move from here...
5897         * paragraph_funcs.C (getEndLabel): ...to here
5898
5899         * text2.C (realizeFont): move from here...
5900         * paragraph_funcs.C (realizeFont): ...to here
5901
5902 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5905
5906 2003-04-14  Angus Leeming  <leeming@lyx.org>
5907
5908         * LColor.[Ch]: scrap LColor mathcursor.
5909
5910 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * lyxlex.[Ch] (text): delete function
5913         * trans.C (Load): adjust
5914         * paragraph_funcs.C (readParToken): adjust
5915
5916 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5919         vector<char> instead of a char[].
5920
5921         * lyxlex_pimpl.C (getString): adjust
5922         (next): adjust
5923         (lex): use getString
5924         (eatLine): adjust
5925         (nextToken): adjust
5926
5927         * lyxlex.C (text): use pimpl_->getString()
5928         (getBool): ditto
5929         (findToken): ditto
5930
5931 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5934         (makeFontEntriesLayoutSpecific): temp var for par.size()
5935         (setLayout): temp var for ownerParagraphs().end()
5936         (fullRebreak): temp var for rows().end()
5937         (selectionAsString): temp var for boost::next(startpit), realize
5938         that the while really is a regular for loop.
5939         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5940         setCursor in one place.
5941         (setParagraph): temp vr for ownerParagraphs().end()
5942         (updateCounters): make the while loop a for loop
5943         (cutSelection): temp var for ownerParagraphs().end()
5944         (updateInset): make the do {} while() a regular for loop
5945         (getCursorX): use temp vars
5946         (setCurrentFont): use temp vars
5947         (getColumnNearX): use temp vars
5948
5949 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * text.C (transformChar): use temp var for getChar
5952         (computeBidiTables): use temp var for row->par()
5953         (fill): move temp vars for row->par() and pit->layout() earlier in
5954         the function.
5955         (labelFill): use temp var for row->par()
5956         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5957         asc and desc, realize that pit never changes and that firstpit is
5958         just a duplicate and not needed. Exchange rit->par() with pit in a
5959         lot of places.
5960         (breakAgain): use a temp var for boost::next(rit)
5961         (breakAgainOneRow): ditto
5962         (breakParagraph): use a temp var for rows().begin()
5963         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5964         (cursorRightOneWord): use temp var for cursor.par() and
5965         cursor.pos(), remove usage of tmpcursor.
5966         (cursorLeftOneWord): use temp var for cursor.par() and
5967         cursor.pos() only set cur at end of function.
5968
5969 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * text.C, text2.C: exchange all usage of Paragraph::next with
5972         boost::next(ParagraphList::iterator)
5973
5974         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5975
5976         * text2.C (cursorTop): simplify implementation
5977         (cursorBottom): ditto
5978         (setParagraph): use ParagraphList::iterator
5979         (setCurrentFont): adjust
5980         (getColumnNearX): adjust
5981         (cursorRight): adjust
5982         (cursorLeft): remove usage of Paragraph::previous
5983         (cursorUpParagraph): ditto
5984         (deleteEmptyParagraphMechanism): slight cleanup
5985
5986         * text.C (isBoundary): take a Paragraph const & instead of a
5987         pointer as arg.
5988         (addressBreakPoint): ditto
5989         (leftMargin): remove usage of Paragraph::previous.
5990         (setHeightOfRow): ditto
5991         (cursorLeftOneWord): ditto
5992         (selectNextWordToSpellcheck): ditto
5993         (Delete): ditto
5994         (backspace): ditto
5995         (breakParagraph): remove one usage of Paragraph::next
5996         (redoParagraph): ditto
5997         (acceptChange): ditto
5998         (insertChar): adjust
5999         (rowBreakPoint): adjust
6000
6001         * bufferview_funcs.C (toggleAndShow): adjust
6002
6003 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6006         methods to access it.
6007         * lyxtext.h:
6008         * text.C: Added updateRowPositions to compute all row positions.
6009         Make top_y and getRowNearY() to use the cached y position
6010
6011 2003-04-11  John Levon  <levon@movementarian.org>
6012
6013         * text.C (rowBreakPoint): reintroduce the labelEnd
6014         checks, code copied from the row fill stuff. Deep voodoo.
6015
6016         * text.C (fill): add a comment and debugging for the
6017         next poor soul.
6018
6019 2003-04-11  John Levon  <levon@movementarian.org>
6020
6021         * text.C: make sure fullrow insets get wrapped to the next line,
6022         even when they're in a manual label
6023
6024 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * text2.C (insertParagraph): make it take ParagraphList::iterator
6027         as arg.
6028         (setLayout): make it return ParagraphList::iterator
6029         (redoParagraphs): ditto
6030         (setCounter): ditto
6031         (checkParagraph): ditto
6032
6033         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6034
6035         * text2.C: adjust several funcs.
6036         (realizeFont): take a ParagraphList::iterator as arg.
6037         (getLayoutFont): ditto
6038         (getLabelFont): ditto
6039         (setCharFont): ditto
6040
6041         * text.C: adjust several funcs.
6042
6043 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * text.C (selectNextWordToSpellcheck): don't accidentally
6046         skip insets
6047
6048 2003-04-10  John Levon  <levon@movementarian.org>
6049
6050         * ToolbarBackend.C (getIcon): special handling for
6051         LFUN_MATH_DELIM
6052
6053 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * text2.C (cursorRight): a getChar assert fixed
6056
6057 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * text2.C (getFont): change to take a ParagraphList::iterator
6060         instead of Paragraph*
6061         Adjust several functions.
6062
6063         * text.C (transformChar): change to take a ParagraphList::iterator
6064         instead of Paragraph*
6065         (singleWidth): ditto
6066         Adjust several functions.
6067
6068         * rowpainter.C: adjust several functions
6069         * rowpainter.h:store a ParagraphList::iterator and not a
6070         Paragraph&.
6071
6072
6073 2003-04-09  John Levon  <levon@movementarian.org>
6074
6075         * lyxfunc.C:
6076         * lfuns.h:
6077         * LyXAction.h:
6078         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6079         and the "help" bits as well
6080
6081 2003-04-09  John Levon  <levon@movementarian.org>
6082
6083         * ToolbarBackend.h:
6084         * ToolbarBackend.C: allow multiple toolbars
6085
6086 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * undo_funcs.C (setCursorParUndo): adjust
6089
6090         * text_funcs.C (transposeChars): adjust
6091
6092         * text3.C (gotoNextInset): adjust
6093         (dispatch): adjust
6094
6095         * text2.C (setLayout): adjust
6096         (changeDepth): adjust
6097         (setFont): adjust
6098         (redoParagraphs): adjust
6099         (selectionAsString): adjust
6100         (setParagraph): adjust
6101         (insertInset): adjust
6102         (cutSelection): adjust
6103         (copySelection): adjust
6104         (pasteSelection): adjust
6105         (insertStringAsLines): adjust
6106         (updateInset): adjust
6107         (setCursor): change to take a ParagraphList::iterator parameter
6108         (setCursorIntern): change to take a ParagraphList::iterator parameter
6109         (setCurrentFont): adjust
6110         (cursorLeft): adjust
6111         (cursorRight): adjust
6112         (deleteEmptyParagraphMechanism): adjust
6113
6114         * text.C (breakParagraph): adjust
6115         (insertChar): adjust
6116         (acceptChange): adjust
6117         (rejectChange): adjust
6118         (selectNextWordToSpellcheck): adjust
6119         (changeCase): adjust
6120         (Delete): adjust
6121         (backspace): adjust
6122
6123         * lyxfind.C (SearchForward): adjust
6124         (SearchBackward): adjust
6125         (nextChange): adjust
6126
6127         * lyxcursor.C (par): adjust
6128
6129         * lyxcursor.h: store a ParagraphList::iterator instead of a
6130         Paragraph*
6131
6132         * lyx_cb.C (getPossibleLabel): adjust
6133
6134         * bufferview_funcs.C (toggleAndShow): adjust
6135
6136         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6137         (dispatch): adjust
6138
6139         * BufferView.C (removeAutoInsets): adjust
6140         (lockedInsetStoreUndo): adjust
6141
6142 2003-04-09  John Levon  <levon@movementarian.org>
6143
6144         * ToolbarBackend.C: try icon without argument
6145         if with argument fails
6146
6147 2003-04-08  John Levon  <levon@movementarian.org>
6148
6149         * ToolbarBackend.h:
6150         * ToolbarBackend.C: add getIcon(), handle tooltip,
6151         and change from "Icon" to "Item".
6152
6153 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * BufferView.C (lockInset): another bad getchar crunched
6156
6157 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6158
6159         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6160         again)
6161
6162 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6163
6164         * lyxfind.C (searchForward, searchBackwards): bug 782
6165
6166 2003-04-07  John Levon  <levon@movementarian.org>
6167
6168         * paragraph.C: remove dead comment
6169
6170         * text.C: remove troublesome depth-fiddling code
6171         in leftMargin() and rightMargin() (bug 1017)
6172
6173         * text.C: fix breaking of rows in nested lists
6174         (bug 1004)
6175
6176         * text2.C (updateCounters): fix up depth values
6177         (bug 1013)
6178
6179 2003-04-07  John Levon  <levon@movementarian.org>
6180
6181         * BufferView_pimpl.C: clear message when doc finishes resizing,
6182         and after a mouse event
6183
6184         * lyxfunc.C: clear message after exiting inset
6185
6186 2003-04-07  John Levon  <levon@movementarian.org>
6187
6188         * bufferview_funcs.C: show math status not outside
6189         status in the statusbar
6190
6191 2003-04-07  John Levon  <levon@movementarian.org>
6192
6193         * lyxfunc.C: note status changed after a depth change
6194
6195 2003-04-04  Angus Leeming  <leeming@lyx.org>
6196
6197         * LaTeX.h: move AuxInfo operator==, != out of line.
6198         Remove LaTeX virtual destructor; nothing derives from it.
6199         Move operator()() out of public area and rename it startscript().
6200         Change protected for private.
6201
6202 2003-04-04  Angus Leeming  <leeming@lyx.org>
6203
6204         * lyxfunc.C:
6205         * text2.C: remove unneeded #includes.
6206
6207 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6208
6209         * text2.C (dEPM): fix the heigth of the next row
6210
6211 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * text.C: squashed an invalid getChar requester + some ws changes
6214
6215 2003-04-03  John Levon  <levon@movementarian.org>
6216
6217         * bufferview_funcs.h:
6218         * bufferview_funcs.C:
6219         * lyxfunc.C:
6220         * lyxtext.h:
6221         * text2.C: make getStatus work for the env depth lfuns
6222
6223 2003-04-03  John Levon  <levon@movementarian.org>
6224
6225         * bufferview_funcs.h:
6226         * bufferview_funcs.C:
6227         * lyxfunc.C:
6228         * lyxtext.h:
6229         * text2.C: parlistize decDepth(), by merging it with incDepth()
6230
6231 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * lyxrow.h: store a ParagraphList::iterator instead of a
6234         Paragraph* and adjust other class functions to suit.
6235
6236         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6237         above.
6238
6239 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6240
6241         * text2.C (setCursor): do not anchor to cursor row for the time being
6242
6243 2003-04-02  John Levon  <levon@movementarian.org>
6244
6245         * LyXAction.C:
6246         * lfuns.h:
6247         * lyx_main.C:
6248         * lyxtext.h:
6249         * text.C:
6250         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6251
6252 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * paragraph.h: make ParagraphList and ParagraphList::iterator
6255         friends of Paragraph.
6256
6257         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6258
6259         * ParagraphList.C: Use the private next_ and previous_ from
6260         Paragraph.
6261
6262 2003-04-01  John Levon  <levon@movementarian.org>
6263
6264         * ToolbarBackend.h:
6265         * ToolbarBackend.C:
6266         * Makefile.am: rename, remove defaults gunk
6267
6268         * MenuBackend.h:
6269         * MenuBackend.C: remove defaults gunk
6270
6271         * Languages.h:
6272         * Languages.C: remove defaults gunk
6273
6274         * lyx_main.h:
6275         * lyx_main.C: error out if files couldn't be found.
6276
6277 2003-04-02  John Levon  <levon@movementarian.org>
6278
6279         * text2.C: make incDepth() use parlist
6280
6281 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * undo_funcs.C (firstUndoParagraph): adjust
6284
6285         * text3.C (gotoInset): adjust
6286         (dispatch): adjust, and rewrite loop.
6287
6288         * text2.C (init): adjust, and rewrite loop.
6289         (redoParagraphs): adjust
6290         (updateInset): adjust, and rewrite loop.
6291         (deleteEmptyParagraphMechanism): adjust
6292
6293         * tabular.C (LyXTabular): adjust
6294         (SetMultiColumn): adjust
6295         (TeXRow): adjust
6296
6297         * lyxtext.[Ch] (ownerParagraph): delete function
6298         (ownerParagraphs): new function returns a ParagraphList.
6299
6300         * BufferView.C (removeAutoInsets): adjust
6301         (insertErrors): adjust
6302         (setCursorFromRow): adjust
6303
6304 2003-04-01  Angus Leeming  <leeming@lyx.org>
6305
6306         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6307         in the frontends.
6308
6309 2003-04-02  John Levon  <levon@movementarian.org>
6310
6311         * lyxtext.h:
6312         * text.C:
6313         * Makefile.am:
6314         * text_funcs.h:
6315         * text_funcs.C: make transposeChars a free function
6316
6317         * lyxrow_funcs.C: remove wrong comment
6318
6319 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * lyxtext.h: adjust
6322         * rowpainter.C: adjust
6323         * text.C: adjust
6324         * text2.C: adjust
6325         * text3.C: adjust
6326
6327         * lyxrow_funcs. [Ch]: new files
6328
6329         * lyxrow.[Ch]: remove next and previous pointers
6330         (next,previous): remove accessor functions
6331         (isParEnd): move to lyxrow_funcs
6332         (lastPos): move to lyxrow_funcs
6333         (nextRowIsAllInset): move to lyxrow_funcs
6334         (lastPrintablePos): move to lyxrow_funcs
6335         (numberOfSeparators): move to lyxrow_funcs
6336         (numberOfHfills): move to lyxrow_funcs
6337         (numberOfLabelHfills): move to lyxrow_funcs
6338         (hfillExpansion): move to lyxrow_funcs
6339
6340         * lyxfunc.C: adjust
6341
6342         * bufferview_funcs.C (toggleAndShow): adjust
6343
6344         * RowList.h: Remove class RowList from file leave just a
6345         std::list<Row>.
6346
6347         * RowList.C: delete file
6348
6349         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6350         and lyxrow_funcs.h
6351
6352 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * text3.C (cursorPrevious): adjust
6355         (cursorNext): adjust
6356         (dispatch): adjust
6357
6358         * text2.C (redoHeightOfParagraph): adjust
6359         (redoDrawingOfParagraph): adjust
6360         (setCursor): adjust
6361
6362         * text.C (breakParagraph): adjust
6363         (insertChar): adjust
6364         (backspace): adjust
6365
6366         * rowpainter.C (RowPainter): adjust
6367         (leftMargin): simplify and adjust
6368         (most rowpainter functions): adjust.
6369
6370         * rowpainter.h: store the row as RowList::iterator not as Row*
6371
6372         * lyxcursor.C (row): taka RowList::iterator as arg
6373         (irow): ditto
6374
6375         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6376         of Row*.
6377
6378 2003-04-01  Angus Leeming  <leeming@lyx.org>
6379
6380         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6381         stuff like bool Bool.
6382
6383 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6386         rewrite a loop
6387
6388 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6391         RowList::iterator.
6392
6393         * lyxtext.h (rows): drop one version and leve a const variant that
6394         returns a RowList::iterator.
6395
6396 2003-03-31  Angus Leeming  <leeming@lyx.org>
6397
6398         * text.C (fill): ensure that the signature is the same as that in the
6399         header file.
6400
6401 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * text2.C (redoParagraphs): adjust
6404         (updateCounters): adjust
6405         (checkParagraph): adjust
6406         (getColumnNearX): adjust and reformat a bit.
6407
6408         * text.C (top_y): adjust
6409         (workWidth): adjust
6410         (leftMargin): adjust
6411         (prepareToPrint): adjust
6412         (getRow): adjust
6413         (getRowNearY): adjust
6414
6415         * lyxtext.h: make rowlist_ mutable.
6416
6417         * RowList.h: add const_iterator
6418         * RowList.C: adjust for RowList::const_iterator.
6419
6420         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6421         adjust.
6422
6423 2003-03-31  John Levon  <levon@movementarian.org>
6424
6425         * lyxrc.h:
6426         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6427
6428         * lyx_main.C: set default fonts from using lyx_gui funcs
6429
6430         * exporter.C: pdf_mode moved from lyxrc
6431
6432         * lyx_cb.C:
6433         * lyxfunc.C: changes from above
6434
6435 2003-03-31  John Levon  <levon@movementarian.org>
6436
6437         * lyx_main.C: fix to the last fix
6438
6439 2003-03-31  John Levon  <levon@movementarian.org>
6440
6441         * bufferlist.C: "Load original" -> "Load Original"
6442
6443         * converter.C:
6444         * exporter.C:
6445         * importer.C:
6446         * lyx_main.C:
6447         * format.C: more Alert cleanups
6448
6449 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * text2.C (removeParagraph): make it take a RowList::iterator as
6452         arg, adjust.
6453         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6454         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6455
6456         * text.C (anchor_row): make it take a RowList::iterator as arg,
6457         adjust.
6458         (computeBidiTables): make it take a const reference to Row instead
6459         of Row pointer, adjust.
6460         (leftMargin): make it take a RowList::iterator as arg, adjust.
6461         (rowBreakPoint): adjust
6462         (breakAgainOneRow): make it take a RowList::iterator as arg,
6463         adjust.
6464         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6465
6466         * bufferview_funcs.C (toggleAndShow): adjust
6467
6468 2003-03-30  John Levon  <levon@movementarian.org>
6469
6470         * Makefile.am:
6471         * BoostFormat.h:
6472         * boost-inst.C: moved to support
6473
6474         * several files: changes as a result
6475
6476 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * text2.C (LyXText): adjust.
6479         (init): adjust
6480         (removeRow): make it take a RowList::iterator as arg, adjust.
6481         (fullRebreak): adjust
6482         (deleteEmptyParagraphMechanism): adjust
6483         (clearPaint): adjust
6484         (postPaint): adjust
6485
6486         * text.C (top_y): adjust
6487         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6488         (breakAgain): make it take a RowList::iterator as arg, adjust.
6489         (breakParagraph): adjust
6490         (insertChar): adjust
6491         (backspace): adjust
6492
6493         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6494         need_break_row, and refresh_row.
6495
6496         * text3.C (dispatch): adjust
6497
6498         * text2.C (checkParagraph): adjust
6499         (setCursor): adjust
6500         (setCursorFromCoordinates): adjust
6501
6502         * text.C (top_y): adjust
6503         (workWidth): adjust
6504         (getRow): make it return a RowList::iterator, adjust
6505         (getRowNearY): make it return a RowList::iterator, adjust
6506
6507         * text2.C (init): adjust
6508         (insertRow): remove function
6509         (insertParagraph): adjust
6510         (redoParagraphs): adjust
6511         (fullRebreak): adjust
6512         (updateCounters): adjust
6513
6514         * text.C (top_y): rewrite to use RowList iterators.
6515         (top_y): adjust
6516         (setHeightOfRow): rewrite to sue RowList iterators.
6517         (appendParagraph): adjust
6518         (breakAgain): adjust
6519         (breakAgainOneRow): adjust
6520         (breakParagraph): adjust
6521         (getRow): adjust
6522         (getRowNearY): adjust, and remove commented code.
6523
6524         * lyxtext.h (firstRow): delete function
6525         (lastRow): delete function
6526         (rows): new function (const and non-const versions.)
6527         (insertRow): delete function
6528
6529         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6530
6531 2003-03-29  John Levon  <levon@movementarian.org>
6532
6533         * BufferView_pimpl.C: always update scrollbar top
6534         because pasting text when we're anchored could mean we
6535         miss an update altogether
6536
6537 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * text2.C (init): use rowlist_.end() and not 0.
6540         (insertRow): change to take a RowList::iterator as arg, adjust
6541         for this.
6542         (insertParagraph): change to take a RowList::iterator as arg,
6543         adjust for this.
6544         (redoParagraphs): remove some debug msgs.
6545
6546         * text.C (appendParagraph): change to take a RowList::iterator
6547         arg, adjust for this.
6548         (breakAgain): add an assert
6549         (breakAgainOneRow): ditto
6550
6551 2003-03-29  John Levon  <levon@movementarian.org>
6552
6553         * text2.C: do not clear selection after inc/decDepth
6554         (bug 550)
6555
6556 2003-03-29  John Levon  <levon@movementarian.org>
6557
6558         * BufferView.C:
6559         * buffer.C: fix broken strerrors according to Lars
6560
6561 2003-03-29  John Levon  <levon@movementarian.org>
6562
6563         * converters.C: more Alert cleanups
6564
6565 2003-03-29  John Levon  <levon@movementarian.org>
6566
6567         * bufferview_funcs.C: remove pointless Alert
6568
6569         * buffer.C: fix confusing error message when
6570         a template is chmoded 000
6571
6572 2003-03-29  John Levon  <levon@movementarian.org>
6573
6574         * BufferView.C:
6575         * BufferView.h:
6576         * BufferView_pimpl.C: Alert fixes
6577
6578         * Makefile.am:
6579         * tabular.C:
6580         * tabular-old.C: remove unused table compat reading
6581
6582 2003-03-29  John Levon  <levon@movementarian.org>
6583
6584         * BufferView.C:
6585         * buffer.C:
6586         * lyx_cb.h:
6587         * lyx_cb.C: more Alert cleanups
6588
6589         * lyxfunc.C: don't allow chktex if not latex document
6590
6591 2003-03-29  John Levon  <levon@movementarian.org>
6592
6593         * lyx_cb.C:
6594         * BufferView.C:
6595         * buffer.C: warnings pushed down from support/,
6596         kill err_alert
6597
6598 2003-03-29  John Levon  <levon@movementarian.org>
6599
6600         * lyxfunc.C: safety check for C-r (revert)
6601
6602 2003-03-29  John Levon  <levon@movementarian.org>
6603
6604         * bufferlist.h:
6605         * bufferlist.C: several UI fixes using Alert::prompt.
6606         Fix the pointless looping quit code. Fix stupid revert
6607         behaviour (bug 938)
6608
6609         * lyxvc.h:
6610         * lyxvc.C:
6611         * lyx_cb.C: use Alert::prompt
6612
6613         * lyx_main.C: remove a silly question
6614
6615         * lyxfunc.C: remove a couple of silly questions,
6616         use Alert::prompt
6617
6618 2003-03-28  John Levon  <levon@movementarian.org>
6619
6620         * text2.C: fix bug 974 (End on empty par)
6621
6622 2003-03-28  John Levon  <levon@movementarian.org>
6623
6624         * BufferView_pimpl.C:
6625         * LyXAction.C:
6626         * lfuns.h: remove do-nothing math greek lfuns
6627
6628 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * lyxgluelength.h (isValidGlueLength): add default arg on
6631         parameter 2. Remove default arg from friend in class.
6632
6633         * lyxlength.h (isValidLength): add default arg on parameter 2.
6634         Remove default arg from friend in class.
6635
6636         * text2.C (LyXText): adjust, initialize refresh_row.
6637         (init): adjust
6638         (removeRow): adjust
6639         (insertRow): adjust
6640         (insertParagraph): adjst
6641         (redoParagraphs): adjust
6642         (fullRebreak): adjust
6643         (updateCounters): adjust
6644         (deleteEmptyParagraphMechanism): first attempt at fixing a
6645         crashing bug.
6646
6647         * text.C (top_y): adjust
6648         (setHeightOfRow): adjust
6649         (getRow): adjust
6650         (getRowNearY): adjust
6651
6652         * lyxtext.h: include RowList.h
6653         (~LyXText): not needed anymore, deleted.
6654         (firstRow): modify for RowList
6655         (lastRow): new function
6656         Delete firstrow and lastrow class variables, add a Rowlist
6657         rowlist_ class variable.
6658
6659         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6660         paragraph is empty.
6661
6662         * RowList.C (insert): fix case where it == begin().
6663
6664 2003-03-26  Angus Leeming  <leeming@lyx.org>
6665
6666         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6667         the thesaurus dialog.
6668
6669 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6672
6673         * RowList.[Ch]: new files
6674
6675         * ParagraphList.C (erase): handle the case where it == begin
6676         correctly.
6677
6678 2003-03-25  John Levon  <levon@movementarian.org>
6679
6680         * Makefile.am:
6681         * aspell_local.h:
6682         * aspell.C: add new aspell support
6683
6684         * lyxrc.h:
6685         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6686         have it accessible.
6687
6688 2003-03-25  Angus Leeming  <leeming@lyx.org>
6689
6690         * lfuns.h:
6691         * LyXAction.C (init): new LFUN_INSET_INSERT.
6692
6693         * BufferView_pimpl.C (dispatch): split out part of the
6694         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6695
6696         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6697         LFUN_INSET_APPLY.
6698
6699 2003-03-25  Angus Leeming  <leeming@lyx.org>
6700
6701         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6702
6703 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6704
6705         * text2.C:
6706         * text3.C: remove useless row->height(0)
6707
6708 2003-03-25  John Levon  <levon@movementarian.org>
6709
6710         * lyxtext.h:
6711         * text2.C:
6712         * text3.C: rename the refreshing stuff to better names
6713
6714 2003-03-24  John Levon  <levon@movementarian.org>
6715
6716         * BufferView_pimpl.h:
6717         * BufferView_pimpl.C: update layout choice on a mouse
6718         press/release
6719
6720 2003-03-23  John Levon  <levon@movementarian.org>
6721
6722         * Makefile.am: fix commandtags.h reference
6723
6724 2003-03-22  John Levon  <levon@movementarian.org>
6725
6726         * BufferView_pimpl.C:
6727         * lyxtext.h:
6728         * rowpainter.C:
6729         * rowpainter.h:
6730         * text.C:
6731         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6732
6733 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * lyxtext.h:
6736         * text.C: take the rtl methods out of line
6737
6738 2003-03-21 André Pönitz <poenitz@gmx.net>
6739
6740         * metricsinfo.[Ch]: new files containing structures to be passed around
6741         during the two-phase-drawing...
6742
6743 2003-03-21 André Pönitz <poenitz@gmx.net>
6744
6745         * lyxtextclass.C: read 'environment' tag.
6746
6747 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6748
6749         * text2.C (removeRow): fix bug 964
6750
6751 2003-03-20  John Levon  <levon@movementarian.org>
6752
6753         * rowpainter.C:
6754         * text.C:
6755         * text2.C: paint cleanups. Inset::update() dropped font
6756         parameter
6757
6758 2003-03-19  John Levon  <levon@movementarian.org>
6759
6760         * lyxfunc.C: only fitcursor/markDirty if available()
6761
6762 2003-03-19  John Levon  <levon@movementarian.org>
6763
6764         * commandtags.h: rename to ...
6765
6766         * lfuns.h: ... this, and renumber / cleanup
6767
6768 2003-03-19  John Levon  <levon@movementarian.org>
6769
6770         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6771         fit the cursor after an lfun
6772
6773         * BufferView.h:
6774         * BufferView.C:
6775         * BufferView_pimpl.h:
6776         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6777
6778         * LyXAction.C: layout-character should have ReadOnly
6779
6780         * ParagraphParameters.C:
6781         * buffer.C:
6782         * bufferview_funcs.C:
6783         * lyx_cb.C:
6784         * lyxfind.C:
6785         * lyxtext.h:
6786         * text.C:
6787         * text2.C:
6788         * text3.C:
6789         * undo_funcs.C: changes from above
6790
6791 2003-03-18  John Levon  <levon@movementarian.org>
6792
6793         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6794         remove it from update()
6795
6796         * lyxfunc.C: update layout choice after an lfun
6797
6798         * text3.C: remove extra updateLayoutChoice()s
6799
6800 2003-03-18  John Levon  <levon@movementarian.org>
6801
6802         * text.C: top_y change means full repaint, fix
6803         a drawing bug with cursor movement
6804
6805 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6806
6807         * lyxtext.h:
6808         * text.C:
6809         * text2.C: anchor row on setCursor
6810
6811 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6812
6813         * lyxtext.h: remove almost all mutable keywords
6814         * text.C:
6815         * text2.C:
6816         * text3.C: remove const keywords accordingly
6817
6818 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6821         anon namespace
6822         (TeXEnvironment): ditto
6823         (TeXOnePar): ditto
6824
6825 2003-03-17  John Levon  <levon@movementarian.org>
6826
6827         * text.C (rowBreakPoint): remove attempt to fix displayed
6828         math insets inside a manual label
6829
6830 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * lyxtext.h: remove BufferView* as first arg from almost all class
6833         functions.
6834         * other files: adjust.
6835
6836 2003-03-17  John Levon  <levon@movementarian.org>
6837
6838         * lyxtext.h:
6839         * undo_funcs.C:
6840         * text2.C: more paint cleanups
6841
6842         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6843
6844         * rowpainter.h:
6845         * rowpainter.C: remove "smart" background painting code
6846
6847 2003-03-16  John Levon  <levon@movementarian.org>
6848
6849         * lyxtext.h:
6850         * text.C:
6851         * text2.C:
6852         * text3.C: add helper functions for setting refresh_row/y
6853
6854 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6855
6856         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6857         newline inset which *can* get inserted in the pass_thru layouts.
6858         This is primarily for literate documents.
6859
6860 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6861
6862         * buffer.C: increment LYX_FORMAT to 223
6863
6864 2003-03-14 André Pönitz <poenitz@gmx.net>
6865
6866         * textclass.h: prepare for environment handling, ws changes
6867         * lyxlayout.C: read latexheader and latexfooter tags
6868
6869 2003-03-14  John Levon  <levon@movementarian.org>
6870
6871         * text2.C: rewrite ::status() a bit
6872
6873 2003-03-13  John Levon  <levon@movementarian.org>
6874
6875         * lyxtext.h: add some docs
6876
6877 2003-03-13  John Levon  <levon@movementarian.org>
6878
6879         * lyxtext.h:
6880         * text.C:
6881         * text2.C:
6882         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6883
6884 2003-03-13  John Levon  <levon@movementarian.org>
6885
6886         * text3.C: fix appendix redrawing
6887
6888 2003-03-13  John Levon  <levon@movementarian.org>
6889
6890         * text.C (setHeightOfRow):
6891         * rowpainter.h:
6892         * rowpainter.C: make appendix mark have the text
6893           "Appendix" so the user knows what it is
6894
6895         * LColor.h:
6896         * LColor.C: s/appendixline/appendix/ from above
6897
6898 2003-03-13  John Levon  <levon@movementarian.org>
6899
6900         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6901
6902         * text.C: fix a getChar(pos) bug properly
6903
6904 2003-03-13  Angus Leeming  <leeming@lyx.org>
6905
6906         * commandtags.h:
6907         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6908         Probably only temporary. Let's see how things pan out.
6909
6910         * BufferView.C (unlockInset):
6911         * BufferView_pimpl.C (fitCursor):
6912         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6913
6914         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6915         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6916
6917         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6918         new functions that convert ParagraphParameters to and from a string.
6919
6920         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6921         BufferView::Pimpl's dispatch.
6922         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6923
6924 2003-03-13 André Pönitz <poenitz@gmx.net>
6925
6926         * lyxfunc.C:
6927         * text3.C:
6928         * factory.C: make it aware of InsetEnv
6929
6930 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * text2.C (setCursor): never ask for one past last
6933         (setCursor): add some debugging messages.
6934
6935         * text.C (singleWidth): never ask for one past last
6936         (singleWidth): ditto
6937         (leftMargin): ditto
6938         (rightMargin): ditto
6939         (rowBreakPoint): ditto
6940         (setHeightOfRow): ditto
6941         (prepareToPrint): ditto
6942
6943         * rowpainter.C (paintBackground): never ask for one past last
6944         (paintText): never ask for one past last
6945
6946         * paragraph_pimpl.C (getChar): make the assert stricter, never
6947         allow the one past last pos to be taken
6948
6949         * paragraph.C (getChar): ws changes only
6950
6951         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6952         (numberOfSeparators): ditto
6953         (numberOfHfills): ditto
6954
6955 2003-03-12  John Levon  <levon@movementarian.org>
6956
6957         * author.h:
6958         * author.C:
6959         * bufferparams.h:
6960         * bufferparams.C:
6961         * paragraph_funcs.C: fix per-buffer authorlists
6962
6963 2003-03-12  John Levon  <levon@movementarian.org>
6964
6965         * text.C: fix newline in right address
6966
6967 2003-03-12  Angus Leeming  <leeming@lyx.org>
6968
6969         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6970         duplicate those in LyXFunc::dispatch.
6971
6972         * commandtags.h:
6973         * LyXAction.C:
6974         * ToolbarDefaults.C:
6975         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6976         Add LFUN_FONTFREE_UPDATE.
6977
6978         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6979         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6980
6981         * bufferview_func.[Ch]: several new functions to facilliate
6982         transfer of data to and from the character dialog.
6983
6984 2003-03-12  John Levon  <levon@movementarian.org>
6985
6986         * buffer.C:
6987         * paragraph.h:
6988         * paragraph.C:
6989         * paragraph_funcs.C:
6990         * paragraph_pimpl.C:
6991         * sgml.C:
6992         * tabular.C:
6993         * text.C:
6994         * text3.C: remove META_NEWLINE in favour of an inset
6995
6996         * rowpainter.h:
6997         * rowpainter.C: remove paintNewline (done by inset)
6998
6999 2003-03-12  John Levon  <levon@movementarian.org>
7000
7001         * paragraph_pimpl.C: complain about bad getChar()s
7002         for a while at least
7003
7004 2003-03-12  John Levon  <levon@movementarian.org>
7005
7006         * buffer.h:
7007         * buffer.C: move paragraph read into a separate function,
7008         a little renaming to reflect that.
7009
7010         * bufferparams.h:
7011         * bufferparams.C: remove the author_ids map, not necessary now
7012
7013         * factory.h:
7014         * factory.C: moved Buffer::readInset to here
7015
7016         * paragraph_funcs.h:
7017         * paragraph_funcs.C: readParagraph free function moved from
7018         buffer.C
7019
7020         * tabular.C: name change
7021
7022 2003-03-12  John Levon  <levon@movementarian.org>
7023
7024         * buffer.C:
7025         * ParagraphParameters.C: move par params input to
7026         a read() method
7027
7028         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7029         behave like a normal read from the stream wrt reading
7030         a line vs. a \\token
7031
7032 2003-03-12  John Levon  <levon@movementarian.org>
7033
7034         * paragraph.C:
7035         * ParagraphParameters.h:
7036         * ParagraphParameters.C: move output code to a
7037         ::write() method
7038
7039 2003-03-12  John Levon  <levon@movementarian.org>
7040
7041         * BufferView.C (insertLyXFile):
7042         * buffer.h:
7043         * buffer.C:
7044         * tabular.C: use a parlist iterator for creating the
7045           document.
7046
7047 2003-03-12  John Levon  <levon@movementarian.org>
7048
7049         * buffer.C: make current_change static local not
7050           static file-scope
7051
7052 2003-03-12  John Levon  <levon@movementarian.org>
7053
7054         * buffer.C: fix insertStringAsLines for change tracking
7055
7056 2003-03-12  John Levon  <levon@movementarian.org>
7057
7058         * BufferView.C:
7059         * tabular.C:
7060         * buffer.h:
7061         * buffer.C:
7062         * bufferparams.h:
7063         * bufferparams.C: move author list into params. Rename some
7064           functions. Move the header reading into a separate token
7065           loop. Move the header token reading into BufferParams.
7066
7067 2003-03-12  John Levon  <levon@movementarian.org>
7068
7069         * changes.C: put debug inside lyxerr.debugging() checks
7070
7071 2003-03-11 André Pönitz <poenitz@gmx.net>
7072
7073         * factory.C: make it aware of InsetHFill
7074
7075 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7076
7077         * buffer.C (latexParagraphs): move function from here...
7078         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7079         args.
7080
7081 2003-03-10  Angus Leeming  <leeming@lyx.org>
7082
7083         * LyXAction.C (init): fix bug in poplating array with multiple entries
7084         with the same LFUN (spotted by JMarc).
7085
7086 2003-03-10  John Levon  <levon@movementarian.org>
7087
7088         * text.C:
7089         * text2.C: move getColumnNearX() near its
7090         only call site
7091
7092 2003-03-10  John Levon  <levon@movementarian.org>
7093
7094         * text.C: fix break before a minipage
7095
7096 2003-03-10  John Levon  <levon@movementarian.org>
7097
7098         * text.C: fix the last commit
7099
7100 2003-03-09  John Levon  <levon@movementarian.org>
7101
7102         * lyxtext.h:
7103         * text.C:
7104         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7105         bug 365 (don't break before insets unless needed). Don't
7106         return a value > last under any circumstances.
7107
7108 2003-03-09  Angus Leeming  <leeming@lyx.org>
7109
7110         * BufferView_pimpl.C (trackChanges, dispatch): call
7111         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7112
7113 2003-03-09  Angus Leeming  <leeming@lyx.org>
7114
7115         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7116         than Dialogs::showAboutlyx().
7117
7118 2003-03-09  Angus Leeming  <leeming@lyx.org>
7119
7120         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7121         than Dialogs::showTabularCreate().
7122
7123 2003-03-09  John Levon  <levon@movementarian.org>
7124
7125         * lyxtext.h:
7126         * text.C:
7127         * text2.C: 3rd arg to nextBreakPoint was always the same.
7128           Use references.
7129
7130 2003-03-08  John Levon  <levon@movementarian.org>
7131
7132         * lyxrow.C:
7133         * paragraph.C:
7134         * paragraph.h:
7135         * rowpainter.C:
7136         * text.C:
7137         * text2.C: Remove the "main" bit from the "main body"
7138           notion.
7139
7140 2003-03-08  John Levon  <levon@movementarian.org>
7141
7142         * text.C (leftMargin): The left margin of an empty
7143         manual label paragraph should not include the label width
7144         string length.
7145
7146         * text.C (prepareToPrint): don't attempt to measure hfills
7147         for empty manual label paragraphs - the answer should be 0
7148
7149 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * CutAndPaste.C: remove commented code and reindent.
7152
7153 2003-03-08  John Levon  <levon@movementarian.org>
7154
7155         * lyxfunc.h:
7156         * lyxfunc.C: move reloadBuffer()
7157
7158         * BufferView.h:
7159         * BufferView.C: to here
7160
7161         * lyxvc.C: add comment
7162
7163         * vc-backend.h:
7164         * vc-backend.C: call bv->reload() to avoid
7165           getStatus() check on MENURELOAD
7166
7167 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7168
7169         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7170         to an old format .dep file.
7171
7172 2003-03-07  Angus Leeming  <leeming@lyx.org>
7173
7174         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7175         when the LFUN_MOUSE_RELEASE should have been handled by
7176         inset->localDispatch.
7177
7178 2003-03-07  Angus Leeming  <leeming@lyx.org>
7179
7180         * BufferView_pimpl.C (dispatch):
7181         * LyXAction.C (init):
7182         * ToolbarDefaults.C (init):
7183         * commandtags.h:
7184         * lyxfunc.C (getStatus):
7185         remove LFUN_INSET_GRAPHICS.
7186
7187         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7188
7189 2003-03-07  Angus Leeming  <leeming@lyx.org>
7190
7191         * commandtags.h:
7192         * LyXAction.C (init):
7193         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7194
7195         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7196
7197         * commandtags.h:
7198         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7199
7200         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7201         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7202
7203 2003-03-07  Angus Leeming  <leeming@lyx.org>
7204
7205         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7206         remove "ert".
7207
7208 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * ParagraphList.C (front): new function
7211         (back): implement
7212
7213 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7214
7215         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7216         and top_row_offset_. removed var first_y.
7217         * text.C (top_y):
7218         * text2.C (LyXText, removeRow):
7219         * text3.C:
7220         * BufferView_pimpl.C:
7221         use these methods instead of using first_y
7222
7223 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * text2.C (pasteSelection): adjust for checkPastePossible
7226
7227         * CutAndPaste.C: remove Paragraph * buf and replace with
7228         ParagraphList paragraphs.
7229         (DeleteBuffer): delete
7230         (cutSelection): change the tc type to textclass_type
7231         (copySelection): change the tc type to textclass_type
7232         (copySelection): adjust for ParagraphList
7233         (pasteSelection): change the tc type to textclass_type
7234         (pasteSelection): adjust for Paragraphlist
7235         (nrOfParagraphs): simplify for ParagraphList
7236         (checkPastePossible): simplify for ParagraphList
7237         (checkPastePossible): remove unused arg
7238
7239         * ParagraphList.C (insert): handle the case where there are no
7240         paragraphs yet.
7241
7242         * CutAndPaste.h: make CutAndPaste a namespace.
7243
7244         * text3.C (dispatch): adjust
7245
7246         * text.C (breakParagraph): add a ParagraphList as arg
7247
7248         * paragraph_funcs.C (breakParagraph): change to take a
7249         BufferParams and a ParagraphList as args.
7250         (breakParagraphConservative): ditto
7251         (mergeParagraph): ditto
7252         (TeXDeeper): add a ParagraphList arg
7253         (TeXEnvironment): ditto
7254         (TeXOnePar): ditto
7255
7256         * buffer.C (readLyXformat2): adjust
7257         (insertStringAsLines): adjust
7258         (latexParagraphs): adjust
7259
7260         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7261         (cutSelection): adjust
7262         (pasteSelection): adjust
7263
7264         * BufferView_pimpl.C (insertInset): adjust
7265
7266 2003-03-05  Angus Leeming  <leeming@lyx.org>
7267
7268         * commandtags.h:
7269         * LyXAction.C (init):
7270         * BufferView_pimpl.C (dispatch):
7271         * lyxfunc.C (getStatus):
7272         remove LFUN_CHILD_INSERT.
7273
7274         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7275
7276 2003-03-05  Angus Leeming  <leeming@lyx.org>
7277
7278         * commandtags.h:
7279         * LyXAction.C (init):
7280         * src/factory.C (createInset):
7281         * lyxfunc.C (getStatus):
7282         * text3.C (dispatch):
7283         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7284
7285         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7286
7287 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * ParagraphList.C (insert): handle insert right before end()
7290         (erase): fix cases where it can be first or last paragraph.
7291
7292 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7295         Paragraph::next and Paragraph::previous
7296         (TeXOnePar): ditto
7297
7298         * text.C (breakParagraph): adjust
7299
7300         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7301         BufferParams& as arg.
7302         (breakParagraph): use ParagraphList::insert
7303         (breakParagraphConservative): take a Buffer* instead of a
7304         BufferParams& as arg.
7305         (breakParagraphConservative): use ParagraphList::insert.
7306
7307         * buffer.C (insertStringAsLines): un-const it
7308         (insertStringAsLines): adjust
7309
7310         * ParagraphList.C (insert): new function
7311
7312         * CutAndPaste.C (pasteSelection): adjust
7313
7314         * text.C (backspace): adjust
7315
7316         * tabular.C (SetMultiColumn): adjust
7317
7318         * CutAndPaste.C (cutSelection): adjust
7319         (pasteSelection): adjust
7320
7321         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7322         Buffer const * as arg
7323
7324         * ParagraphList.C (erase): new function
7325         * paragraph_funcs.C (mergeParagraph): use it
7326         (mergeParagraph): make it take a Buffer* instead of a
7327         BufferParams* as arg
7328
7329         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7330         as arg
7331         (breakParagraphConservative): ditto
7332
7333         * paragraph.h: remove the breakParagraph friend
7334
7335         * paragraph.C (eraseIntern): new function
7336         (setChange): new function
7337
7338         * paragraph_funcs.C (mergeParagraph): make it take a
7339         ParagraphList::iterator instead of a Paragraph *, adjust
7340         accordingly.
7341
7342         * paragraph.h: move an #endif so that the change tracking stuff
7343         also works in the NO_NEXT case.
7344
7345 2003-03-04  Angus Leeming  <leeming@lyx.org>
7346
7347         * commandtags.h:
7348         * LyXAction.C: new LFUN_INSET_MODIFY.
7349
7350         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7351         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7352
7353 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * several files: ws changes only
7356
7357         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7358         (TeXEnvironment): ditto
7359         (TeXDeeper): ditto
7360
7361         * buffer.C (makeLaTeXFile): adjust
7362         (latexParagraphs): make it take ParagraphList::iterator as args
7363
7364 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * buffer.C (latexParagraphs): adjust
7367
7368         * paragraph.C (TeXOnePar): move function...
7369         (optArgInset): move function...
7370         (TeXEnvironment): move function...
7371         * paragraph_pimpl.C (TeXDeeper): move function...
7372         * paragraph_funcs.C: ...here
7373
7374         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7375
7376 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * buffer.C (readInset): remove compability code for old Figure and
7379         InsetInfo insets
7380
7381 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * buffer.C: ws changes
7384         (readInset):
7385
7386         * BufferView_pimpl.C: ditto
7387         * author.C: ditto
7388         * buffer.h: ditto
7389         * bufferlist.h: ditto
7390         * changes.h: ditto
7391         * lyxfunc.C: ditto
7392
7393 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7394
7395         * converter.[Ch]: split into itself +
7396         * graph.[Ch]
7397         * format.[Ch]
7398         * Makefile.am: += graph.[Ch] + format.[Ch]
7399         * MenuBackend.C
7400         * buffer.C
7401         * exporter.C
7402         * importer.C
7403         * lyx_main.C
7404         * lyxfunc.C
7405         * lyxrc.C: added #include "format.h"
7406
7407 2003-02-27  Angus Leeming  <leeming@lyx.org>
7408
7409         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7410           a label.
7411
7412         * factory.C (createInset): add "label" to the factory.
7413
7414         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7415           string and do no more.
7416
7417 2003-02-27  Angus Leeming  <leeming@lyx.org>
7418
7419         * commandtags.h:
7420         * LyXAction.C (init):
7421         * factory.C (createInset):
7422         * BufferView_pimpl.C (dispatch):
7423           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7424
7425         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7426
7427         * lyxfunc.C (dispatch):
7428         * text3.C (dispatch): pass name to params2string.
7429
7430 2003-02-26  Angus Leeming  <leeming@lyx.org>
7431
7432         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7433           blocks together.
7434           Rearrange the ~includes. Strip out the unnecessary ones.
7435
7436         * factory.C (createInset): reformat.
7437           create new insets for the various LFUN_XYZ_APPLY lfuns.
7438
7439 2003-02-26  John Levon  <levon@movementarian.org>
7440
7441         * lyxrow.h:
7442         * lyxrow.C: add isParStart,isParEnd helpers
7443
7444         * paragraph.h: make isInserted/DeletedText take refs
7445
7446         * paragraph_funcs.h:
7447         * paragraph_funcs.C: remove #if 0'd code
7448
7449         * lyxtext.h:
7450         * text3.C:
7451         * text2.C:
7452         * text.C: use lyxrow helpers above.
7453           Move draw and paint routines to RowPainter.
7454           Make several methods use refs not pointers.
7455           Make backgroundColor() const.
7456           Add markChangeInDraw(), isInInset().
7457           Merge changeRegionCase into changeCase.
7458           Make workWidth() shouldn't-happen code into an Assert.
7459
7460         * rowpainter.h:
7461         * rowpainter.C: new class for painting a row.
7462
7463         * vspace.h:
7464         * vspace.C: make inPixels take a ref
7465
7466 2003-02-26  Angus Leeming  <leeming@lyx.org>
7467
7468         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7469         LFUN_REF_APPLY.
7470
7471 2003-02-25  John Levon  <levon@movementarian.org>
7472
7473         * ispell.C: give the forked command a more accurate name
7474
7475 2003-02-22  John Levon  <levon@movementarian.org>
7476
7477         * toc.h:
7478         * toc.C: make TocItem store an id not a Paragraph *
7479           (bug #913)
7480
7481 2003-02-21  Angus Leeming  <leeming@lyx.org>
7482
7483         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7484           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7485           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7486           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7487           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7488           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7489
7490         * BufferView_pimpl.C (dispatch):
7491         * LyXAction.C (init):
7492         * factory.C (createInset):
7493         * lyxfunc.C (getStatus, dispatch):
7494         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7495
7496 2003-02-21  Angus Leeming  <leeming@lyx.org>
7497
7498         * BufferView_pimpl.C (MenuInsertLyXFile):
7499         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7500         * lyxfunc.C (menuNew, open, doImport):
7501           no longer pass a LyXView & to fileDlg.
7502
7503 2003-02-21  Angus Leeming  <leeming@lyx.org>
7504
7505         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7506         * LyXAction.C: change, BIBKEY to BIBITEM.
7507         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7508         Change InsetBibKey to InsetBibitem.
7509         Change BIBKEY_CODE to BIBITEM_CODE.
7510         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7511         * factory.C: replace insetbib.h with insetbibitem.h.
7512         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7513         * paragraph.C: replace insetbib.h with insetbibitem.h.
7514         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7515         Change bibkey() to bibitem().
7516         * text.C: remove insetbib.h.
7517         * text2.C: replace insetbib.h with insetbibitem.h.
7518         change bibkey() to bibitem().
7519         * text3.C: remove insetbib.h.
7520         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7521
7522 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7523
7524         * lyxrc.C (output): enclose user email in quotes (in case there are
7525         several words)
7526
7527 2003-02-18  John Levon  <levon@movementarian.org>
7528
7529         * buffer.h: add std::
7530
7531 2003-02-17  John Levon  <levon@movementarian.org>
7532
7533         * SpellBase.h:
7534         * ispell.h:
7535         * ispell.C:
7536         * pspell.h:
7537         * pspell.C: reworking. Especially in ispell, a large
7538           number of clean ups and bug fixes.
7539
7540         * lyxfunc.C: fix revert to behave sensibly
7541
7542 2003-02-17 André Pönitz <poenitz@gmx.net>
7543
7544         * LyXAction.C:
7545         * commandtags.h: new LFUN_INSERT_BIBKEY
7546
7547         * layout.h:
7548         * lyxlayout.C:
7549         * buffer.C:
7550         * factory.C:
7551         * text.C:
7552         * text2.C:
7553         * text3.C:
7554         * paragraph.[Ch]:
7555         * paragraph_func.C: remove special bibkey handling
7556
7557 2003-02-17  John Levon  <levon@movementarian.org>
7558
7559         * text.C (Delete): fix case where delete at the end of
7560           the very first paragraph would not merge the pars
7561
7562 2003-02-17  John Levon  <levon@movementarian.org>
7563
7564         * lyxrow.C: fix lastPrintablePos()
7565
7566 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * bufferparams.C (writeLaTeX): add a std:here
7569
7570         * buffer.C: and remove a using directive there
7571
7572 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7573
7574         * buffer.C (makeLaTeXFile): move the code that generates the
7575           preamble...
7576
7577         * bufferparams.C (writeLaTeX): ... in this new method
7578
7579         * LaTeXFeatures.C (getEncodingSet): make const
7580           (getLanguages): make const
7581
7582         * MenuBackend.C (binding): returns the binding associated to this
7583           action
7584           (add): sets the status of each item by calling getStatus. Adds
7585           some intelligence.
7586           (read): add support for OptSubMenu
7587           (expand): remove extra separator at the end of expanded menu
7588
7589 2003-02-15  John Levon  <levon@movementarian.org>
7590
7591         * BufferView.C:
7592         * BufferView_pimpl.C:
7593         * bufferlist.h:
7594         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7595           inset code that had no actual effect. Remove unneeded status
7596           code.
7597
7598 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7599
7600         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7601           in preamble
7602
7603 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7604
7605         * text.C (drawLengthMarker): also draw an arrow marker for
7606           symbolic lengths (medskip...)
7607
7608 2003-02-14  John Levon  <levon@movementarian.org>
7609
7610         * tabular.h:
7611         * tabular.C: better method names
7612
7613 2003-02-14  John Levon  <levon@movementarian.org>
7614
7615         * BufferView_pimpl.C:
7616         * bufferlist.C:
7617         * buffer.C:
7618         * converter.C:
7619         * lyx_cb.C:
7620         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7621           it's a more accurate name. Remove some pointless uses.
7622
7623 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7624
7625         * text2.C (LyXText): change order of initilizers to shut off
7626           warnings
7627
7628 2003-02-14  John Levon  <levon@movementarian.org>
7629
7630         * buffer.C: use ParIterator for getParFromID()
7631
7632         * paragraph.h:
7633         * paragraph.C:
7634         * paragraph_pimpl.h:
7635         * paragraph_pimpl.C: remove unused getParFromID()
7636
7637 2003-02-14  John Levon  <levon@movementarian.org>
7638
7639         * buffer.C: remove some very old #if 0'd parse code
7640
7641 2003-02-13  John Levon  <levon@movementarian.org>
7642
7643         * text.h:
7644         * text.C:
7645         * text2.C: move hfillExpansion(), numberOfSeparators(),
7646           rowLast(), rowLastPrintable(), numberofHfills(),
7647           numberOfLabelHfills() ...
7648
7649         * lyxrow.h:
7650         * lyxrow.C: ... to member functions here.
7651
7652         * paragraph.h:
7653         * paragraph.C:
7654         * lyxtext.h:
7655         * text.C: remove LyXText::beginningOfMainBody(), and call
7656           p->beginningOfMainBody() directly. Move the check for
7657           LABEL_MANUAL into the latter.
7658
7659         * text.h:
7660         * text.C:
7661         * text2.C:
7662         * vspace.C:
7663         * BufferView.h:
7664         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7665
7666         * text.h:
7667         * text.C:
7668         * text2.C:
7669         * text3.C:
7670         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7671           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7672
7673 2003-02-13  John Levon  <levon@movementarian.org>
7674
7675         * CutAndPaste.C: remove debug
7676
7677 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7678
7679         * paragraph.C (asString): remove two unused variables
7680
7681         * lyxtextclass.C (readTitleType):
7682           (Read):
7683           (LyXTextClass): handle new members titletype_ and titlename_
7684
7685         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7686
7687 2003-02-09  John Levon  <levon@movementarian.org>
7688
7689         * buffer.h:
7690         * buffer.C: replace hand-coded list with a map for the dep clean
7691
7692 2003-02-08  John Levon  <levon@movementarian.org>
7693
7694         * LaTeX.C: consolidate code into showRunMessage() helper
7695
7696 2003-02-08  John Levon  <levon@movementarian.org>
7697
7698         * lyxfind.C:
7699         * lyxtext.h:
7700         * text2.C:
7701         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7702           and pass the size in explicitly
7703
7704         * BufferView_pimpl.h:
7705         * BufferView_pimpl.C:
7706         * BufferView.h:
7707         * BufferView.C: add getCurrentChange()
7708
7709         * BufferView_pimpl.h:
7710         * BufferView_pimpl.C: handle change lfuns
7711
7712         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7713           for changes. Mark pasted paragraphs as new.
7714
7715         * support/lyxtime.h:
7716         * support/lyxtime.C:
7717         * DepTable.C: abstract time_t as lyx::time_type
7718
7719         * LColor.h:
7720         * LColor.C: add colours for new text, deleted text, changebars
7721
7722         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7723           package use "usenames" option.
7724
7725         * commandtags.h:
7726         * lyxfunc.C:
7727         * LyXAction.C: add change lfuns
7728
7729         * Makefile.am:
7730         * author.h:
7731         * author.C: author handling
7732
7733         * buffer.h:
7734         * buffer.C: add a per-buffer author list, with first entry as
7735           current author. Handle new .lyx tokens for change tracking. Output
7736           author list to .lyx file. Output dvipost stuff to .tex preamble.
7737           Bump lyx format to 222.
7738
7739         * bufferlist.h:
7740         * bufferlist.C: add setCurrentAuthor() to reset current author details
7741           in all buffers.
7742
7743         * bufferparams.h:
7744         * bufferparams.C: add param for tracking
7745
7746         * bufferview_funcs.C: output change info in minibuffer
7747
7748         * Makefile.am:
7749         * changes.h:
7750         * changes.C: add change-tracking structure
7751
7752         * debug.h:
7753         * debug.C: add CHANGES debug flag
7754
7755         * lyxfind.h:
7756         * lyxfind.C: add code for finding the next change piece
7757
7758         * lyxrc.h:
7759         * lyxrc.C: add user_name and user_email
7760
7761         * lyxrow.h:
7762         * lyxrow.C: add a metric for the top of the text line
7763
7764         * lyxtext.h:
7765         * text.C: implement accept/rejectChange()
7766
7767         * lyxtext.h:
7768         * text.C: paint changebars. Paint new/deleted text in the chosen
7769         colours. Strike through deleted text.
7770
7771         * paragraph.h:
7772         * paragraph.C:
7773         * paragraph_pimpl.h:
7774         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7775           in the current change to the insert functions. Rework erase to
7776           mark text as deleted, adding an eraseIntern() and a range-based
7777           erase(). Implement per-paragraph change lookup and
7778           accept/reject.
7779
7780         * paragraph_funcs.C: Fixup paste for change tracking.
7781
7782         * tabular.C: mark added row/columns as new.
7783
7784         * text.C: fix rowLast() to never return -1. Don't allow
7785           spellchecking of deleted text. Track transpose changes. Don't
7786           allow paragraph break or merge where appropriate.
7787
7788         * text2.C: leave cursor at end of selection after a cut.
7789
7790 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7791
7792         * text.C (getLengthMarkerHeight):
7793         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7794         visible on screen too.
7795
7796 2003-02-07  John Levon  <levon@movementarian.org>
7797
7798         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7799
7800 2003-02-05  Angus Leeming  <leeming@lyx.org>
7801
7802         * lyxserver.C (read_ready): revert my patch of 11 September last year
7803         as it sends PC cpu through the roof. Presumably this means that
7804         the lyxserver will no longer run on an Alpha...
7805
7806 2003-01-30  Angus Leeming  <leeming@lyx.org>
7807
7808         * factory.C (createInset): create an InsetCommandParam of type "index"
7809         and use it to 'do the right thing'.
7810
7811         * text2.C (getStringToIndex): ensure that cursor position is always
7812         reset to the reset_cursor position.
7813
7814 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7815
7816         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7817         disabled.
7818
7819 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7820
7821         * bufferview.C:
7822         * lyxcb.C:
7823         * lyxfunc.C: Output messages with identical spelling, punctuation,
7824         and spaces
7825
7826 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7827
7828         * MenuBackend.C (expandFormats): List only viewable export formats
7829         in "View" menu
7830
7831         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7832         message
7833
7834         * lyxfunc.C (getStatus): Make sure that formats other than
7835         "fax" can also be disabled
7836
7837 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7838
7839         * text3.C (dispatch): put the lfuns that insert insets in 3
7840         groups, and call doInsertInset with appropriate arguments.
7841         (doInsertInset): new function, that creates an inset and inserts
7842         it according to some boolean parameters.
7843
7844 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * buffer.C (readFile): remember to pass on 'par' when calling
7847         readFile recursively.
7848
7849 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7850
7851         * MenuBackend.C (expandFormats): add "..." to import formats.
7852
7853 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7854
7855         * paragraph.C (asString): Remove XForms RTL hacks.
7856
7857 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7858         * buffer.C: fix typo
7859
7860 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * Makefile.am (LIBS): delete var
7863         (lyx_LDADD): add @LIBS@ here instead.
7864
7865 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7866
7867         * Clarify the meaning of "wheel mouse jump"
7868
7869 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7870
7871         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7872         tabular in a float
7873
7874 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7875
7876         * importer.C (Loaders): do not preallocate 3 elements in the
7877         vector, since one ends up with 6 elements otherwise
7878
7879 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7880
7881         * DepTable.C (write): write the file name as last element of the
7882         .dep file (because it may contain spaces)
7883         (read): read info in the right order
7884
7885 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7886
7887         * paragraph_pimpl.C (simpleTeXBlanks):
7888         (simpleTeXSpecialChars):
7889         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7890
7891         * tabular.C (latex): add some missing case statements. Reindent.
7892
7893         * MenuBackend.C (expandToc): remove unused variable.
7894
7895 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7896
7897         * LColor.C:
7898         * LaTeX.C:
7899         * LyXAction.C:
7900         * MenuBackend.C:
7901         * buffer.C:
7902         * exporter.C:
7903         * lyxfunc.C:
7904         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7905         and the like.
7906
7907 2003-01-05  John Levon  <levon@movementarian.org>
7908
7909         * BufferView.h:
7910         * BufferView.C: add getEncoding()
7911
7912         * kbsequence.h:
7913         * kbsequence.C: do not store last keypress
7914
7915         * lyxfunc.h:
7916         * lyxfunc.C: store last keypress here instead. Pass encoding
7917           to getISOEncoded()
7918
7919 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7920
7921         * lyx_main.C (init): remove annoying error message when following
7922         symbolic links (bug #780)
7923
7924 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7925
7926         * text.C (insertChar):
7927         * lyxrc.C (getDescription): remove extra spaces
7928
7929 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7930
7931         * lyxrc.C (getDescription): remove extra spaces
7932
7933 2002-12-20  John Levon  <levon@movementarian.org>
7934
7935         * text3.C: hack fix for page up/down across tall rows
7936
7937 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7938
7939         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7940         not been invoked
7941
7942 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7943
7944         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7945         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7946         thesaurus is not compiled in
7947
7948 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7949
7950         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7951
7952 2002-12-16  Angus Leeming  <leeming@lyx.org>
7953
7954         * lyxrc.[Ch]:
7955         * lyx_main.C (init): remove override_x_deadkeys stuff.
7956
7957 2002-12-12  John Levon  <levon@movementarian.org>
7958
7959         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7960           insert. Only remove shift modifier under strict
7961           circumstances.
7962
7963 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * MenuBackend.C (expandToc): fix crash.
7966
7967 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * MenuBackend.C (expandToc): gettext on float names.
7970
7971 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7972
7973         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7974         implement bool empty() [bug 490]
7975
7976 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7979
7980 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * several files: ws changes
7983
7984 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * text2.C (setCounter): clean up a bit, use boost.format.
7987         (updateCounters): initialize par upon declaration.
7988
7989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7990         if the layout exists. We do not just store the layout any more.
7991         (SwitchLayoutsBetweenClasses): use boost.format
7992
7993 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7994
7995         * converter.C (convert): if from and to files are the same, use a
7996         temporary files as intermediary
7997
7998 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7999
8000         * commandtags.h:
8001         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8002
8003 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8004
8005         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8006
8007 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * tabular.C (asciiPrintCell): use string(size, char) instead of
8010         explicit loop.
8011
8012         * sgml.C (openTag): fix order of arguments to string constructor
8013         (closeTag): ditto
8014
8015         * lyxfunc.C (dispatch): use boost.format
8016
8017         * lots of files: change "c" -> 'c'
8018
8019 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8020
8021         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8022
8023 2002-11-25  Angus Leeming  <leeming@lyx.org>
8024
8025         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8026
8027         * lyx_main.C (init): compile fix.
8028
8029 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * lyx_cb.C (start): boost.formatify
8032         do not include <iostream>
8033
8034         * lengthcommon.C: ws only
8035
8036         * boost-inst.C,BoostFormat.h: add more explict instantations
8037
8038 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * lots of files: handle USE_BOOST_FORMAT
8041
8042 2002-11-21  John Levon  <levon@movementarian.org>
8043
8044         * pspell.C: fix compile
8045
8046 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * lyxfunc.C (dispatch): use boost::format
8049         (open): ditto
8050         (doImport): ditto
8051
8052         * lyxfont.C (stateText): use boost::format
8053
8054         * lyx_main.C (LyX): use boost::format
8055         (init): ditto
8056         (queryUserLyXDir): ditto
8057         (readRcFile): ditto
8058         (parse_dbg): ditto
8059         (typedef boost::function): use the recommened syntax.
8060
8061         * importer.C (Import): use boost::format
8062
8063         * debug.C (showLevel): use boost::format
8064
8065         * converter.C (view): use boost::format
8066         (convert): ditto
8067         (move): ditto
8068         (scanLog): ditto
8069
8070         * bufferview_funcs.C (currentState): use boost::format
8071
8072         * bufferlist.C (emergencyWrite): use boost::format
8073
8074         * buffer.C (readLyXformat2): use boost::format
8075         (parseSingleLyXformat2Token): ditto
8076
8077         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8078
8079         * LaTeX.C (run): use boost::format
8080
8081         * Chktex.C (scanLogFile): use boost::format
8082
8083         * BufferView_pimpl.C (savePosition): use boost::format
8084         (restorePosition): ditto
8085         (MenuInsertLyXFile): ditto
8086
8087         * BoostFormat.h: help file for explicit instation.
8088
8089 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8090
8091         * tabular.C (latex): Support for block alignment in fixed width
8092         columns.
8093
8094 2002-11-17  John Levon  <levon@movementarian.org>
8095
8096         * BufferView_pimpl.C:
8097         * lyx_cb.C:
8098         * lyxfunc.C: split filedialog into open/save
8099
8100 2002-11-08  Juergen Vigna  <jug@sad.it>
8101
8102         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8103         by my last patch (hopefully).
8104
8105 2002-11-08  John Levon  <levon@movementarian.org>
8106
8107         * iterators.h:
8108         * iterators.C:
8109         * buffer.h:
8110         * buffer.C:
8111         * paragraph.h:
8112         * paragraph.C:
8113         * toc.h:
8114         * toc.C: ParConstIterator, and use it (from Lars)
8115
8116 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8117
8118         * lyxtextclass.[Ch]: revise and add doxygen comments
8119
8120 2002-11-07  John Levon  <levon@movementarian.org>
8121
8122         * text.C: fix progress value for spellchecker
8123
8124         * toc.C: fix navigate menu for insetwrap inside minipage
8125
8126         * paragraph_funcs.C: added FIXME for suspect code
8127
8128 2002-11-07  John Levon  <levon@movementarian.org>
8129
8130         * BufferView_pimpl.C: fix redrawing of insets
8131           on buffer switch
8132
8133 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8134
8135         * text2.C (updateCounters): fix bug 668
8136
8137 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8138
8139         * text3.C (dispatch): Do not make the buffer dirty when moving the
8140         cursor.
8141
8142 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * vc-backend.C: STRCONV
8145         (scanMaster): ditto
8146
8147         * text2.C (setCounter): STRCONV
8148
8149         * paragraph.C (asString): STRCONV
8150
8151         * lyxlength.C (asString): STRCONV
8152         (asLatexString): ditto
8153
8154         * lyxgluelength.C (asString): STRCONV
8155         (asLatexString): ditto
8156
8157         * lyxfunc.C (dispatch): STRCONV
8158         (open): ditto
8159
8160         * lyxfont.C (stateText): STRCONV
8161
8162         * importer.C (Import): STRCONV
8163
8164         * counters.C (labelItem): STRCONV
8165         (numberLabel): ditto
8166         (numberLabel): remove unused ostringstream o
8167
8168         * chset.C: STRCONV
8169         (loadFile): ditto
8170
8171         * bufferview_funcs.C (currentState): STRCONV
8172
8173         * buffer.C (readFile): STRCONV
8174         (asciiParagraph): ditto
8175         (makeLaTeXFile): ditto
8176
8177         * Spacing.C (writeEnvirBegin): STRCONV
8178
8179         * LaTeXFeatures.C (getLanguages): STRCONV
8180         (getPackages): ditto
8181         (getMacros): ditto
8182         (getBabelOptions): ditto
8183         (getTClassPreamble): ditto
8184         (getLyXSGMLEntities): ditto
8185         (getIncludedFiles): ditto
8186
8187         * LaTeX.C: STRCONV
8188         (run): ditto
8189         (scanAuxFile): ditto
8190         (deplog): ditto
8191
8192         * LString.h: add the STRCONV macros
8193
8194         * BufferView_pimpl.C (savePosition): STRCONV
8195         (restorePosition): ditto
8196         (MenuInsertLyXFile): ditto
8197
8198         * vc-backend.C (scanMaster): change from submatch[...] to
8199         submatch.str(...)
8200
8201         * funcrequest.C: include config.h
8202
8203         * factory.C: include config.h
8204
8205         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8206
8207         * box.C: include config.h
8208
8209         * LaTeX.C (scanAuxFile): change from submatch[...] to
8210         submatch.str(...)
8211         (deplog): ditto
8212
8213 2002-10-25  Angus Leeming  <leeming@lyx.org>
8214
8215         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8216
8217         * ispell.[Ch] (setError): new method.
8218         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8219         Use setError() insetead of goto END.
8220
8221         * lyx_cb.C (AutoSave): move out child process into new class
8222         AutoSaveBuffer.
8223
8224 2002-10-30  John Levon  <levon@movementarian.org>
8225
8226         * text3.C: make start appendix undoable
8227
8228 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8229
8230         * lyxlength.C (inPixels): Fix returned value.
8231
8232         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8233         environment.
8234
8235 2002-10-24  Angus Leeming  <leeming@lyx.org>
8236
8237         * lyxgluelength.h: no need to forward declare BufferParams
8238         or BufferView, so don't.
8239
8240 2002-10-21  John Levon  <levon@movementarian.org>
8241
8242         * BufferView.C: menuUndo ->undo, redo
8243
8244         * BufferView.h: document, remove dead, make some methods private
8245
8246         * paragraph_funcs.h:
8247         * paragraph_funcs.C:
8248         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8249
8250         * buffer.h:
8251         * buffer.C:
8252         * sgml.h:
8253         * sgml.C: move sgml open/close tag into sgml.C
8254
8255         * bufferview_funcs.h: unused prototype
8256
8257         * lyxfunc.h:
8258         * lyxfunc.C: remove unused
8259
8260         * lyxtext.h:
8261         * text.C: remove unused
8262
8263 2002-10-21  John Levon  <levon@movementarian.org>
8264
8265         * BufferView.h:
8266         * BufferView.C:
8267         * BufferView_pimpl.h:
8268         * BufferView_pimpl.C: fix mouse wheel handling based on
8269           patch from Darren Freeman
8270
8271 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8272
8273         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8274
8275 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8276
8277         * lyxlength.C (inPixels): Fix hanfling of negative length.
8278         Fix LyXLength::MU case.
8279
8280 2002-10-16  John Levon  <levon@movementarian.org>
8281
8282         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8283
8284 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8285
8286         * converter.C (view): add support for $$i (file name) and $$p
8287         (file path) for the viewer command. If $$i is not specified, then
8288         it is appended to the command (for compatibility with old syntax)
8289
8290 2002-10-14  Juergen Vigna  <jug@sad.it>
8291
8292         * undo_funcs.C (textHandleUndo): alter the order in which the
8293         new undopar is added to the LyXText, as we have to set first
8294         the right prev/next and then add it as otherwise the rebuild of
8295         LyXText is not correct. Also reset the cursor to the right paragraph,
8296         with this IMO we could remove the hack in "redoParagraphs()".
8297
8298 2002-10-09  Angus Leeming  <leeming@lyx.org>
8299
8300         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8301         to turn off an optimisation if a new inset is to be inserted.
8302
8303 2002-10-11 André Pönitz <poenitz@gmx.net>
8304
8305         * lyxtext.h: make some functions public to allow access
8306         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8307
8308 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8309
8310         * text3.C (dispatch): when changing layout, avoid an infinite loop
8311         [bug #652]
8312
8313 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8314
8315         * lyxrc.C (read): treat a viewer or converter command of "none" as
8316         if it were empty.
8317
8318         * MenuBackend.C (expandFormats): for an update, also allow the
8319         formats that are not viewable
8320
8321         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8322         script if it is newer than the lyxrc.defaults in user directory
8323
8324 2002-10-07 André Pönitz <poenitz@gmx.net>
8325
8326         * text.C: Vitaly Lipatov's small i18n fix
8327
8328 2002-09-25  Angus Leeming  <leeming@lyx.org>
8329
8330         * ispell.h: doxygen fix.
8331
8332 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8333
8334         * buffer.h (readFile): Add a new argument to the method, to allow
8335         reading of old-format templates.
8336
8337 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * toc.C (getTocList): Get TOC from InsetWrap.
8340
8341 2002-09-16  John Levon  <levon@movementarian.org>
8342
8343         * lyxfunc.C: check tabular for cut/copy too
8344
8345 2002-09-12  John Levon  <levon@movementarian.org>
8346
8347         * LyXAction.C: tidy
8348
8349         * factory.h:
8350         * factory.C: add header
8351
8352         * paragraph_funcs.h:
8353         * paragraph_funcs.C: cleanup
8354
8355 2002-09-11  John Levon  <levon@movementarian.org>
8356
8357         * PrinterParams.h: odd/even default to true
8358
8359 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8360
8361         * PrinterParams.h: update printer parameters for new xforms dialog
8362
8363 2002-09-11  Angus Leeming  <leeming@lyx.org>
8364
8365         * lyxserver.C (read_ready): re-write to make it more transparent
8366         and to make it work in coherent fashion under Tru64 Unix.
8367
8368 2002-09-11  André Pönitz <poenitz@gmx.net>
8369
8370         * commandtags.h:
8371         * LyXAction.C:
8372         * text3.C: implement LFUN_WORDSEL
8373
8374 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8377         make floatlist_ a boost::shared_ptr<FloatList>
8378
8379         * lyxtextclass.C: include FloatList.h
8380         (LyXTextClass): initialize floatlist_
8381         (TextClassTags): add TC_NOFLOAT
8382         (Read): match "nofloat" to TC_NOFLOAT and use it.
8383         (readFloat): modify call to floatlist_
8384         (floats): ditto
8385         (floats): ditto
8386
8387         * FloatList.[Ch] (FloatList): remove commented out float
8388         initialization.
8389         (erase): new function
8390
8391 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8392
8393         * MenuBackend.C (expandToc): fix crash when there is no document
8394         open
8395
8396 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * many files: Add insetwrap.
8399
8400 2002-09-09  John Levon  <levon@movementarian.org>
8401
8402         * text2.C: remove confusing and awkward depth wraparound
8403
8404 2002-09-09  John Levon  <levon@movementarian.org>
8405
8406         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8407
8408         * buffer.h:
8409         * buffer.C: remove getIncludeonlyList()
8410
8411         * paragraph.C:
8412         * lyxfunc.C: remove headers
8413
8414 2002-09-09  Juergen Vigna  <jug@sad.it>
8415
8416         * text.C (getColumnNearX): fix form Michael this is most
8417         probably a cut&paste bug.
8418
8419 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8422
8423         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8424         references, ws changes.
8425
8426         * text2.C (init): update counters after init
8427         (insertParagraph): no need to set counter on idividual paragraphs.
8428         (setCounter): access the counters object in the textclass object
8429         on in the buffer object.
8430         (updateCounters): ditto
8431
8432         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8433         shared_ptr<Counters> to avoid loading counters.h in all
8434         compilation units.
8435         (LyXTextClass): initialize ctrs_
8436         (TextClassTags): add TC_COUNTER, and ...
8437         (Read): use it here.
8438         (CounterTags): new tags
8439         (readCounter): new function
8440         (counters): new funtion
8441         (defaultLayoutName): return a const reference
8442
8443         * counters.C (Counters): remove contructor
8444         (newCounter): remove a couple of unneeded statements.
8445         (newCounter): simplify a bit.
8446         (numberLabel): some small formatting changes.
8447
8448         * buffer.[Ch]: remove all traces of counters, move the Counters
8449         object to the LyXTextClass.
8450
8451 2002-09-06  Alain Castera  <castera@in2p3.fr>
8452
8453         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8454         package to set the horizontal alignment on fixed width columns.
8455
8456         * lyx_sty.C:
8457         * lyx_sty.h: added tabularnewline macro def.
8458
8459         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8460
8461 2002-09-06  John Levon  <levon@movementarian.org>
8462
8463         * LyXAction.C: tooltips for sub/superscript
8464
8465         * MenuBackend.C: a bit more verbose
8466
8467         * lyxfunc.C: tiny clean
8468
8469         * undo_funcs.C: document undo_frozen
8470
8471 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * counters.C (Counters): add missing algorithm counter.
8474
8475         * text2.C (setCounter): lookup the counter with layouts latexname
8476         instead of by section number.
8477         (setCounter): use a hackish way to lookup the correct enum
8478         counter.
8479         a float name->type change
8480         reset enum couners with counter name directly instead of depth value.
8481
8482         * counters.C (Counters): remove the push_backs, change to use the
8483         float type not the float name.
8484         (labelItem): remove unused string, float name->type change
8485
8486         * counters.h: don't include vector, loose the enums and sects vectors
8487
8488 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8491         (Read): add float->TC_FLOAT to textclassTags
8492         (Read): and handle it in the switch
8493         (readFloat): new function
8494
8495         * FloatList.C (FloatList): comment out the hardcoded float
8496         definitions.
8497
8498         * lyxlayout.h: ws change.
8499
8500 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8501
8502         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8503
8504 2002-09-03  Angus Leeming  <leeming@lyx.org>
8505
8506         * BufferView_pimpl.h: qualified name is not allowed in member
8507         declaration: WorkArea & Pimpl::workarea() const;
8508
8509         * factory.C: added using std::endl directive.
8510
8511         * text3.C: added using std::find and std::vector directives.
8512
8513 2002-08-29  André Pönitz <poenitz@gmx.net>
8514
8515         * lyxtext.h:
8516         * text2.C: remove unused member number_of_rows
8517
8518         * Makefile.am:
8519         * BufferView2.C: remove file, move contents to...
8520         * BufferView.C: ... here
8521
8522         * BufferView_pimpl.C:
8523         * factory.C: move more inset creation to factory
8524
8525         * vspace.C: avoid direct usage of LyXText, ws changes
8526
8527         * BufferView.[Ch]:
8528                 don't provide direct access to WorkArea, use two simple
8529                 acessors haveSelction() and workHeight() instead
8530
8531
8532 2002-08-29  John Levon  <levon@movementarian.org>
8533
8534         * BufferView_pimpl.C (dispatch): do not continue when
8535           no buffer
8536
8537 2002-08-28  André Pönitz <poenitz@gmx.net>
8538
8539         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8540
8541         * BufferView.h:
8542         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8543
8544 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8545
8546         * buffer.C: increment LYX_FORMAT to 221
8547
8548         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8549         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8550
8551         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8552
8553         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8554
8555 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * factory.C (createInset): use LyXTextClass::floats
8558
8559         * MenuBackend.C (expandFloatListInsert):
8560         (expandFloatInsert):
8561         (expandToc):
8562
8563         * text2.C (setCounter):
8564
8565         * LaTeXFeatures.C (useFloat):
8566         (getFloatDefinitions):
8567
8568         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8569
8570         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8571         floatlist_, with accessor floats().
8572
8573         * FloatList.h: remove global FloatList
8574
8575 2002-08-26  André Pönitz <poenitz@gmx.net>
8576
8577         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8578
8579         * BufferView.h:
8580         * BufferView2.C:
8581         * BufferView_pimpl.C:
8582         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8583
8584 2002-08-25  John Levon  <levon@movementarian.org>
8585
8586         * LyXAction.C: fix margin note description
8587
8588 2002-08-24  John Levon  <levon@movementarian.org>
8589
8590         * buffer.C:
8591         * bufferlist.C:
8592         * bufferview_funcs.C:
8593         * lyxfont.C:
8594         * undo_funcs.C: cleanups
8595
8596         * lyxfunc.C: disable CUT/COPY when no selection
8597
8598 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8599
8600         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8601         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8602
8603         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8604         Add backward compatibility to "mono", "gray" and "no".
8605
8606 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8609         (and file_format >= 200).
8610
8611 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8612
8613         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8614
8615 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8618
8619 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8620
8621         * BufferView_pimpl.C:
8622         * LyXAction.C:
8623         * buffer.C:
8624         * commandtags.h:
8625         * lyxfunc.C:
8626         * paragraph.[Ch]:
8627         * text2.C:
8628         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8629         inset and code to make it  work with the paragraph code. The inset
8630         can be anywhere in the paragraph, but will only do the expected
8631         thing in LaTeX if the layout file contains the parameter line
8632                         OptionalArgs    1
8633         (or more generally, a nonzero value) for that layout.
8634
8635 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * paragraph.h: remove the declaration of undefined counters class
8638         function.
8639
8640 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8641
8642         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8643         Dr. Richard Hawkins.
8644
8645 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8646
8647         * paragraph_funcs.h: remove some unneeded includes
8648
8649         * text.C (backspace): pasteParagraph now in global scipe
8650
8651         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8652         (pasteSelection): ditto
8653
8654         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8655         * paragraph_funcs.C (pasteParagraph): ... here
8656
8657 2002-08-20  André Pönitz <poenitz@gmx.net>
8658
8659         * commandtags.h: new LFUNs for swapping/copying table row/colums
8660
8661         * LyXAction.C:
8662         * lyxfunc.C: support for new lfuns
8663
8664 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8665
8666         * tabular.C:
8667         * buffer.[Ch]: remove NO_COMPABILITY stuff
8668
8669 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * boost.C (throw_exception): new file, with helper function for
8672         boost compiled without exceptions.
8673
8674         * paragraph.h:
8675         * lyxlength.C:
8676         * buffer.C:
8677         * ParameterStruct.h:
8678         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8679
8680         * bufferlist.C (emergencyWriteAll): use boost bind
8681
8682         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8683
8684         * text.C: include paragraph_funcs.h
8685         (breakParagraph): breakParagraph is now in global scope
8686
8687         * paragraph_funcs.[Ch]: new files
8688
8689         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8690         global scope
8691
8692         * buffer.C: include paragraph_funcs.h
8693         (insertStringAsLines): breakParagraph is now in global scope
8694
8695         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8696         paragraph_funcs.C
8697
8698         * CutAndPaste.C: include paragraph_funcs.h
8699         (cutSelection): breakParagraphConservative is now in global scope
8700         (pasteSelection): ditto
8701
8702         * buffer.h: declare oprator== and operator!= for
8703         Buffer::inset_iterator
8704
8705         * bufferlist.C (emergencyWrite): don't use fmt(...)
8706
8707         * text3.C: add using std::endl
8708
8709         * BufferView.C (moveCursorUpdate): remove default arg
8710
8711 2002-08-20  André Pönitz <poenitz@gmx.net>
8712
8713         * buffer.[Ch]: move inline functions to .C
8714
8715         * BufferView2.C:
8716         * BufferView_pimpl.C:
8717         * text.C:
8718         * buffer.[Ch]: use improved inset_iterator
8719
8720         * buffer.C:
8721         * paragraph.[Ch]: write one paragraph at a time
8722
8723 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8724
8725         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8726         style if style is not specified.
8727
8728 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * text2.C (setCounter): when searching for right label for a
8731         caption, make sure to recurse to parent insets (so that a caption
8732         in a minipage in a figure float works) (bug #568)
8733
8734 2002-08-20  André Pönitz <poenitz@gmx.net>
8735
8736         * text3.C: new file for LyXText::dispatch() and helpers
8737
8738         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8739
8740         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8741
8742 2002-08-19  André Pönitz <poenitz@gmx.net>
8743
8744         * lyxtext.h:
8745         * text.C: new LyXText::dispatch()
8746
8747         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8748
8749 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8752
8753         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8754         Hebrew text.
8755
8756 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * Makefile.am: use $(variables) instead of @substitutions@
8759
8760 2002-08-15  André Pönitz <poenitz@gmx.net>
8761
8762         * lyxfunc.C:
8763         * BufferView_pimpl.C: streamlining mathed <-> outer world
8764         interaction
8765
8766         * commandtags.h:
8767         * LyXAction.C: remove unused LFUN_MATH
8768
8769 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8772
8773 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * paragraph.C (Paragraph): reformat a bit
8776         (cutIntoMinibuffer): use builtin InsetList function instad of
8777         doing it manually.
8778         (getInset): ditto
8779
8780         * buffer.C: include boost/bind.hpp, add using std::for_each
8781         (writeFileAscii): use ParagraphList iterators
8782         (validate): use for_each for validate traversal of paragraphs
8783         (getBibkeyList): use ParagraphList iterators
8784         (resizeInsets): use for_each to resizeInsetsLyXText for all
8785         paragraphs.
8786         (getParFromID): use ParagraphList iterators
8787
8788         * BufferView2.C (lockInset): use paragraph list and iterators
8789
8790 2002-08-14  John Levon  <levon@movementarian.org>
8791
8792         * lyxserver.C: remove spurious xforms include
8793
8794 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8797
8798 2002-08-13  André Pönitz <poenitz@gmx.net>
8799
8800         * LyXAction.[Ch]:
8801         * lyxfunc.C: further cleaning
8802
8803 2002-08-13  André Pönitz <poenitz@gmx.net>
8804
8805         * funcrequest.h: new constructor
8806
8807         * funcrequest.C: move stuff here from .h
8808
8809         * Makefile.am:
8810         * BufferView_pimpl.C:
8811         * LyXAction.C:
8812         * toc.C:
8813         * lyxfunc.C: subsequent changes
8814
8815         * lyxfunc.h: new view() member function
8816
8817         * lyxfunc.C: subsequent changes
8818
8819 2002-08-13  Angus Leeming  <leeming@lyx.org>
8820
8821         * BufferView2.C:
8822         * BufferView_pimpl.C:
8823         * buffer.C:
8824         * converter.C:
8825         * importer.C:
8826         * lyxfunc.C:
8827         * lyxvc.C:
8828         * toc.C:
8829         * vc-backend.C:
8830         changes due to the changed LyXView interface that now returns references
8831         to member variables not pointers.
8832
8833 2002-08-13  Angus Leeming  <leeming@lyx.org>
8834
8835         * WordLangTuple (word, lang_code): return references to strings,
8836         not strings.
8837
8838         * BufferView.h:
8839         * SpellBase.h:
8840         * lyxtext.h: forward-declare WordLangTuple.
8841
8842         * BufferView2.C:
8843         * ispell.C:
8844         * pspell.C:
8845         * text.C: #include "WordLangTuple.h".
8846
8847         * lyxtext.h:
8848         * text.C: (selectNextWordToSpellcheck): constify return type.
8849
8850 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8851
8852         * buffer.C:
8853         * buffer.h:
8854         * lyxtext.h:
8855         * paragraph.C:
8856         * paragraph_pimpl.h:
8857         * text.C:
8858         * text2.C:
8859         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8860         suggested by Angus.
8861         Made updateCounter always count from start of buffer, and removed
8862         second argument (par).
8863         Reverted floats number display to '#'. Perhaps I'll try again when the
8864         code base is sanitized a bit.
8865
8866 2002-08-12  Angus Leeming  <leeming@lyx.org>
8867
8868         * buffer.[Ch] (getLabelList): constify.
8869
8870 2002-08-07  André Pönitz <poenitz@gmx.net>
8871
8872         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8873
8874         * funcrequest.h: extension to keep mouse (x,y) position
8875
8876 2002-08-12  Juergen Vigna  <jug@sad.it>
8877
8878         * BufferView2.C (insertErrors): forbid undo when inserting error
8879         insets.
8880
8881         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8882
8883 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * ParagraphList.[Ch]: new files
8886
8887         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8888
8889         * BufferView2.C (lockInset): ParagraphList changes
8890         * toc.C: ditto
8891         * text2.C: ditto
8892         * bufferlist.C: ditto
8893         * buffer.h: ditto
8894         * buffer.C: ditto
8895
8896 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8899         unused class variable counter_,
8900
8901         * paragraph.[Ch] (getFirstCounter): delete unused function
8902
8903         * counters.C: include LAssert.h
8904         (reset): add a new function with no arg, change other version to
8905         not have def. arg and to not allow empty arg.
8906
8907         * text2.C (setCounter): remove empty arg from call to Counters::reset
8908
8909 2002-08-11  John Levon  <levon@movementarian.org>
8910
8911         * Makefile.am: add WordLangTuple.h
8912
8913 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8916         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8917
8918         * insets/insettext.C: InsetList changes
8919
8920         * graphics/GraphicsSupport.C (operator()): InsetList changes
8921
8922         * toc.C (getTocList): InsetList changes
8923
8924         * paragraph_pimpl.[Ch]: InsetList changes
8925
8926         * paragraph.[Ch]: InsetList changes
8927
8928         * buffer.C (inset_iterator): InsetList changes
8929         (setParagraph): ditto
8930         * buffer.h (inset_iterator): ditto
8931         * iterators.C (operator++): ditto
8932         * iterators.h: ditto
8933
8934         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8935
8936         * InsetList.[Ch]: new files, most InsetList handling moved out of
8937         paragraph.C.
8938
8939         * BufferView2.C (removeAutoInsets): InsetList changes
8940         (lockInset): ditto
8941         (ChangeInsets): ditto
8942
8943 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * paragraph_pimpl.h (empty): new function
8946
8947         * paragraph.[Ch] (empty): new function
8948
8949         * other files: use the new Paragraph::empty function
8950
8951 2002-08-09  John Levon  <levon@movementarian.org>
8952
8953         * lyxtext.h: remove unused refresh_height
8954
8955 2002-08-09  John Levon  <levon@movementarian.org>
8956
8957         * Makefile.am:
8958         * sgml.h:
8959         * sgml.C:
8960         * buffer.C:
8961         * paragraph.h:
8962         * paragraph.C: move sgml char escaping out of paragraph
8963
8964         * paragraph.h:
8965         * paragraph.C: remove id setter
8966
8967         * buffer.C:
8968         * paragraph.C:
8969         * paragraph_pimpl.C: remove dead tex_code_break_column
8970
8971         * bufferview_funcs.C: small cleanup
8972
8973         * lyxfunc.C: remove dead proto
8974
8975         * lyxtext.h: make some stuff private. Remove some dead stuff.
8976
8977         * lyxgluelength.C: make as[LyX]String() readable
8978
8979 2002-08-08  John Levon  <levon@movementarian.org>
8980
8981         * LyXAction.h:
8982         * LyXAction.C:
8983         * MenuBackend.C:
8984         * ToolbarDefaults.C:
8985         * lyxfunc.C:
8986         * lyxrc.C:
8987         * toc.C: lyxaction cleanup
8988
8989 2002-08-08  John Levon  <levon@movementarian.org>
8990
8991         * BufferView2.C: small cleanup
8992
8993         * lyxfind.h:
8994         * lyxfind.C: move unnecessary header into the .C
8995
8996 2002-08-08  John Levon  <levon@movementarian.org>
8997
8998         * funcrequest.h: just tedious nonsense
8999
9000         * lyx_main.h:
9001         * lyx_main.C: cleanups
9002
9003         * buffer.C:
9004         * vspace.C: remove dead header lyx_main.h
9005
9006 2002-08-07  Angus Leeming  <leeming@lyx.org>
9007
9008         * Paragraph.[Ch]:
9009         * paragraph_pimpl.h:
9010         Forward declare class Counters in paragraph.h by moving the ctrs member
9011         variable into Paragraph::Pimpl.
9012         (counters): new method, returning a reference to pimpl_->ctrs.
9013
9014         * text2.C: ensuing changes.
9015
9016 2002-08-07  John Levon  <levon@movementarian.org>
9017
9018         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9019
9020         * BufferView_pimpl.C: announce X selection on double/triple
9021           click
9022
9023         * lyx_main.C: use correct bool in batch dispatch
9024
9025         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9026
9027 2002-08-07  André Pönitz <poenitz@gmx.net>
9028
9029         * funcrequest.h: new class to wrap a kb_action and its argument
9030
9031         * BufferView.[Ch]:
9032         * BufferView_pimpl[Ch]:
9033         * LaTeX.C:
9034         * LyXAction.[Ch]:
9035         * lyxfunc.[Ch]:
9036         * lyxrc.C: subsequent changes
9037
9038
9039 2002-08-07  John Levon  <levon@movementarian.org>
9040
9041         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9042           document options change.
9043
9044 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9045
9046         * counters.[Ch]
9047         * text2.C
9048         * paragraph.[Ch]
9049         * makefile.am: move counters functionality over from
9050         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9051
9052 2002-08-06  John Levon  <levon@movementarian.org>
9053
9054         * WordLangTuple.h: new file for word + language code tuple
9055
9056         * SpellBase.h:
9057         * pspell.h:
9058         * pspell.C:
9059         * ispell.h:
9060         * ispell.C:
9061         * lyxtext.h:
9062         * text.C:
9063         * text2.C:
9064         * BufferView.h:
9065         * BufferView2.C: use WordLangTuple
9066
9067         * layout.h:
9068         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9069
9070 2002-08-06  John Levon  <levon@movementarian.org>
9071
9072         * lyx_main.C: fix cmdline batch handling
9073
9074 2002-08-06  André Pönitz <poenitz@gmx.net>
9075
9076         * lyxrc.C: set default for show_banner to true
9077
9078 2002-08-06  John Levon  <levon@movementarian.org>
9079
9080         * pspell.C: fix a crash, and allow new aspell to work
9081
9082 2002-08-06  John Levon  <levon@movementarian.org>
9083
9084         * lyxfunc.C:
9085         * kbmap.C: small cleanup
9086
9087         * vspace.h:
9088         * vspace.C: add const
9089
9090 2002-08-05  John Levon  <levon@movementarian.org>
9091
9092         * LyXAction.C: back to tabular-insert
9093
9094 2002-08-04  John Levon  <levon@movementarian.org>
9095
9096         * BufferView.h:
9097         * BufferView.C: cosmetic change
9098
9099         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9100
9101         * bufferlist.C:
9102         * buffer.h:
9103         * buffer.C:
9104         * lyxcb.h:
9105         * lyxcb.C:
9106         * lyxserver.C:
9107         * lyxvc.C:
9108         * vc-backend.C:
9109         * BufferView2.C: purge all "Lyx" not "LyX" strings
9110
9111         * lyxcursor.h:
9112         * lyxcursor.C: attempt to add some documentation
9113
9114         * lyxfunc.C:
9115         * commandtags.h:
9116         * LyXAction.C:
9117         * ToolbarDefaults.C:
9118         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9119           merge with LFUN_TABULAR_INSERT
9120
9121         * Makefile.am:
9122         * SpellBase.h:
9123         * ispell.h:
9124         * ispell.C:
9125         * pspell.h:
9126         * pspell.C: split up i/pspell implementations into separate
9127           files, many cleanups
9128
9129         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9130
9131         * text2.C: some cleanup
9132
9133         * lyxfunc.C: don't check for isp_command == "none" any more, it
9134           didn't make any sense
9135
9136 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9137
9138         * counters.[Ch]
9139         * text2.C
9140         * paragraph.[Ch]
9141         * makefile.am: move counters functionality over
9142         from text2.C/paragraph.[Ch] to counters.[Ch], and
9143         make proper C++.
9144 2002-08-02  John Levon  <levon@movementarian.org>
9145
9146         * buffer.C: s/lyxconvert/lyx2lyx/
9147
9148 2002-08-02  Angus Leeming  <leeming@lyx.org>
9149
9150         * lyxlex.C: revert John's change as it breaks reading of the user
9151         preamble.
9152
9153 2002-08-02  Angus Leeming  <leeming@lyx.org>
9154
9155         * importer.C (Import):
9156         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9157         changes due to LyXView::view() now returning a boost::shared_ptr.
9158
9159 2002-08-02  John Levon  <levon@movementarian.org>
9160
9161         * lyxlex.C: small cleanup
9162
9163 2002-08-02  John Levon  <levon@movementarian.org>
9164
9165         * text2.C (status): small cleanup, no logic change
9166
9167 2002-08-01  John Levon  <levon@movementarian.org>
9168
9169         * buffer.h:
9170         * buffer.C (writeFile): don't output alerts, caller
9171           handles this
9172
9173         * bufferlist.C:
9174         * lyx_cb.C: from above
9175
9176         * lyxfunc.C: allow to open non-existent files
9177
9178 2002-07-31  John Levon  <levon@movementarian.org>
9179
9180         * lyxserver.C: don't let incidental errors get
9181           in the way (errno)
9182
9183 2002-07-30  John Levon  <levon@movementarian.org>
9184
9185         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9186
9187 2002-07-30  John Levon  <levon@movementarian.org>
9188
9189         * lyxserver.h:
9190         * lyxserver.C: remove I/O callback too
9191
9192 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9195         log.
9196
9197 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9198
9199         * many files: strip,frontStrip -> trim,ltrim,rtrim
9200
9201 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9202
9203         * PrinterParams.h: remove extern containsOnly, and include
9204         support/lstrings.h instead.
9205
9206         * LaTeX.C (scanAuxFile): modify because of strip changes
9207         (deplog): ditto
9208         * buffer.C (makeLaTeXFile): ditto
9209         * bufferparams.C (writeFile): ditt
9210         * lyxfont.C (stateText): ditto
9211         * lyxserver.C (read_ready): ditto
9212         * vc-backend.C (scanMaster): ditto
9213
9214         * BufferView_pimpl.h: ws changes
9215
9216         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9217
9218 2002-07-26  André Pönitz <poenitz@gmx.net>
9219
9220         * kb_sequence.C: remove unnedred usings
9221
9222 2002-07-26  Juergen Vigna  <jug@sad.it>
9223
9224         * lyxfind.C (LyXReplace): we have to check better if the returned
9225         text is not of theLockingInset()->getLockingInset().
9226
9227 2002-07-25  Juergen Vigna  <jug@sad.it>
9228
9229         * lyxfind.C (LyXReplace): don't replace if we don't get the
9230         right LyXText.
9231
9232         * undo_funcs.C (createUndo): remove debugging code.
9233
9234 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9235
9236         * buffer.C (parseSingleLyXformat2Token): Use default placement
9237         when reading old floats.
9238
9239         * FloatList.C (FloatList): Change the default placement of figure
9240         and tables to "tbp".
9241
9242 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9243
9244         * MenuBackend.C: using std::max
9245
9246 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * MenuBackend.C (expandToc):
9249         (expandToc2): code moved from xforms menu frontend. It is now
9250         generic and TOCs are transparent to menu frontends.
9251
9252 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * toc.C (getTocList): protect against buf=0
9255
9256         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9257         Menu as first parameter. Now, this calls itself recursively to
9258         expand a whole tree (this will be useful for TOC handling)
9259         (expandFloatInsert): remove 'wide' version of floats
9260
9261         * MenuBackend.h (submenuname): returns the name of the submenu.
9262         (submenu): returns the submenu itself, provided it has been
9263         created by MenuBackend::expand
9264
9265 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9266
9267         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9268         insets which have noFontChange == true. (bug #172)
9269
9270 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9271
9272         * BufferView_pimpl.C: add connection objects and use them...
9273         (Pimpl): here.
9274
9275 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * MenuBackend.C (expandLastfiles):
9278         (expandDocuments):
9279         (expandFormats):
9280         (expandFloatListInsert):
9281         (expandFloatInsert):
9282         (expand): split expand in parts
9283
9284 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * lyx_gui.C: use lyx_gui::exit()
9287
9288 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * LyXAction.C: show the failing pseudo action
9291
9292 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9293
9294         * buffer.C (readFile): Run the lyxconvert script in order to read
9295         old files.
9296
9297 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * LyXAction.C:
9300         * commandtags.h:
9301         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9302
9303 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * LyXAction.C:
9306         * commandtags.h:
9307         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9308
9309 2002-07-22  Herbert Voss  <voss@lyx.org>
9310
9311         * lengthcommon.C:
9312         * lyxlength.[Ch]: add support for the vertical lengths
9313
9314 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * toc.[Ch]: std:: fixes
9317
9318 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * lyxrc.C: do not include lyx_main.h
9321
9322         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9323         for layouts
9324
9325         * lyxrc.C:
9326         * encoding.C:
9327         * bufferlist.C:
9328         * BufferView2.C: include "lyxlex.h"
9329
9330         * tabular.h:
9331         * bufferparams.h: do not #include "lyxlex.h"
9332
9333         * lyxtextclasslist.C (Add): remove method
9334         (classlist): renamed to classlist_
9335
9336         * paragraph_pimpl.C:
9337         * paragraph.C:
9338         * text2.C:
9339         * CutAndPaste.C:
9340         * bufferview_funcs.C:
9341         * bufferlist.C:
9342         * text.C:
9343         * LaTeXFeatures.C:
9344         * buffer.C:
9345         * toc.C (getTocList): use BufferParams::getLyXTextClass
9346
9347         * toc.C (getTocList): use InsetFloat::addToToc
9348
9349         * toc.[Ch]: new files, containing helper functions to handle table
9350         of contents
9351
9352         * lyxfunc.C (dispatch): no need to remove spaces around command
9353         given as a string
9354         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9355         first command of the sequence; it is not very clever, but I do not
9356         have a better idea, actually
9357
9358         * LyXAction.C (LookupFunc): make sure to remove space at the
9359         beginning and end of the command
9360
9361 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9362
9363         * MenuBackend.C (getMenubar): new method: return the menubar of
9364         this menu set
9365         (read): treat differently reading of menu and menubar (in
9366         particular, the menubar has no name now)
9367         (Menu::menubar): remove
9368
9369         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9370         saving is finished
9371
9372 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9373
9374         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9375         a bibitem inset in a RTL paragraph.
9376
9377 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * paragraph_pimpl.C: constify
9380
9381         * BufferView_pimpl.C:
9382         * LaTeX.C:
9383         * lyxfunc.C: fix dispatch in a nicer way
9384
9385 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * lyxfunc.C (dispatch):
9388         * BufferView_pimpl.C:
9389         * BufferView_pimpl.h:
9390         * BufferView.C:
9391         * BufferView.h: rename Dispatch() to dispatch()
9392
9393         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9394
9395         * lyxlayout.C (Read): honor DependsOn tag
9396
9397         * lyxlayout.[Ch] (depends_on): new method
9398
9399         * version.C.in: update lyx_docversion
9400
9401         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9402
9403         * paragraph.C (validate): remove from here...
9404         * paragraph_pimpl.C (validate): ... and move here
9405         (isTextAt): make it const
9406
9407         * buffer.C (getLists): ws cleanup
9408
9409 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9410
9411         * language.C (read): Use iso8859-1 encoding in latex_lang
9412         (this prevents LyX from crashing when using iso10646-1 encoding).
9413
9414 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * text2.C (toggleInset): if cursor is inside an inset, close the
9417         inset and leave cursor _after_ it
9418
9419 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * lyxfunc.C: move minibuffer completion handling out of here
9422
9423 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * BufferView_pimpl.C:
9426         * LaTeX.C: fix dispatch calls
9427
9428 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * text.C (drawChars): Fix Arabic text rendering.
9431
9432 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * LyXAction.C:
9435         * commandtags.h:
9436         * lyxfunc.C: remove message-push/pop
9437
9438         * lyxserver.C:
9439         * lyxfunc.h:
9440         * lyxfunc.C: rationalise some code by removing verboseDispatch
9441           in favour of a bool argument to dispatch()
9442
9443 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * lyx_main.C (init): make sure to read symlinks as absolute paths
9446
9447 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * lyxfunc.h:
9450         * lyxfunc.C: no need for commandshortcut to be a member
9451
9452 2002-07-15  André Pönitz <poenitz@gmx.net>
9453
9454         * converter.C: add support for $$s (scripts from lib/scripts dir)
9455         * lyx_main.C: white space
9456
9457 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * bufferlist.C:
9460         * lyxrc.h:
9461         * lyxrc.C: remove second exit confirmation
9462
9463 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * BufferView.h:
9466         * BufferView.C:
9467         * BufferView2.C:
9468         * BufferView_pimpl.h:
9469         * BufferView_pimpl.C:
9470         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9471
9472 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * MenuBackend.C (expand): add numeric shortcuts to document menu
9475
9476         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9477
9478 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * lyxfont.C (setLyXFamily):
9481         (setLyXSeries):
9482         (setLyXShape):
9483         (setLyXSize):
9484         (setLyXMisc):
9485         (lyxRead):
9486         * debug.C (value):
9487         * buffer.C (asciiParagraph): use ascii_lowercase
9488
9489 2002-07-15  Mike Fabian  <mfabian@suse.de>
9490
9491         * lyxlex_pimpl.C (search_kw):
9492         * lyxlex.C (getLongString):
9493         * converter.h (operator<):
9494         * converter.C (operator<):
9495         * buffer.C (parseSingleLyXformat2Token):
9496         (asciiParagraph):
9497         * ToolbarDefaults.C (read):
9498         * MenuBackend.C (checkShortcuts):
9499         (read):
9500         * LColor.C (getFromGUIName):
9501         (getFromLyXName): use the compare_ascii_no_case instead of
9502         compare_no_case, because in turkish, 'i' is not the lowercase
9503         version of 'I', and thus turkish locale breaks parsing of tags.
9504
9505 2002-07-16  Angus Leeming  <leeming@lyx.org>
9506
9507         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9508         now takes a Buffer const & argument.
9509
9510 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * BufferView.C (resize): check there's a buffer to resize
9513
9514 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9515
9516         * lyxfunc.C: remove dead code
9517
9518         * lyxserver.h:
9519         * lyxserver.C: use lyx_guii::set_read_callback
9520
9521 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9524         an inset in a RTL paragraph.
9525
9526 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * lyxfunc.C: repaint after a font size update
9529
9530 2002-07-15  André Pönitz <poenitz@gmx.net>
9531
9532         * lyxlength.C: inBP should be able to return negative values
9533
9534 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * lyxfunc.C: use lyx_gui::update_fonts()
9537
9538 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * lyxfunc.C: use lyx_gui::update_color()
9541
9542 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * bufferlist.C:
9545         * lyxfunc.h:
9546         * lyxfunc.C:
9547         * lyxrc.h:
9548         * lyxrc.C: remove file->new asks for name option, and let
9549           buffer-new take an argument
9550
9551 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * BufferView_pimpl.C: remove unneeded extra repaint()
9554
9555 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * LyXAction.C: allow command-sequence with NoBuffer
9558
9559         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9560
9561 2002-07-10  Angus Leeming  <leeming@lyx.org>
9562
9563         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9564
9565 2002-07-09  Angus Leeming  <leeming@lyx.org>
9566
9567         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9568
9569 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * lengthcommon.h: whitespace
9572
9573         * lyxfunc.C: update scrollbar after goto paragraph
9574
9575         * lyxtext.h: factor out page break drawing, and fix it so
9576           page break/added space paints as selected nicely
9577
9578 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9579
9580         * BufferView_pimpl.C: add FIXMEs, clean up a little
9581
9582 2002-07-09  André Pönitz <poenitz@gmx.net>
9583
9584         * lyxfont.[Ch]: support for wasy symbols
9585
9586 2002-07-08  André Pönitz <poenitz@gmx.net>
9587
9588         * BufferView_pimpl.C: apply John's patch for #93.
9589
9590 2002-07-05  Angus Leeming  <leeming@lyx.org>
9591
9592         * BufferView_pimpl.C (buffer): generate previews if desired.
9593
9594         * LColor.h: add "preview" to the color enum.
9595
9596         * LColor.C (LColor): add a corresponding entry to the items array.
9597
9598         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9599         with this buffer.
9600
9601 2002-07-05  Angus Leeming  <leeming@lyx.org>
9602
9603         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9604         The body of the code is now in the method that is passed an ostream &
9605         rather than a file name.
9606         Pass an additional only_preamble parameter, useful for the forthcoming
9607         preview stuff.
9608
9609 2002-07-03  André Pönitz <poenitz@gmx.net>
9610
9611         * lyxfunc.C: simplify getStatus() a bit for math stuff
9612
9613 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9616
9617 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9618
9619         * text.C (changeRegionCase): do not change case of all the
9620         document when region ends at paragraph end (bug #461)
9621
9622 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * paragraph.C (startTeXParParams):
9625         (endTeXParParams): add \protect when necessary
9626
9627 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628
9629         * BufferView_pimpl.C (workAreaExpose): remove warning
9630
9631 2002-06-27  Angus Leeming  <leeming@lyx.org>
9632
9633         * Makefile.am: add lyxlayout_ptr_fwd.h.
9634
9635 2002-06-26  André Pönitz <poenitz@gmx.net>
9636
9637         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9638
9639 2002-06-25  Angus Leeming  <leeming@lyx.org>
9640
9641         * lyxfunc.C (dispatch): Comment out the call to
9642         grfx::GCache::changeDisplay. The method no longer exists now that the
9643         pixmap generation part of the graphics loader has been moved into
9644         InsetGraphics.
9645
9646 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9647
9648         * text2.C: layout as layout
9649
9650         * text.C: layout as layout
9651
9652         * tabular.C (OldFormatRead): layout as layout
9653
9654         * paragraph_pimpl.C (TeXDeeper): layout as layout
9655         (realizeFont): layout as layout
9656
9657         * paragraph.C (writeFile): layout as layout
9658         (validate): layout as layout
9659         (getFont): layout as layout
9660         (getLabelFont): layout as layout
9661         (getLayoutFont): layout as layout
9662         (breakParagraph): layout as layout
9663         (stripLeadingSpaces): layout as layout
9664         (getEndLabel): layout as layout
9665         (getMaxDepthAfter): layout as layout
9666         (applyLayout): layout as layout
9667         (TeXOnePar): layout as layout
9668         (simpleTeXOnePar): layout as layout
9669         (TeXEnvironment): layout as layout
9670         (layout): layout as layout
9671         (layout): layout as layout
9672
9673         * lyxtextclass.C (compare_name): new functor to work with
9674         shared_ptr, layout as layout
9675         (Read): layout as layout
9676         (hasLayout): layout as layout
9677         (operator): layout as layout
9678         (delete_layout): layout as layout
9679         (defaultLayout): layout as layout
9680
9681         * lyxlayout_ptr_fwd.h: new file
9682
9683         * lyxlayout.C (Read): layout as layout
9684
9685         * lyx_cb.C (MenuInsertLabel): layout as layout
9686
9687         * bufferlist.C (newFile): layout as layout
9688
9689         * buffer.C (readLyXformat2): layout as layout
9690         (parseSingleLyXformat2Token): layout as layout
9691         (insertStringAsLines): layout as layout
9692         (asciiParagraph): layout as layout
9693         (latexParagraphs): layout as layout
9694         (makeLinuxDocFile): layout as layout
9695         (simpleLinuxDocOnePar): layout as layout
9696         (makeDocBookFile): layout as layout
9697         (simpleDocBookOnePar): layout as layout
9698         (getLists): layout as layout
9699
9700         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9701
9702         * CutAndPaste.C (cutSelection): layout as layout
9703         (pasteSelection): layout as layout
9704         (SwitchLayoutsBetweenClasses): layout as layout
9705
9706         * BufferView_pimpl.C (Dispatch): layout as layout
9707         (smartQuote): layout as layout
9708
9709         * BufferView2.C (unlockInset): layout as layout
9710
9711 2002-06-24  André Pönitz <poenitz@gmx.net>
9712
9713         * lyxfunc.C: fix #487
9714
9715 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * lyxrc.h:
9718         * lyxrc.C:
9719         * lyxfunc.C: remove display_shortcuts, show_banner
9720
9721 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * Buffer_pimpl.C: oops, update on resize
9724
9725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * buffer.C:
9728         * converter.C:
9729         * exporter.C:
9730         * lyxfunc.C:
9731         * BufferView.h:
9732         * BufferView.C: use repaint()
9733
9734         * BufferView_pimpl.h:
9735         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9736           as it's a clearer description. Remove superfluous
9737           redraws.
9738
9739 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9740
9741         * text.C: fix bug 488. Not ideal, but getting
9742           getWord() to work properly for the insets that
9743           matter is more difficult ...
9744
9745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * BufferView_pimpl.C:
9748         * LyXAction.C:
9749         * commandtags.h:
9750         * lyxfunc.C: remove the six million index lyxfuncs to just
9751           one, and DTRT (bug 458)
9752
9753 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * BufferView.h:
9756         * BufferView.C:
9757         * BufferView_pimpl.h:
9758         * BufferView_pimpl.C: clean up resize() stuff,
9759           and unnecessary updateScreen()s
9760
9761 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * BufferView.h:
9764         * BufferView.C:
9765         * BufferView_pimpl.h:
9766         * BufferView_pimpl.C:
9767         * lyxfind.h:
9768         * lyxfind.C:
9769         * minibuffer.C: remove focus management of workarea,
9770           not needed. Use screen's greyOut()
9771
9772 2002-06-17  Herbert Voss  <voss@lyx.org>
9773
9774         * converter.C: (convert) do not post a message, when converting
9775         fails, let the calling function decide what to do in this case
9776
9777 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * lyxfunc.C: tidy up a little
9780
9781 2002-06-16    <alstrup@diku.dk>
9782
9783         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9784         Got rid of FORMS_H_LOCATION include. Now we are
9785         GUII.
9786
9787 2002-06-15  LyX Development team  <lyx@rilke>
9788
9789         * buffer.[Ch] (sgmlOpenTag):
9790         (sgmlCloseTag): Added support for avoiding pernicious mixed
9791         content. Return number of lines written.
9792
9793         (makeLinuxDocFile):
9794         (makeDocBookFile): Fixed calls to sgml*Tag.
9795         Simple white space clean.
9796
9797         (simpleDocBookOnePar): Simple white space clean.
9798
9799         * tabular.[Ch] (docBook): Renamed to docbook and got another
9800         argument to related with the pernicious mixed content.
9801
9802         (docbookRow): Fixed calls for docbook inset method.
9803
9804 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9805
9806         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9807         so it's X11 independent.
9808
9809         * kb*.[Ch]: ditto.
9810
9811         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9812
9813 2002-06-15  Lyx Development team  <lyx@electronia>
9814
9815         * intl.h: Renamed getTrans to getTransManager.
9816
9817 2002-06-14  Angus Leeming  <leeming@lyx.org>
9818
9819         * Makefile.am: nuke forgotten stl_string_fwd.h.
9820
9821 2002-06-12  Angus Leeming  <leeming@lyx.org>
9822
9823         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9824
9825 2002-06-13  Angus Leeming  <leeming@lyx.org>
9826
9827         * LaTeX.C:
9828         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9829
9830 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9831
9832         * kbmap.C (getiso): add support for cyrillic and greek
9833
9834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * BufferView.h:
9837         * BufferView.C:
9838         * BufferView_pimpl.h:
9839         * BufferView_pimpl.C: move bogus scrolling logic
9840           to xforms
9841
9842 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxfunc.C:
9845         * BufferView_pimpl.C: view->resize() change
9846
9847 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * BufferView_pimpl.C: topCursorVisible
9850           prototype change
9851
9852 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * Makefile.am:
9855         * lyx_gui.h:
9856         * lyx_gui.C: move to frontends/
9857
9858         * main.C:
9859         * lyx_main.h:
9860         * lyx_main.C: changes from above
9861
9862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * intl.C:
9865         * intl.h:
9866         * kbmap.C:
9867         * kbsequence.C:
9868         * lyx_cb.C:
9869         * lyx_main.C: minor tidy
9870
9871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * BufferView_pimpl.h:
9874         * BufferView_pimpl.C:
9875         * BufferView.h:
9876         * BufferView.C: make painter() const,
9877           remove dead code
9878
9879         * BufferView2.C: use screen() accessor
9880
9881         * lyx_main.h:
9882         * lyx_main.C: some minor cleanup
9883
9884 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * BufferView_pimpl.h:
9887         * BufferView_pimpl.C: remove enter/leaveView,
9888           use workHeight()
9889
9890 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * BufferView.h:
9893         * BufferView.C:
9894         * BufferView2.C:
9895         * BufferView_pimpl.h:
9896         * BufferView_pimpl.C: only construct screen once,
9897           rename
9898
9899         * lyxrc.C: remove pointless comment
9900
9901 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * BufferView.h:
9904         * BufferView.C: remove active() and belowMouse()
9905
9906         * BufferView_pimpl.h:
9907         * BufferView_pimpl.C: use workarea() not workarea_,
9908           and make it use a scoped_ptr instead
9909
9910 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyx_gui.C: add debug message on BadWindow
9913
9914 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9915
9916         * sp_spell.C: fdopen is not part of the C++ standard.
9917
9918         * paragraph.C (InsetIterator): use >= instead of ==
9919
9920 2002-06-07  Angus Leeming  <leeming@lyx.org>
9921
9922         Fixes needed to compile with Compaq cxx 6.5.
9923         * BufferView_pimpl.C:
9924         * DepTable.C:
9925         * buffer.C:
9926         * converter.C:
9927         * encoding.C:
9928         * lyx_gui.C:
9929         * lyx_main.C:
9930         * lyxtextclasslist.C:
9931         * minibuffer.C:
9932         * sp_spell.C:
9933         * tabular_funcs.C:
9934         * vc-backend.C:
9935         all c-library variables have been moved into namespace std. Wrap
9936         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9937
9938         * lyxlength.C:
9939         * tabular-old.C:
9940         * tabular.C:
9941         Add a using std::abs declaration.
9942
9943         * kbmap.h (modifier_pair):
9944         * paragraph.h (InsetTable, InsetList):
9945         * lyxfont.h (FontBits):
9946         type definition made public.
9947
9948         * bufferlist.C (emergencyWriteAll): the compiler complains that
9949         there is more than one possible lyx::class_fun template to choose from.
9950         I re-named the void specialisation as lyx::void_class_fun.
9951
9952         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9953
9954         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9955         the compiler is is unable to find tostr in write_attribute.
9956
9957 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9958
9959         * buffer.C (sgmlError): hide #warning
9960
9961 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * xtl/*: get rid of xtl, which is not in use anyway
9964
9965         * LyXAction.C (init):
9966         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9967         were unimplemented xtl experimentation
9968
9969 2002-06-04  André Pönitz <poenitz@gmx.net>
9970
9971         * lyxfunc.C: disable array operation on simple formulae
9972
9973 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * converter.C: constify a bit
9976
9977 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9978
9979         * lyx_gui.C: check xforms version correctly
9980
9981 2002-04-30  Herbert Voss  <voss@lyx.org>
9982
9983         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9984         "keep" option
9985
9986 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9989           attempt to register it with a VCS)
9990
9991 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9992
9993         * lyx_main.C (init): honor variables LYX_DIR_13x and
9994         LYX_USERDIR_13x
9995
9996 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * buffer.h:
9999         * buffer.C:
10000         * lyx_main.C: fix a crash on bad command line,
10001           and give a useful exit status on error
10002
10003         * lyxfunc.C (doImport): allow -i lyx to work
10004
10005 2002-03-30  André Pönitz <poenitz@gmx.net>
10006
10007         * lyxfunc.C: mathed font changes
10008
10009 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * LaTeX.C:
10012         * importer.h:
10013         * importer.C:
10014         * lyx_sty.h:
10015         * lyx_sty.C:
10016         * lyxlex.C:
10017         * lyxrow.h:
10018         * lyxtext.h:
10019         * paragraph.h:
10020         * paragraph.C:
10021         * texrow.h:
10022         * texrow.C:
10023         * text.C:
10024         * trans_mgr.h: srcdocs, and some minor cleanups
10025
10026 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10029         call getFont all the time)
10030
10031 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10032
10033         * switch from SigC signals to boost::signals
10034
10035 2002-05-29  André Pönitz <poenitz@gmx.net>
10036
10037         * paragraph_pimpl.C (getChar): don't call size() too often...
10038
10039 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10040
10041         * paragraph_pimpl.C (insertChar): do not try to update tables when
10042         appending (pos == size())
10043
10044         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10045         in order to reduce drastically the number of comparisons needed to
10046         parse a large document
10047
10048 2002-05-29  André Pönitz <poenitz@gmx.net>
10049
10050         * text.C:
10051         * text2.C:
10052         * lyxtextclass.C:
10053         * sp_pspell.h:
10054         * textclasslist.[Ch]:
10055         * sp_ispell.h: whitespace change
10056
10057 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10060         lyxaction directly now.
10061
10062 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * trans.C:
10065         * lyxfont.C:
10066         * lyxvc.C: remove unused headers
10067
10068 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * Makefile.am:
10071         * buffer.h:
10072         * undostack.h:
10073         * undostack.C:
10074         * undo_funcs.h:
10075         * undo_funcs.C: some cleanups. Use shared_ptr
10076           and a template for the undo stacks.
10077
10078 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView_pimpl.h:
10081         * BufferView_pimpl.C:
10082         * kbmap.h:
10083         * kbmap.C:
10084         * kbsequence.h:
10085         * kbsequence.C:
10086         * lyxfunc.h:
10087         * lyxfunc.C:
10088         * text2.C: use key_state/mouse_state
10089
10090 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10093         and LSubstring
10094
10095         * chset.C: change include order
10096         (loadFile): use boost regex and get rid of LRegex and LSubstring
10097
10098         * Makefile.am (BOOST_LIBS): new variable
10099         (lyx_LDADD): use it
10100
10101         * LaTeX.C: change include order.
10102         (scanAuxFile): use boost regex and get rid of LRegex and
10103         LSubstring
10104         (deplog): ditto
10105
10106 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * ColorHandler.h:
10109         * ColorHandler.C:
10110         * FontInfo.h:
10111         * FontInfo.C: moved to frontends/xforms/
10112
10113         * FontLoader.h:
10114         * FontLoader.C: moved into frontends for GUIIzation
10115
10116         * Makefile.am:
10117         * lyx_gui.C:
10118         * lyxfont.C:
10119         * lyxfunc.C: changes from above
10120
10121 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * LColor.C: remove spurious X include
10124
10125         * BufferView_pimpl.C:
10126         * Makefile.am:
10127         * font.h:
10128         * font.C:
10129         * text.C:
10130         * text2.C: move font metrics to frontends/
10131
10132 2002-05-24  Juergen Vigna  <jug@sad.it>
10133
10134         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10135         setting the undo_cursor.
10136
10137         * ParagraphParameters.h: include local includes first.
10138
10139 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * BufferView_pimpl.C:
10142         * BufferView_pimpl.h:
10143         * Makefile.am:
10144         * WorkArea.h:
10145         * WorkArea.C:
10146         * screen.C: move WorkArea into frontends/
10147
10148         * lyxscreen.h:
10149         * screen.C:
10150         * text.C:
10151         * BufferView.C:
10152         * BufferView2.C: move LyXScreen into frontends/
10153
10154         * lyxlookup.h:
10155         * lyxlookup.C:
10156         * lyx_gui.C: move lyxlookup into frontends/xforms/
10157
10158 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * BufferView2.C:
10161         * BufferView_pimpl.C:
10162         * FontLoader.C:
10163         * LyXView.h:
10164         * LyXView.C:
10165         * Makefile.am:
10166         * WorkArea.C:
10167         * XFormsView.h:
10168         * XFormsView.C:
10169         * buffer.C:
10170         * bufferlist.C:
10171         * bufferview_funcs.C:
10172         * converter.C:
10173         * importer.C:
10174         * lyx_cb.C:
10175         * lyx_gui.C:
10176         * lyx_main.C:
10177         * lyx_find.C:
10178         * lyxfunc.C:
10179         * lyxvc.C:
10180         * minibuffer.C:
10181         * text.C:
10182         * text2.C:
10183         * trans.C:
10184         * vc-backend.C: move LyX/XFormsView into frontends/
10185
10186 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * Makefile.am:
10189         * PainterBase.C:
10190         * PainterBase.h:
10191         * Painter.C:
10192         * Painter.h:
10193         * WorkArea.C:
10194         * WorkArea.h:
10195         * screen.C:
10196         * tabular.C:
10197         * text.C:
10198         * text2.C: move Painter to frontends/
10199
10200 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * buffer.C: comment out some some code that depend upon lyx_format
10203         < 220
10204
10205         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10206         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10207
10208         * buffer.h (NO_COMPABILITY): turn off compability
10209
10210         * ColorHandler.C: include scoped_array.hpp
10211
10212         * font.C: Use more specific smart_ptr header.
10213         * Painter.C: ditto
10214         * gettext.C: ditto
10215         * ShareContainer.h: ditto
10216         * lyx_main.h: ditto
10217         * kbmap.h: ditto
10218         * FontInfo.h: ditto
10219         * BufferView_pimpl.h: ditto
10220         * ColorHandler.h: ditto
10221
10222         * kbmap.C (defkey): change call to shared_ptr::reset
10223
10224 2002-05-21  Juergen Vigna  <jug@sad.it>
10225
10226         * buffer.C (insertErtContents): fix to insert ert asis if it is
10227         non empty. Skip it completely if it contains only whitespaces.
10228
10229 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * BufferView_pimpl.C:
10232         * BufferView2.C: clear selection on paste (bug 393)
10233
10234 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10235
10236         * DepTable.C: include ctime
10237
10238 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10239
10240         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10241
10242 2002-05-14  Juergen Vigna  <jug@sad.it>
10243
10244         * text.C (breakParagraph): fixed function to honor the keepempty
10245         layout in the right maner and also to permit the right breaking
10246         algorithm on empty or non empyt keepempty paragraphs.
10247
10248         * paragraph.C (breakParagraph): we have to check also if the par
10249         is really empty (!size()) for isempty otherwise we do the wrong
10250         paragraph break.
10251
10252 2002-05-10  Juergen Vigna  <jug@sad.it>
10253
10254         * buffer.[Ch] : The following are only changes to the ert
10255         compatibility read reading old LaTeX layout and font stuff and
10256         convert it to ERTInsets.
10257
10258         * buffer.h: added isErtInset().
10259
10260         * buffer.C (struct ErtComp): add a fromlayout bool to check
10261         if we're inside a LaTeX layout.
10262         (isErtInset): new helper function.
10263         (insertErtContents): look for other ert insets before this one
10264         and insert the contents there, so that we don't have subsequent
10265         ERT insets with nothing between them. This way we create only one
10266         inset with multiple paragraphs. Also check if we don't insert only
10267         spaces ' ' as they are ignored anyway afterwards in the .tex file
10268         so if we have only spaces we will ignore this latex part in the
10269         new file.
10270         (parseSingleLyXformat2Token \\layout): better compatibility when
10271         reading layout-latex stuff.
10272         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10273         language tag.
10274         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10275         stuff after reading the inset only get the information back from
10276         the stack.
10277
10278 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10279
10280         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10281
10282         * LaTeXFeatures.C (getBabelOptions): New method.
10283
10284 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * BufferView_pimpl.C (Dispatch): work around missing argument for
10287         'layout'
10288
10289 2002-05-08  Juergen Vigna  <jug@sad.it>
10290
10291         * text.C (leftMargin): handle paragraph leftindent.
10292
10293         * paragraph.C (writeFile): write the new \\leftindent tag.
10294         (validate): handle leftindent code.
10295         (TeXEnvironment): handle paragraphleftindent code again.
10296
10297         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10298
10299         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10300         for paragrap_extra indent code and new token \\leftindent.
10301         (latexParagraphs): handle the leftindent as environment.
10302
10303         * ParameterStruct.h: added leftindent support.
10304
10305         * ParagraphParameters.C (leftIndent): added support functions for
10306         the paragraph left indent.
10307
10308         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10309         more appropriate.
10310
10311 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10312
10313         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10314         inside insetERT.
10315
10316         * text.C (computeBidiTables): No bidi in insetERT.
10317
10318         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10319         in RTL documents.
10320
10321 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * version.C.in: pre 5
10324
10325 2002-05-02  José Matos  <jamatos@fep.up.pt>
10326         * buffer.C (makeDocBookFile): white space changes, add newline to
10327         command styles.
10328         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10329
10330         * tabular.C (docBook): fix typo.
10331
10332 2002-05-03  Juergen Vigna  <jug@sad.it>
10333
10334         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10335         change in LyXText as we can not be sure it was not freed.
10336         (drawOneRow): remove unused code.
10337
10338         * text.C (drawInset): redo the calculation of the need_break_row as
10339         it could have a row which was already freed.
10340         (draw): look at the return value of drawInset and return false if
10341         it also returned false.
10342         (paintRowText): look at the return value of draw and return false if
10343         it also returned false.
10344
10345         * lyxtext.h: added bool return type to drawInset() and draw() so that
10346         if we have a change in the row so that the rowbreak has to be redone
10347         we abort drawing as it will be called again.
10348
10349 2002-05-02  Juergen Vigna  <jug@sad.it>
10350
10351         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10352         a change in the maintext also if we're inside an inset.
10353         (Dispatch): set the cursor again after a break line and after the
10354         screen has been updated as it could be we're in a different row.
10355
10356         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10357         to set the cursor behind the pargraph with > size().
10358         (setCursor): check also for the same paragraph when checking where
10359         to put the cursor if we have a NFR inset.
10360
10361         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10362         parts of layout read further up as it still was in the wrong
10363         position.
10364
10365 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * screen.C (drawFromTo): change sine fullRebreak always return
10368         true.
10369
10370         * buffer.C (parseSingleLyXformat2Token): reindent some
10371
10372         * BufferView_pimpl.C (update): change since fullRebreak always
10373         return true.
10374         (Dispatch): git rid of the last hardcoded "Standard"s.
10375
10376 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * text2.[Ch] (fullRebreak): make it return void now that we always
10379         returned true.
10380
10381 2002-04-30  Juergen Vigna  <jug@sad.it>
10382
10383         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10384         ert compatibility check for "latex" layout.
10385
10386 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10387
10388         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10389         minipages: use col% instead of p%, and also use the current font.
10390         (makeLaTeXFile): Fix use babel condition.
10391         (parseSingleLyXformat2Token): Correct font when reading old floats.
10392
10393 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10394
10395         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10396         inserting list of floats.
10397
10398 2002-04-25  Herbert Voss  <voss@lyx.org>
10399
10400         * MenuBackend.C (expand): don't add the graphics extensions to the
10401         export menu
10402
10403 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10404
10405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10406         non-existing layout, do not complain if it was the default layout
10407         of the original class (bug #342)
10408
10409 2002-04-24  Juergen Vigna  <jug@sad.it>
10410
10411         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10412         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10413
10414 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10415
10416         * buffer.C (getBibkeyList): If using \bibliography, return the
10417         option field with the reference itself. Enables us to provide natbib
10418         support when using \bibliography.
10419
10420 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10421
10422         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10423
10424         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10425         natbib is provided by the LaTeX class.
10426
10427 2002-04-23  Juergen Vigna  <jug@sad.it>
10428
10429         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10430         Wakeup functions.
10431
10432         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10433
10434 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10437
10438         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10439         ensuremath around textordmasculine, textordfeminine and
10440         textdegree.
10441
10442 2002-04-19  Juergen Vigna  <jug@sad.it>
10443
10444         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10445         reinitializing the buffer otherwise row-dimensions may be wrong.
10446         (update): reset also the selection cursors if they do exits otherwise
10447         their x/y positions may be wrong.
10448
10449         * text2.C (cursorDown): don't enter the inset if we came from a row
10450         above and are one row over the inset.
10451
10452         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10453         really leaving an inset.
10454
10455 2002-04-18  Juergen Vigna  <jug@sad.it>
10456
10457         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10458         of the selected paragraph does not have the selected layout also if
10459         the last one had!
10460
10461         * text2.C (setLayout): fixed bug which did not change last selected
10462         paragraph.
10463
10464         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10465         changed the read and substituted \\end_float with \\end_inset!
10466
10467         * BufferView_pimpl.C (cursorPrevious):
10468         (cursorNext): fixed to make it work with rows heigher than the work
10469         area without moving the cursor only the draw of the row.
10470         (workAreaMotionNotify): fix jumping over high rows.
10471
10472 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10475         Ressler.
10476
10477 2002-04-16  Juergen Vigna  <jug@sad.it>
10478
10479         * text2.C (setCursor): set also the irow().
10480         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10481         (cursorUp):
10482         (cursorDown): support for locking an inset if the x_fix value goes
10483         inside it. That way I can transverse insets too with cursor up/down.
10484
10485         * lyxrow.h: added irow helper function same as other (i) functions.
10486
10487         * BufferView_pimpl.C (cursorPrevious):
10488         (cursorNext): fixed for insets!
10489
10490 2002-04-15  Juergen Vigna  <jug@sad.it>
10491
10492         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10493         position otherwise it is wrong in some cases.
10494
10495         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10496         inside the inset before the call.
10497
10498 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10499
10500         * buffer.[Ch] (getBibkeyList): make it const.
10501
10502 2002-04-12  Juergen Vigna  <jug@sad.it>
10503
10504         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10505
10506         * text2.C (getCursorX): new helper function
10507         (setCursor): compute also ix_
10508         (setCursorFromCoordinates): set also ix.
10509
10510         * lyxcursor.h: added ix_ and helper functions.
10511
10512         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10513
10514         * buffer.C (insertStringAsLines): dont break paragraph if the this
10515         paragraph is inside an inset which does not permit it!
10516
10517         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10518         also with no chars on this paragraph.
10519         (paintRowText): only paint stuff if it's inside the workarea!
10520
10521         * paragraph.C (breakParagraph): honor keepempty flag and break the
10522         paragraph always below not above.
10523
10524         * BufferView2.C (unlockInset): update the paragraph layout on inset
10525         unlock as we changed paragraph in such a case.
10526
10527         * lyxfind.C (LyXFind): clear the former selection if not found!
10528
10529         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10530         again called in insertChar().
10531
10532         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10533         an inset which uses the whole row!
10534         (rightMargin): ditto.
10535         (insertChar): force a rebreak if we inserted an inset!
10536
10537 2002-03-28  Herbert Voss  <voss@lyx.org>
10538
10539         * lyxlength.[Ch]: add inBP() to get the right PS-point
10540         units (BigPoint). With inPixels we have rounding errors
10541
10542 2002-04-11  Juergen Vigna  <jug@sad.it>
10543
10544         * text2.C (setCursorFromCoordinates): set iy to the right value.
10545         (setCursor): add check if row->previous exists!
10546
10547         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10548         an old float_type as this was the case in the old code!
10549
10550         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10551
10552         * BufferView2.C (showLockedInsetCursor): use iy
10553         (fitLockedInsetCursor): ditto
10554
10555         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10556         locked insets as there we have the right value now.
10557
10558         * lyxcursor.C: added iy_ variable and iy functions to set to the
10559         baseline of cursor-y of the locked inset.
10560
10561         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10562         (setCursor): fixed for insets which need a full row.
10563
10564         * text.C (rowLastPrintable): don't ignore the last space when before
10565         an inset which needs a full row.
10566         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10567         as last character of a row when before a inset which needs a full row.
10568
10569 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * version.C.in: update date
10572
10573         * text2.C (fullRebreak): try to always return true and see what
10574         happens...
10575
10576 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * MenuBackend.C (expand): use Floating::listName
10579
10580         * FloatList.C (FloatList): add listName argument to the built-in
10581         floats
10582
10583         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10584         text associated with the float.
10585
10586 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10589
10590 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * ShareContainer.h: add a couple of missing typenames.
10593
10594 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10595
10596         * lyxrc.C (getDescription): use _() correctly rather than N_().
10597
10598 2002-03-28  Herbert Voss  <voss@lyx.org>
10599
10600         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10601         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10602
10603 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10606         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10607
10608 2002-03-29  Juergen Vigna  <jug@sad.it>
10609
10610         * lyxfunc.C (dispatch): add a missing fitCursor call.
10611
10612         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10613         it was scrolled by a cursor move, so return the bool status.
10614
10615         * BufferView.C (fitCursor): return the bool flag also to the outside
10616         world as this is needed.
10617
10618         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10619
10620         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10621         call the edit() as it is not needed (and wrong) IMO.
10622         (workAreaButtonPress): set the screen_first variable before evt.
10623         unlock the inset as this may change screen_first and then we have
10624         a wrong y position for the click!
10625
10626 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10627
10628         * MenuBackend.C (expand): another translation that I missed
10629
10630 2002-03-28  Juergen Vigna  <jug@sad.it>
10631
10632         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10633
10634         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10635
10636 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10639
10640         * MenuBackend.C (expand): fix export/view/update when there is no
10641         document open.
10642
10643 2002-03-27  Herbert Voss  <voss@lyx.org>
10644
10645         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10646         and text%
10647
10648 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * bufferview_funcs.C (currentState): only show paragraph number
10651         for is DEVEL_VERSION is set.
10652
10653         * lyxfunc.C (dispatch): put warning in INFO channel
10654
10655         * MenuBackend.C (expand): translate the name of floats
10656
10657         * FloatList.C (FloatList): mark the float names for translation
10658
10659         * converter.C (convert): use LibScriptSearch
10660
10661 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * MenuBackend.C (defaults): fix default menu (we might as well get
10664         rid of it...)
10665
10666 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10669         directory.
10670
10671 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * lyxvc.C: reorder includes.
10674
10675 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10678           properly
10679
10680 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * CutAndPaste.C: change layouts earlier on paste
10683           to avoid crashing when calling getFont()
10684
10685 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10688         irritating #error.
10689
10690 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * WorkArea.C: remove 'Pending' debug message.
10693
10694         * most files: ws cleanup
10695
10696         * buffer.[Ch]: ws changes
10697
10698         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10699
10700 2002-03-21  Juergen Vigna  <jug@sad.it>
10701
10702         * tabular.C (SetMultiColumn): collapse also the contents of the
10703         cells and set the last border right. Added a Buffer const * param.
10704
10705 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10708         linking or not.
10709
10710 2002-03-19  Juergen Vigna  <jug@sad.it>
10711
10712         * text2.C (clearSelection): reset also xsel_cache.
10713
10714         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10715         where it needs to be called (John tells us to do so too :)
10716         (selectionLost): reset sel_cache.
10717
10718         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10719
10720 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * text2.C (setCursorIntern): put debuging code in INSETS channel
10723
10724 2002-03-19  André Pönitz <poenitz@gmx.net>
10725
10726         * lyxfunc.C: tiny whitespace change
10727
10728 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * ToolbarDefaults.C (init):
10731         * LyXAction.C (init):
10732         * commandtags.h:
10733         * BufferView_pimpl.C (Dispatch):
10734         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10735
10736 2002-03-19  Allan Rae  <rae@lyx.org>
10737
10738         * exporter.C (Export): removeAutoInsets before doing anything else.
10739         While I've just introduced a dependency on BufferView this really is
10740         the best place to clean the buffer otherwise you need to cleanup in
10741         a dozen places before calling export or cleanup in a dozen functions
10742         that export calls.
10743
10744         * converter.C (runLaTeX):
10745         (scanLog): Better handling of removeAutoInsets and screen updates.
10746
10747         * lyxfunc.C (dispatch): small whitespace changes
10748
10749 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * WorkArea.C (C_WorkAreaEvent): return a value.
10752         (event_cb): return 1 if we handled the event, 0 otherwise.
10753
10754         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10755
10756 2002-03-18  Juergen Vigna  <jug@sad.it>
10757
10758         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10759         (GetAdditionalWidth): ditto.
10760         (RightLine): ditto.
10761         (LeftLine): ditto.
10762
10763         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10764         inset if we're there actually (probably not used right now but this
10765         is the direction to go for unifying code).
10766         (paste): disable code to clear the selection.
10767
10768         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10769         inside an InsetText and move the check further up as it is in the
10770         wrong place.
10771
10772         * text2.C (pasteSelection): set a selection over the pasted text.
10773
10774 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10775
10776         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10777         and libgraphics to build on Cygwin.
10778
10779 2002-03-15  Juergen Vigna  <jug@sad.it>
10780
10781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10782         inserting an Inset into the paragraph. I know this is not the best
10783         fix but we already use current_view in CutAndPaste so we will remove
10784         all of it's using at the same time.
10785
10786         * buffer.C (sgmlError): deactivated function till it is rewritten in
10787         the right mode, now it can create problems.
10788
10789         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10790         before accessing it.
10791
10792 2002-03-14  Juergen Vigna  <jug@sad.it>
10793
10794         * undo_funcs.C (textHandleUndo): do the right thing when updating
10795         the inset after the undo/redo.
10796
10797         * text2.C (setCursor): just some testcode for #44 not ready yet.
10798
10799         * undo_funcs.C (textHandleUndo): set the next() and previous()
10800         pointers of the paragraph to 0 before deleting otherwise we have
10801         problems with the Paragraph::[destructor].
10802
10803         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10804         on a paragraph insertion.
10805
10806 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10807
10808         * buffer.C (asciiParagraph): use += operator for char append to
10809         string.
10810
10811         * paragraph.C (getFontSettings): compare >= not just >
10812         (highestFontInRange): ditto
10813         (setFont): ditto
10814
10815 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * paragraph.C: change several algorithm to be more appripriate for
10818         the problem domain. This is lookip in FontList and in the InsetList.
10819
10820 2002-03-13  André Pönitz <poenitz@gmx.net>
10821
10822         * commandtags.h:
10823         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10824
10825 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * commandtags.h:
10828         * LyXAction.C:
10829         * lyxfunc.C:
10830         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10831
10832 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * Painter.C (display): anon helper function, adjust code for this
10835         change.
10836         (pixmap): remove function.
10837
10838         * Painter.h: remove private display variable.
10839
10840         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10841
10842 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10843
10844         * WorkArea.[Ch]: remove figinset_canvas cruft.
10845
10846 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * lyxtextclass.C (operator): add one item cache optimization.
10849
10850         * bufferlist.h: doxy changes
10851
10852         * bufferlist.C: ws changes
10853
10854         * DepTable.[Ch] (ext_exist): place const in the right spot.
10855
10856         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10857         call resizeInsets.
10858         (workAreaExpose): call resizeInsets when the with BufferView changes.
10859         (Dispatch): adjust for protectedBlank removal
10860         (specialChar): call updateInset if the insert went ok.
10861
10862         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10863         specialChar instead.
10864
10865         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10866
10867         * BufferView.h: doxy change
10868
10869         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10870
10871         * lyxtextclass.C (operator[]): remove non-const version
10872         (defaultLayout): remove non-const version
10873
10874 2002-03-12  Juergen Vigna  <jug@sad.it>
10875
10876         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10877         did resize the LyXText too.
10878
10879         * buffer.C (readLyXformat2): set layout information on newly allocated
10880         paragraphs.
10881
10882         * tabular.C (OldFormatRead): set layout information on the paragraph.
10883
10884 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10885
10886         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10887
10888 2002-03-11  Juergen Vigna  <jug@sad.it>
10889
10890         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10891         plainly wrong.
10892         (resizeCurrentBuffer): force also the insets to resize themselfes.
10893         (moveCursorUpdate): fixed up for InsetText.
10894
10895 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10896
10897         * commandtags.h:
10898         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10899         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10900         value of Dialogs::tooltipsEnabled().
10901         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10902
10903 2002-03-08  Juergen Vigna  <jug@sad.it>
10904
10905         * BufferView_pimpl.C (updateInset): update inset inside inset also
10906         if it isn't inside theLockingInset().
10907
10908 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10909
10910         * buffer.C (asciiParagraph): redo some of the word and line length
10911         handling.
10912         (getLists): look for Caption instead of caption.
10913
10914 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * buffer.C (Buffer): initialize niceFile to true
10917         (makeLaTeXFile):
10918         (makeLinuxDocFile):
10919         (makeDocBookFile): make sure niceFile is true on exit
10920
10921 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10922
10923         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10924
10925 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10926
10927         * LyXSendto.C: remove.
10928         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10929         * lyx_gui.C: remove now-redundant comment.
10930         * ColorHandler.h: remove forward declaration of class WorkArea.
10931         * lyxfunc.C: remove #include "WorkArea.h".
10932
10933 2002-03-07  Juergen Vigna  <jug@sad.it>
10934
10935         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10936         got moved away with the DEPM and also set the inset_owner always
10937         right which before could have been omitted.
10938
10939 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10942         wanted layout is not found.
10943
10944 2002-03-07  Juergen Vigna  <jug@sad.it>
10945
10946         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10947
10948 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * paragraph.C (breakParagraph): use default layout not layout of
10951         prev paragraph.
10952         (Paragraph): clear ParagraphParameters.
10953
10954 2002-03-06  Juergen Vigna  <jug@sad.it>
10955
10956         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10957         otherwise it would not be a valid lenght. Fixed a special case in
10958         the minipage compatibility read where we end the document with a
10959         minipage.
10960
10961         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10962         was set as it could be 0 for InsetTexts first entry.
10963
10964 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * paragraph.C (writeFile): if layout is empty write out
10967         defaultLayoutName().
10968
10969         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10970         file without named layout we set layout to defaultLayoutName().
10971
10972 2002-03-06  Juergen Vigna  <jug@sad.it>
10973
10974         * CutAndPaste.C (copySelection): set layout for new paragraph.
10975
10976         * text.C (prepareToPrint): leave ERT inset left aligned
10977         (leftMargin): don't indent paragraphs inside ERT insets
10978
10979 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * paragraph.C (breakParagraph): dont call clear do the work manually
10982
10983         * paragraph.[Ch] (clear): remove function
10984
10985 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * paragraph.C (Paragraph): dont call clear, the work has already
10988         been done.
10989
10990         * lyxtextclass.C (operator): assert if n is empty
10991
10992         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10993         work manually instead.
10994
10995 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView_pimpl.C: protect selectionLost against text == 0
10998
10999 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * text.C (breakParagraph): fix a setting layout to '0' problem.
11002
11003 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11004
11005         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11006         final location of file, for the included files, and graphics.
11007
11008 2002-03-05  Juergen Vigna  <jug@sad.it>
11009
11010         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11011
11012 2002-03-04  Juergen Vigna  <jug@sad.it>
11013
11014         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11015
11016         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11017         last column of multicolumn cells.
11018         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11019
11020 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11021
11022         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11023         file if it doesn't go to a temporary file.
11024
11025         * buffer.C (sgmlOpenTag):
11026         (sgmlCloseTag):  remove extra newline insertion.
11027
11028 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11029
11030         * text.C (getRowNearY): comment out debug msg
11031
11032 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * text2.C: first -> first_y
11035
11036         * text.C (getRowNearY): add some attemts at a possible
11037         optimization, not working.
11038
11039         * tabular.[Ch]: add BufferParams to several function so that newly
11040         created paragraph can be initialized to he default layotu for the
11041         buffers textclass.
11042
11043         * tabular-old.C (ReadOld): add buf->params to call of Init
11044
11045         * screen.C: rename text->first to text->first_y
11046
11047         * paragraph.C (breakParagraph): always set layout in the broken
11048         paragraph
11049
11050         * lyxtextclass.C (Read): remove lowercase
11051         (hasLayout): ditto
11052         (operator): ditto
11053         (delete_layout): ditto
11054
11055         * lyxtext.h: rename first -> first_y
11056
11057         * lyxlayout.C (Read): remove lowercase
11058         (name): ditto
11059         (setName): ditto
11060         (obsoleted_by): ditto
11061
11062         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11063
11064         * buffer.C (insertErtContents): add params are to InsetERT
11065         (parseSingleLyXformat2Token): add code to check if a paragraphs
11066         layout really exist.
11067         (parseSingleLyXformat2Token): add params to several inset
11068         constructors
11069         (asciiParagraph): remove lowercase, do the layout comparisons with
11070         no_case
11071
11072         * BufferView_pimpl.C (cursorNext): first -> first_y
11073         (resizeCurrentBuffer): first -> first_y
11074         (updateScrollbar): first -> first_y
11075         (scrollCB): first -> first_y
11076         (workAreaMotionNotify): first -> first_y
11077         (workAreaButtonPress): first -> first_y
11078         (checkInsetHit): first -> first_y
11079         (cursorPrevious): first -> first_y
11080         (cursorNext): first -> first_y
11081         (Dispatch): add buffer_->params to severl inset contructors
11082
11083 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * lyxlayout.C (Read): remove some debug info that I forgot.
11086
11087         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11088         clean up the code slightly.
11089         (makeLinuxDocFile): ditto
11090         (makeDocBookFile): ditto
11091
11092         * text2.C: layout as string
11093
11094         * text.C: layout as string
11095
11096         * paragraph_pimpl.C: layout as string
11097
11098         * paragraph.[Ch]: layout as string
11099
11100         * lyxtextclasslist.[Ch]: layout as string
11101
11102         * lyxtextclass.[Ch]: layout as string
11103
11104         * lyxtext.h: layout as string
11105
11106         * lyxlayout.[Ch]: layout as string
11107
11108         * lyx_cb.C: layout as string
11109
11110         * bufferview_funcs.C: layout as string
11111
11112         * bufferparams.C: layout as string
11113
11114         * buffer.C: layout as string
11115
11116         * LyXView.[Ch]: layout as string
11117
11118         * LaTeXFeatures.[Ch]: layout as string
11119
11120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11121
11122         * BufferView_pimpl.C: change current_layout to string, remove
11123         lyx::layout_type.
11124         (Dispatch):
11125         (smartQuote):
11126         (insertInset):
11127         (workAreaButtonRelease): layout as string
11128
11129         * BufferView2.C (unlockInset): adjust
11130
11131         * vspace.C (asLatexCommand): use an explict temp variable.
11132
11133 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * Makefile.am: use FRONTEND_*
11136
11137 2002-03-01  Juergen Vigna  <jug@sad.it>
11138
11139         * tabular.C (SetWidthOfMulticolCell): changed to something better
11140         I hope but still work in progress.
11141         (recalculateMulticolumnsOfColumn): renamed function from
11142         recalculateMulticolCells as it is more appropriate now.
11143         (SetWidthOfCell): calculate multicols better.
11144
11145 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11146
11147         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11148
11149         * lyxfunc.C (processKeySym): print sequence also if it is
11150         `deleted' (complete)
11151
11152         * kbsequence.C (print): print sequence even if it is deleted
11153         (complete would be a better word, actually).
11154
11155         * lyxfunc.C (dispatch): print complete options after a prefix key
11156
11157         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11158
11159 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11160
11161         * text2.C (setCharFont): eliminate setCharFont code duplication.
11162
11163 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11164
11165         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11166         LFUN_TABULAR_FEATURE (bug #177)
11167
11168 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11169
11170         * Makefile.am: remove figure.h
11171
11172 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11173
11174         * Bufferview_pimpl.C:
11175         * CutAndPasteC:
11176         * LaTeX.C:
11177         * LyXSendto.C:
11178         * buffer.C:
11179         * bufferlist.C:
11180         * converter.C:
11181         * language.C:
11182         * lyxfunc.C:
11183         * lyxvc.C:
11184         * paragraph.C:
11185         * text.C:
11186         * text2.C: remove #include "lyx_gui_misc.h".
11187
11188         * LaTeX.C: added #include <cstdio>
11189
11190 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11193         that the paragraph following this one can have.
11194
11195         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11196
11197         * vspace.C (asLatexCommand): fix bogus gcc warning
11198
11199         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11200
11201 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11202
11203         * text2.C (setLayout): get rid of redundant code
11204
11205 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11206
11207         * text2.C (incDepth): make sure depth cannot be increased beyond
11208         reasonable values.
11209
11210 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11213         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11214
11215         * PainterBase.h (image):
11216         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11217         a LyXImage const *.
11218
11219 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * BufferView.C:
11222         * BufferView.h:
11223         * BufferView_pimpl.C:
11224         * BufferView_pimpl.h:
11225         * LaTeXFeatures.C:
11226         * LyXAction.C:
11227         * LyXView.C:
11228         * Makefile.am:
11229         * UpdateList.h:
11230         * UpdateList.C:
11231         * buffer.C:
11232         * figure.h:
11233         * figureForm.C:
11234         * figureForm.h:
11235         * figure_form.C:
11236         * figure_form.h:
11237         * lyx_cb.C:
11238         * lyx_gui.C:
11239         * lyx_gui_misc.C:
11240         * lyxfunc.C:
11241         * sp_base.h:
11242         * sp_ispell.h:
11243         * sp_pspell.h:
11244         * sp_spell.C: remove fig inset, and the crap house of
11245           cards that follows it
11246
11247 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * Makefile.am:
11250         * lyxserver.C:
11251         * os2_defines.h:
11252         * os2_errortable.h:
11253         * nt_defines.h: move .h into support/
11254
11255         * vms_defines.h: remove
11256
11257         * WorkArea.C: add space in debug output
11258
11259         * text2.C:
11260         * paragraph.C:
11261         * buffer.C: add WITH_WARNINGS
11262
11263         * vc-backend.h:
11264         * vc-backend.C:
11265         * bufferlist.C: s/retrive/retrieve/, add docs
11266
11267         * vspace.h:
11268         * vspace.C:
11269         * kbmap.h:
11270         * lyxlength.h:
11271         * lyxgluelength.h:
11272         * length_common.h:
11273         * chset.h:
11274         * chset.C: add docs
11275
11276         * lyxgui.C: add ID to X error handler
11277
11278         * lyxtestclass.c: fix typo
11279
11280 2002-02-26  Juergen Vigna  <jug@sad.it>
11281
11282         * tabular_funcs.C (write_attribute): changed so that some default
11283         attributes are not written at all.
11284         (getTokenValue): set default values before trying to read the
11285         value so we have the return value always set as default if we don't
11286         find the token we search for.
11287
11288         * tabular.C (Write): write bools as bools not as strings!
11289
11290 2002-02-22  Juergen Vigna  <jug@sad.it>
11291
11292         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11293         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11294
11295         * text.C (leftMargin): don't add an indent for paragraphs inside
11296         tabular cells (fix #208).
11297
11298 2002-02-21  José Matos  <jamatos@fep.up.pt>
11299
11300         * tabular.C (docBook): fixed support for long tables.
11301
11302 2002-02-20  Juergen Vigna  <jug@sad.it>
11303
11304         * text2.C (getFont): get the drawing font of the Inset if this
11305         paragraph is inside an inset (only important for InsetERT for now).
11306
11307         * buffer.C (insertErtContents): use new lanugage params in ERT
11308         constructor.
11309
11310         * CutAndPaste.C: commenting out seemingly uneeded code.
11311
11312 2002-02-19  Allan Rae  <rae@lyx.org>
11313
11314         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11315         Iterators might be simple to use but they also get invalidated.
11316         (removeAutoInsets): renamed saved cursor tracking variables and added
11317         some comments to clarify what everything does.
11318
11319 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * Chktex.C:
11322         * LaTeX.C:
11323         * LyXSendto.C:
11324         * converter.C:
11325         * lyx_cb.C:
11326         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11327         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11328
11329         * lyxfunc.C:
11330         * vc-backend.h: remove #include "support/syscall.h"
11331
11332         * LaTeX.C:
11333         * LyXSendto.C:
11334         * converter.C: rearrange #includes in Lars' approved fashion.
11335
11336         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11337         forward declare class Timeout in the header file.
11338
11339         * XFormsView.C: changes due to the above.
11340
11341         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11342         similar to LyXView.
11343
11344         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11345         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11346
11347 2002-02-18  José Matos  <jamatos@fep.up.pt>
11348
11349         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11350         insets contents.
11351
11352 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11353
11354         * a lot of small ws changes
11355         * add a lot of using std::XXX
11356         * use std construcs some places where approp.
11357         * use some exisint stuff from lyxfunctional where approp.
11358         * Make file changes to use partial linking (lets test this now...)
11359
11360 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11361
11362         * Chktex.C:
11363         * buffer.C:
11364         remove #include "support/syscontr.h" as it's redundant. Always has been.
11365
11366         * Chktex.C:
11367         * LaTeX.C:
11368         * LyXSendto.C:
11369         * converter.C:
11370         * lyx_cb.C:
11371         * vc-backend.C:
11372         change Systemcalls::System to Systemcalls::Wait and
11373         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11374         No change of functionality, just reflects the stripped down Systemcalls
11375         class.
11376
11377 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11378
11379         * debug.[Ch]: add a GRAPHICS type to the enum.
11380
11381 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11384
11385         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11386         there is an inset.
11387
11388 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11389
11390         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11391         match the changes below.
11392
11393         * text2.C (toggleInset): if there is not editable inset at cursor
11394         position, try to see if cursor is _inside_ a collapsable inset
11395         and close it.
11396
11397 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11400         document menu has a nice checkbox
11401
11402 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * lyxlength.C (asLatexString): change PW to output as percent of
11405         \textwidth.
11406
11407         * lengthcommon.C: change '%' to 't%'
11408
11409         * lyxfunc.C (dispatch): a few comments from Martin
11410
11411 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * WorkArea.h:
11414         * WorkArea.C:
11415         * BufferView_pimpl.h:
11416         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11417           the X selection.
11418
11419 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * vspace.C (inPixels): fix compiler warning
11422
11423 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * lyxfunc.C (getStatus): fix status message for disabled commands.
11426
11427 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * BufferView_pimpl.C: fix crash on close buffer
11430         during selection (#227)
11431
11432 2002-01-27  Herbert Voss  <voss@lyx.org>
11433
11434         * buffer.C: link old Figure to new graphic inset
11435
11436 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11437
11438         * FontLoader.C (getFontinfo): Change the latex font names in order
11439         to match the names of type1inst.
11440
11441 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11444
11445         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11446         (extchanged): ditto
11447         (ext_exist): ditto
11448         (remove_files_with_extension): ditto
11449         (remove_file): ditto
11450         (write): ditto
11451
11452         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11453         document is smaller than the work area height. Do not initialize
11454         static variables to 0.
11455
11456 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11457
11458         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11459
11460         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11461         LFUN_LAYOUT_PARAGRAPHS.
11462
11463         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11464         tabular. It is possible to provide a possible cell, which will
11465         typically be the actcell from the corresponding insettabular
11466
11467         * lyxfunc.C (getStatus): small cleanup; disable
11468         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11469         true
11470
11471 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11474
11475         * paragraph.C (startTeXParParams):
11476         (endTeXParParams): new methods. The LaTeX code to
11477         start/end paragraph formatting
11478         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11479         empty (fixes bug #200)
11480
11481         * vspace.C (inPixels): adapt to the change below
11482         (inPixels): [later] more cleanups (remove unused variables)
11483
11484         * lyxlength.C (inPixels): change to use a width and a height as
11485         parameter.
11486
11487 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11490         Replaced with \paperwidth
11491
11492         * DepTable.C (insert): add std:: qualifier
11493
11494 2002-01-18  Allan Rae  <rae@lyx.org>
11495
11496         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11497         updated also?
11498
11499         * text.C (drawInset): Turned out I didn't know enough about how
11500         rebreaking worked.  This fixes most of the redraw problems.  I see
11501         an occasional cursor trail when a line is broken now and the cursor
11502         placement can seem out by a few pixels also after a rebreak.
11503
11504 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11505
11506         * buffer.C (parseSingleLyXformat2Token): update because minipage
11507         width is now a LyXLength
11508
11509         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11510
11511         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11512         math insets
11513
11514 2002-01-17  Juergen Vigna  <jug@sad.it>
11515
11516         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11517
11518         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11519         is set correctly and the inset is updated correctly.
11520
11521 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11524         the beginning of the loop.
11525
11526 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * lyxrc.C: improve help for use_scalable_fonts
11529
11530 2002-01-17  Allan Rae  <rae@lyx.org>
11531
11532         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11533
11534 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11535
11536         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11537         make sure to set their inset_owner to the right value (bug #171)
11538
11539 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11540
11541         * DepTable.h
11542         * DepTable.C: Implement mtime checking to reduce time spent doing
11543         CRCs.
11544
11545 2002-01-16  Juergen Vigna  <jug@sad.it>
11546
11547         * tabular.C (GetAdditionalHeight): one of error fixed.
11548
11549         * lyxrc.C (output): small fix in writing use_pspell.
11550
11551 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11552
11553         * sp_base.h: #include LString.h
11554
11555 2002-01-16  Allan Rae  <rae@lyx.org>
11556
11557         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11558         Can someone check this please?
11559
11560         * text.C (drawInset): It was possible that p.row would be removed by
11561         breakAgainOneRow upsetting a few other settings.  There may be another
11562         small tweak possible by setting need_break_row = 0 when p.row has been
11563         removed but I don't know enough about the logic here.
11564
11565 2002-01-15  Allan Rae  <rae@lyx.org>
11566
11567         * text.C (insertChar): removed conditional truism.
11568
11569         * BufferView2.C (removeAutoInsets): More tweaks.
11570         cur_par_prev could be a stray pointer.  Check for trailing empty line
11571         in case last line was cur_par and only had an error inset on it.
11572
11573 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11574
11575         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11576         absolute
11577
11578         * vc-backend.C (most methods):
11579         * exporter.C (Export):
11580         * converter.C (convert):
11581         (runLaTeX):
11582         * LyXSendto.C (SendtoApplyCB):
11583         * lyxfunc.C (dispatch):
11584         (menuNew):
11585         (open):
11586         (doImport):
11587         * lyx_cb.C (AutoSave):
11588         (InsertAsciiFile):
11589         * BufferView_pimpl.C (MenuInsertLyXFile):
11590         * buffer.C (runChktex): use Buffer::filePath().
11591
11592         * buffer.h: rename filename to filename_; rename filepath to
11593         filepath_ and make it private
11594         (filePath): new method
11595
11596         * buffer.C (writeFile): use fileName()
11597         (getLatexName):
11598
11599         * lyx_main.C (init): fix starting  of LyX when the binary is a
11600         link from so,ewhere else.
11601
11602         * minibuffer.C: include <cctype> for isprint
11603
11604 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11607         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11608         name clash with InsetCollapsable's width function.
11609
11610 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * lastfiles.C: include <iterator>
11613
11614 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11615
11616         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11617         std::count.
11618
11619         * buffer.C (makeLaTeXFile): ditto.
11620         Also make loop operation more transparent.
11621
11622 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11623
11624         * ToolbarDefaults.C: remove trailing comma closing namespace.
11625
11626         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11627
11628         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11629         as in WorkArea.
11630
11631         * trans.C (Load): comment out unused variable, allowed.
11632
11633 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11634
11635         * minibuffer.[Ch] (append_char): new method to recieve input from the
11636         drop-down completion browser. If a key was pressed, then recieve this
11637         char and append it to the existing string.
11638         (peek_event): modify the positioning data passed to the completion
11639         browser so that it can be placed above the minibuffer rather than below.
11640 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11641
11642         * LyXAction.C (init): alloe error-next for readonly documents.
11643
11644         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11645         count.
11646
11647 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * bufferlist.C (readFile): create the buffer _after_ checking that
11650         the file exists.
11651
11652         * lyxfunc.C (verboseDispatch): fix handling of arguments
11653
11654         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11655
11656         * lyxrc.C: use string::erase() instead of initializing to "".
11657
11658
11659 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView_pimpl.h:
11662         * BufferView_pimpl.C:
11663         * WorkArea.h:
11664         * WorkArea.C:
11665         * text2.C: tell X when we have made a selection for copying
11666
11667 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * BufferView_pimpl.C (MenuInsertLyXFile):
11670         * lyxfunc.C (menuNew):
11671         (open):
11672         (doImport): add shortcuts to directory buttons
11673
11674         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11675         open a float)
11676
11677         * lyxfunc.C (setStatusMessage):
11678         (getStatusMessage): new methods
11679         (getStatus):use setStatusMessage instead of setErrorMessage
11680         (dispatch): when function is disabled, set error message here
11681         [instead of in getStatus previously]
11682
11683         * BufferView_pimpl.C (workAreaButtonRelease): update
11684         toolbar/menubar here too.
11685
11686 2002-01-13  Allan Rae  <rae@lyx.org>
11687
11688         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11689         Now seems indestructible.  Remaining task is to audit all other
11690         code affected by deleteEmptyParagraphMechanism.  One small quirk
11691         left is that an empty document with an error in the preamble can
11692         be made to report an error but no error box appears.  I don't know
11693         where it goes.
11694         (removeAutoInsets): Improved comments.
11695
11696 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * Thesaurus.h:
11699         * Thesaurus.C: update for Aiksaurus 0.14
11700
11701 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11702
11703         * text2.C (firstParagraph): removed member function, all uses
11704         replaces with ownerParagraph
11705         (redoParagraphs): here
11706         (updateInset): here
11707         (toggleAppendix): here
11708         * BufferView2.C (insertErrors): here
11709         (setCursorFromRow): here
11710
11711 2002-01-13  Allan Rae  <rae@lyx.org>
11712
11713         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11714         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11715         There is still a way to segfault this although you may have to do this
11716         multiple times: Have an InsetERT with an unknown command in it.
11717         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11718         <down-arrow>, <Enter> again, View->DVI, BANG!
11719
11720         * text2.C (setCursor):
11721         (deleteEmptyParagraphMechanism):
11722         * lyxtext.h (setCursor):
11723         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11724         Making use of the return value may help fix other bugs.
11725
11726 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11727
11728         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11729
11730         * LyXView.C (updateMenubar): call MenuBar::update here
11731         (updateToolbar): but not here
11732         (showState): do not update toolbar/menubar
11733
11734         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11735         should need to care about that.
11736
11737         * lyxfunc.C (verboseDispatch): simplify a bit
11738         (getStatus): have a version which takes a pseudoaction, and
11739         another which requires a (kb_action,string).
11740
11741         * LyXAction.C (retrieveActionArg): make it work also when action
11742         is not a pseudo-action.
11743         (getActionName): simplify a bit
11744         (helpText):
11745
11746 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * lyxfunc.C (verboseDispatch): new families of methods with
11749         several ways to specify a command and a bool to indicate whether
11750         the command name and shortcut should be displayed in minibuffer
11751         (eventually, we could extend that to a finer bitmask like
11752         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11753         (dispatch): the pristine dispatch command which just, well,
11754         dispatchs! Note it still sets its result to minibuffer; I'm not
11755         sure we want that.
11756
11757         * lyxfunc.h: remove setHintMessage
11758
11759         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11760
11761 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * BufferView_pimpl.C (specialChar): delete new inset if we have
11764         not been able to insert it.
11765
11766         * kbmap.C: revert to using int instead of kb_action, since all we
11767         are dealing with is pseudo-actions.
11768
11769         * LyXAction.C (searchActionArg): change to return int instead of
11770         kb_action, since the result is a pseudoaction.
11771
11772 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11773
11774         * buffer.C (insertErtContents): Fix (partially) the font bug.
11775
11776 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11779         as the other one is broken on my machine!
11780
11781 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11782
11783         * commandtags.h:
11784         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11785
11786 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11789         reflect their actual use. Provide compatibility code for older lyxrc
11790         files.
11791
11792         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11793         FL_NORMAL_STYLE.
11794         change names of popup font variables in line with the changes to lyxrc.C
11795
11796 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11797
11798         * buffer.C (asciiParagraph): avoid outputing a word twice after
11799         an inset.
11800
11801         * lyxrc.C (getDescription): document that document_path and
11802         template_path can be empty.
11803
11804 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * LaTeXFeatures.C (getMacros):
11807         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11808
11809         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11810
11811         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11812         getPackages.
11813         (getPackages): rename feature "floats" to "float". Use an array to
11814         iterate over 'simple' features (i.e. just a \usepackage). Add
11815         handling of "amsmath" (renamed from "amsstyle").
11816
11817 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11818
11819         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11820         features list.
11821
11822 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11825         FuncStaus::FuncStatus & FuncStaus::some_method().
11826
11827 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11828
11829         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11830         of the func_satus stuff. Edited and massaged in various ways by
11831         JMarc.
11832
11833         * lyxfunc.C (getStatus): use FuncStatus
11834
11835 2002-01-08  Juergen Vigna  <jug@sad.it>
11836
11837         * text.C (nextBreakPoint): use function Inset::isChar().
11838
11839         * paragraph.C (TeXOnePar): use function
11840         Inset::forceDefaultParagraphs.
11841
11842         * buffer.C (latexParagraphs): use function
11843         Inset::forceDefaultParagraphs.
11844
11845 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * lyx_gui.C (init): set the style of the menu popups to
11848         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11849
11850 2002-01-07  Juergen Vigna  <jug@sad.it>
11851
11852         * text.C (setHeightOfRow): small fix
11853         (prepareToPrint): don't look at alignment if we don't have the place
11854         for doing it.
11855
11856 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11857
11858         * box.C: New file. Move the Box methods and functions out of box.h,
11859         following Lars' suggestion.
11860
11861 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11862
11863         * box.h: #include "support/LOstream.h", needed for inlined function.
11864
11865         * lyxtextclass.C:
11866         * lyxtextclasslist.C: added some using std declarations.
11867
11868 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * box.h: make signed dimensions to allow insets wider than
11871           the screen (bug #162)
11872
11873         * BufferView_pimpl.C: add some insetHit debug
11874
11875 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * vc-backend.C: add FIXME
11878
11879 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * lyxfunc.C (getStatus): enable code for showing math font status
11882         in toolbar/menu.
11883
11884 2002-01-07  Juergen Vigna  <jug@sad.it>
11885
11886         * text.C (nextBreakPoint): removed debug output not needed anymore.
11887
11888 2002-01-06  Juergen Vigna  <jug@sad.it>
11889
11890         * text.C (nextBreakPoint): fixed up this function we had this bug
11891         since ever but now hopefully we break row better.
11892         (insertChar): we have to check if an inset is the next char as it
11893         could now happen that a large inset is causing a break.
11894
11895 2002-01-05  Juergen Vigna  <jug@sad.it>
11896
11897         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11898         if it doesn't like to be drawed.
11899
11900 2002-01-04  Juergen Vigna  <jug@sad.it>
11901
11902         * BufferView2.C (lockInset): forgot to set a cursor.
11903
11904         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11905
11906 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11907
11908         * FormMathsPanel.C:
11909         * FormMathsPanel.h
11910         * MathsSymbols.C:
11911         * form_maths_panel.C:
11912         * form_maths_panel.h:
11913         * form_maths_panel.fd: implemented sub- and super- buttons in math
11914         panel.
11915
11916         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11917         (or ^ space) to be used as in TeX (req'd by André).
11918
11919         * lyxfunc.C: Allow ^ and _ again to be used both as
11920         super/subscript (mathed) and as themselves (in text).
11921
11922 2002-01-03  Allan Rae  <rae@lyx.org>
11923
11924         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11925         "LyX" or the filename of the current buffer if it has one.  This is a
11926         modified form of John Levon's patch.
11927
11928         * XFormsView.C (setWindowTitle): also set icon title.
11929
11930         * LyXView.h (setWindowTitle): signature changed.
11931         * XFormsView.h (setWindowTitle): ditto.
11932
11933 2002-01-02  Juergen Vigna  <jug@sad.it>
11934
11935         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11936
11937 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * screen.C (topCursorVisible): introduce a temp var for
11940         text->cursor.row(), handle the case where this row is null. (kindo
11941         hachish)
11942
11943         * text2.C (setCursor): add a couple of asserts.
11944
11945         * paragraph.h (inset_iterator): add -> operator
11946
11947         * paragraph.[Ch] (autoDeleteInsets): remove member function
11948
11949         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11950         cursor pos correctly and handle inset deletion by itself.
11951         (insertErrors): move iterator declaration out of for expression
11952
11953         * lyxtextclass.C: add <algorithm>
11954
11955         * Makefile.am: added the new files to sources, removed layout.C
11956
11957         * layout.C: removed file
11958
11959         * layout.h: remove LYX_DUMMY_LAYOUT
11960
11961         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11962         layout.
11963
11964         * lyxlayout.[Ch]:
11965         * lyxtextclass.[Ch]:
11966         * lyxtextclasslist.[Ch]: new files
11967
11968         * include order changes to a lot of files, also changes because of
11969         the six new files.
11970
11971 2001-12-27  Juergen Vigna  <jug@sad.it>
11972
11973         * buffer.C (asciiParagraph): more fixes.
11974
11975         * tabular.C (ascii): make ascii export support export of only the
11976         data separated by a column-delimiter.
11977         (ascii): better support for ascii export.
11978
11979         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11980
11981 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11982
11983         * tabular_funcs.C: use a "using std::getline" instead of the
11984         previous fix from Angus (necessary for cxx + lyxstring)
11985
11986 2001-12-24  Juergen Vigna  <jug@sad.it>
11987
11988         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11989
11990         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11991         problems. First check a minipage also if we have some ert-contents
11992         (not only on par->size(), second set the right depth of the paragraph
11993         on the relink to the root-paragraph-list!
11994
11995         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11996         which then did not anymore update the main paragraphs on undo/redo!
11997
11998 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12001         code. Support all font-changing funcs (even those which are not in
12002         menu currently). Support for reporting font settings in
12003         mathed (disabled until Andre provides a function on mathed's side).
12004
12005         * func_status.h (toggle): small helper function to set toggle
12006         state on a flag.
12007
12008 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * tabular_funcs.C: getline -> std::getline
12011
12012 2001-12-21  Juergen Vigna  <jug@sad.it>
12013
12014         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12015         accessed and could be 0 (I couldn't generate this but it seems
12016         Michael could!).
12017
12018 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12021         * tabular_funcs.h: here and include iosfwd
12022
12023 2001-12-20  Juergen Vigna  <jug@sad.it>
12024
12025         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12026         inside inset but undo_par was.
12027
12028 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12029
12030         * Thesaurus.C: always include <config.h> in sources.
12031
12032         * Painter.h:
12033         * lyxlookup.h:
12034         * box.h: do not include <config.h> in header files
12035
12036         * text.C (paintLastRow): remove unused variable
12037
12038         * text.C (transformChar):
12039         (insertChar):
12040         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12041
12042         * Painter.C (text):
12043         * font.C (width): rewrite to use uppercase() instead of
12044         islower/toupper.
12045
12046         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12047
12048 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * lyxfind.C: clean up of find failure position change
12051
12052 2001-12-20  Juergen Vigna  <jug@sad.it>
12053
12054         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12055
12056         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12057         (TeXRow): added to LaTeX a single tabular row.
12058         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12059         (Latex): simplified and finally good LT-h/f support.
12060         (various_functions): just small adaptions for LT-h/f support.
12061
12062         * tabular_funcs.[hC]: added and moved here all not classfunctions
12063         of LyXTabular.
12064
12065 2001-12-19  Juergen Vigna  <jug@sad.it>
12066
12067         * tabular.[Ch]: better support for longtabular options (not finished
12068         yet!)
12069
12070 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * text.C (paintLastRow): use the label font instead of the font of
12073         the last character to compute the size of *_BOX. This makes more
12074         sense and avoids a crash with empty paragraphs.
12075         Use Painter::rectangle to draw EMPTY_BOX.
12076
12077 2001-12-19  Juergen Vigna  <jug@sad.it>
12078
12079         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12080         the paragraphs if the replaced paragraph is not the first one!
12081         Tried to delete not used paragraphs but does not work yet so for
12082         now it's inside #ifdef's and by default off!
12083
12084 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * MenuBackend.C: include "lyx_main.h" instead of declaring
12087         lastfiles (actually was declared as LastFiles* instead of a
12088         scoped_ptr).
12089
12090 2001-12-17  Juergen Vigna  <jug@sad.it>
12091
12092         * tabular.C (AppendColumn): applied John's fix
12093
12094 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * BufferView.h:
12097         * BufferView.C:
12098         * BufferView_pimpl.h:
12099         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12100
12101         * Makefile.am:
12102         * box.h: new start of class for above
12103
12104         * lyxfunc.C: ignore space-only minibuffer dispatches.
12105           Show the command name when it doesn't exist
12106
12107         * minibuffer.C: don't add empty lines to the history
12108
12109         * minibuffer.C: add a space on dropdown completion
12110
12111 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * text.C: fix line above/below drawing in insets
12114
12115 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * lyxlength.C (LyXLength): Initialize private variables.
12118
12119 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12120
12121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12122         when inserting error insets.
12123
12124 2001-12-13  Juergen Vigna  <jug@sad.it>
12125
12126         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12127         actually sometimes the before-paragraph.
12128         (setUndo): don't clear the redostack if we're not actually undoing!
12129
12130 2001-12-06  Juergen Vigna  <jug@sad.it>
12131
12132         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12133         and fixed redoing of main paragraph, so we can use it now ;)
12134
12135         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12136
12137 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12140         Juergen's request
12141
12142 2001-12-13  André Pönitz <poenitz@gmx.net>
12143
12144         * undostack.[Ch]:
12145         * undo_func.C: minor cleanup
12146
12147 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12150         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12151         font in urw-fonts package which is marked as -urw-fontspecific and
12152         does not work (incidentally, changing the encoding in the
12153         fonts.dir of this package to -adobe-fontspecific fixes the
12154         problem).
12155
12156         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12157         is a crash when undoing first paragraph (Juergen, please take a
12158         look). THis does not mean the undo fix is wrong, just that it
12159         uncovers problems.
12160
12161         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12162         the (Paragraph*) version when needed instead of duplicating the
12163         code.
12164
12165         * text.C (workWidth): use Inset::parOwner to find out where the
12166         inset has been inserted. This is a huge performance gain for large
12167         documents with lots of insets. If Inset::parOwner is not set, fall
12168         back on the brute force method
12169
12170         * paragraph_pimpl.C (insertInset):
12171         * paragraph.C (Paragraph):
12172         (cutIntoMinibuffer): set parOwner of insets when
12173         inserting/removing them
12174
12175         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12176
12177 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12178
12179         * commandtags.h:
12180         * LyXAction.C:
12181         * lyx_main.C:
12182         * lyxfunc.C:
12183         * mathed/formulabase.C:
12184         * mathed/math_cursor.[Ch]:
12185         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12186
12187
12188 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * lyxlength.[Ch] (operator!=): new function
12191
12192 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * text.C (workWidth): use Inset::parOwner to find out where the
12195         inset has been inserted. This is a huge performance gain for large
12196         documents with lots of insets. If Inset::parOwner is not set, fall
12197         back on the brute force method
12198
12199         * paragraph_pimpl.C (insertInset):
12200         * paragraph.C (Paragraph):
12201         (cutIntoMinibuffer): set parOwner of insets when
12202         inserting/removing them
12203
12204         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12205
12206 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * tabular-old.C (getTokenValue):
12209         * tabular.C (getTokenValue):
12210         (write_attribute): new versions for LyXLength
12211         (everywhere): adjust the use of widths
12212
12213         * tabular.h: change the type of widths from string to LyXLength
12214
12215 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12216
12217         * paragraph.C: fixed missing line number count when exporting
12218         Environments to LaTeX file
12219
12220         * buffer.C: added informational message for checking line numbers.
12221
12222 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12225         paragraph, do the 'double space' part, but not the 'empty
12226         paragraph' one.
12227
12228         * text.C (workWidth): small optimization
12229         (getLengthMarkerHeight): use minimal size for negative lengths.
12230
12231 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12232
12233         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12234
12235         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12236
12237 2001-12-11  André Pönitz <poenitz@gmx.net>
12238
12239         * FontLoader.C:
12240         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12241
12242 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * text2.C: keep selection on a setFont()
12245
12246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyx_cb.C: another bv->text misuse, from insert label
12249
12250 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * kbsequence.h:
12253         * kbsequence.C: re-instate nmodifier mask
12254
12255 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * lyx_main.h: make lyxGUI private.
12258
12259 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * lyxfind.C: place the cursor correctly on failed search
12262
12263 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * text.C (getLengthMarkerHeight): for small heights, the arrows
12266         are not always on top/bottom of the text
12267         (drawLengthMarker): smaller arrows; take the left margin in
12268         account; draw also vfills.
12269         (paintFirstRow):
12270         (paintLastRow): remove special code for vfill and standard spaces,
12271         since everything is handled in drawLengthMarker now.
12272
12273 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * buffer.C (insertErtContents): try to handle font and language
12276         interaction a bit better.g
12277
12278         * ColorHandler.C (updateColor): change the hash to cover the whole
12279         LColor enum, ws cleanup
12280         (getGCLinepars): ditto
12281         (getGCLinepars): only lookup in the linecache once.
12282
12283 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12284
12285         * iterators.C (operator++): Make the iterator more robust
12286
12287         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12288         (John's patch)
12289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12290
12291 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * lyxtext.h:
12294         * text.C: better added space drawing
12295
12296 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * LyXView.C:
12299         * BufferView2.C: fix layout combo update on inset unlock
12300
12301 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * Makefile.am: don't compile unused files
12304
12305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * lyxfunc.C:
12308         * commandtags.h:
12309         * LyXAction.C: remove old LFUN_LAYOUTNO
12310
12311 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * paragraph_pimpl.h:
12314         * paragraph_pimpl.C: isTextAt() doesn't need font param
12315
12316 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * lyxlex.h:
12319         * lyxlex.C: little cleanup
12320
12321 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView_pimpl.C: fix insertAscii for insets
12324
12325 2001-12-05  Juergen Vigna  <jug@sad.it>
12326
12327         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12328         set the right font on the "multi" paragraph paste!
12329
12330 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * trans_decl.h:
12333         * trans_mgr.[Ch]:
12334         * trans.[Ch]:
12335         * lyxgluelength.C:
12336         * lyxlength.C: remove out-commented code.
12337
12338         * BufferView_pimpl:
12339         * CutAndPaste.C:
12340         * DepTable.C:
12341         * buffer.C:
12342         * chset.C:
12343         * lastfiles.C:
12344         * lyxlex.C:
12345         * lyxlex_pimpl.C:
12346         * lyxserver.C:
12347         * screen.C:
12348         * tabular-old.C:
12349         * tabular.C:
12350         * text.C:
12351         * trans_mgr.C:
12352         * vc-backend.C: change "while(" to "while ("
12353
12354         * lyxlength.[Ch]: add zero function to check if length is zero or
12355         not
12356         * lyxgluelength.C: use it
12357
12358 2001-12-05  Allan Rae  <rae@lyx.org>
12359
12360         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12361         Works for 2.95.3, from what I understand of Garst's reports this should
12362         work for other g++ versions.  We're screwed if the abs(int) definition
12363         changed between bugfix releases of gcc.
12364
12365 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * text.C: fix chapter label offset !
12368
12369 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * lyxtext.h:
12372         * text.C: fix hfill at end of line, clean up
12373
12374 2001-12-04  Juergen Vigna  <jug@sad.it>
12375
12376         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12377         that we force an update of the inset and it's owners if neccessary.
12378
12379 2001-12-03  Juergen Vigna  <jug@sad.it>
12380
12381         * text.C (rowLast): simplified code
12382
12383 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * lyxfunc.C: fix show options on timeout
12386
12387 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * screen.C (topCursorVisible): scroll half a page when the cursor
12390         reached top of bottom of screen
12391
12392 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * minibuffer.C: deactivate on loss of focus
12395
12396 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * vspace.[Ch] (operator!=): add operator.
12399
12400 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * BufferView_pimpl.C: refuse to open an inset when
12403         there's a selection.
12404
12405 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView_pimpl.C: allow to click on RHS of full row insets
12408
12409 2001-11-30  Juergen Vigna  <jug@sad.it>
12410
12411         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12412         insets for undo reasons.
12413
12414 2001-11-28  André Pönitz <poenitz@gmx.net>
12415
12416         * vspace.[Ch]: cosmetical changes
12417
12418 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * LyXAction.h:
12421         * LyXAction.C:
12422         * lyxfunc.h:
12423         * lyxfunc.C:
12424         * kbmap.h:
12425         * kbmap.C:
12426         * lyxrc.C:
12427         * kbsequence.h:
12428         * kbsequence.C: part re-write of old kb code
12429
12430         * Painter.C:
12431         * WorkArea.C: remove Lgb_bug_find_hack
12432
12433 2001-11-30  José Matos <jamatos@fep.up.pt>
12434
12435         * buffer.C (makeDocBookFile): add a comment to point a hack.
12436         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12437         Fixed a double write of labels.
12438
12439 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12440
12441         * LaTeX.C:
12442         * LaTeX.h Fixed bug in LaTeX class where it would not
12443         re-run latex if no depfiles were changed, but the .dvi was removed.
12444
12445 2001-11-28  André Pönitz <poenitz@gmx.net>
12446
12447         * all the files from the change on 2001/11/26:
12448         use lyx::layout_type instead of LyXTextClass::size_type
12449         use lyx::textclass_type instead of LyXTextClassList::size_type
12450
12451 2001-11-29  Juergen Vigna  <jug@sad.it>
12452
12453         * text.C: added support for paragraph::isFreeSpacing()
12454
12455         * buffer.C: same as above
12456
12457         * paragraph.h: inserted isFreeSpacing() function to enable
12458         FreeSpacing inside InsetERT.
12459
12460         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12461         of the paragraph's in the cut/copy buffer to 0!
12462
12463         * text2.C (removeRow): remove the assert as it can!
12464
12465         * lyxtext.h: added helper function firstRow returning firstrow and
12466         made firstrow private again.
12467
12468         * BufferView2.C (lockInset): don't relock if we're already locked!
12469
12470         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12471         the only paragraph.
12472         (removeRow): added Assert::(firstrow)
12473
12474         * debug.C: forgot to add INSETTEXT here.
12475
12476 2001-11-28  Juergen Vigna  <jug@sad.it>
12477
12478         * sp_spell.C (initialize): changed error text to more general
12479         spellchecker command use (not only ispell!)
12480
12481         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12482
12483         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12484
12485 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * vspace.C: initialise lyxgluelength on failure
12488
12489 2001-11-28  Allan Rae  <rae@lyx.org>
12490
12491         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12492         declaration & definition that looks like a function declaration.
12493
12494 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12495
12496         * BufferView2.C (copy):
12497         (copyEnvironment): do not clear the selection when doing a copy.
12498
12499         * text.C (paintFirstRow): compilation fix
12500
12501 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12502
12503         * tabular.C (Latex): correct line count when writing latex.
12504
12505 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * paragraph_pimpl.h:
12508         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12509           bug a bit
12510
12511 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * text.C:
12514         * LColor.h:
12515         * LColor.C: change vfillline->added_space
12516
12517         * text.C: add markers and text for added space
12518
12519         * vspace.C: fix comment
12520
12521 2001-11-28  André Pönitz <poenitz@gmx.net>
12522
12523         * paragraph.C: whitespace changes
12524         * all the other files from the change on 2001/11/26:
12525         change *::pos_type into lyx::pos_type
12526
12527 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12528
12529         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12530         language of the document when inserting error insets.
12531
12532 2001-11-26  André Pönitz <poenitz@gmx.net>
12533
12534         * BufferView_pimpl.[Ch]:
12535         *       CutAndPaste.C:
12536         * buffer.[Ch]:
12537         * lyxcursor.[Ch]:
12538         * lyxfind.C:
12539         * lyxfunc.C:
12540         * lyxrow.[Ch]:
12541         * paragraph.[Ch]:
12542         * paragraph_pimpl.[Ch]:
12543         * sp_spell.C:
12544         * text.C:
12545         * text2.C: reduce header dependencies, introduce type for positions
12546
12547 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * <various>: change to use Alert.h
12550
12551 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12552
12553         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12554         when encountering an unknown token.
12555         (readLyXformat2): Show an error message if there were unknown tokens.
12556
12557 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * BufferView2.C:
12560         * BufferView_pimpl.C:
12561         * buffer.C:
12562         * paragraph.h:
12563         * text.C:
12564         * text2.C: use par->isInset()
12565
12566 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * paragraph_pimpl.h:
12569         * paragraph_pimpl.C: cleanup
12570
12571 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12572
12573         * text2.C (removeRow):
12574         * text.C (setHeightOfRow): remove useless (and costly) call to
12575         getRow.
12576
12577 2001-11-20  Allan Rae  <rae@lyx.org>
12578
12579         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12580         Now need Inset*::checkInsertChar() to return true for appropriate
12581         cases so that the characters in the minibuffer will actually be
12582         inserted.
12583
12584 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * text.C: change the order of the includes.
12587         (workWidth): initialize it at once.
12588         (workWidth): make maxw unsigned
12589         (setHeightOfRow): remove unused variable (inset)
12590         (selectSelectedWord): remove unused variable (inset)
12591         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12592
12593 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12594
12595         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12596         server is not running.
12597         (openConnection):
12598         (closeConnection): add debug info when server is disabled.
12599
12600         * ColorHandler.C (getGCForeground): send debug message to GUI
12601         channel.
12602
12603         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12604
12605         * kbmap.C (bind): modify because return conventions of
12606         kb_sequence::parse have changed.
12607
12608         * kbsequence.C (parse): only ignore spaces and not any stupid
12609         control character. This avoids tests like s[i] <= ' ', which are
12610         guaranteed to fail with 8bit characters and signed chars.
12611         Change return code to string::npos when there have been no error
12612         (0 was a bad idea when error is at first character)
12613
12614 2001-11-14  José Matos  <jamatos@fep.up.pt>
12615
12616         * buffer.h:
12617         * buffer.C (simpleDocBookOnePar): removed unused argument.
12618
12619 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12622         insets which are part of a word. Paragraph::isLetter takes care of
12623         that now. Use Paragraph::isInset to identify insets.
12624         (selectSelectedWord): do not test for hyphenation break.
12625
12626         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12627         that protected spaces are considered as spaces.
12628
12629         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12630         Inset::isLetter.
12631
12632 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * lyxserver.h:
12635         * lyxserver.C: fix it. and small cleanup.
12636
12637 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * BufferView_pimpl.C: use inline helpers
12640
12641         * LaTeXFeatures.h:
12642         * LaTeXFeatures.C: fix typos
12643
12644         * Spacing.h:
12645         * Spacing.C: move spacing_string into class
12646
12647         * ToolbarDefaults.C: move stuff into namespace anon
12648
12649         * layout.h: update enum
12650
12651         * lyxfunc.C: use better debug
12652
12653         * minibuffer.h: fix typo
12654
12655         * debug.h:
12656         * debug.C:
12657         * WorkArea.C: add and use Debug::WORKAREA
12658
12659         * lyxtext.h:
12660         * text.C:
12661         * text2.C: code re-organisation, inline helpers
12662
12663 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12664
12665         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12666         std::vector.empty().
12667
12668 2001-11-09  Allan Rae  <rae@lyx.org>
12669
12670         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12671         '\n's after tables.  Tabular and ERT inset work now makes this no
12672         longer necessary.
12673
12674 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * minibuffer.h:
12677         * minibuffer.C: fix crash, improve drop-down completion
12678
12679 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * lyxserver.h:
12682         * lyxserver.C: invalidate fd's when doing endPipe()
12683
12684 2001-11-08  José Matos  <jamatos@fep.up.pt>
12685
12686         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12687         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12688
12689         * paragraph.h:
12690         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12691
12692 2001-11-07  José Matos  <jamatos@fep.up.pt>
12693
12694         * buffer.h:
12695         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12696         const qualifier.
12697
12698         * buffer.C (sgmlOpenTag):
12699         * buffer.C (sgmlCloseTag): removed debug info.
12700
12701         * buffer.h (sgmlOpenTag):
12702         * buffer.h (sgmlCloseTag): made public.
12703
12704 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * buffer.C (saveParamsAsDefaults):
12707         * lyx_cb.C (MenuLayoutSave): remove
12708
12709         * LyXAction.C (init):
12710         * commandtags.h:
12711         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12712
12713 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12714
12715         * buffer.C (setPaperStuff): removed from here...
12716
12717         * bufferparams.C (setPaperStuff): ... and moved there.
12718
12719 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * minibuffer.h:
12722         * minibuffer.C:
12723         * XFormsView.C: add support for drop-down completion
12724
12725 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12726
12727         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12728         commands.
12729
12730 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12733         disabled.
12734
12735 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * lyx_main.C: change ref to known bugs
12738
12739 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12740
12741         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12742         to work around older babel problems.
12743
12744 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12745
12746         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12747
12748 2001-10-24  Juergen Vigna  <jug@sad.it>
12749
12750         * tabular-old.C (ReadOld): below variable changes reflected.
12751
12752         * tabular.[Ch]: added ltType struct for longtable header/footer
12753         defines and changed all instances where they are used. Added
12754         future support for double top/bottom rows.
12755
12756 2001-10-24  José Matos  <jamatos@fep.up.pt>
12757
12758         * buffer.h (docbookHandleCaption):
12759         * buffer.C (docbookHandleCaption): removed unused function.
12760         (makeDocBookFile): moved docbook supported version to v4.1.
12761
12762 2001-10-24  José Matos  <jamatos@fep.up.pt>
12763
12764         * tabular.h:
12765         * tabular.C (docbookRow): new function to export docbook code of a row.
12766         (DocBook): now honors the longtable flags.
12767
12768 2001-10-23  José Matos  <jamatos@fep.up.pt>
12769
12770         * LaTeXFeatures.h:
12771         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12772         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12773
12774         * buffer.C (makeLinuxDocFile):
12775         (makeDocBookFile): reworked the preamble, more clean, and with
12776         support for lyx defined entities. Changed the document declaration
12777         to be more XML friendly.
12778
12779         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12780         if we need to output XML that should be done with a filter.
12781
12782 2001-10-22  Juergen Vigna  <jug@sad.it>
12783
12784         * sp_pspell.h (class PSpell): add alive function needed in the
12785         controller to see if the spellchecker could be started.
12786
12787 2001-10-22  Juergen Vigna  <jug@sad.it>
12788
12789         * buffer.C (insertStringAsLines): modify the font for inserting
12790         chars in certain conditions by calling checkInsertChar(font).
12791
12792 2001-10-19  Juergen Vigna  <jug@sad.it>
12793
12794         * text.C (workWidth): use getRow instead of wrong algorithm.
12795         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12796
12797 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * lyxserver.h:
12800         * lyxserver.C:
12801         * lyx_main.h:
12802         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12803
12804 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * text.C (workWidth): do not search for the exact row when
12807         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12808         optimization for big documents.
12809
12810 2001-10-18  Juergen Vigna  <jug@sad.it>
12811
12812         * text.C (workWidth): new function with added Inset * parameter.
12813
12814 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12817
12818         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12819         change return type of getColumnNearX.
12820
12821
12822         * text.C (changeRegionCase): use uppercase/lowercase instead of
12823         toupper/tolower.
12824         (leftMargin):
12825         (rightMargin): simplify code by factoring out the uses of
12826         textclasslist.
12827         (labelFill):
12828         (numberOfHfills):
12829         (setHeightOfRow):
12830         (appendParagraph): use Paragraph::size_type
12831
12832 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12833
12834         * vspace.C (asLatexString): add a missing break
12835
12836 2001-10-15  Herbert Voss  <voss@perce.de>
12837
12838         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12839
12840 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12841
12842         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12843         is not available.
12844
12845 2001-10-10  André Pönitz <poenitz@gmx.net>
12846
12847         * lyxfunc.C: removed greek_kb_flag.
12848
12849 2001-10-10  Herbert Voss  <voss@perce.de>
12850
12851         * lyx_main.C: delete global string help_lyxdir.
12852
12853 2001-10-09  Herbert Voss  <voss@perce.de>
12854
12855         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12856
12857         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12858
12859         * lyx_main.C: added global string help_lyxdir.
12860
12861         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12862
12863 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12864
12865         * lyxrc.C (set_font_norm_type): support iso8859-4
12866
12867 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12868
12869         * LaTeX.C (deplog): add another regex for MikTeX
12870
12871 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12872
12873         * lyxrc.C (set_font_norm_type): support iso8859-3
12874
12875 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12876
12877         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12878
12879         * LaTeXFeatures.C: remove special case of french and index
12880
12881         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12882         before \begin{document}). This solves several incompatibilities.
12883
12884 2001-10-03  Garst Reese  <reese@isn.net>
12885
12886         * lyx_cb.C: change CheckTex error msg.
12887
12888 2001-10-03  José Matos  <jamatos@fep.up.pt>
12889
12890         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12891
12892 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * .cvsignore: update
12895
12896         * lyx_main.C (commandLineVersionInfo): use new style version info.
12897
12898         * buffer.C (writeFile):
12899         (makeLaTeXFile):
12900         (makeLinuxDocFile):
12901         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12902
12903         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12904
12905         * version.h: update to use stuff in version.C
12906
12907         * version.C.in: new file. Contains version information determined
12908         at compile time. This is a merging of version.h and
12909         version_info.h.in.
12910
12911 2001-10-03  Juergen Vigna  <jug@sad.it>
12912
12913         * BufferView_pimpl.C (update): don't change "dirty" status in
12914         updateInset call.
12915
12916 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * WorkArea.C (c-tor): re-position version string slightly.
12919
12920 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12923         revert to previous code.
12924
12925         WorkArea.[Ch]: (show, destroySplash): methods removed.
12926
12927         WorkArea.C: rework code so that it's an amalgam of the codes before and
12928         after the splash screen was moved to WorkArea.
12929
12930 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12931
12932         * lyxrc.C (read):
12933         * vspace.C (inPixels):
12934         (lyx_advance):
12935         * kbmap.C (bind):
12936         * buffer.C (insertStringAsLines):
12937         (asciiParagraph): fix types to be large enough
12938
12939         * lyxlex_pimpl.h: change member status from short to int
12940
12941         * layout.h: fix type of endlabeltype
12942
12943         * kbmap.C (bind):
12944         * kbsequence.C (parse): change return type to string::size_type
12945
12946         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12947         variable
12948
12949         * Bullet.C (bulletSize):
12950         (bulletEntry): do not use short ints as parameters
12951
12952         * BufferView2.C (insertLyXFile): change a char to an int.
12953
12954         * WorkArea.C (WorkArea): remove unneeded floats in computation
12955
12956 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12957
12958         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12959
12960         * paragraph.C (asString): Do not ignore newline/hfill chars when
12961         copying to the clipboard.
12962
12963 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12964
12965         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12966         after a multi-line inset.
12967
12968 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12969
12970         * paragraph.C (validate): Set NeedLyXFootnoteCode
12971
12972 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12975         and decrease-error to decrease.
12976
12977 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12978
12979         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12980         it more readable (should be equivalent)
12981
12982 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12983
12984         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12985
12986 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12987
12988         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12989         of a cursor (row, etc.) after a character has been deleted
12990         (deleteEmptyParagraphMechanism): call the method above on _all_
12991         cursors held by the LyXText when a double space has been
12992         detected/deleted.
12993
12994 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12995
12996         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12997         pixmap.
12998         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12999
13000         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13001         background. Use greyOut() and the new show() methods to toggle between
13002         the foreground and background. Add code to remove the splash after
13003         its initial showing.
13004
13005         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13006         (create_forms): no longer call Dialogs::showSplash.
13007
13008 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * .cvsignore: add version_info.h
13011
13012 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * version_info.h.in: new file
13015
13016         * Makefile.am: add version_info.h.in
13017
13018         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13019         version_info.h instead of VERSION_INFO
13020
13021 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13022
13023         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13024         The ERT inset now returns string().
13025
13026 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13027
13028         * lyxtext.h, text.C (selectNextWord): renamed as
13029         selectNextWordToSpellcheck.
13030
13031         * text.C (selectNextWordToSpellcheck): Modified to not select
13032         words inside an ERT inset.
13033
13034 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * lyx_cb.C (MenuLayoutSave): change a bit the question
13037
13038         * sp_base.h: include <sys/types.h>
13039
13040 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13041
13042         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13043
13044 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13045
13046         * several files: fix typos in user-visible strings
13047
13048 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * text2.C (pasteSelection): do not set the selection, since it
13051         will be cleared later. Actually, the intent was to fix the way the
13052         selection was set, but I figured rmoving the code was just as good.
13053
13054 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13055
13056         * FontLoader.C (available): Check if font is available without
13057         loading the font.
13058
13059 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13060
13061         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13062
13063 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13064
13065         * lyxrc.[Ch]: added display_graphics variable and associated code.
13066
13067 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13068
13069         * bufferparams.C (hasClassDefaults): new method. Returns true if
13070         the buffer parameters correspond to known class defaults
13071
13072 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * XFormsView.C (show): set minimum size to the main window.
13075
13076 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * text2.C (copySelection):
13079         (cutSelection):
13080         * lyxfind.C (LyXReplace):
13081         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13082         LyXText::selectionAsString.
13083
13084         * paragraph.C (asString): add "label" argument to the second form
13085
13086         * text2.C (selectionAsString): add "label" argument and pass it to
13087         Paragraph::asString.
13088
13089 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13090
13091         * lyx_main.C (commandLineHelp): remove version information
13092
13093 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13094
13095         * lyx_main.C: add -version commandline option
13096
13097 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * paragraph.h: make the optional constructor arg required instead.
13100         some modifications to other files because of this.
13101
13102         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13103
13104         * lyxserver.C (C_LyXComm_callback): make it static
13105
13106         * lyx_main.C (error_handler): make it static
13107
13108         * lyx_gui.C (LyX_XErrHandler): make it static
13109
13110         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13111
13112         * WorkArea.C: make the extern "C" methods static.
13113
13114         * Makefile.am (lyx_LDADD): simplify
13115
13116 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13119         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13120
13121         * LyXAction.C (init):
13122         * lyxfunc.C (dispatch): associated code removal.
13123
13124 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * lyxfont.h (isSymbolFont): shut off warning
13127
13128         * text.C (setHeightOfRow):
13129         (getVisibleRow): fix crash with empty paragraphs which have a
13130         bottom line
13131
13132 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13133
13134         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13135         code.
13136
13137 2001-09-04  José Matos  <jamatos@fep.up.pt>
13138         * buffer.C
13139         * buffer.h
13140         * tabular.C (docbook): rename docBook method to docbook.
13141
13142 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * Makefile.am: add dependencies to main.o.
13145
13146 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13147
13148         * FontLoader.C (available): Return false if !lyxrc.use_gui
13149
13150 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13151
13152         * FontInfo.C (query):
13153         * converter.C (view):
13154         * importer.C (Import):
13155         * exporter.C (Export): Can not -> cannot.
13156
13157 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * BufferView_pimpl.C: allow to create index inset even if
13160           string is empty
13161
13162 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * buffer.C (getLists): replace boost::tie code with an explicit pair
13165         as boost::tie can break some compilers.
13166
13167         * iterators.h: Added a std:: declaration to the return type of
13168         ParIterator::size.
13169
13170 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13173           case.
13174
13175 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * iterators.[Ch]: New files. Provide paragraph iterators.
13178
13179         * buffer.C (changeLanguage): Use paragraph iterators.
13180         (isMultiLingual): ditto
13181
13182         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13183
13184 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13185
13186         * FontLoader.C: Support for cmr font.
13187
13188 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13191         (available): New method.
13192
13193         * FontInfo.C (getFontname): Use scalable fonts even when
13194         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13195         found.
13196
13197 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * converter.C (Formats::view): reverted! Incorrect fix.
13200
13201 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13202
13203         * converter.C (Formats::view): only output the -paper option
13204         if the dvi viewer is xdvi, thereby fixing bug #233429.
13205
13206 2001-08-23  Herbert Voss  <voss@perce>
13207
13208         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13209
13210 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * Spacing.h (Spacing): Set space to Default on in the default
13213         constructor.
13214
13215 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * vc-backend.h (RCS::versionString): add RCS to version
13218         (CVS::versionString): add CVS to version
13219
13220         * vc-backend.C (scanMaster): do not add CVS to version.
13221         (scanMaster): do not add RCS to version
13222
13223         * lyxvc.C (versionString): new method
13224
13225         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13226
13227 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * Spacing.C (set): initialize fval
13230
13231 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13232
13233         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13234         " or \.
13235
13236 2001-08-16  Juergen Vigna  <jug@sad.it>
13237
13238         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13239
13240 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.C:
13243         * figureForm.C:
13244         * lyxtext.h:
13245         * text2.C: setParagraph takes linespacing now
13246
13247 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * LyxAction.C: add internal LFUN_CITATION_INSERT
13250
13251         * LyXView.C: actually apply fix
13252
13253         * bufferlist.C: fix open non-existent file
13254
13255         * lyxfind.C: fix indentation
13256
13257         * lyxfunc.C: remove unneeded assert, fix typo
13258
13259 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * MenuBackend.C: use "Floatname List"
13262
13263 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13266         when converting LaTeX layout to insetERT.
13267         Generate a non-collapsed float when reading old float
13268
13269 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13270
13271         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13272         ERT insets.
13273
13274 2001-08-13  Juergen Vigna  <jug@sad.it>
13275
13276         * text.C (fill): return 0 instead of 20 as this seems to be the more
13277         correct value.
13278
13279 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13280
13281         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13282         lyxrc.font_norm.
13283
13284 2001-08-13  Juergen Vigna  <jug@sad.it>
13285
13286         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13287         casesensitive off.
13288         (SearchBackward): comment out the unlocking of the inset_owner this
13289         should not be needed!
13290
13291 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13292
13293         * Many files: Remove inherit_language, and add latex_language
13294
13295         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13296         collapsible insets.
13297
13298 2001-08-10  Juergen Vigna  <jug@sad.it>
13299
13300         * text.C (prepareToPrint): fixed hfill-width in draw!
13301
13302         * BufferView2.C (selectLastWord): save the selection cursor as this
13303         now is cleared in the function LyXText::clearSelection!
13304
13305 2001-08-08  Juergen Vigna  <jug@sad.it>
13306
13307         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13308         BACKSPACE type functions.
13309
13310         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13311         is only cutted from the document but not put in the cut-buffer, where
13312         still the old stuff should be.
13313
13314         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13315
13316         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13317
13318         * tabular.C (SetWidthOfCell): fixed special case where the width
13319         was not updated!
13320         (LeftLine): handle '|' in align_special.
13321         (RightLine): ditto
13322         (LeftAlreadyDrawed): ditto
13323         (SetWidthOfCell): ditto
13324
13325 2001-08-07  Juergen Vigna  <jug@sad.it>
13326
13327         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13328
13329 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13332         * lyxlex.[hC]: ditto
13333
13334 2001-08-06  Juergen Vigna  <jug@sad.it>
13335
13336         * text.C (getVisibleRow): fix up row clearing a bit.
13337
13338 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * minibuffer.C: make sure the X server sees the changes in the input.
13341
13342 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * paragraph.C (getFont): split into...
13345         (getLabelFont): this
13346         (getLayoutFont): and this
13347         * paragraph_pimpl.C (realizeFont): calling this
13348
13349         * text2.C (getFont): split into...
13350         (getLayoutFont): this
13351         (getLabelFont): and this
13352         (realizeFont): all three calling this
13353
13354         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13355         files where used.
13356
13357 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13360
13361 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13362
13363         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13364         layouts from the Quote inset insertion.
13365
13366 2001-08-03  Juergen Vigna  <jug@sad.it>
13367
13368         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13369
13370         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13371         only if status not is already CHANGED_IN_DRAW (second level).
13372
13373         * text.C (draw): don't set the need_break_row when inside an
13374         InsetText LyXText.
13375
13376 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * buffer.C (parseSingleLyXformat2Token): handle more latex
13379         conversion cases.
13380
13381         * bufferview_funcs.[hC]: change function names to
13382         begin with small char, adjust other files.
13383
13384 2001-08-02  André Pönitz <poenitz@gmx.net>
13385
13386         * lyxfunc.C:
13387         BufferView_pimpl.C: remove broken special code for math-greek
13388
13389 2001-08-02  Juergen Vigna  <jug@sad.it>
13390
13391         * BufferView_pimpl.C (update): redone this function so that we
13392         update the text again if there was a CHANGE_IN_DRAW.
13393
13394         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13395         (drawFromTo): added a new internal bool which is used by draw() and
13396         redraw() function.
13397         (general): some cursor drawing problems fixed.
13398
13399 2001-08-01  Juergen Vigna  <jug@sad.it>
13400
13401         * lyxfind.C (LyXFind): fixed
13402         (SearchForward): ditto
13403         (SearchBackward): ditto
13404
13405         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13406         spurius drawing of the cursor in the main area.
13407
13408         * text2.C (status): small fix which could lead to a segfault!
13409         (clearSelection): remove unneeded BufferView param.
13410
13411 2001-08-01  André Pönitz <poenitz@gmx.net>
13412
13413         * lyxfunc.C: small change due to changed mathed interface
13414
13415 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13418
13419 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * lyxfunc.c: fail gracefully if file doesn't exist
13422
13423         * LyXSendto.C:
13424         * buffer.C:
13425         * lyxfunc.C:
13426         * BufferView_pimpl.C: IsDirWriteable() proto changed
13427
13428         * LyXView.C: fix updateWindowTitle() to store the last title
13429
13430 2001-07-31  Juergen Vigna  <jug@sad.it>
13431
13432         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13433         the font (wrong since using of Paragraph::highestFontInRange).
13434
13435         * paragraph.C (highestFontInRange): added a default_size parameter.
13436
13437         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13438         (setHeightOfRow): reformat
13439
13440 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * converter.[hC] + affected files: move to (inital-char)lowercase
13443         function names.
13444
13445         * ParagraphParameters.C (ParagraphParameters): remove commented code
13446
13447         * PainterBase.[Ch]: remove commented code
13448
13449         * LaTeXFeatures.h: add "bool floats" for float.sty
13450
13451         * LaTeXFeatures.C (LaTeXFeatures): init floats
13452         (require): handle float
13453         (getPackages): do it with floats
13454
13455 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * BufferView_pimpl.C (Dispatch): improve handling of
13458         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13459
13460         * commandtags.h: #include lyxfont.h here temporarily to avoid
13461         keybinding bug.
13462
13463         * bufferlist.h: include LString.h here.
13464
13465 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * text2.C (getStringToIndex): new method.
13468
13469 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13470
13471         * *: Reduced header file dependencies all over.
13472
13473 2001-07-30  Baruch Even  <baruch@lyx.org>
13474
13475         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13476
13477 2001-07-29  Baruch Even  <baruch@lyx.org>
13478
13479         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13480
13481 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * ParameterStruct.h (endif): add a default constructor to make
13484         sure that all variables is initialized.
13485
13486         * ParagraphParameters.C (ParagraphParameters): adjust
13487
13488 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13489
13490         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13491         index; also, check that there is something to index, and that it
13492         does not span over several paragraphs.
13493         (doubleClick): use WHOLE_WORD_STRICT for double click.
13494
13495         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13496
13497         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13498         scheme.
13499
13500 2001-07-26  Baruch Even  <baruch@lyx.org>
13501
13502         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13503         an InsetFig figure, backwards compatible reading of old figure code.
13504
13505 2001-07-27  Juergen Vigna  <jug@sad.it>
13506
13507         * text2.C: font.realize function adaption.
13508
13509         * text.C (draw): add a warnings lyxerr text if needed.
13510
13511         * layout.C: font.realize function adaption.
13512
13513         * language.C: add inherit_language and implement it's handlings
13514
13515         * bufferview_funcs.C (StyleReset): remove language parameter from
13516         font creation (should be language_inherit now).
13517
13518         * bufferparams.C (writeFile): handle ignore_language.
13519
13520         * paragraph.C (getFontSettings): the language has to be resolved
13521         otherwise we have problems in LyXFont!
13522
13523         * lyxfont.C (lyxWriteChanges): added document_language parameter
13524         (update): removed unneeded language parameter
13525
13526         * paragraph.C (validate): fixed wrong output of color-package when
13527         using interface colors for certain fonts in certain environments,
13528         which should not seen as that on the final output.
13529
13530 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * BufferView_pimpl.C:
13533         * Thesaurus.h:
13534         * Thesaurus.C:
13535         * Makefile.am:
13536         * commandtags.h:
13537         * LyXAction.C: add thesaurus support
13538
13539         * lyxfind.h:
13540         * lyxfind.C: add "once" parameter, for thesaurus, to not
13541           move to the next match
13542
13543 2001-07-26  Juergen Vigna  <jug@sad.it>
13544
13545         * lyxfont.C (realize): honor ignore_language too!
13546         (resolved): ditto.
13547
13548         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13549
13550         * text.C (draw): one place more for ignore_language to not draw
13551         itself!
13552
13553 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13554
13555         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13556
13557 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13558
13559         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13560         the minipage conversion problem.
13561
13562 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13565         insert an inset.
13566
13567 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * BufferView.h: don't forward declare WorkArea
13570
13571         * BufferView.C: don't include WorkArea.h
13572
13573 2001-07-25  André Pönitz <poenitz@gmx.net>
13574
13575         * commandtags.h:
13576         * LyXAction.C:
13577         * lyxfunc.C:  new LFUN 'math-space'
13578
13579         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13580
13581 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13582
13583         * text2.C (toggleInset): call open/close
13584
13585 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13586
13587         * lyxfunc.C (dispatch): add debug for the disabled case
13588
13589         * font.C (buttonText): make similar to rectText
13590
13591         * buffer.C (readInset): comment out parsing of insetlist and
13592         insttheorem
13593
13594         * PainterBase.C (rectText): small correction
13595
13596         * BufferView_pimpl.C: comment out insettheorem and insetlist
13597         * LyXAction.C: ditto
13598         * commandtags.h: ditto
13599
13600 2001-07-24  Juergen Vigna  <jug@sad.it>
13601
13602         * text.C (draw): honor the ignore_language.
13603
13604         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13605
13606 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13609         char inset.
13610
13611 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13612
13613         * lyxtext.h: remove unused (and unimplemented) methods
13614
13615 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13616
13617         * text.C (getVisibleRow): honor background color
13618
13619         * PainterBase.h:
13620         * Painter.h: remove default color argument for fillRectangle
13621
13622         * text.C (backgroundColor): new method
13623
13624 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * text.C (getVisibleRow): adjust
13627
13628         * font.[Ch] (rectText): new method, metrics
13629         (buttonText): new method, metrics
13630
13631         * PainterBase.[hC]: make rectText and buttonText always draw and take
13632         fewer paramteres.
13633
13634 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13635
13636         * ToolbarDefaults.C (read):
13637         * MenuBackend.C (read): allow escaping in all strings
13638
13639         * BufferView_pimpl.C (insertAndEditInset): new method.
13640         (Dispatch): use insertAndEditInset whenever appropriate.
13641
13642         * BufferView_pimpl.C (insertNote): removed
13643
13644         * BufferView_pimpl.C (smartQuote): new method, moved from
13645         BufferView; if an insetquote cannot be inserted, insert a '"'
13646         character instead.
13647
13648         * BufferView2.C: remove insertCorrectQuote();
13649
13650         * lyxfunc.C (getStatus): Add support for all remaingin
13651         inset-insert lfuns.
13652
13653         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13654
13655         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13656         command (necessary to pass " as parameter of self-insert.
13657
13658         * text.C (selectWordWhenUnderCursor):
13659         (selectWord): add word_location parameter
13660         (selectWordWhenUnderCursor): same + remove special code for word
13661         boundary.
13662         (selectNextWord): use kind() to guess type of insetspecialchar,
13663         not latex().
13664
13665         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13666         (insertErtContents): create ert insets as collapsed.
13667         (readInset): better compatibility code for Info inset.
13668
13669 2001-07-20  Juergen Vigna  <jug@sad.it>
13670
13671         * lyxfunc.C (dispatch): use always LyXFind now!
13672
13673         * text2.C (init): add a reinit flag so that the LyXText can be
13674         reinited instead of deleted and reallocated (used in InsetText).
13675
13676         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13677
13678         * text.C: ditto
13679
13680         * text2.C: ditto
13681
13682 2001-07-18  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C (selectNextWord): handle insets inside inset by calling
13685         always the bv->text functions so that we can go up the_locking_inset!
13686
13687         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13688         in strange locations when inside an inset!
13689
13690         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13691         handling to include insets.
13692
13693         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13694
13695 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * LyXAction.C (init):
13698         * commandtags.h:
13699         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13700         LIGATURE_BREAK, since the name is so stupid.
13701
13702 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13703
13704         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13705         InsetInfos.
13706
13707         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13708
13709         * sp_form.[Ch]: remove.
13710
13711         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13712
13713         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13714         InsetInfo.
13715
13716         * src/buffer.C (readInset): ditto.
13717
13718 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13719
13720         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13721         menuSeparator(), endOfSentenceDot(), ldots() and
13722         hyphenationPoint(), which are therefore removed.
13723         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13724
13725         * LyXAction.C (init):
13726         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13727
13728         * paragraph.C (getWord): removed.
13729
13730         * BufferView_pimpl.C (Dispatch): use last word or selection for
13731         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13732
13733         * lyx_main.C (queryUserLyXDir): do not ask before creating
13734         user_dir, except if it has been named explicitely.
13735
13736 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13739         a document of zero size.
13740
13741 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13744         approriately in the c-tor and in require().
13745         (getPackages): output the appropriate LaTeX for natbib support.
13746
13747         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13748         variables "use_natbib" and "use_numerical_citations" when reading the
13749         LyX file.
13750         (readInset): read the various natbib cite commands.
13751         (validate): white-space change.
13752
13753         * bufferparams.[Ch]: new variables "bool use_natbib" and
13754         "bool use_numerical_citations".
13755         (writeFile): output them in the LyX file.
13756
13757 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13758
13759         * lyxfunc.C (getStatus): add support for all the inset insertion
13760         commands.
13761
13762         * text2.C (insertInset):
13763         * paragraph.C (insetAllowed):
13764         * BufferView_pimpl.C (insertInset): update to take in account the
13765         renaming of insertInsetAllowed
13766
13767         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13768
13769         * text2.C (getInset): new method. returns inset at cursor position.
13770
13771         * BufferView_pimpl.C (Dispatch): changes because of this.
13772
13773         * LyXAction.C (init): rename open-stuff to inset-toggle.
13774
13775         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13776
13777         * text2.C (toggleInset): renamed from openStuff; use
13778         Inset::open().
13779
13780 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13781
13782         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13783
13784         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13785
13786 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13787
13788         * buffer.C (readLyXformat2): Add filename to the error dialog
13789
13790 2001-07-18  Juergen Vigna  <jug@sad.it>
13791
13792         * tabular.C (GetCellNumber): put an assert here instead of the check!
13793
13794 2001-07-17  Juergen Vigna  <jug@sad.it>
13795
13796         * BufferView_pimpl.C (toggleSelection): adapted too.
13797
13798         * text.C (selectNextWord): adapted for use with insets.
13799         (selectSelectedWord): ditto
13800
13801 2001-07-17  Juergen Vigna  <jug@sad.it>
13802
13803         * sp_spell.C (PSpell): fix initialitation order.
13804
13805 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * paragraph.C: spacing
13808
13809 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13810
13811         * sp_spell.C: repair language selection for pspell
13812
13813 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13814
13815         * lyxfunc.h: change more methods to begin with lower char.
13816
13817 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13818
13819         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13820         for unknown layouts.
13821
13822 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13823
13824         * buffer.C (readLyXformat2): Generate an error dialog if there are
13825         unknown layouts.
13826
13827 2001-07-16  Juergen Vigna  <jug@sad.it>
13828
13829         * sp_spell.C: always compile ISpell part.
13830
13831         * lyxrc.C: added use_pspell entry and it's handling.
13832
13833 2001-07-13  Juergen Vigna  <jug@sad.it>
13834
13835         * sp_spell.C: removed double includes.
13836
13837 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         Consistent use of Lsstream.h:
13840         * Lsstream.h: added using std::stringstream for consistencies sake.
13841
13842         * buffer.C: removed using std::stringstream
13843
13844         * lyxfont.C (stateText):
13845         * paragraph.C (asString):
13846         * text.C (selectNextWord, selectSelectedWord):
13847         * text2.C (setCounter):
13848         * vspace.C (asString, asLatexString):
13849         std::ostringstream -> ostringstream.
13850
13851 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13852
13853         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13854         * commandtags.h: add LFUN_HELP_ABOUTLYX
13855         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13856
13857 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13858
13859         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13860         cursorToggle()
13861         * lyx_gui_misc.C: remove spellchecker
13862         * lyxfunc.C: showSpellchecker
13863         * sp_base.h: added
13864         * sp_ispell.h: added
13865         * sp_pspell.h: added
13866         * sp_spell.C: added
13867         * sp_form.[Ch]: removed
13868         * spellchecker.[Ch]: removed
13869
13870 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13871
13872         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13873         is set.
13874         (simpleTeXSpecialChars): Simply print the input character without
13875         any special translation if pass_thru is set.
13876
13877         * layout.h: Added bool pass_thru to layout class for being able to
13878         implement pass through of a paragraph for Literate Programming.
13879
13880         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13881         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13882         * layout.C (Read): add "passthru" to list of layout tags and add
13883         code to set the pass_thru boolean when it is read.
13884
13885 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * trans_decl.h: remove allowed from KmodInfo
13888
13889         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13890         remove allowed code
13891         (Load): adjust
13892
13893         * paragraph_pimpl.C (erase): use boost::prior
13894
13895         * Painter.C (text): use data() instead of c_str() when length is
13896         also provided.
13897         * WorkArea.C (putClipboard): ditto
13898         * font.h (width): ditto
13899
13900         * BufferView2.C: use it-> instead of (*it). for iterators
13901         * texrow.C: ditto
13902         * paragraph_pimpl.C: ditto
13903         * paragraph.C: ditto
13904         * minibuffer.C: ditto
13905         * language.C: ditto
13906         * kbmap.C: ditto
13907         * encoding.C: ditto
13908         * counters.C: ditto
13909         * converter.C: ditto
13910         * chset.C: ditto
13911         * Variables.C: ditto
13912         * TextCache.C: ditto
13913         * MenuBackend.C: ditto
13914         * LyXAction.C: ditto
13915         * LColor.C: ditto
13916         * FloatList.C: ditto
13917         * DepTable.C: ditto
13918         * ColorHandler.C (LyXColorHandler): ditto
13919
13920 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13921
13922         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13923
13924         * text2.C (openStuff): reintroduce this method (which had been
13925         nuked in NEW_INSETS frenzy).
13926
13927         * lyxfunc.C (Dispatch): when an action has not been handled, use
13928         its name in the error message, not its number.
13929
13930         * paragraph.C (inInset): change method name to begin with lowercase.
13931
13932         * undo_funcs.C:
13933         * text2.C: updates because of this.
13934
13935 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * ToolbarDefaults.C (add): add spaces in error message
13938
13939 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13942         (readLyXformat2): rename return_par to first_par, use lyxlex's
13943         pushToken and remove the manual push handling.
13944         (parseSingleLyXformat2Token): add another ert comp. variable:
13945         in_tabular, rename return_par to first_par. handle newlines better
13946
13947 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13950
13951 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * text2.C (getParFromID): removed
13954
13955         * buffer.C (getParFromID): new method moved form lyxtext.
13956         * BufferView2.C (insertErrors): adjust
13957         (setCursorFromRow): adjust
13958         * BufferView_pimpl.C (restorePosition): adjust
13959         * lyxfunc.C (Dispatch): adjust
13960         * undo_funcs.C (textUndo): adjust
13961         (textRedo): adjust
13962         (textHandleUndo): adjust
13963         (textHandleUndo): adjust
13964
13965 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * buffer.C: up' the LYX_FORMAT
13968
13969         * lyxfont.h: turn NO_LATEX on as default
13970
13971         * buffer.C (insertErtContents): new methods of tex style compability.
13972         (parseSingleLyXformat2Token): use it several places.
13973         * tabular.C (OldFormatRead): and here
13974
13975 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * text2.C: remove some commented code.
13978         reindent file.
13979
13980         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13981         * trans.C: changes because of the above.
13982
13983 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13984
13985         * text2.C (setCounter): Fix counters bug with bibliography layout.
13986
13987 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13990         own member functions
13991         (simpleTeXSpecialChars): ditto
13992
13993 2001-07-06  Juergen Vigna  <jug@sad.it>
13994
13995         * a lot of files: changed the access to LyXText::status and the
13996         call of undo-functions.
13997
13998         * undo.[Ch]: added a inset_id to the undo informations.
13999
14000         * undo_funcs.[Ch]: added and moved here all undo functions.
14001
14002         * lyxtext.h: give the status enum a weight, made status_ a private
14003         variable and made accessor functions for it, removed the whole bunch
14004         of undo-functions as they are now in their own file, make some
14005         functions publically available. Added function ownerParagraph with
14006         int parameter.
14007
14008         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14009         made InInset() a const function, added getParFromID() function.
14010
14011         * buffer.[Ch]: added const version for inset_iterator functions,
14012         added getInsetFromID() function.
14013
14014         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14015         changed undo functions for new version.
14016
14017 2001-07-05  Juergen Vigna  <jug@sad.it>
14018
14019         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14020         unknow mechanism does not call the proper constructor but only this
14021         one also if I request the other!?
14022
14023 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14026
14027         * text2.C (LyXText): use initialization lists.
14028
14029         * lyxtext.h (Selection): initialize set_ and mark_
14030         (init): remove method
14031
14032 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14033
14034         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14035
14036 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14037
14038         * screen.[Ch]: change method names to begin with lowercase
14039
14040         * BufferView_pimpl.C (updateScrollbar): simplify further and
14041         hopefully make it a bit faster.
14042
14043 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14046         calling directly xforms functions.
14047
14048         * Painter.C (Painter):
14049         * lyx_cb.C (MenuWrite):
14050         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14051         fl_display.
14052
14053         * lyx_gui.C: remove bogus guiruntime extern declaration.
14054
14055 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14058         in NEW_INSETS
14059         (redoDrawingOfParagraph): ditto
14060         (redoParagraphs): ditto
14061         (cutSelection): don't create a object for CutAndPaste use the
14062         static method directly
14063         (pasteSelection): ditto
14064
14065         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14066         LyXview (+ rename)
14067
14068 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14069
14070         * modifications to some other files because of this.
14071
14072         * Makefile.am (lyx_SOURCES): add XFormsView
14073
14074         * XFormsView.[Ch]: new files
14075
14076         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14077         the main window. Move the gui dependent stuff to XFormsView
14078
14079 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * tabular.C (GetCellInset): update cur_cell also in the row/col
14082         version of this function.
14083
14084         * lyxfunc.C: no need to include figure_form.h here.
14085
14086         * FontLoader.h:
14087         * lyxfunc.h:
14088         * lyxscreen.h:
14089         * text2.C:
14090         * lyxvc.C: no need to include forms.h here.
14091
14092 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14095
14096         * lyxfunc.C (Dispatch):
14097         * Spacing.C (set):
14098         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14099         constructor argument.
14100
14101 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * paragraph.C (Paragraph): dont't clear, and just set layout.
14104         (makeSameLayout): use params's copy contructor.
14105
14106         * ParagraphParameters.[Ch] (makeSame): delete method
14107
14108 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * Variables.[Ch]: fix indentation, rename set to isSet
14111
14112 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * lyxfunc.C (Dispatch): fix typo
14115
14116 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14117
14118         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14119         upper_bound.
14120
14121         * bufferlist.C: include assert.h for emergencyWrite().
14122
14123 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14124
14125         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14126           give up at last (bug #425202) !
14127
14128 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * lyx_gui_misc.C:
14131         * sp_form.h:
14132         * sp_form.C:
14133         * spellchecker.h:
14134         * spellchecker.C: strip spellchecker options and bring up
14135           preferences tab instead
14136
14137 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14138
14139         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14140         the istringstream constructor
14141
14142 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * paragraph.C (getLayout): fix return value
14145
14146         * paragraph.h: do not declare getLayout as inline.
14147
14148         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14149
14150 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14151
14152         * lyxcursor.h (operator<): new func
14153         (operator>): new func
14154         (operator>=): new func
14155         (operator<=): new func
14156
14157         * text.C (changeCase): use selection.start and selection.end
14158         (changeRegionCase): require from to be <= to. Require par to be a
14159         valid paragraph.
14160
14161         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14162
14163 2001-06-27  Juergen Vigna  <jug@sad.it>
14164
14165         * text.C (cursorLeftOneWord): changed to return the cursor and added
14166         overlay with BufferView * parameter which calls this one.
14167         (getWord): added
14168         (selectWord): use new getWord function.
14169         (changeCase): renamed from changeWordCase as and extended to work
14170         also on selections.
14171
14172         * lyxtext.h: added enum word_location
14173
14174         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14175         changeCase as this operates now also on selections.
14176
14177 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14178
14179         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14180
14181         * many files: send debug output to Debug::INFO instead of
14182         Debug::ANY.
14183
14184         * converter.C (View):
14185         (Convert):
14186         (Move): send debug output to Debug::FILES instead of console.
14187
14188 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14189
14190         * lyxfunc.C (getStatus): use func_status
14191
14192         * func_status.h: new header, describing the results of
14193         LyXFunc::getStatus;
14194
14195         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14196         LFUN_MATH_HALIGN.
14197
14198 2001-06-25  The LyX Project  <jug@sad.it>
14199
14200         * buffer.C (sgmlOpenTag):
14201         (sgmlCloseTag):
14202         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14203
14204 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * text2.C: remove some dead code
14207
14208         * tabular.C (GetCellInset): store the last cell checked (gotten)
14209
14210         * tabular.h: add the helper for the speedup
14211
14212         * lyxtext.h: remove some dead code
14213
14214 2001-06-26  The LyX Project  <Asger>
14215
14216         * paragraph.C: Change export to LaTeX of alignment to
14217         \begin{center} and family for better roundtrip work with reLyX.
14218
14219         * Tune the math drawing a bit.
14220
14221 2001-06-25  The LyX Project  <Asger>
14222
14223         * LColor.C (LColor): New color for math background. New color
14224         for buttons.
14225
14226 2001-06-25  The LyX Project  <jug@sad.it>
14227
14228         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14229
14230         * lyxfunc.C (Open):
14231         * bufferlist.C (newFile): do not restrict to files ending with
14232         .lyx
14233
14234         * BufferView_pimpl.C (MenuInsertLyXFile):
14235
14236 2001-06-24  The LyX Project  <jug@sad.it>
14237
14238         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14239         of compare_no_case
14240
14241 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * lyxtext.h: rename most methods to begin with a small char.
14244         Lots of changes because of this.
14245
14246         * paragraph.C (Paragraph): do not call fitToSize
14247         (erase): call Pimpl::erase
14248         (insertChar): call Pimpl::insertChar
14249         (insertInset): call Pipl::insertInset
14250         (breakParagraph): do not call fitToSize
14251         (breakParagraphConservative): do not call fitToSize
14252         (fitToSize): remove method
14253
14254         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14255
14256 2001-06-24  The LyX Project  <Asger>
14257
14258         * Fix Qt compilation^2
14259
14260 2001-06-24  The LyX Project  <jug@sad.it>
14261
14262         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14263         depthHook(getDepth()-1).
14264
14265         * paragraph.h:
14266         * ParagraphParameters.h:
14267         * ParameterStruct.h: change type of depth to unsigned int ==
14268         depth_type. Many adaptations to other files before of that.
14269
14270 2001-06-24  The LyX Project  <Asger>
14271
14272         * Fix Qt compilation.
14273
14274 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * paragraph.h: renamed several methods to begin with small letter.
14277         several changes to many parts of the code because of this.
14278
14279 2001-06-23  The LyX Project  <jug@sad.it>
14280
14281         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14282         rewritten to discard all double spaces when KeepEmpty is off
14283         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14284         to only handle newlines but not fiddle with spaces and friends.
14285
14286         * lyxfunc.C (MenuNew): when doing 'new from template', use
14287         template_path as default directory
14288
14289 2001-06-23  The LyX Project  <Asger>
14290
14291         * Clean-up of header file includes all over
14292         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14293
14294 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14295
14296         * paragraph.h: renamed from lyxparagraph.h
14297
14298 2001-06-23  Asger  <lyx@violet.home.sad.it>
14299
14300         * Buffer.h: Removed Buffer::resize
14301         * BufferList.h: Removed BufferList::resize
14302         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14303         the document lazily when we change the width, or the font settings.
14304
14305 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14308
14309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * buffer.h: remove out of date comment
14312
14313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * lyxscreen.h:
14316         * screen.C: fix "theoretical" GC leak
14317
14318 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * LaTeX.C (scanAuxFile):
14321         (deplog): remove trailing \r when reading stream (useful under
14322         win32)
14323
14324 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14325
14326         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14327         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14328         and BufferView::theLockingInset(Inset*), so should use them and not
14329         access bv_->text->the_locking_inset directly.
14330
14331         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14332
14333 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * Makefile.am:
14336         * tex-defs.h: remove old unused file
14337
14338 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * BufferView_pimpl.C: fix typo, remove minibuffer message
14341           when buffer has loaded
14342
14343 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14344
14345         * lyxfunc.C (Dispatch): use stringstream
14346         (MenuNew): use stringstream
14347         (Open): use stringstream
14348
14349         * importer.C (Import): use stringstream
14350
14351         * bufferview_funcs.C (CurrentState): use stringstream
14352
14353         * LaTeX.C (run): use stringstream
14354
14355         * BufferView_pimpl.C (savePosition): use stringstream
14356         (restorePosition): use stringstream
14357         (MenuInsertLyXFile): use stringstream
14358
14359 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14360
14361         * BufferView.C:
14362         * Bullet.C:
14363         * ColorHandler.C:
14364         * FontInfo.C:
14365         * FontLoader.C:
14366         * LColor.C:
14367         * LaTeXFeatures.C:
14368         * Painter.C:
14369         * gettext.C:
14370         * lyx_gui_misc.C:
14371         * lyxserver.C:
14372         * vspace.C: removed // -*- C++ -*- as first line.
14373
14374         * lyxfind.h:
14375         * version.h: added // -*- C++ -*- as first line.
14376
14377 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14380
14381         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14382         of string
14383
14384 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14387         of floats.
14388
14389 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * gettext.C: include LString.h even when --disable-nls is on.
14392
14393 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * converter.h (Get): changed argument type from int to
14396         FormatList::size_type to avoid unnecessary conversion.
14397
14398         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14399         before using it.
14400
14401 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * gettext.h: include LString.h even when --disable-nls is on.
14404
14405 2001-06-07  Juergen Vigna  <jug@sad.it>
14406
14407         * text.C (BreakAgain): subst spaces with tabs.
14408
14409         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14410         (resizeInsetsLyXText): set force on resizeLyXText.
14411
14412 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14413
14414         * gettext.h (gettext_init):
14415         (locale_init): use a real definition instead of a macro
14416
14417 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14418
14419         * Bufferview_pimpl.C:
14420         * LColor.h:
14421         * LColor.C: further lcolor tidies
14422
14423 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14424
14425         * BufferView_pimpl.C (updateScrollbar): simplify.
14426
14427         * BufferView2.C: don't include insets/insetinfo.h, change
14428         prototype for insertInset and call the Pimpl version. let
14429         updateInset call Pimpl version.
14430
14431         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14432         gotoInset to BufferView::Pimpl
14433
14434 2001-06-01  Juergen Vigna  <jug@sad.it>
14435
14436         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14437         inside a LockingInset (is the update needed at all?).
14438
14439 2001-05-31  Juergen Vigna  <jug@sad.it>
14440
14441         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14442         here not the old one otherwise how should we compare it afterwards
14443         if it's the same!
14444
14445 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * lyxfont.C:
14448         * tabular.C:
14449         * tabular-old.C:
14450         * FontInfo.C: bring C functions into global namespace when
14451         necessary
14452
14453 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14454
14455         * LString.h: make sure config.h has been loaded before LString.h.
14456
14457         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14458         (one for each char read by EatLine!).
14459
14460         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14461         variables.
14462
14463 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14464
14465         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14466         to the same as the par we break from
14467
14468 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14469
14470         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14471
14472         * MenuBackend.C (expand): also create menu entries for wide
14473         versions of the floats.
14474
14475         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14476
14477         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14478
14479         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14480         frontends/Makefile.am
14481
14482         * text2.C: adjust
14483         * text.C: adjust
14484
14485
14486         * tabular.C (getTokenValue): add std::
14487
14488         * tabular-old.C (getTokenValue): add std::
14489         (getTokenValue): ditto
14490         (getTokenValue): ditto
14491
14492         * screen.C (ToggleSelection): adjust
14493
14494         * lyxtext.h: put selection cursors inside a Selection struct.
14495
14496         * lyxfunc.C (moveCursorUpdate): adjust
14497
14498         * lyxfont.C (latexWriteStartChanges): add std::
14499
14500         * lyxfind.C: adjust
14501
14502         * font.h: delete with(char const *, LyXFont const &)
14503
14504         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14505
14506         * FontInfo.C (getFontname): add std::
14507
14508         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14509         (workAreaButtonPress): adjust
14510         (tripleClick): adjust
14511         (update): adjust
14512         (moveCursorUpdate): adjust
14513         (Dispatch): adjust
14514
14515         * BufferView2.C (gotoInset): adjust
14516
14517 2001-05-30  Juergen Vigna  <jug@sad.it>
14518
14519         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14520         to check pspell I add this as default as I now have new pspell
14521         libraries and they seem to use this.
14522
14523 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14524
14525         * text2.C (CutSelection): make the cursor valid before the call to
14526         ClearSelection.
14527
14528 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14531         relied on 0 terminated strings and other horrors. Bug found due to
14532         the new assert in lyxstring!
14533
14534         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14535         KP_ keys.
14536
14537 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14538
14539         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14540         to latinkeys.bind.
14541
14542         * lyxfunc.C (processKeySym): change method of getting to the
14543         self-insert char.
14544
14545         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14546         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14547         * BufferView_pimpl.[Ch]: here as private methods.
14548
14549 2001-05-28  Juergen Vigna  <jug@sad.it>
14550
14551         * text.C (SetHeightOfRow): added the update() call again as it is
14552         needed to initialize inset dimensions!
14553
14554 2001-05-16  Juergen Vigna  <jug@sad.it>
14555
14556         * text2.C (SetCharFont): Add new function with BufferView * and
14557         bool toggleall parameters for setting insets internal fonts.
14558         (SetFont): Freeze the undo as we may change fonts in Insets and
14559         all this change should be inside only one Undo!
14560
14561         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14562         setting font's in insets as for them we have the SetFont function!
14563
14564 2001-05-15  Juergen Vigna  <jug@sad.it>
14565
14566         * text2.C (ClearSelection): to be sure we REALLY don't have any
14567         selection anymore!
14568
14569         * tabular.C (TeXCellPreamble): fixed the left border problem for
14570         multicolumn cells.
14571
14572 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14573
14574         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14575         dependancy file
14576
14577 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14578
14579         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14580         LFUN_BREAKPARAGRAPH.
14581
14582         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14583         help test to "internal only", similar for LFUN_INSERT_URL
14584
14585         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14586         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14587         auto_region_delete and deadkeys.
14588
14589 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * LColor.h:
14592         * LColor.C: remove some dead entries, tidy a little
14593
14594 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14597         commented code.
14598         (Dispatch): implement LFUN_ESCAPE
14599
14600         * commandtags.h: add LFUN_ESCAPE
14601
14602         * LyXAction.C (init): add entry for LFUN_ESCAPE
14603
14604         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14605         Remove commented code.
14606         (insertNote): moved here
14607         (open_new_inset): moved here
14608
14609         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14610         BufferView_pimpl
14611
14612 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * kbmap.C (findbinding): clean it up and make it work correctly.
14615
14616         * lyx_main.C (init): do not pass argc and argv as parameters
14617
14618 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14619
14620         * buffer.C: fix path for OS/2 & Win32
14621
14622         * lyx_gui.C:
14623         * lyx_main:
14624         * lyx_main.C: Added os:: class.
14625
14626         * os2_defines.h: update
14627
14628 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14631         better by trying again with reduced state.
14632
14633 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * lyxrc.C (read): print error about invalid key sequence only when
14636         debugging (because not all latinX keysyms are known to some X
14637         servers)
14638
14639         * kbsequence.C (getiso): add a few std:: qualifiers
14640         (getiso): comment out extra return statement.
14641
14642 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14645         handling.
14646         (Dispatch): enhance the accent inset a bit. (not perfect)
14647
14648 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14651
14652 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14653
14654         * bufferlist.C (emergencyWrite): fix assert() call
14655
14656 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14657
14658         * text.C (InsertChar): Added trivial patch to only send the "you
14659         can not do multiple spaces this way" message once during a
14660         session.
14661
14662 2001-05-08  Baruch Even  <baruch@lyx.org>
14663
14664         * Makefile.am: Changed order of libraries to get LyX to link properly
14665         with the gnome frontend.
14666
14667 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * LaTeXFeatures.h: add a std:: qualifier
14670
14671 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * paragraph.C (String): use stringstream
14674
14675 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * paragraph.C (writeFile): remove footflag arg
14678
14679         * buffer.C (makeLaTeXFile): use stringstream
14680         (latexParagraphs): remove footnot gurba
14681
14682         * LaTeXFeatures.C (getPackages): use stringstream
14683         (getMacros): likewise
14684         (getTClassPreamble): likewise
14685         (getFloatDefinitions): new method
14686
14687         * paragraph.C (writeFile): reindent
14688         (Erase): reindent
14689
14690         * WorkArea.h: revert the xpos + etc changes.
14691
14692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14693
14694         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14695
14696         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14697         (pasteSelection): likewise
14698         * text2.C (CreateUndo): likewise
14699
14700 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * minibuffer.C (peek_event): temporarily reduce the functionality
14703         of the minibuffer (to allow args on lfuns)
14704
14705         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14706         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14707
14708         * buffer.C (readInset): add compability reading of old float
14709         lists, add reading of new style float list.
14710         (readInset): avoid reevaluation of inscmd.getCmdName()
14711         (getLists): reindent
14712
14713         * MenuBackend.C (MenuItem): implement parsing of
14714         md_floatlistinsert and md_floatinsert.
14715         (expand::LastFiles): move initalizaton of iterators out of loop,
14716         avoid reevaluation.
14717         (expand::Documents): introduce typdedef vector<string> Strings,
14718         and use it.
14719         (expand::ExportFormats): introduce typedef vector<Format const *>
14720         Formats, and use it.
14721         (expand): implement FloatListInsert and FloatInsert.
14722
14723         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14724         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14725         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14726
14727         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14728         handling.
14729         (Dispatch::LFUN_FLOAT_LIST): implement
14730
14731 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14732
14733         * LaTeX.C (run): Fix problem with --export code.
14734
14735 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * BufferView.[Ch] (workarea): removed.
14738         (getClipboard) new method; wrapper for workarea()->getClipboard()
14739
14740         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14741         bug.
14742
14743         * WorkArea.h (width, height, xpos, ypos): These methods all
14744         returned the dimensions of the work_area sub-area of WorkArea,
14745         resulting in a position error if the WorkArea were resized. Now
14746         return the dimensions of the entire WorkArea.
14747
14748         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14749
14750 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14751
14752         * LaTeX.C (deplog): correct the syntax of regex reg1
14753
14754 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * undo.C: remove !NEW_INSETS cruft
14757
14758 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * text2.C: remove !NEW_INSETS cruft
14761
14762         * text.C: remove !NEW_INSETS cruft
14763
14764         * tabular.C: remove !NEW_INSETS cruft
14765
14766         * spellchecker.C: remove !NEW_INSETS cruft
14767
14768         * lyxtext.h: remove !NEW_INSETS cruft
14769
14770         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14771
14772         * lyxfunc.C: remove !NEW_INSETS cruft
14773
14774         * lyxfind.C: remove !NEW_INSETS cruft
14775
14776         * lyx_cb.C: remove !NEW_INSETS cruft
14777
14778         * figureForm.C: remove  !NEW_INSETS cruft
14779
14780         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14781
14782         * buffer.[Ch]: remove !NEW_INSETS cruft
14783
14784         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14785
14786         * CutAndPaste.C: remove !NEW_INSETS cruft
14787
14788         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14789
14790         * BufferView2.C: remove !NEW_INSETS cruft
14791
14792         * BufferView.h: remove !NEW_INSETS cruft
14793
14794 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14795
14796         * Lsstream.h: include LString.h before the sstream headers to
14797         fix problem with gcc 2.95.3 and lyxstring
14798
14799 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * lyx_main.C: add using directives when needed for C functions
14802         declared in std:: namespace.
14803
14804 2001-04-27  Juergen Vigna  <jug@sad.it>
14805
14806         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14807         (SetHeightOfRow): comment out the update call should not be needed!
14808
14809 2001-04-13  Juergen Vigna  <jug@sad.it>
14810
14811         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14812         (LyXTabular): tried to minimize operator= operations (and realized
14813         hopfully Lars wish).
14814
14815 2001-04-27  Juergen Vigna  <jug@sad.it>
14816
14817         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14818
14819 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14820
14821         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14822
14823         * buffer.C (readInset): hack to make listof algorithm work
14824
14825         * BufferView_pimpl.C: hack to make listof algorithm work
14826
14827 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * LyXAction.C: removed all !NEW_INSETS cruft
14830         (init): moved lfun_item in method
14831
14832         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14833
14834 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14835
14836         * BufferView2.C (theLockingInset): white space.
14837
14838 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * minibuffer.C: include <iostream>
14841
14842         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14843
14844         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14845
14846         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14847
14848         * text.[Ch] (TransposeChars): new method
14849
14850 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * call message directly through LyXView instead of through LyXFunc
14853         * BufferView2.C: adjust
14854         * BufferView_pimpl.C: adjust
14855         * FontLoader.C: adjust
14856         * buffer.C: adjust
14857         * bufferview_funcs.C: adjust
14858         * converter.C: adjust
14859         * figureForm.C: adjust
14860         * importer.C: adjust
14861         * lyx_cb.C: adjust
14862         * lyx_gui_misc.C: adjust
14863         * lyxfunc.C: adjust
14864         * lyxvc.C: adjust
14865         * text2.C: adjust
14866         + more files in subdirs
14867
14868         * lyxparagraph.h (size): move up int file
14869         (GetLayout): ditto
14870
14871         * adjust all uses of Assert to lyx::Assert.
14872
14873         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14874         lyxfunctional in namespace lyx
14875         * layout.C (hasLayout): ditto
14876         (GetLayout): ditto
14877         (GetLayout): ditto
14878         (delete_layout): ditto
14879         (NumberOfClass): ditto
14880         * converter.C (GetFormat): ditto
14881         (GetNumber): ditto
14882         (Add): ditto
14883         (Delete): ditto
14884         (SetViewer): ditto
14885         * bufferlist.C (getFileNames): ditto
14886         (emergencyWriteAll): ditto
14887         (exists): ditto
14888         (getBuffer): ditto
14889         * MenuBackend.C (hasSubmenu): ditto
14890         (hasMenu): ditto
14891         (getMenu): ditto
14892         * BufferView_pimpl.C (getInsetByCode): ditto
14893
14894 2001-04-18  Juergen Vigna  <jug@sad.it>
14895
14896         * vspace.C (asLatexString): fixed the 100% problem.
14897
14898 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * lyxfunc.C (Dispatch):
14901         * minibuffer.C:
14902         * minibuffer.h: add a few std:: qualifiers
14903
14904 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * minibuffer.[Ch]: reimplement so that commands is initiated and
14907         run from lyxfunc, simplified som handling, and made the completion
14908         and history code for complete. wip.
14909
14910         * lyxfunc.C (processKeySym): call message
14911         (miniDispatch): new temporary method
14912         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14913         (LFUN_MESSAGE): implement
14914         (LFUN_MESSAGE_PUSH): implement
14915         (LFUN_MESSAGE_POP): implement
14916         (initMiniBuffer): the initial/defualt minibuffer message.
14917
14918         * lyxfont.[Ch]: inline some more getters
14919
14920         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14921
14922         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14923
14924         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14925         (AutoSave): use LFUN_MESSAGE
14926         (Reconfigure): ditto
14927
14928         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14929
14930         * figureForm.C: use LFUN_MESSAGE
14931
14932         * converter.C (runLaTeX): use LFUN_MESSAGE
14933
14934         * bufferview_funcs.C: use LFUN_MESSAGE
14935         (Melt): ditto
14936         (changeDepth): ditto
14937
14938         * bufferparams.h: use boost::
14939
14940         * bufferlist.h: inherit privately from noncopyable
14941
14942         * bufferlist.C (loadLyXFile): remove some commented code.
14943
14944         * buffer.C (runChktex): use LFUN_MESSAGE
14945
14946         * ShareContainer.h: inherit privately from noncopyable
14947
14948         * ParagraphParameters.[hC] (depth): inline it.
14949
14950         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14951         methods.
14952         (message): new method
14953         (messagePush): ditto
14954         (messagePop): ditto
14955         (show): init minibuffer
14956         (showState): direct call
14957
14958         * LaTeX.[Ch]: inherit privately from noncopyable
14959         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14960         instead of WriteStatus.
14961
14962         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14963
14964         * BufferView_pimpl.C (buffer): don't init minibuffer
14965         (workAreaButtonPress): use LFUN_MESSAGE
14966         (workAreaButtonRelease): ditto
14967         (savePosition): ditto
14968         (restorePosition): ditto
14969         (MenuInsertLyXFile): ditto
14970         (workAreaExpose): don't init minibuffer
14971         (update): remove commented code, simplify
14972
14973         * BufferView2.C (openStuff): use LFUN_MESSAGE
14974         (toggleFloat): ditto
14975         (menuUndo): ditto
14976         (menuRedo): ditto
14977         (copyEnvironment): ditto
14978         (pasteEnvironment): ditto
14979         (copy): ditto
14980         (cut): ditto
14981         (paste): ditto
14982         (gotoInset): ditto
14983         (updateInset): remove some commented code
14984
14985         * lastfiles.h: inherit privately from noncopyable
14986         * layout.h: ditto
14987         * lyx_gui.h: ditto
14988         * lyx_main.h: ditto
14989         * lyxlex.h: ditto
14990         * lyxlex_pimpl.h: ditto
14991
14992         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14993         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14994         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14995
14996         * LyXAction.h: inherit privately from noncopyable, add methods
14997         func_begin, func_end, returning iterators to the func map.
14998
14999         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15000         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15001         (func_begin): new method
15002         (func_end): new method
15003
15004         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15005         and not)
15006         (copySelection): ditto
15007         (pasteSelection): ditto
15008
15009         * BufferView.C: whitespace change
15010         * BufferView.h: inherit privately from noncopyable
15011
15012 2001-04-16  Allan Rae  <rae@lyx.org>
15013
15014         * tabular-old.C (l_getline):
15015         * spellchecker.C (sc_check_word):
15016         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15017         an unrecognised preprocessor directive.  So ensure they're wrapped.
15018
15019 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * src/exporter.C (Export): Give an error message when path to file
15022         contains spaces.
15023
15024 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15025
15026         * LaTeX.C (deplog): Always check that foundfile exists.
15027
15028 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * lyx_main.h:
15031         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15032
15033 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * tabular.[Ch] (getLabelList): implement new method
15036
15037         * minibuffer.h: comment ouf setTiimer
15038
15039         * minibuffer.C (ExecutingCB): constify res
15040         (peek_event): constify s
15041         (Set): constify ntext
15042         (Init): constify nicename
15043
15044         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15045
15046         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15047         (savePosition): use two params to Minibuffer::Set
15048         (restorePosition): ditto
15049
15050 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * lyx_main.C: include language.h
15053
15054         * Makefile.am (lyx_main.o): add language.h
15055
15056 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * exporter.C:
15059         * paragraph.C:
15060         * screen.C:
15061         * tabular.C:
15062         * CutAndPaste.C: include gettext.h
15063
15064         * lyxfont.h: remove old hack with ON and OFF.
15065
15066         * lyxparagraph.h:
15067         * lyxfont.h: do not include language.h...
15068
15069         * BufferView2.C:
15070         * LaTeXFeatures.C:
15071         * Painter.C:
15072         * bufferview_funcs.C:
15073         * font.C:
15074         * lyxfont.C:
15075         * text.C:
15076         * text2.C:
15077         * trans_mgr.C:
15078         * paragraph.C: ... but do it here instead
15079
15080 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15083
15084         * tabular.C: small reformat
15085
15086         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15087         NEW_INSETS version
15088         (GetChar): ditto
15089         (BreakParagraph): ditto
15090         (SetOnlyLayout): ditto
15091         (SetLayout): ditto
15092
15093         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15094         with one arg less.
15095
15096         * lastfiles.C: removed most using decl, add std:: where needed
15097
15098         * buffer.C: ws changes
15099
15100         * MenuBackend.C (class compare_format): put into anon namespace
15101         (expand): constify label, names, action, action2
15102         (expand):
15103
15104         * text.C (SingleWidth): constify font
15105         (IsBoundary): constify rtl2
15106         (GetVisibleRow): constify ww
15107
15108         * LaTeX.C (deplog): constify logfile
15109
15110         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15111         start_x, end_x
15112         (workAreaExpose): constify widthChange, heightChange
15113
15114         * lyxrow.C (par): moved
15115         (height): moved
15116         (next): moved
15117         * lyxrow.h: as inlines here
15118
15119         * lyxfont.h (shape): moved from lyxfont.C
15120         (emph): moved from lyxfont.C
15121
15122         * lyxfont.C (LyXFont): use initialization list for all
15123         constructors
15124         (shape): move to lyxfont.h as inline
15125         (emph): move to lyxfont.h as inline
15126
15127
15128 2001-04-04  Juergen Vigna  <jug@sad.it>
15129
15130         * vspace.C: had to include stdio.h for use of sscanf
15131
15132 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * BufferView.h:
15135         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15136         independent of xforms.
15137
15138 2001-04-02  Juergen Vigna  <jug@sad.it>
15139
15140         * spellchecker.C: fixed namespace placing!
15141
15142 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15143
15144         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15145         the LyXParagraph * is 0.
15146
15147 2001-03-29  Juergen Vigna  <jug@sad.it>
15148
15149         * vspace.C: added support for %, c%, p%, l%.
15150         (stringFromUnit): added helper function.
15151         (asLatexString): changed to give right results for the %-values.
15152
15153         * buffer.C: convert the widthp in a width%.
15154
15155 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15156
15157         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15158         figureForm.[Ch].
15159
15160         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15161         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15162
15163         * lyx_cb.[Ch]: see above.
15164
15165         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15166         form1.[Ch].
15167
15168         * form1.[Ch]:
15169         * lyx.[Ch]: replaced by figure_form.[Ch].
15170
15171         * lyx_gui.C:
15172         * lyx_gui_misc.C:
15173         * lyxfunc.C: changed headers associated with above changes.
15174
15175 2001-03-27  Juergen Vigna  <jug@sad.it>
15176
15177         * BufferView_pimpl.C: set the temporary cursor right!
15178
15179 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15180
15181         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15182
15183 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15184
15185         * LString.h: removed "using std::getline"!
15186
15187         * BufferView_pimpl.C (Dispatch): changes due to changes in
15188         InsetInclude::Params.
15189
15190         * buffer.C (tag_name): removed redundant break statements as they were
15191         producing lots of warnings with my compiler.
15192
15193 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * LString.h: add "using std::getline" when using the real <string>.
15196
15197 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15198
15199         * buffer.C: removed bitset usage.
15200         PAR_TAG moved to an anonymous name space.
15201         (tag_name): new funtion, also in the anonymous namespace.
15202         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15203         (makeDocBookFile): clean code. Completed transition from string arrays
15204         to string vectors.
15205         (SimpleDocBookOnePar): code clean.
15206
15207 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15208
15209         * tabular.C: add some comments.
15210
15211 2001-03-22  Juergen Vigna  <jug@sad.it>
15212
15213         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15214         compatibility read a bit and fixed bug with minipage in different
15215         depth.
15216
15217 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15218
15219         * buffer.C (pop_tag): removed.
15220         (push_tag): removed.
15221         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15222         array replaced with vector. Added support for CDATA sections.
15223         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15224         at any nest level.
15225         (makeDocBookFile): XML conformant declaration of CDATA section,
15226         fixed bug related to <emphasis> in the first paragraph char.
15227         (sgmlOpenTag): exclude empty tags.
15228         (sgmlCloseTag): ditto.
15229
15230         * buffer.h (pop_tag): removed.
15231         (push_tag): removed.
15232
15233 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15234
15235         * language.h (Languages): added size_type and size().
15236
15237 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15238
15239         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15240         response on compability reading of minipages. One probliem is that
15241         the old usage of minipages was «flertydig»
15242
15243         * several files here and in subdirs: don't use static at file
15244         scope use anon namespaces instead.
15245
15246 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15247
15248         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15249         LaTeX output. This is necessary for Literate document
15250         processing.
15251
15252 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15253
15254         * buffer.C: insert hfill when needed.
15255
15256         * tabular.C (l_getline): use string::erase, small whitespace change.
15257
15258         * BufferView_pimpl.C: try the anon namespace.
15259         * WorkArea.C: ditto
15260
15261 2001-03-16  Juergen Vigna  <jug@sad.it>
15262
15263         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15264         otherwise it won't open options-dialogs.
15265
15266         * buffer.C: honor pextraWidth(p) on converting minipages.
15267
15268         * tabular.C (l_getline): changed the functions to strip trailing \r.
15269
15270 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15271
15272         * BufferView_pimpl.C:
15273         * minibuffer..C: added "using SigC::slot" declaration.
15274
15275 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15276
15277         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15278
15279         * text2.C: ditto
15280
15281         * text.C: ditto
15282
15283         * paragraph.C: ditto
15284
15285         * lyxtext.h: NO_PEXTRA
15286
15287         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15288
15289         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15290         * ParameterStruct.h: ditto
15291         * ParagraphParameters.h: ditto
15292         * lyxparagraph.h: ditto
15293
15294 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15295
15296         * buffer.C: add compability for minipage alignment.
15297         (latexParagraphs): remove unwanted pextra check.
15298
15299         * several files: remove CXX_WORKING_NAMESPACES
15300
15301         * buffer.C (pop_tag): tie is in namespace boost
15302
15303         * BufferView.h: noncopyable is in namespace boost
15304         * lyxlex.h: ditto
15305         * lyx_main.h: ditto
15306         * lyx_gui.h: ditto
15307         * layout.h: ditto
15308         * lastfiles.h: ditto
15309         * bufferlist.h: ditto
15310         * ShareContainer.h: ditto
15311         * LyXView.h: ditto
15312         * LyXAction.h: ditto
15313         * LaTeX.h: ditto
15314
15315 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15316
15317         * Merging changes from BRANCH_MVC back into HEAD.
15318
15319         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15320
15321 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15322
15323         * BufferView_pimpl.C: change from intl.C
15324
15325         * combox.h:
15326         * combox.C:
15327         * Makefile.am: move combox.*
15328
15329         * form1.h:
15330         * form1.C:
15331         * lyx_gui.C:
15332         * intl.h:
15333         * intl.C: remove dialog (covered by prefs)
15334
15335 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15336
15337         * lyxfunc.C (Dispatch): removed redundant break statement.
15338
15339 2001-03-14  Juergen Vigna  <jug@sad.it>
15340
15341         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15342
15343 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15344
15345         * buffer.C: add hack to fix compability reading of minipages.
15346
15347 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15348
15349         * buffer.C (getLists): Cleanup.
15350
15351 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * lyxfont.C (update): don't honor toggleall on font size.
15354
15355 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15356
15357         * bmtable.c:
15358         * bmtable.h:
15359         * Makefile.am: moved to frontends/xforms/
15360
15361         * lyx_gui_misc.C:
15362         * lyxfunc.C:
15363         * BufferView_pimpl.C: changes for moved mathpanel
15364
15365 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * gettext.h: fix gettext_init() in --disable-nls
15368
15369 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15370
15371         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15372
15373 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15374
15375         * lyx.C:
15376         * lyx.h: strip external form
15377
15378 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15379
15380         * BufferView_pimpl.C: add comment, destroySplash()
15381
15382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * BufferView_pimpl.C:
15385         * LyXAction.C:
15386         * buffer.C:
15387         * commandtags.h:
15388         * lyxfunc.C: use re-worked insetinclude
15389
15390 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15391
15392         * buffer.C: add using std::stringstream.
15393
15394         * lyx_cb.C: readd using std::ios.
15395
15396         * buffer.C: add using std::map.
15397
15398         * BufferView_pimpl.C: add using std::vector.
15399
15400         * ShareContainer.h: add std:: to swap.
15401
15402         * buffer.h: add some typedefs
15403         * buffer.C (getLists): use them
15404         (getLists): renamed from getTocList.
15405         add a counter for the different float types and use it in the
15406         generated string.
15407         (getLists): use the same counter for the NEW_INSETS and the "non"
15408         NEW_INSETS
15409
15410         * lyx_cb.h: remove unused items, includes, using etc.
15411
15412         * ShareContainer.h: remove some commented code, add more comments
15413         and "documentation".
15414
15415 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15416
15417         * buffer.C (getTocList): make the list also when NEW_INSETS is
15418         defined.
15419
15420         * buffer.h: remove TocType
15421
15422         * buffer.C (getTocList): change to return a map<string,
15423         vector<TocItem> >, implement for dynamic number of list.
15424
15425         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15426         * text2.C (PasteSelection): adjust
15427         * CutAndPaste.C (pasteSelection): adjust
15428
15429         * FloatList.C (FloatList): update from the new_insets branch.
15430         * Floating.[Ch]: ditto
15431         * LaTeXFeatures.C: ditto
15432         * buffer.C: ditto
15433         * lyxlex_pimpl.C: ditto
15434
15435         * paragraph.C (Last): remove when NEW_INSETS is defined.
15436
15437         * other file: changes because of the above.
15438
15439 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15440
15441         * lyxparagraph.h: rename next to next_, previous to previous_,
15442         make them private for NEW_INSETS. Rename Next() to next(),
15443         Previous() to previous().
15444
15445         * other files: changes because of the above.
15446
15447 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15448
15449         * BufferView.h:
15450         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15451         problem.
15452
15453 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * main.C (main): pass lyx_localedir to gettext_init().
15456
15457         * gettext.h: remove locale_init and gettext_init macros
15458
15459         * gettext.C (locale_init): new function
15460         (gettext_init): new function
15461
15462         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15463         setlocale().
15464
15465 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15466
15467         * Moved credits to frontends:
15468         * credits.[Ch]: removed
15469         * credits_form.[Ch]: removed
15470         * lyx_gui_misc.C: remove credits stuff
15471         * Makefile.am:
15472
15473 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15474
15475         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15476
15477         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15478         unneeded destructor.
15479
15480         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15481         a standalone pointer again.
15482
15483         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15484
15485 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15486
15487         * Makefile.am:
15488         * filedlg.h:
15489         * filedlg.C:
15490         * LyXAction.C:
15491         * ToolbarDefaults.C:
15492         * bufferlist.C:
15493         * commandtags.h:
15494         * form1.C:
15495         * form1.h:
15496         * lyx_cb.C:
15497         * lyx_cb.h:
15498         * lyxfunc.h:
15499         * lyxfunc.C:
15500         * BufferView_pimpl.C: use new file dialog in GUII
15501
15502         * lyx_cb.h:
15503         * lyx_cb.C: remove LayoutsCB to Toolbar
15504
15505 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * ShareContainer.h (get): add std:: qualifier
15508
15509 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * ShareContainer.h: define a proper ShareContainer::value_type
15512         type (and use typename to please compaq cxx)
15513
15514 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15515
15516         * lyxparagraph.h: move serveral local vars to
15517         ParameterStruct/ParagraphParameters., use ShareContainer in
15518         FontTable., make vars in FontTable private and add getter and
15519         setter.
15520
15521         * paragraph.C: changes because of the above.
15522
15523         * lyxfont.h: remove copy constructor and copy assignment. (the
15524         default ones is ok), move number inside FontBits. move inlines to
15525         lyxfont.C
15526
15527         * lyxfont.C: add number to initializaton of statics, move several
15528         inlines here. constify several local vars. some whitespace
15529         cleanup. Dont hide outerscope variables.
15530
15531         * Spacing.h: add two new constructors to match the set methods.
15532
15533         * ShareContainer.h: new file, will perhaps be moved to support
15534
15535         * ParameterStruct.h: new file
15536
15537         * ParagraphParameters.h: new file
15538
15539         * ParagraphParameters.C: new file
15540
15541         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15542         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15543
15544         * BufferView_pimpl.C: ParagraphParameter changes.
15545         * buffer.C: Likewise.
15546         * bufferview_funcs.C: Likewise.
15547         * text.C: Likewise.
15548         * text2.C: Likewise.
15549
15550 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * lyxfind.C (LyXReplace): do not redefine default argument in
15553         implementation.
15554         (IsStringInText): ditto
15555         (SearchForward): ditto
15556         (SearchBackward): ditto
15557
15558 2001-03-06  Juergen Vigna  <jug@sad.it>
15559
15560         * lyxfind.C (IsStringInText): put parentes around expressions.
15561
15562 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15563
15564         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15565
15566 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15567
15568         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15569
15570         * stl_string_fwd.h: add comment
15571
15572         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15573
15574         * tabular.h:
15575         * tabular.C: remove unused DocBook methods
15576
15577         * intl.C:
15578         * language.C:
15579         * paragraph.C:
15580         * buffer.C:
15581         killed DO_USE_DEFAULT_LANGUAGE
15582
15583 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15584
15585         * lyx_gui.C: do not include language.h.
15586
15587         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15588         arguments in function implementation.
15589
15590 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15591
15592         * BufferView_pimpl.C: add <ctime>
15593
15594 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15595
15596         * BufferView_pimpl.C: add using std::find_if
15597
15598 2001-02-27  José Matos  <jamatos@fep.up.pt>
15599
15600         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15601         by OnlyPath.
15602
15603 2001-02-11  José Matos  <jamatos@fep.up.pt>
15604
15605         * buffer.C (makeDocBookFile): command styles now have a parameter as
15606         "title" by default.
15607
15608 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15609
15610         * layout_forms.[Ch]: removed
15611         * lyx_cb.[Ch]: out character
15612         * lyx_gui.C: out character
15613         * lyx_gui_misc.C: out character
15614         * bufferview_funcs.C: : out character,
15615         added toggleall as parameter in ToggleAndShow
15616
15617 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15620
15621         * text2.C (SetCurrentFont): Disable number property at boundary.
15622
15623 2001-02-26  Juergen Vigna  <jug@sad.it>
15624
15625         * lyxfunc.C (getStatus): added a string argument override function so
15626         that this is correctly called from LyXFunc::Dispatch if it contains a
15627         do_not_use_argument which is used!
15628         (Dispatch): added check for "custom" export and call appropriate func.
15629
15630 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * lyxrc.C: Add language_command_local, language_use_babel and
15633         language_global_options.
15634
15635         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15636
15637         * buffer.C (makeLaTeXFile): Use language_use_babel and
15638         language_global_options.
15639
15640 2001-02-23  Juergen Vigna  <jug@sad.it>
15641
15642         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15643         which works with LyXText and putted it inside BufferView. Here now we
15644         only call for that part the BufferView::Dispatch() function.
15645
15646         * BufferView.C (Dispatch): added.
15647
15648         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15649         functions which needs to use a LyXText over from LyXFunc.
15650         (MenuInsertLyXFile): added
15651         (getInsetByCode): added
15652         (moveCursorUpdate): added
15653         (static TEXT): added
15654
15655 2001-02-22  Juergen Vigna  <jug@sad.it>
15656
15657         * BufferView_pimpl.C (update): call a status update to see if LyXText
15658         needs it.
15659
15660 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15661
15662         * vc-backend.C (revert): implement for CVS
15663         (getLog): implement for CVS
15664
15665 2001-02-20  Juergen Vigna  <jug@sad.it>
15666
15667         * text2.C (ClearSelection): added BufferView param for inset_owner call
15668
15669         * lyxfunc.C (TEXT): added this function and use it instead of
15670         directly owner->view()-text of getLyXText().
15671
15672 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15673
15674         * src/layout_forms.C: out preamble
15675         * src/layout_forms.h: out preamble
15676         * src/lyx_cb.C: out preamble
15677         * src/lyx_cb.h: out preamble
15678         * src/lyx_gui.C: out preamble
15679         * src/lyx_gui_misc.C: out preamble
15680         * src/lyxfunc.C: connect with guii preamble
15681
15682 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15683
15684         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15685
15686 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15689         whether to run bibtex.
15690
15691 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15692
15693         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15694
15695 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15696
15697         * Makefile.am (lyx_SOURCES): removed bibforms.h
15698
15699         * vspace.h: doxygen
15700
15701         * text.C (GetVisibleRow): make several local vars const
15702
15703         * tabular.C: small cleanup.
15704
15705         * lyxserver.C (callback): use compare instead of strncmp
15706
15707         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15708         inlines to after class or to paragraph.C
15709
15710         * lyxfont.h: remove friend operator!=
15711
15712         * converter.h: move friend bool operator< to non friend and after
15713         class def.
15714
15715         * combox.h: small cleanup
15716
15717         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15718         to inlines after class def.
15719
15720         * buffer.C (pop_tag): use string operations instead of strcmp
15721
15722         * bmtable.c: doxygen, small cleanup
15723
15724         * LaTeX.h: remove friend operator==
15725
15726 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15727
15728         * screen.C:
15729         * lyxrc.[Ch]:
15730         * lyxfunc.C:
15731         * lyxfont.[Ch]:
15732         * lyx_cb.C:
15733         * intl.[Ch]:
15734         * commandtags.h:
15735         * buffer.C:
15736         * WorkArea.[Ch]:
15737         * LyXAction.C:
15738         * BufferView_pimpl.C:
15739         * BufferView.[Ch]: remove cruft
15740
15741 2001-02-14  Juergen Vigna  <jug@sad.it>
15742
15743         * lyxfunc.C: removed #if 0 unused code
15744
15745         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15746
15747         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15748
15749         * text2.C (SetSelection): added a BufferView * parameter
15750
15751 2001-02-13  Juergen Vigna  <jug@sad.it>
15752
15753         * lyxfunc.C (Dispatch): fixed protected blank problem.
15754         * BufferView2.C (protectedBlank): added LyxText * parameter.
15755
15756         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15757         (AppendColumn): same as above for column_info.
15758
15759         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15760         (moveCursorUpdate): use a LyXText param for support of InsetText.
15761
15762         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15763         (tripleClick): ditto
15764
15765         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15766
15767         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15768
15769         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15770
15771         * text2.C (SetSelection): set correct update status if inset_owner
15772         (ToggleFree): ditto
15773
15774 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15775
15776         * tabular.C: remove some commented code.
15777
15778 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * BufferView_pimpl.C: call hideSplash()
15781
15782         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15783
15784         * include_form.h:
15785         * bibforms.h: remove
15786
15787         * lyxfunc.C:
15788         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15789           add LFUN_CHILD_CREATE
15790
15791         * counters.h: fix tiny typo
15792
15793         * lyx_cb.C:
15794         * lyx.h:
15795         * lyx_gui.C:
15796         * lyx.C: move splash to frontends/xforms/
15797
15798         * lyx_gui_misc.C: move Include and Bibform to frontends
15799
15800         * lyxvc.h: clarify comment
15801
15802         * vspace.C: tiny housekeeping
15803
15804 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * text.C (PrepareToPrint): RTL Fix.
15807
15808         * paragraph.C (GetUChar): New method.
15809         (String):  Use GetUChar.
15810
15811         * buffer.C (asciiParagraph): Use GetUChar.
15812
15813 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15814
15815         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15816
15817 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15818
15819         * buffer.h:
15820         * buffer.C: rename to getLogName(), handle
15821           build log / latex log nicely
15822
15823 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * MenuBackend.C:
15826         * MenuBackend.h: remove support for reference menuitem type.
15827
15828 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15829
15830         * BufferView_pimpl.C: housekeeping
15831         * BufferView_pimpl.h:
15832         * LyXView.h:
15833         * Makefile.am:
15834         * Timeout.C:
15835         * Timeout.h:
15836         * minibuffer.h: move Timeout GUI-I
15837
15838 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * lyxrc.C (read): Update converters data-structures.
15841
15842 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15843
15844         * LaTeX.h (operator!=): add operator != for Aux_Info
15845
15846 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15847
15848         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15849
15850         * LaTeXLog.C: deleted, useful code moved to Buffer
15851
15852         * buffer.h:
15853         * buffer.C: new function getLatexLogName()
15854
15855         * lyx_gui_misc.C:
15856         * lyx_gui.C:
15857         * lyxvc.C:
15858         * lyxvc.h:
15859         * lyxfunc.C: use frontends for LaTeX and VC logs
15860
15861 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15862
15863         * LaTeX.h: yet another std:: that Allan forgot.
15864
15865         * Variables.C (set): renamed from isset(), because this clashes
15866         with some HP-UX macros (grr).
15867
15868 2001-02-06  Allan Rae  <rae@lyx.org>
15869
15870         * LaTeX.h: Another bug fix.  Missing std:: this time.
15871
15872 2001-02-04  Allan Rae  <rae@lyx.org>
15873
15874         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15875         floats problem. I've left it commented out because it's not quite
15876         correct.  It should also test that the current object is a table or
15877         figure inset.  But I haven't gotten around to figuring out how to do
15878         that.  I *think* it'll be something like: "table" == inset.type()
15879
15880         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15881         bool.
15882
15883 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15884
15885         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15886         all the citation/databases/styles in the auxilary file.
15887         (run): Rerun latex if there was a babel language error.
15888
15889 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15890
15891         * text.C (Backspace): Preserve the font when changing newline char
15892         with a space.
15893         (BreakParagraph): If the cursor is before a space, delete the space.
15894
15895         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15896
15897 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15900         new argument (code).
15901         (ChangeCitationsIfUnique): New method.
15902
15903         * paragraph.C (GetPositionOfInset): Handle bibkey.
15904
15905 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * BufferView_pimpl.h: change type of Position::par_pos to
15908         LyXParagraph::size_type.
15909
15910 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * BufferView_pimpl.C (savePosition, restorePosition): Write
15913         messages to minibuffer.
15914
15915 2001-01-28  José Matos  <jamatos@fep.up.pt>
15916
15917         * buffer.C (makeDocBookFile): adds support for document language.
15918         A silly restriction on the name of LatexCommand types where removed.
15919         Added support for CDATA sections, allows to chars unescaped, used
15920         among others in code, to avoid escape < and >.
15921
15922 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15923
15924         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15925         saved positions instrad of a stack. Furthermore, a position is
15926         stored using paragraph id/paragraph position.
15927
15928         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15929         Remove LFUN_REF_BACK.
15930
15931 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * converter.C (dvipdfm_options): New method.
15934
15935 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15936
15937         * vspace.C (isValidLength): Fix for empty input string.
15938
15939 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * LyXAction.C (init): change description of LFUN_FIGURE to
15942         "Insert Graphics"
15943
15944 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * LaTeX.C: add using directive
15947
15948 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * MenuBackend.C (expand): Fix the sorting of the formats.
15951
15952 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15953
15954         * lyx_main.C: tiny error message fix
15955
15956 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15959         calling fl_initialize(). This fixes the problem with ',' as
15960         decimal separator in text files.
15961
15962 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * trans.C (process): Fix the keymap bug.
15965
15966 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15967
15968         * LaTeX.C (scanAuxFiles): New method. Provides support for
15969         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15970         (scanLogFile) Scan for "run BibTeX" messages.
15971
15972         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15973         OT1 font encoding. Also, load the aecompl package if the ae
15974         package is loaded.
15975
15976         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15977
15978 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * texrow.C (increasePos): turn two error messages into debug
15981         messages.
15982
15983 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * LaTeX.C (scanAux): Handle the \@input macro.
15986         (runBibTeX): Use scanAux().
15987
15988         * language.C (latex_options_): New field.
15989
15990         * LaTeXFeatures.C (getMacros): Add language macros.
15991
15992         * buffer.C (makeLaTeXFile): Small fix.
15993
15994 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15995
15996         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15997
15998         * text2.C: add a using directive.
15999
16000 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16001
16002         * BufferView2.C:
16003         * lyx_gui_misc.h:
16004         * lyxfr1.C:
16005         * lyxfunc.C: kill LyXBell.
16006
16007 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16008
16009         * text.C (IsBoundary): Remove the error message
16010
16011         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16012
16013         * lyxrc.C (setDefaults): Correct initialization value for
16014         font_norm_type.
16015
16016 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16017
16018         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16019         gotoError().
16020
16021         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16022         and GotoNextNote().
16023
16024         * src/LyXAction.C: Added reference-next.
16025
16026         * text.C (InsertChar): Use contains instead of strchr.
16027
16028         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16029
16030 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16033         alignment commands (when needed).
16034
16035         * text.C (InsertChar): Add ':' to number separator chars.