]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Use MenuItem::status() instead of own submenudisabled function
[lyx.git] / src / ChangeLog
1 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
4
5         * bufferlist.C (previous, next): new methods
6
7         * lfuns.h: 
8         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
9
10 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
11
12         * buffer.C (makeDocBookFile): add dsssl stylesheet control
13         entities to preamble.
14
15 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * messages.C (Pimpl): strip off translation context information
18
19 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
20
21         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
22         the cursor is correct (bug 1694)
23
24 2004-10-13  José Matos  <jamatos@lyx.org>
25
26         * output_docbook.C (docbookParagraphs): fix closing tags in the
27         end of the document. 
28
29 2004-10-09  José Matos  <jamatos@lyx.org>
30
31         * buffer.C: format up to 237.
32         * bufferparams.C (write): use tostr to convert booleans to strings.
33         
34 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
37
38 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * LaTeX.C: implement use of babel language in xindy.
41
42 2004-10-05  José Matos  <jamatos@lyx.org>
43
44         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
45         Add new translators to help reading and writing the lyx file.
46
47 2004-10-05  José Matos  <jamatos@lyx.org>
48
49         * ParagraphParameters.C (read):
50         * text.C (readParToken): replace nexToken by more appropriate lex
51         methods.
52
53 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
54
55         * LaTeX.C (runMakeIndex):
56         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
57         (usually 'makeindex') configurable.
58
59         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
60         with a variable rather than with a number.
61
62 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * output_latex.C (TeXOnePar): make sure font setting is the first
65         thing that gets output (and the last at the end). Should fix bug
66         1404.
67
68 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * pch.h: use proper signal include
71
72         * LaTeX.h: Use preferred calling of Boost.Signal
73         * buffer.h: ditto
74
75 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * pch.h: dont include <boost/function/function0.hpp>
78
79         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
80
81         * paragraph_pimpl.h: remove usage of ShareContainer
82
83         * paragraph_pimpl.C: remove initialization of ShareContainer.
84
85 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         Fix bug #1666
88
89         * BufferView.C (putSelectionAt): change the semantics when
90         backwards == true: now, this just swaps cursor and anchor wrt the
91         forward case
92
93         * BufferView.h (putSelectionAt): add some documentation
94
95         * lyxfind.C (findBackwards): rewrite using while(). In particular,
96         make sure backwardChar is done at least once (to avoid getting
97         stuck)
98         (findNextChange): use putSelectionAt in the forward direction
99         (operator()): use Paragraph::isWord
100
101 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * Spacing.C (set): c_str fix
104
105 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * lyx_cb.C (Reconfigure): quote the name of configure script in
108         case it contains spaces
109
110 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
111
112         * client: new dir
113
114         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
115         (BOOST_LIBS): use top_buildir when looking for the file
116
117 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
118
119         * pch.h: do not use include boost/format.hpp, multiple symbols
120                 will result (gcc bug)
121
122
123 2004-08-23  José Matos  <jamatos@lyx.org>
124
125         * bufferparams.C (readToken): fix reading of the author field.
126
127 2004-08-20  José Matos  <jamatos@lyx.org>
128
129         * lyxrc.C: remove support/translator.h inclusion since it is not used.
130
131 2004-08-20  José Matos  <jamatos@lyx.org>
132
133         * lyxlex.[Ch] (findToken): remove function.
134
135         * ParagraphParameters.C (findToken):
136         * bufferparams.C (findToken): replace call for previous function
137         with local copy. This local function has one more argument, the
138         read string argument.
139
140 2004-08-16  José Matos  <jamatos@lyx.org>
141
142         * ParagraphParameters.C (write):
143         * Spacing.C (writeFile):
144         * bufferparams.C (writeLaTeX):
145         * lyx_cb.C (Reconfigure):
146         * paragraph.C (write):
147         * tabular.C (write): remove unnecessary space at end of line.
148
149
150 2004-08-16  José Matos  <jamatos@lyx.org>
151
152         * text.C (readParagraph): remove debug message.
153
154 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
157         crash
158
159         * output_plaintext.C (asciiParagraph): set depth correctly
160
161         * outputparams.h: add member depth
162
163         * paragraph_funcs.C (ownerPar): remove.
164
165         * text2.C (setCounter): remove first_pit; comment out some
166         non-working code that uses ownerPar
167
168         * BufferView.C (getParentLanguage): remove. Not used anymore, and
169         uses ownerPar
170
171 2004-08-16  José Matos  <jamatos@lyx.org>
172
173         * text.C (readParToken, readParagraph, read): report all unknown tokens.
174         For the same level of importance use the same chanel to report problems.
175         (read): add code to deal with \begin_body and \end_body.
176
177
178 2004-08-15  José Matos  <jamatos@lyx.org>
179
180         * lyxlex.C (getString): fix comment, buffer::readBody is now
181         buffer:readDocument.
182
183         * tex-strings.C (string_papersize): Default -> default,
184         Custom -> custom, for consistency with other options.
185
186 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * pch.h: new file
189
190         * Makefile.am: support pch
191
192 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * text.C (readParToken): remove the static LyXFont variable and
195         pass it as a parameter instead. This fixes a nasty bug where an
196         inset will be inserted with a bad font in some situations
197         (readParagraph): adapt
198
199         * text2.C (setCounter): reduce number of calls to pars_[pit]
200
201         * text.C (singleWidth): add an assert, fix a test
202
203         * rowpainter.C (paintText): reduce number of calls to singleWidth
204
205         * paragraph.C (isHfill):
206         (isNewline): ws only
207
208 2004-08-14  André Pönitz  <poenitz@gmx.net>
209
210         * text.C:
211         * text2.C:
212         * rowpainter.C:
213         * lyxtext.h (several functions): use a Paragraph & argument
214         instead of par_type
215
216 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * metricsinfo.h: add a new field ltr_pos to PainterInfo
219
220         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
221
222         * text.C (singleWidth): remove useless test
223
224 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * tabular.h: remove bogus comments
227
228         * tabular.C (getDescentOfRow):
229         (isPartOfMultiColumn): add assertions
230
231         * lyxlength.C (inPixels): remove #warning
232
233 2004-08-14  André Pönitz  <poenitz@gmx.net>
234
235         * paragraph.h: inline getChar()
236
237         * BufferView.h: remove unused declarations
238
239 2004-08-14  José Matos  <jamatos@lyx.org>
240
241         * Buffer.[Ch] (readDocument): new name for old readBody.
242         * Buffer.C: new file format, new keywords: \begin_document,
243         \begin_header, \begin_body, \end_body.
244
245         * bufferparams.C (readToken): replace all calls to lex.nextToken
246         by lex.next(). Do the same to eatLine except where really needed.
247
248         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
249         line when writing to the lyx file.
250
251         * output_plaintext.C (asciiParagraph): fix Bibliography style
252         handling.
253
254         * text.C (read): fix end of file handling.
255
256 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * MenuBackend.C (Menu::operator[]): new method to access
259         individual menu items
260         (Menu::hasFunc): new method. search for an item that corresponds
261         to a given func
262         (MenuBackend::specialMenu): new method
263         (MenuBackend::expand): if a special menu has been set, skip
264         entries whose func() appears in this menu
265
266 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
267
268         * text3.C: use Debug::DEBUG a bit more
269
270         * text.C (leftMargin): try to simplify a tiny bit change var x to
271         l_margin. Dont output the wide margins always.
272         (rightMargin): no margin in inner texts
273
274         * rowpainter.h (nestMargin): new func
275         (changebarMargin): new func
276         (rightMargin): new func
277
278         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
279         now functions.
280         (paintLast): ditto
281
282         * factory.C (createInset): modify setDrawFrame
283
284         * cursor.C: use Debug::DEBUG a bit more
285
286 2004-08-14  André Pönitz  <poenitz@gmx.net>
287
288         * coordcache.[Ch]:
289         * Makefile.am: new files to accomodate an 'external' (x,y)-position
290         cache for all insets in (at least partially) visible (top-level)
291         paragraphs.
292
293         * BufferView_pimpl.C: reset external coord cache before every update.
294         This means the coord cache only contains valid entries.
295
296 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
297
298         bug 1096
299         * BufferView_pimpl.C (getInsetByCode): move function out of class
300         and change in to a template in anon namespace. Also fix to do what
301         suits us better.
302
303 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
304
305         bug 1305
306         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
307         of char
308         (breakParagraph): rename par to par_offset and use a local
309         reference. Add code to keep the language over a rebreak.
310         (breakParagraphConservative): rename par to par_offset, use a
311         local reference
312         (mergeParagraph): ditto
313         (outerHook): ditto
314         (isFirstInSequence): ditto
315         (outerFont): rename pit to par_offset
316
317         * paragraph.C: ws change
318         * paragraph.h: ditto
319         * text3.C: ditto
320         * text.C: ditto
321
322 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
325         treatment for ']'
326
327         * paragraph.C (simpleTeXOnePar): when we have a \item with
328         optional argument, enclose the argument with curly brackets (in
329         case it contains a closing square bracket)
330
331         * text2.C (editXY):
332         * text2.C (editXY):
333         * text3.C (checkInsetHit): constify
334
335 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
338         documents (bug 1629)
339
340 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         Fix toggling of collapsable insets with the mouse (bug 1558)
343
344         * lyxfunc.C (dispatch): adapt to LCursor changes
345
346         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
347         make sure that dispatch is not invoked twice
348
349         * cursor.C (needsUpdate): new method
350         (dispatch): return void
351         (result): new method, to access the DispatchResult of the cursor.
352
353 2004-08-13  José Matos  <jamatos@lyx.org>
354
355         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
356
357 2004-08-13  André Pönitz  <poenitz@gmx.net>
358
359         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
360
361         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
362           multiple cells
363
364 2004-08-12  André Pönitz  <poenitz@gmx.net>
365
366         * text3.C: take out the 'cursor right' form insertInset and only
367         do it in those places when it is really needed. Fixes crash on
368         C-m...
369
370 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
373
374         * BufferView_pimpl.C (setBuffer): initialize the current font of
375         the underlying LyXText
376
377 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * kbsequence.C (print): use UI native formatting for menu
380         shortcuts
381
382         * text.C (insertChar): call Paragraph::insertChar with a font
383         argument (cosmetic)
384
385         * paragraph.C (insertInset, insertChar): the version that takes a
386         LyXFont argument is now a wrapper around the other one (the
387         opposite used to be true).
388
389         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
390         argument. Font setting is done in Paragraph now.
391
392 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * outputparams.h: add new members intitle and lang.
395
396         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
397         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
398
399 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
400
401         * text3.C (dispatch): remove special handling of button 4 and 5,
402         it is now taken care of in the frontend code.
403
404 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
405
406         * Spacing.h: add <string> (STLPort compile fix)
407
408 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
409
410         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
411
412 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
413
414         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
415         to bool.
416
417         * converter.C (showMessage): inherit from unary_function, make
418         operator() const.
419
420         * buffer.C (writeFile): initialize retval
421
422         * InsetList.h: rename private variable list to list_
423         * InsetList.[Ch]: adjust accordingly.
424
425 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
426
427         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
428         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
429         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
430         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
431         * ParagraphParameters.C, LaTeXFeatures.C: replace
432         "support/std_sstream.h" with <sstream>
433
434 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
435
436         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
437         * lyxsocket.C (LyXServerSocket): ditto
438         (serverCallback): ditto
439
440 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
441
442         * LaTeXFeatures.C: check release date when loading jurabib.
443
444 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
445
446         * lyxserver.C (startPipe): call register_socket_callback
447         (endPipe): call unregister_socket_callback
448
449 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
450
451         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
452         (LyXServerSocket): register the callback
453         (LyXServerSocket): unregister the callback
454         (fd): delete function
455         (serverCallback): improve error checking and setup the callbacks.
456         (dataCallback): change arg to fd.
457         (writeln): new func (copied fro the client socket) used for server
458         write to client.
459         (LyXDataSocket): simplify
460         (~LyXDataSocket): close ann unregiser callback
461         (server): delete function
462         (fd): delete function
463         (readln): small changes, improve some std::string usage
464         (writeln): constify a bit
465
466 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
469         Qt frontend
470
471 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * BufferView_pimpl.C (setBuffer): set the layout combox value only
474         after it has been populated
475
476 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * text2.C (insertInset): move cursor when inserting inset.
479
480 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * kbmap.C (findbindings): a couple of new methods. returns a
483         container of kb_sequence objects. The real work is done by the
484         private recursive version
485         (printbindings): uses findbindings to print out a bracketed list
486         of bindings (renamed from findbinding).
487
488         * MenuBackend.C (binding): use kb_keymap::findbindings
489
490         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
491
492 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
493
494         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
495
496 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * paragraph.C (isWord): return true on insets that report
499         isLetter().
500
501         * text.C (getWord): use Paragraph::isWord to decide what is in a
502         word and what is not; fix bug 1609.
503
504 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
505
506         * tex-strings.C: add "none" to string_paperpackages[], fixes
507         off-by-one-error in the paperpackage selection.
508
509         * lyxlex.[Ch]:
510         * tex-strings.[Ch]: char const * string[n]
511         -> char const * const string[]
512
513 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
516         command, return early.
517
518 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
519
520         * debug.h: add DEBUG to enum and fix size of ANY.
521
522         * debug.C: add support for Debug::DEBUG
523         (showTags): cast errorTags.level to unsigned int
524
525         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
526         (redoCurrentBuffer): ditto
527         (updateScrollbar): ditto
528         * cursor.C (dispatch): ditto
529         * text2.C (setLayout): ditto
530         (setFont): ditto
531         (updateCounters): ditto
532         (editXY): ditto
533         (deleteEmptyParagraphMechanism): ditto
534
535 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
536
537         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
538         annotations to cleanup the Makefile slightly.
539
540 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * lyxrc.C: do not set user_email to a default value but use empty
543         instead. The entry used to be translated, which does not work
544         since at the point where lyxrc is constructed there is no
545         translation service available
546
547         * messages.C (getLocaleDir): remove and use directly
548         lyx_localedir() instead
549
550 2004-06-02  Angus Leeming  <leeming@lyx.org>
551
552         Fix crash caused by dereferencing null pointer 'exportdata' in
553         OutputParams by creating a new ExportData variable on the heap,
554         storing it in a boost::shared_ptr.
555         The crash was triggered when generating an Instant Preview
556         of an external inset.
557
558         * Makefile.am: add outputparams.C
559
560         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
561         (c-tor): allocate memory to it.
562
563         * exporter.C (c-tor): associated changes.
564
565 2004-06-01  Angus Leeming  <leeming@lyx.org>
566
567         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
568         contains data before calling isInset(0). (Bug 1513.)
569
570 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
571
572         * exporter.C (checkOverwrite): new method
573         * exporter.C (copyFile): new method
574         * exporter.C (Export): copy referenced files to the document dir
575         * exporter.[Ch]: new class ExportedFile
576         * exporter.[Ch]: new class ExportData. Contains currently the
577         names of referenced external files
578         * outputparams.h: add exportdata member.
579
580 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
581
582         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
583         version.C-tmp
584
585 2004-05-19  Angus Leeming  <leeming@lyx.org>
586
587         * LaTeXFeatures.C:
588         * ToolbarBackend.C:
589         * bufferparams.C:
590         * lyxfunc.C: small changes due to the introduction of namespace
591         lyx::frontend and the moving of namespace biblio to lyx::biblio.
592
593 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * text3.C (dispatch): supress update when only moving the cursor
596         * cursor.C (selHandle): remove commented code
597
598 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
599
600         * paragraph.C (startTeXParParams): correct column count
601         * CutAndPaste.C (pasteSelection): remove const_cast
602         * output_docbook.C (docbookParagraphs): remove const_cast
603         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
604         const_cast and return ParagraphList::const_iterator
605         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
606         * output_plaintext.C (writeFileAscii): remove const_cast
607         * paragraph.[Ch] (simpleTeXOnePar): make const
608         * paragraph_funcs.C (outerPar): use const iterators
609         * paragraph_pimpl.C (validate): use const iterators
610         * text.C (setHeightOfRow): use const iterators
611
612 2004-05-17  Angus Leeming  <leeming@lyx.org>
613
614         * lfuns.h:
615         * LyXAction.C (init): new LFUN_INSET_REFRESH.
616
617         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
618         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
619         if the citation engine has changed.
620
621 2004-05-14  José Matos  <jamatos@lyx.org>
622
623         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
624         if the textclass does not provide it. Have it different for sgml and
625         xml.
626         support the language of document.
627         * output_docbook.C (docbookParagraphs):
628         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
629         first anchor as the id of the paragraph, remove special case code.
630         * sgml.C (escapeChar): escape only < & >.
631
632 2004-05-14  Angus Leeming  <leeming@lyx.org>
633
634         * bufferparams.h: move biblio::CiteEngine enum here to minimize
635         dependencies on src/frontends/controllers/biblio.h. Define a
636         CiteEngine_enum wrapper class to enable the enum to be forward
637         declared.
638
639 2004-05-12  Angus Leeming  <leeming@lyx.org>
640
641         * buffer.C: up LYX_FORMAT to 234.
642         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
643         use_numerical_citations with a single biblio::CiteEngine cite_engine
644         variable.
645         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
646
647 2004-05-13  José Matos  <jamatos@lyx.org>
648
649         * converter.h:
650         * converter.C (Converter, readFlags): add xml member.
651         * outputparams.h: add XML flavor.
652         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
653
654 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
655
656         * lyxfunc.C (dispatch):
657         (getStatus): fix handling of LFUN_SEQUENCE
658
659 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * debug.C (showLevel): do not forget the end-of-line marker
662
663 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * kbmap.C (read): do not stop parsing a bind file when an error
666         occurs (bug 1575)
667
668 2004-04-29  Angus Leeming  <leeming@lyx.org>
669
670         * cursor.C:
671         * factory.C:
672         * pariterator.C:
673         * text2.C: wrap a bunch of #warning statements
674         inside #ifdef WITH_WARNINGS blocks.
675
676 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
677
678         * buffer.C: increment format to 233.
679
680 2004-04-28  Angus Leeming  <leeming@lyx.org>
681
682         * BufferView_pimpl.C:
683         * lyxfunc.C:
684         * text3.C:
685         s/updateToolbar()/updateToolbars()/
686         s/Toolbar.h/Toolbars.h/
687
688 2004-04-28  Angus Leeming  <leeming@lyx.org>
689
690         * BufferView.[Ch] (c-tor):
691         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
692         No longer passes these data to the WorkArea generator.
693
694 2004-04-28  Angus Leeming  <leeming@lyx.org>
695
696         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
697
698 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
699
700         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
701
702 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * output_latex.C (TeXEnvironment): make sure that there is a line
705         break before \end{foo} for the last paragraph of a document
706         (TeXOnePar): if the paragraph is at the end of the document (or
707         inset) and the language has to be reset, then make sure that the
708         line break is _before_ the language command, not after (fixes bug
709         1225); also make sure that the language reset command is the first
710         thing after the paragraph (to ensure proper nesting of
711         environments and thus fix bug 1404)
712
713 2004-04-21  John Levon  <levon@movementarian.org>
714
715         * ToolbarBackend.h:
716         * ToolbarBackend.C: make "name" be a programmatic name
717         and a gui_name field.
718
719         * lyxfunc.C: display the minibuffer on M-x
720
721 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
724         (bug 1526)
725
726 2004-04-19  Angus Leeming  <leeming@lyx.org>
727
728         * BufferView_pimpl.C (setBuffer): changed preview interface.
729
730         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
731         possible values.
732
733 2004-04-19  John Levon  <levon@movementarian.org>
734
735         * BufferView_pimpl.C:
736         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
737
738 2004-04-05  Angus Leeming  <leeming@lyx.org>
739
740         * text.C (redoParagraphs): add call to updateCounters(), thereby
741         fixing the missing "Figure #:" label from the caption of a
742         figure float.
743
744 2004-04-13  Angus Leeming  <leeming@lyx.org>
745
746         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
747         cursor is clicked out of an inset.
748
749 2004-04-13  Angus Leeming  <leeming@lyx.org>
750
751         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
752         than an InsetOld one.
753
754 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
755
756         * format.[Ch]: add editor to Format
757         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
758         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
759
760 2004-04-08  André Pönitz  <poenitz@gmx.net>
761
762         * metricsinfo.h: remove PainterInfo::width member
763
764 2004-04-08  Angus Leeming  <leeming@lyx.org>
765
766         * lyx_sty.C (boldsymbol_def): modify so that it outputs
767         "\providecommand" rather than "\newcommand", thereby preventing
768         clashes with packages that define "\boldsymbol" themselves.
769         Eg, beamer.
770
771 2004-04-08  Angus Leeming  <leeming@lyx.org>
772
773         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
774         thereby squashing an unnecessary warning.
775
776 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
777
778         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
779         setBuffer()
780
781 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * BufferView.C (setCursor): call redoParagraph (some insets could
784         have been opened)
785         (putSelectionAt): remove the 'double update' trick
786
787         * BufferView_pimpl.C (fitCursor): call refreshPar
788         (workAreaDispatch): remove an uneeded update call
789         (dispatch): remove some manual update calls
790
791         * cursor.[Ch]: remove cached_y_, updatePos
792         (selHandle): set noUpdate when appropriate
793
794         * lyxfunc.C (dispatch): track if we need an update
795
796         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
797
798         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
799         (paintSelection): cheap optimization, do not call cursorX when not
800         needed
801         (paintPars): change signature
802         (refreshPar): add
803         (paintText): adjust
804         (paintTextInset): adjust
805
806         * text.C: adjust
807
808 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * lengthcommon.C: compilation fix: remove explicit array size from
811         unit_name[] and friends
812
813 2004-04-05  Angus Leeming  <leeming@lyx.org>
814
815         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
816
817         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
818         present only for the preferences dialog.
819         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
820
821 2004-04-05  Angus Leeming  <leeming@lyx.org>
822
823         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
824         to enable the frontends to export changes to lyxrc correctly.
825
826         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
827
828 2004-04-07  André Pönitz  <poenitz@gmx.net>
829
830         * cursor.[Ch] (selClear, adjust): remove math
831
832         * cursor_slice.C: more agressive assert
833
834         * lyxfunc.C:
835         * BufferView_pimpl.C: rework mouse event dispatch
836
837         * dociterator.C:
838         * paragraph.C:
839         * text2.C:
840         * text3.C: adjust
841
842 2004-04-05  André Pönitz  <poenitz@gmx.net>
843
844         * cursor.[Ch] (valign, halign...): remove unneeded functions
845
846 2004-04-05  Angus Leeming  <leeming@lyx.org>
847
848         * lyxlength.[Ch] (unit_name et al.): const-correct.
849
850 2004-04-05  Angus Leeming  <leeming@lyx.org>
851
852         * BufferView_pimpl.C:
853         * buffer.C:
854         * counters.C:
855         * cursor.C:
856         * lyxfunc.C
857         * paragraph.C:
858         * pariterator.C:
859         * text.C:
860         * text2.C:
861         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
862
863 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * text3.C (getStatus): add LFUN_BEGINNINGBUF
866
867 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
868
869         * lyxfind.C: add a couple of inTexted() tests + other small fixes
870         * BufferView_pimpl.[Ch] (getStatus)
871         * BufferView.[Ch] (getStatus): add
872         * lyxfunc.C (getStatus): move lfuns handled in
873         BufferView::dispatch to te function above
874         * Cursor.C (setSelection): set selection() = true
875
876 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
877
878         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
879
880 2004-03-31  Angus Leeming  <leeming@lyx.org>
881
882         * lyxfunc.C (dispatch): Fall through to the generic
883         Dialogs::show("preamble").
884
885 2004-03-31  Angus Leeming  <leeming@lyx.org>
886
887         * lyxfunc.C (dispatch): Fall through to the generic
888         Dialogs::show("spellchecker").
889
890 2004-03-31  Angus Leeming  <leeming@lyx.org>
891
892         * lyxfunc.C (getStatus, dispatch): changed invocation of the
893         preferences dialog.
894
895 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * BufferView.C
898         * cursor.[Ch]
899         * dociterator.[Ch]:
900         * insetiterator.[Ch]:
901         * lyxfind.C:
902         * lyxfunc.C:
903         * pariterator.[Ch]:
904         * text2.C:
905         * undo.[Ch]: s/DocumentIterator/DocIterator/g
906
907 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * BufferView.C (setCursor, putSelectionAt): call edit to open the
910         insets where we are putting the cursor.
911
912 2004-03-31  Angus Leeming  <leeming@lyx.org>
913
914         * lfuns.h:
915         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
916
917         * lyxrc.[Ch] (read, write): overloaded member functions taking
918         a std::[io]stream arguments.
919
920         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
921
922 2004-03-31  Angus Leeming  <leeming@lyx.org>
923
924         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
925         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
926
927         * lyxtextclass.C (load): if the text class couldn't be loaded, then
928         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
929
930 2004-03-31  Angus Leeming  <leeming@lyx.org>
931
932         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
933         the LFUN_ALL_INSETS_TOGGLE code.
934
935 2004-03-30  Angus Leeming  <leeming@lyx.org>
936
937         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
938         has died. Fall through to the generic Dialogs::show("document").
939
940 2004-03-30  Angus Leeming  <leeming@lyx.org>
941
942         * lfuns.h:
943         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
944         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
945
946         * lyxfunc.C (getStatus, dispatch): define the actions for these
947         lfuns. Little more than a cut and pste job from ControlDocument.C
948
949         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
950
951 2004-03-30  Angus Leeming  <leeming@lyx.org>
952
953         * lfuns.h:
954         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
955         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
956
957         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
958         open/closed state of ollapsable insets. Usage:
959
960         all-inset-toggle <state> <name>, where
961         <state> == "open" || "closed" || "toggle" and
962         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
963
964         * lyxtext.h, text2.C (toggleInset): removed.
965
966         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
967         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
968         now passes LFUN_INSET_TOGGLE to the found inset.
969
970         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
971         is now invoked as "all-insets-toggle toggle branch".
972
973 2004-03-30  Angus Leeming  <leeming@lyx.org>
974
975         * dociterator.C:
976         * insetiterator.C:
977         * pariterator.[Ch]: added/corrected header blurb.
978
979 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
980
981         * dociterator.[Ch]: add an inset_ member
982         (backwardPos): implemented
983         (backwardPos, forwardPos): use inset_ when the stack is empty.
984         (doc_iterator_begin, doc_iterator_end): implemented
985         * pariterator.[Ch]: adjust, add begin, end
986         * insetiterator.[Ch]: adjust, add begin, end
987         * cursor.C:
988         * document.C:
989         * BufferView.C:
990         * BufferView_pimpl.C:
991         * CutAndPaste.C: adjust
992
993 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
994
995         * buffer.C: increment file format to 232.
996         * LaTeXFeatures.C: add bibtopic package.
997         * bufferparams.[Ch]: param \use_bibtopic.
998
999         * lyxrc.[Ch]: add lyxrc bibtex_command
1000         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1001
1002         * buffer.C: increment file format to 231.
1003
1004 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1005
1006         * dociterator.C: implement forwardPar
1007         * iterators.[Ch]: remove, replaced by
1008         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1009         * BufferView.C:
1010         * BufferView_pimpl.C:
1011         * CutAndPaste.C:
1012         * buffer.C:
1013         * bufferview_funcs.C:
1014         * cursor.C:
1015         * lyxfind.C
1016         * lyxfunc.C
1017         * paragraph_funcs.C
1018         * toc.C:
1019         * Makefile.am: adjust
1020
1021 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * CutAndPaste.C (pasteSelection): fix 2 crashes
1024         (eraseSelection): fix a crash
1025         * paragraph_funcs.C: remove a warning
1026
1027 2004-03-28  Angus Leeming  <leeming@lyx.org>
1028
1029         * lfuns.h:
1030         * LyXAction.C (init): new LFUN_PRINT.
1031
1032         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1033
1034 2004-03-27  Angus Leeming  <leeming@lyx.org>
1035
1036         * lfuns.h:
1037         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1038
1039         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1040
1041 2004-03-27  Angus Leeming  <leeming@lyx.org>
1042
1043         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1044         insetlist always contains non-null pointers to insets.
1045
1046 2004-03-26  Angus Leeming  <leeming@lyx.org>
1047
1048         * src/BufferView_pimpl.C:
1049         * src/CutAndPaste.C:
1050         * src/buffer.C:
1051         * src/iterators.C:
1052         * src/output_plaintext.C:
1053         * src/outputparams.h:
1054         * src/paragraph_funcs.C:
1055         * src/rowpainter.C:
1056         * src/text.C:
1057         * src/text2.C:
1058         * src/frontends/controllers/ControlErrorList.C:
1059         * src/frontends/gtk/FileDialogPrivate.C:
1060         * src/frontends/gtk/GPainter.C:
1061         * src/frontends/gtk/GToolbar.C:
1062         * src/frontends/qt2/QRef.C:
1063         * src/mathed/math_scriptinset.C: squash compiler warnings.
1064
1065 2004-03-26  Angus Leeming  <leeming@lyx.org>
1066
1067         * ispell.C (LaunchIspell::start):
1068         * lyx_cb.C (AutoSaveBuffer::start):
1069         invoke run(DontWait) rather than runNonBlocking().
1070
1071 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1074
1075 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * kbsequence.C (print): adjust
1078
1079         * kbmap.C (printKeySym): rename and change signature
1080         (printKey): use LyXKeySym::print()
1081
1082 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1083
1084         * undo.C: add using std::advance to compile for stlport
1085
1086 2004-03-24  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1089         it leads to a crash when no buffer is present.
1090
1091 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092             Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * lyxfunc.C (dispatch):
1095         * bufferparams.C (readToken): use the new LColor::setColor
1096
1097         * LColor.[Ch] (setColor): new version that takes two strings as
1098         argument and creates a new color entry if necessary
1099
1100 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1101
1102         * buffer.C (makeLaTeXFile): if the main latex file that is
1103         processed is usually a subdocument of some master, then pretend
1104         for a while that it is actually the master
1105
1106 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1107
1108         * buffer.C (getLabelList):
1109         (getBibkeyList): use getMasterBuffer()
1110         (getMasterBuffer): new method. Returns the main document in the
1111         case where one is using included documents.
1112
1113 2004-03-25  André Pönitz  <poenitz@gmx.net>
1114
1115         * Makefile.am:
1116         * iterators.[Ch]:
1117         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1118
1119         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1120
1121         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1122         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1123
1124         * ParameterStruct.h: merge with ParagraphParameters
1125
1126         * lyxtext.h: remove LyXText::parOffset() and getPar()
1127
1128         * text3.C: Remove all 'manual' update calls. We do now one per user
1129         interaction which is completely sufficient.
1130
1131         * Bidi.C:
1132         * BufferView.[Ch]:
1133         * BufferView_pimpl.C:
1134         * FontIterator.[Ch]:
1135         * MenuBackend.C:
1136         * ParagraphParameters.[Ch]:
1137         * buffer.C:
1138         * buffer.h:
1139         * bufferlist.C:
1140         * cursor.[Ch]:
1141         * cursor_slice.[Ch]:
1142         * dociterator.[Ch]:
1143         * errorlist.[Ch]:
1144         * factory.C:
1145         * lfuns.h:
1146         * lyxfind.C:
1147         * lyxfunc.C:
1148         * output_docbook.[Ch]:
1149         * output_latex.[Ch]:
1150         * output_linuxdoc.[Ch]:
1151         * output_plaintext.[Ch]:
1152         * paragraph.[Ch]:
1153         * paragraph_funcs.[Ch]:
1154         * paragraph_pimpl.[Ch]:
1155         * rowpainter.C:
1156         * tabular.[Ch]:
1157         * text.C:
1158         * text2.C:
1159         * toc.C:
1160         * undo.[Ch]: adjust
1161
1162         * frontends/controllers/ControlDocument.C:
1163         * frontends/controllers/ControlErrorList.C:
1164         * frontends/controllers/ControlSpellchecker.C:
1165         * insets/inset.C:
1166         * insets/inset.h:
1167         * insets/insetbase.h:
1168         * insets/insetbibitem.C:
1169         * insets/insetbox.C:
1170         * insets/insetbranch.C:
1171         * insets/insetcaption.C:
1172         * insets/insetcharstyle.C:
1173         * insets/insetcharstyle.h:
1174         * insets/insetcollapsable.C:
1175         * insets/insetcollapsable.h:
1176         * insets/insetert.C:
1177         * insets/insetfloat.C:
1178         * insets/insetfoot.C:
1179         * insets/insetmarginal.C:
1180         * insets/insetnote.C:
1181         * insets/insetoptarg.C:
1182         * insets/insettabular.C:
1183         * insets/insettext.C:
1184         * insets/insettext.h:
1185         * insets/insetwrap.C:
1186         * mathed/math_mboxinset.C:
1187         * mathed/math_nestinset.C:
1188         * mathed/math_scriptinset.C:
1189         * mathed/math_scriptinset.h:
1190         * support/types.h:
1191
1192 2004-03-24  Angus Leeming  <leeming@lyx.org>
1193
1194         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1195         deal with any child processes that have finished but are waiting to
1196         communicate this fact to the rest of LyX.
1197
1198 2004-03-24  Angus Leeming  <leeming@lyx.org>
1199
1200         64-bit compile fixes.
1201
1202         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1203         (c-tor): pass lyx::pos_types rather than ints.
1204
1205         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1206         lyx::pos_type.
1207
1208         * text.C (Delete): compile fix.
1209         (getPar): ensure that function declaration is the same as that in
1210         the header file.
1211
1212 2004-03-23  Angus Leeming  <leeming@lyx.org>
1213
1214         * ispell.C (LaunchIspell):
1215         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1216         a boost::shred_ptr rather than a std::auto_ptr.
1217
1218 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1221         handle LFUN_FILE_INSERT_*
1222
1223         * lyxrc.C (setDefaults, getDescription, output, read):
1224         * lyxrc.h: remove ps_command
1225
1226 2004-03-22  Angus Leeming  <leeming@lyx.org>
1227
1228         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1229         Ensure that error_handler is processed once only and that all data
1230         is saved before attempting to output any warning messages.
1231
1232         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1233
1234 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1237
1238 2004-03-19  André Pönitz  <poenitz@gmx.net>
1239
1240         * cursor.[Ch] (reset): take main text inset as argument
1241
1242         * BufferView: adjust
1243         * BufferView_pimpl.C: adjust
1244
1245         * paragraph.[Ch]: fix completely broken operator=()
1246
1247 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1248
1249         * LColor.C (getFromLyXName): make sure that the color name is used
1250         as lowercase.
1251
1252 2004-03-17  Angus Leeming  <leeming@lyx.org>
1253
1254         * lfuns.h:
1255         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1256
1257         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1258         dialog and to kill a forked process.
1259
1260 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1261
1262         * text2.C (setCursorFromCoordinates): fix font problem
1263
1264 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1265
1266         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1267         bogus "rebuild cursor" code
1268
1269 2004-03-11  André Pönitz  <poenitz@gmx.net>
1270
1271         * buffer.[Ch]: use InsetText instead of LyXText as container for
1272         the main lyx text.
1273
1274         * dociterator.[Ch]: drop the BufferView * member which is not needed
1275         anymore after the change to buffer.C
1276
1277         * paragraph_funcs.C:
1278         * text.C:
1279         * text2.C:
1280         * BufferView.[Ch]:
1281         * BufferView_pimpl.[Ch]:
1282         * cursor.[Ch]:
1283         * cursor_slice.[Ch]: adjust
1284
1285         * text3.C: fix bug in mathDispatch
1286
1287 2004-03-08  André Pönitz  <poenitz@gmx.net>
1288
1289         * undo.[Ch]: use 'StableDocumentIterator' as base for
1290         the Undo struct.
1291
1292 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1293
1294         * LaTeXFeatures.C:
1295         * bufferparams.[Ch]: add jurabib support and param.
1296
1297         * LaTeX.C: add FIXME/comment.
1298
1299 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1300
1301         * buffer.C: increment file format to 230.
1302
1303 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * cursor.C (dispatch): avoid infinite loops
1306
1307 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * rowpainter.C (paintSelection): fix x coordinates
1310
1311 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * text.C (rowBreakPoint): fix breaking before displayed insets
1314
1315 2004-03-01  André Pönitz  <poenitz@gmx.net>
1316
1317         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1318
1319         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1320
1321         * Makefile.am:
1322         * BufferView.C:
1323         * BufferView_pimpl.C:
1324         * buffer.C:
1325         * lyxfind.C:
1326         * lyxfunc.C:
1327         * text.C:
1328         * text2.C:
1329         * text3.C: adjust
1330
1331 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * lyxtext.h:
1334         * text.C:
1335         * text2.C:
1336         * rowpainter.C:
1337         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1338         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1339
1340 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * Bidi.[Ch] (computeTables): const correctness
1343         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1344         fill_hfill, fill_label_hfill and x from Row
1345         * lyxtext.h: prepareToPrint returns a RowMetrics
1346         * rowPainter.C: adjust
1347         * text.C (prepareToPrint): use width, not textWidth. adjust
1348         (redoParagraphInternal, cursorX): adjust
1349         * text2.C (getColumnNearX): adjust
1350         (init): put a default value to the top LyXText::width
1351
1352 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1355
1356 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * lyxtext.h: add FontIterator class
1359
1360         * text.C (FontIterator, operator*, operator->, operator++): add
1361         (rowBreakPoint, setRowWidth): adjust (fixing a
1362         rebreaking bug)
1363
1364 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1365
1366         * BufferView_pimpl.C (workAreaDispatch): allow also
1367         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1368
1369 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * text.C (rowBreakPoint): fix a bug showing with very large insets
1372
1373 2004-02-25  André Pönitz  <poenitz@gmx.net>
1374
1375         * text3.C:
1376         * cursor.[Ch]: move some mathed specific code to mathed
1377
1378 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1379
1380         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1381         use_tempdir in preferences
1382         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1383         tempfile creation
1384         * lyx_main.C: ensure that tempdir is valid
1385         * lyxlex.h: correct typo
1386         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1387         * paragraph.[Ch] (isMultiLingual): make const
1388         * cursor.[Ch] (openable): make const
1389
1390 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1391
1392         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1393
1394 2004-02-20  André Pönitz  <poenitz@gmx.net>
1395
1396         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1397
1398         * cursor.[Ch]: prepare for localized getStatus()
1399
1400         * lyxtext.h:
1401         * tabular.C:
1402         * text.C:
1403         * text2.C:
1404         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1405
1406 2004-02-20  André Pönitz  <poenitz@gmx.net>
1407
1408         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1409
1410 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1411
1412         * text2.C (setCursorFromCoordinates): switch to absolute coords
1413         (cursorUp): adjust
1414         (cursorDown): adjust
1415         * text3.C (dispatch): adjust
1416
1417 2004-02-16  André Pönitz  <poenitz@gmx.net>
1418
1419         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1420           insets/ChangeLog)
1421
1422         * cursor_slice.[Ch]: remove unneeded acessor function
1423
1424         * lyxtext.h: rename rtl() to isRTL()
1425
1426         * rowpainter.C:
1427         * tabular.C:
1428         * text.C:
1429         * text2.C:
1430         * text3.C: adjust
1431
1432 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1433
1434         * rowpainter.C (paintSelection): coord fix
1435
1436 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1437
1438         * Spacing.C: compile fix
1439
1440 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * cursor.C (dispatch): restore current_ before returning
1443
1444 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1445
1446         * text2.C (cursorUp, cursorDown): fix coords
1447         (moveUp): fix crash
1448
1449 2004-02-12  André Pönitz  <poenitz@gmx.net>
1450
1451         * lyxtext.h:
1452         * text.C:
1453         * text2.C:
1454         * text3.C: add LCursor & parameter to most cursor movement functions
1455           remove usage of LyXText::cursorRow() and cursorPar()
1456
1457         * cursor.[Ch]: add textRow() needed members
1458
1459         * BufferView.C:
1460         * BufferView_pimpl.C:
1461         * paragraph.[Ch]:
1462         * BufferView.C:
1463         * BufferView_pimpl.C: adjust
1464
1465 2004-02-11  André Pönitz  <poenitz@gmx.net>
1466
1467         * lyxfunc.C:
1468         * BufferView.[Ch]:
1469         * BufferView_pimpl.C: shift undo/redo handling
1470
1471         * cursor.[Ch]: fix mathed crash
1472
1473         * lyxfind.C:
1474         * lyxtext.h: move selectionAsText to LCursor
1475
1476         * output_latex.C:
1477         * paragraph.C:
1478         * text.C:
1479         * text2.C:
1480         * text3.C: adjust
1481
1482         * rowpainter.C: fix excessive drawing
1483
1484 2004-02-06  André Pönitz  <poenitz@gmx.net>
1485
1486         * BufferView.[Ch]:
1487         * BufferView_pimpl.[Ch]:
1488         * text3.C: move some text specific LFUN handling
1489
1490 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1491
1492         * text3.C (checkInsetHit): adjust coords
1493         * text2.C (getColumnNearX): adjust coords
1494         (edit): adjust coords
1495         * text.C (getRowNearY): add two asserts
1496
1497 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1498
1499         * converter.C:
1500         * format.C: add using std::distance to compile on gcc 2.95/stlport
1501
1502 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1503
1504         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1505
1506 2004-02-04  André Pönitz  <poenitz@gmx.net>
1507
1508         * BufferView.[Ch] (insertInset):
1509         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1510
1511         * text2.C:
1512         * text3.C: adjust
1513
1514 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1517         on the default clause of the switch
1518         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1519         wasn't catched by LCursor::dispatch
1520
1521 2004-02-03  André Pönitz  <poenitz@gmx.net>
1522
1523         * BufferView.C:
1524         * cursor.[Ch]: some additional asserts
1525
1526         * undo.[Ch]: remove LyXText dependency in interface
1527
1528         * lyxfunc.C: adjust
1529
1530         * lyxtext.h (firstPar, lastPar): remove dead functions
1531
1532         * text.C:
1533         * text2.C:
1534         * text3.C:
1535         * paragraph.[Ch]: adjust
1536
1537 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * lyxfind.C (find): fix argument order in call to ::find
1540
1541 2004-02-02  André Pönitz  <poenitz@gmx.net>
1542
1543         * cursor.[Ch]: remove direct access to anchor
1544
1545         * text.C: remove findText() hack
1546
1547 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * iterators.[Ch] (lockPath): remove in favour of...
1550         * BufferView.[Ch] (setCursor): this addition
1551         * BufferView.C (putSelectionAt): adjust
1552         * undo.C (performUndoOrRedo): adjust
1553         * lyxfunc.C (dispatch): adjust
1554
1555 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1556
1557         * iterators.C (lockPath): add a missing slice
1558         * undo.C (performUndoOrRedo): remove redundant positioning code
1559
1560 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1561
1562         * vc-backend.C (scanMaster): ";" -> ';'
1563
1564 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1565
1566         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1567         std::binary_function
1568
1569         * lyxtextclass.C (compare_name): rename to...
1570         (LayoutNamesEqual): ...this
1571
1572         * lyxlex_pimpl.C (compare_tags): inherit from
1573         std::binary_function, put back into anon namespace
1574
1575         * lyxfind.C (MatchString): inherig from std::binary_function
1576         (findChange): use empty() istead of !size()
1577
1578         * format.C (FormatNamesEqual): new functor
1579         (getFormat): use it
1580         (getNumber): use it
1581         (add): use it
1582         (erase): use it
1583         (setViewer): use it
1584
1585         * converter.C (compare_Converter): rename to...
1586         (ConverterEqual): ...this, and fixup a bit.
1587         (getConverter): use it, and make function const
1588         (getNumber): use it, and make function const
1589         (add): use it
1590         (erase): use it:
1591
1592         * bufferlist.C: add using boost::bind
1593
1594         * MenuBackend.C (MenuNamesEqual): new functor
1595         (hasMenu): use it, and make function const
1596         (hasSubmenu): use nested bind to get rid of compare_memfun.
1597
1598 2004-01-30  André Pönitz  <poenitz@gmx.net>
1599
1600         * BufferView_pimpl.C:
1601         * cursor.C:
1602         * cursor.h:
1603         * cursor_slice.[Ch]:
1604         * lyxfunc.C:
1605         * lyxtext.h:
1606         * paragraph_funcs.C:
1607         * paragraph_funcs.h:
1608         * rowpainter.C:
1609         * text.C:
1610         * text2.C:
1611         * text3.C: move some of the edit(x,y) handling to the insets
1612         some coordinate changes.
1613
1614 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1615
1616         * text.C: add using statements for std::advance and std::distance
1617
1618         * paragraph.C: add using statement for std::distance
1619
1620         * lyxfind.C: add using statement for std::advance
1621
1622         * cursor.C (region): remove std:: from swap
1623         (openable): use nucleus in stead of operator->
1624
1625         * BufferView.C: add using statements for std::distance and std::swap
1626
1627 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1628
1629         * iterators.C: Remove the pimple, move the needed structures to
1630         the header file. Create accessor for the positions stack.
1631         (asPosIterator): remove function
1632
1633         * PosIterator.C (PosIterator): move constructors to top of file
1634         (PosIterator): reimplement the constructor taking a ParIterator in
1635         terms of setFrom.
1636         (setFrom): new function
1637         (operator!=): inline it
1638
1639 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1640
1641         * lyxfind.C (replaceAll): use std::advance
1642
1643         * iterators.h: inherit from std::iterator.
1644
1645         * PosIterator.C (advance, distance): remove
1646         * PosIterator.h: interit from std::iterator.
1647
1648 2004-01-26  André Pönitz  <poenitz@gmx.net>
1649
1650         * BufferView.[Ch]:
1651         * BufferView_pimpl.[Ch]:
1652         * InsetList.[Ch]:
1653         * PosIterator.[Ch]:
1654         * buffer.h:
1655         * bufferview_funcs.C:
1656         * cursor.[Ch]:
1657         * cursor_slice.h:
1658         * factory.[Ch]:
1659         * iterators.[Ch]:
1660         * lyxfind.C:
1661         * lyxfunc.C:
1662         * lyxtext.h:
1663         * output_docbook.C:
1664         * output_latex.C:
1665         * output_linuxdoc.C:
1666         * output_plaintext.C:
1667         * paragraph.[Ch]:
1668         * paragraph_funcs.[Ch]:
1669         * paragraph_pimpl.[Ch]:
1670         * rowpainter.C:
1671         * tabular.C:
1672         * tabular.h:
1673         * text.C:
1674         * text2.C:
1675         * text3.C: more IU:  dumps most of the rest of the mathcursor
1676     implementation into cursor.[Ch]; "globalize" a bit of it.
1677
1678 2004-01-25  Angus Leeming  <leeming@lyx.org>
1679
1680         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1681
1682 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1683
1684         * LaTeXFeatures.h: add nice_ and nice() const
1685         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1686
1687 2004-01-20  André Pönitz  <poenitz@gmx.net>
1688
1689         * BufferView.[Ch]:
1690         * BufferView_pimpl.C:
1691         * PosIterator.C:
1692         * bufferview_funcs.C:
1693         * cursor.[Ch]:
1694         * cursor_slice.[Ch]:
1695         * factory.C:
1696         * iterators.C:
1697         * lyx_cb.C:
1698         * lyxfind.C:
1699         * lyxfunc.C:
1700         * lyxtext.h:
1701         * rowpainter.C:
1702         * text.C:
1703         * text2.C:
1704         * text3.C:
1705         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1706           LCursor and mathcursor parts to LCursor and InsetBase.
1707
1708 2004-01-15  André Pönitz  <poenitz@gmx.net>
1709
1710         * cursor_slice.[Ch]: add a few covienience functions
1711
1712         * funcrequest.[Ch]: remove BufferView * member
1713
1714         * BufferView_pimpl.C:
1715         * cursor.C:
1716         * factory.[Ch]:
1717         * lyxfind.[Ch]:
1718         * lyxfunc.C:
1719         * lyxtext.h:
1720         * text3.C:
1721         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1722
1723 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1726         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1727
1728 2004-01-13  André Pönitz  <poenitz@gmx.net>
1729
1730         * textcursor.[Ch]:
1731         * lyxtext.h: hide cursor and selection anchor behind accessor function
1732
1733         * BufferView.C:
1734         * BufferView_pimpl.[Ch]:
1735         * PosIterator.C:
1736         * bufferview_funcs.C:
1737         * cursor.h:
1738         * lyxfind.C:
1739         * lyxfunc.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C:
1743         * undo.C: adjust
1744
1745         * cursor.h:
1746         * cursor_slice.[Ch]: some integer type changes for inset unification
1747
1748         * lyxcursor.[hC]: remove, it's CursorSlice now.
1749
1750         * Makefile.am:
1751         * BufferView_pimpl.[Ch]:
1752         * bufferview_funcs.C:
1753         * cursor_slice.C:
1754         * lyxtext.h:
1755         * text.C:
1756         * text2.C:
1757         * text3.C:
1758         * textcursor.[Ch]: adjust
1759
1760 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * text2.C (undoSpan): add and use
1763         * text.C (breakParagraph): use undoSpan (fix bug 578)
1764         * lyxtext.h: adjust
1765
1766 2004-01-08  Angus Leeming  <leeming@lyx.org>
1767
1768         * BufferView_pimpl.C (MenuInsertLyXFile):
1769         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1770         * lyxfunc.C (menuNew, open, doImport):
1771         FileFilterList change to the FileDialog open and save functions.
1772
1773 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1774
1775         * ShareContainer.h: make isEqual and isUnique adaptable
1776
1777         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1778
1779 2004-01-07  Angus Leeming  <leeming@lyx.org>
1780
1781         * LyXAction.C:
1782         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1783
1784         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1785
1786         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1787         functions replacing find, replace and replaceAll.
1788
1789         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1790         LFUN_WORDFIND(FORWARD|BACKWARD).
1791
1792 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * text.C (breakParagraph): remove an outdated #warning
1795
1796 2004-01-07  André Pönitz  <poenitz@gmx.net>
1797
1798         * lyxfind.C: somewhat clearer logic
1799
1800         * text.C: prevent crash in cursorX on unitialized row cache
1801
1802 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * lyxcursor.[Ch] (operator>): add
1805         * textcursor.C (selStart, selEnd): use std::min and std::max
1806
1807 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1808
1809         * Chktex.C: include boost/format.hpp
1810
1811 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1812
1813         * InsetList.C: replace functor MathcIt with adaptable functor
1814         InsetTablePosLess
1815         (insetIterator): modify accordingly
1816
1817         * BranchList.h: move the BranchNamesEqual functor here from...
1818         * BranchList.C: ... to here
1819
1820         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1821         SameName and match.
1822         (add): replace a finding loop with std::find_if.
1823
1824 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1825
1826         * output_docbook.C: moving LatexParam functionality into
1827         .layout files
1828
1829 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1830
1831         * buffer.C: increment format to 229.
1832
1833 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1834
1835         * LaTeXFeatures.C:
1836         * lyx_sty.[Ch]: remove minipageindent_def
1837
1838         * LyXAction.C:
1839         * factory.C:
1840         * lfuns.h:
1841         * lyxfunc.C:
1842         * text3.C: remove LFUN_INSET_MINIPAGE
1843
1844 2003-12-28  Angus Leeming  <leeming@lyx.org>
1845
1846         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1847
1848 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * text2.C (setParagraph): fix off-by-one crash
1851
1852 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1853
1854         * output_docbook.C: header stuff for AGU
1855
1856 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * text2.C (redoCursor): remove
1859         * text.C:
1860         * text3.C:
1861         * BufferView_pimpl.C: remove calls to redoCursor and
1862         setCursor(cursor.par(), cursor.pos()) all around
1863
1864 2003-12-15  Angus Leeming  <leeming@lyx.org>
1865
1866         * buffer.C: up the format to 228.
1867
1868 2003-12-15  André Pönitz  <poenitz@gmx.net>
1869
1870         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1871         slices
1872
1873         * Makefile.am:
1874
1875         * BufferView_pimpl.C:
1876         * cursor.[Ch]:
1877         * lyxcursor.[Ch]:
1878         * rowpainter.[Ch]:
1879         * lyxtext.h:
1880         * text.C:
1881         * text2.C:
1882         * text3.C: adjust
1883
1884 2003-12-15  Angus Leeming  <leeming@lyx.org>
1885
1886         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1887         than getFromGUIName to manipulate the color.
1888
1889 2003-12-14  Angus Leeming  <leeming@lyx.org>
1890
1891         * BranchList.[Ch]: minimize the API.
1892         (Branch::getBranch, getColor): now return a 'const &'.
1893         (Branch::setSelected) now returns a bool set to true if the
1894         selection status changes.
1895         (BranchList::clear, size, getColor, setColor, setSelected,
1896         allBranches, allSelected, separator): removed.
1897         (BranchList::find): new functions, returning the Branch with
1898         the given name.
1899         (BranchList::add, remove): return a bool indicating that
1900         the operation was successful.
1901
1902         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1903         new InsetBranch::isBranchSlected member function.
1904
1905         * LColor.[Ch]: mimimize the API.
1906         (fill): renamed as addColor and made private.
1907         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1908         versions of these functions taking a string arg have been removed.
1909
1910         * bufferparams.C (readToken):
1911         * lyxfunc.C (dispatch):
1912         * lyxrc.C (read): changes due to the altered BranchList and
1913         LColor APIs.
1914
1915         * factory.C (createInset, readInset): changes due to altered
1916         InsetBranch c-tor.
1917
1918 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1919
1920         * factory.C:
1921         * lyxfunc.C: remove insetminipage. "minipage-insert"
1922         now produces a frameless minipage box inset.
1923
1924 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1925
1926         * textcursor.[Ch] (selStart,selEnd): add new methods
1927         remove selection::start, end, use LyXCursor::operator<
1928         * lyxcursor.[Ch] (operator<): add
1929         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1930         * BufferView.[Ch] (unsetXSel): add
1931         * text2.C (clearSelection): use unsetXSel,adjust
1932         * text.C: adjust
1933         * text3.C: adjust
1934         * rowpainter.C: adjust
1935         * bufferview_funcs.C (put_selection_at): adjust
1936
1937 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * BufferView_pimpl.C: small coord. correction
1940
1941 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1942
1943         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1944         dragging over the splash screen.
1945
1946 2003-12-11  Angus Leeming  <leeming@lyx.org>
1947
1948         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1949         as it is now handled in LyXText::dispatch.
1950
1951         * text3.C (doInsertInset): remove a level of nesting.
1952
1953 2003-12-11  Angus Leeming  <leeming@lyx.org>
1954
1955         * factory.C (createInset): changes due to the changed interface to
1956         InsetCommandMailer::string2params.
1957
1958 2003-12-10  Angus Leeming  <leeming@lyx.org>
1959
1960         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1961         'dialog-show-new-inset <inset name>'
1962
1963 2003-12-10  Angus Leeming  <leeming@lyx.org>
1964
1965         * buffer.C: up the format to 227.
1966
1967         * factory.C: the box inset is now identified simply by 'Box'.
1968
1969 2003-12-10  Angus Leeming  <leeming@lyx.org>
1970
1971         * buffer.C: up the format to 226.
1972
1973         * factory.C: the note inset is now identified simply by 'Note'.
1974
1975 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1976
1977         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1978         when a pit is enough. Standarize a couple of loops.
1979
1980 2003-12-05  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1983         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1984         data to the re-worked "log" dialog.
1985
1986 2003-12-03  André Pönitz  <poenitz@gmx.net>
1987
1988         * PosIterator.C:
1989         * iterators.C:
1990         * lyxtext.h:
1991         * output_latex.C:
1992         * paragraph_funcs.C:
1993         * text.C:
1994         * text2.C: use Inset::getText instead of Inset::getParagraph
1995
1996 2003-12-03  André Pönitz  <poenitz@gmx.net>
1997
1998         * buffer.[Ch]:
1999         * lyxtext.h:
2000         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2001         InsetText::read() as LyXText::read()
2002
2003 2003-12-02  Angus Leeming  <leeming@lyx.org>
2004
2005         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2006         type. Add a comment in the implementation that the function uses
2007         the stream's bad() function rather than fail() as the std::streams
2008         would do.
2009
2010 2003-12-02  André Pönitz  <poenitz@gmx.net>
2011
2012         * lyxlex.[Ch]: make interface more similar to std::stream
2013
2014         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2015
2016 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2017
2018         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2019
2020 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2021
2022         * vspace.[Ch]: remove VSpace::NONE
2023
2024 2003-12-01  André Pönitz  <poenitz@gmx.net>
2025
2026         * buffer.[Ch]:
2027         * lyxtext.h: move ParagraphList member to LyXText
2028         rename LyXText::ownerParagraphs to LyXText::paragraph
2029
2030         * CutAndPaste.C:
2031         * bufferview_funcs.C:
2032         * iterators.[Ch]:
2033         * lyx_cb.C:
2034         * paragraph.C:
2035         * rowpainter.C:
2036         * tabular.C:
2037         * text.C:
2038         * text2.C:
2039         * text3.C: adjust
2040
2041         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2042
2043         * undo.C: fix cursor positioning
2044
2045 2003-12-01  John Levon  <levon@movementarian.org>
2046
2047         * BufferView_pimpl.C: fix a crash on exit with
2048         a buffer open
2049
2050 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * BranchList.C: fix setSelected() method.
2053
2054 2003-11-28  André Pönitz  <poenitz@gmx.net>
2055
2056         * ParagraphParameters.[Ch]:
2057         * ParameterStruct.h: remove space above/below from Paragraph to
2058          InsetVSpace
2059
2060         * BufferView_pimpl.C:
2061         * factory.C:
2062         * lyxfunc.C:
2063         * lyxtext.h:
2064         * output_latex.C:
2065         * paragraph.C:
2066         * paragraph_funcs.C:
2067         * rowpainter.[Ch]:
2068         * text.C:
2069         * text2.C:
2070         * text3.C: adjust
2071
2072 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2073
2074         * factory.C: Syntax change for CharStyles
2075
2076 2003-11-28  André Pönitz  <poenitz@gmx.net>
2077
2078         * BufferView.[Ch]:
2079         * BufferView.[Ch]:
2080         * buffer.[Ch]:
2081         * buffer.[Ch]: move LyXText member
2082
2083 2003-11-28  André Pönitz  <poenitz@gmx.net>
2084
2085         * BufferView.[Ch]: make LyXText * text a private member
2086
2087         * BufferView_pimpl.C:
2088         * cursor.C:
2089         * iterators.C:
2090         * lyx_cb.C:
2091         * lyxfind.C:
2092         * lyxtext.h:
2093         * rowpainter.[Ch]:
2094         * text.C:
2095         * text2.C:
2096         * undo.C: adjust
2097
2098         * output_plaintext.C: cleanup
2099
2100 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2101
2102         * buffer.C:
2103         * lyxtextclass.[Ch]: parametrize SGML document header
2104
2105 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2106
2107         * converter.[Ch]:
2108         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2109         getFlavor().
2110
2111 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * text2.C (setFont): rework using PosIterator (no more recursive)
2114         (setCharFont): no more needed
2115         (setLayout): no more selection cursors fiddling (done by redoCursor)
2116         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2117         destroy remaining ones)
2118
2119 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2122         * lyxtext.h: ditto
2123         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2124         selection cursors
2125         * lyxfunc.C: adjust
2126         * text3.C: adjust + re-allow multi par depth changes
2127         * textcursor.C: simplify a bit
2128
2129 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2130
2131         * src/buffer.C:
2132         * src/lyxlayout.C:
2133         * src/lyxlayout.h:
2134         * src/lyxtext.h:
2135         * src/output_docbook.C:
2136         * src/output_latex.C:
2137         * src/paragraph.C:
2138         * src/paragraph.h:
2139         * src/sgml.C:
2140         * src/sgml.h:
2141         * src/text2.C: Introducing a number of tags parametrizing various
2142         XML formats that we may want to support
2143
2144 2003-11-25  André Pönitz  <poenitz@gmx.net>
2145
2146         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2147
2148         * lyxtext.h (leftMargin/rightMargin): simplify interface
2149
2150         * rowpainter.C:
2151         * text.C:
2152         * text2.C:
2153         * text3.C: adjust
2154
2155 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2156
2157         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2158         master file to any child files. Fixes bug 546.
2159
2160 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2163
2164 2003-11-24  André Pönitz  <poenitz@gmx.net>
2165
2166         * rowpainter.C: simplification
2167
2168         * text2.C (updateCounters): remove call to redoParagraph on
2169         changed labels as this is far too expensive.
2170
2171 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2172
2173         * converter.C (convert): fix a crash: this function gets
2174         called with buffer == 0 from importer code.
2175
2176 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2177
2178         * text3.C (cursorPrevious): make sure that we do not compare
2179         iterators form different containers.
2180         (cursorNext): ditto
2181
2182         * rowpainter.C (paintSelection): make sure that we do not compare
2183         iterators from different containers.
2184
2185         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2186         iterators from different ParagraphList containers.
2187         [NEXT] ditto
2188
2189         * text2.C (LyXText): change order of initialization slightly
2190         (operator=): new function. copy all variables except cache_par_
2191         (moveUp): make sure that we do not compare iterators from
2192         different ParagraphList constainers.
2193         (moveDown): ditto
2194
2195         * text.C (firstPar): new function
2196         (lastPar): new function
2197         (endPar): new function
2198
2199         * lyxtext.h: move things around and group public functions, public
2200         variables, private functions, private variables
2201
2202 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2203
2204         * factory.C: change call to InsetERT constructor to avoid
2205         additional invocation of method status
2206         * text2.C (toggleInset): remove redundant update() call
2207         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2208         instead of a Bufferview pointer
2209
2210 2003-11-21  André Pönitz  <poenitz@gmx.net>
2211
2212         * rowpainter.C: simplification
2213
2214 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * text3.C (dispatch): make possible to extend a word/row selection
2217         with the mouse
2218
2219 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * lyxtext.h: x0_,y0_ -> xo_,yo_
2222         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2223         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2224         * rowpainter.C (paintRows): paint full paragraphs
2225
2226 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2229         screen coordinates)
2230
2231 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2232
2233         * lyxtext.h: add x0_, y0_
2234         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2235         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2236
2237 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * text2.C (setCursorIntern): move the x_target update here *
2240         * text3.C: change some bv() to true/false in calls to
2241         cursorUp/Down/Right/Left
2242         * cursor.C: use helper function.
2243
2244 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2245
2246         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2247         * paragraph_funcs.[Ch]: correct comment
2248         * rowpainter.C: do not paint selections away from bv->cursor()
2249         Fix a long standing selection painting bug.
2250         * text3.C: generalize mouse-selection code to LyXTexts other that
2251         top one
2252         * textcursor.C: do not use y coords if we can use par offsets
2253
2254 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2257         cursor position after e.g. inset insert)
2258
2259 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2260
2261         * lyxfind.C (replace): adjust to locking removal + some
2262         code simplification
2263
2264 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2267         of the path
2268
2269 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2270
2271         * lyxlayout.[Ch]:
2272         * output_docbook.C: XML sanitation: new layout
2273         parameters InnerTag and CommandDepth
2274
2275 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2276
2277         * BufferView_pimpl.C:
2278         * factory.C:
2279         * text3.C: Fix the insertion and modification of button-style
2280         insets
2281
2282 2003-11-13  André Pönitz  <poenitz@gmx.net>
2283
2284         * InsetList.[Ch]: remove deleteLyXText
2285
2286         * paragraph.[Ch]: cache beginOfBody position
2287
2288         * Bidi.C:
2289         * text.C:
2290         * text2.C:
2291         * text3.C: remove superfluous update() calls
2292
2293         * vspace.C: cleanup
2294
2295 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2298         * BufferView.C (fitLockedInsetCursor): remove
2299         * cursor.[Ch] (getDim): add
2300         * text.C (getRowNearY): add faster version
2301         * text3.C: remove some update calls
2302
2303 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2304
2305         * LaTeXFeatures.C:
2306         * LyXAction.C:
2307         * MenuBackend.C:
2308         * MenuBackend.h:
2309         * dispatchresult.h:
2310         * factory.C:
2311         * lfuns.h:
2312         * lyxfunc.C:
2313         * lyxtextclass.C:
2314         * lyxtextclass.h:
2315         * text3.C: The Character Style /XML short element patch.
2316
2317 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * text3.C:
2320         * factory.C: Small step to solving 'unable to insert some insets'
2321         problem
2322
2323 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2324
2325         * cursor.[Ch] (updatePos): new function for updating the y
2326         position of the tip inset
2327         * bufferview_funcs.C (put_selection_at):
2328         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2329
2330 2003-11-11  André Pönitz  <poenitz@gmx.net>
2331
2332         * text.C: remove big comment on invalid Paragraph pointers as it is
2333         not valid anymore
2334
2335 2003-11-11  André Pönitz  <poenitz@gmx.net>
2336
2337         * text_funcs.[Ch]: merge with ...
2338
2339         * text.C: ... this
2340
2341         * lyxtext.h:
2342         * text2.C:
2343         * text3.C: adjust
2344
2345         * Makefile.am: remove text_funcs.[Ch]
2346
2347 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2348
2349         * cursor.C (getPos): return absolute cached y coord
2350
2351         * BufferView_pimpl.C (fitCursor): new simplistic code
2352         (workAreaDispatch): add a fitCursor call
2353
2354 2003-11-10  André Pönitz  <poenitz@gmx.net>
2355
2356         * BufferView.[Ch]:
2357         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2358
2359 2003-11-10  André Pönitz  <poenitz@gmx.net>
2360
2361         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2362         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2363         indicate that the cursor needs to leave an inset
2364
2365         * lyxtext.h: remove inset locking
2366
2367         * cursor.[Ch]: re-implement functionality provided by inset locking
2368
2369         * BufferView.[Ch]:
2370         * BufferView_pimpl.[Ch]:
2371         * LyXAction.C:
2372         * bufferview_funcs.[Ch]:
2373         * factory.C:
2374         * funcrequest.[Ch]:
2375         * iterators.C:
2376         * lyx_cb.C:
2377         * lyxfind.C:
2378         * lyxfunc.C:
2379         * text.C:
2380         * text2.C:
2381         * text3.C:
2382         * undo.C: adjust
2383
2384 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2385
2386         * PosIterator.[Ch]: replace the stack with a vector, add inset
2387         accesor
2388         * iterators.[C]: adjust
2389
2390 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2391
2392         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2393         replaced
2394         * paragraph_funcs.C (readParToken): put the correct id in the
2395         error item, not the id of the top paragraph
2396
2397 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2398
2399         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2400         * bufferview_funcs.C (put_selection_at): use the above
2401
2402 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2403
2404         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2405
2406 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * output_linuxdoc.h:
2409         * output_plaintext.h:
2410         * output.h:
2411         * output_docbook.h: add #include statements
2412
2413 2003-11-05  José Matos  <jamatos@lyx.org>
2414
2415         * output_docbook.[Ch]:
2416         * output_latex.[Ch]:
2417         * output_linuxdoc.[Ch]:
2418         * output_plaintext.[Ch]: New files for output formats.
2419         * output.[Ch]: New file for helper functions.
2420
2421         * buffer.[Ch]:
2422         * paragraph_funcs.[Ch]: output functions moved to new files.
2423
2424         * outputparams.h: rename of latexrunparams.h
2425
2426         * LaTeX.[Ch]:
2427         * buffer.[Ch]:
2428         * bufferlist.[Ch]:
2429         * converter.[Ch]:
2430         * exporter.C:
2431         * paragraph.[Ch]:
2432         * paragraph_funcs.[Ch]:
2433         * paragraph_pimpl.[Ch]:
2434         * tabular.[Ch]: rename ascii to plaintext
2435         and LatexRunParams to OutputParams.
2436
2437 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * iterators.[Ch] (text): require bv argument
2440         * undo.C (recordUndo):
2441         * lyxfunc.C (dispatch):
2442         * bufferview_funcs.C (put_selection_at): adjust
2443
2444 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2445
2446         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2447
2448 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2449
2450         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2451         nestings
2452
2453 2003-11-04  André Pönitz  <poenitz@gmx.net>
2454
2455         * cursor.[Ch]: restructure
2456
2457         * BufferView.[Ch]:
2458         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2459
2460         * iterators.[Ch] (asCursor): remove
2461
2462         * lfuns.h: remove LFUN_INSET_EDIT
2463
2464         * lyxfunc.C:
2465         * tabular.C:
2466         * text.C:
2467         * text2.C:
2468         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2469
2470 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * lyxfind.[Ch]: complete overhaul
2473         * BufferView_pimpl.C:
2474         * lyxfunc.C: adjust
2475         * paragraph.[Ch] (insert): add
2476
2477 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2478
2479         * BufferView.[Ch]:
2480         * lyxtext.h:
2481         * text.C: remove dead spellcheck code
2482
2483 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * dispatchresult.h: add a val setter
2486
2487         * cursor.C (dispatch): use a tempvar for data_[i]
2488
2489 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2490
2491         * PosIterator.[Ch]: compile fix
2492
2493 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2494
2495         * text.C (cursorPar): deactivate the cursor cache
2496
2497 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2500
2501 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * text3.C (dispatch): adjust for new DisptchResult semantics.
2504
2505         * lyxfunc.C (dispatch): handle update when return from
2506         Cursor::dispatch, adjust for new DispatchResult semantics.
2507
2508         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2509         DispatchResult(true) mean to not update. Add class functions for
2510         setting dispatched and update, as well as reading.
2511
2512         * cursor.C (dispatch): don't handle update here
2513
2514 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2517         * trans_mgr.C: adjust
2518
2519         * paragraph_funcs.C (readParToken): exception safety
2520
2521         * lyxvc.h: store the vcs pointer in a scoped_ptr
2522         * lyxvc.C: adjust
2523
2524         * lyxsocket.C (serverCallback): exception safety
2525
2526         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2527
2528         * ispell.C (clone): make it return a auto_ptr
2529
2530         * factory.C (createInset): exception safety
2531         (readInset): exception safety
2532
2533         * bufferlist.C (newBuffer): exception safety
2534
2535         * Thesaurus.C (Thesaurus): use initialization for aik_
2536
2537         * MenuBackend.C (expandToc): exception safety.
2538
2539 2003-11-03  André Pönitz  <poenitz@gmx.net>
2540
2541         * buffer.C:
2542         * buffer.h:
2543         * bufferview_funcs.C: remove getInsetFromId()
2544
2545         * lyxcursor.[Ch]:
2546         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2547
2548         * lyxfunc.C:
2549         * text2.C:
2550         * text3.C: adjust
2551
2552 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2553
2554         * PosIterator.C (distance, advance): new
2555         * bufferview_funcs.[Ch] (put_selection_at): new
2556         * iterators.[Ch] (lockPath): new
2557
2558 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2559
2560         * iterators.[Ch] (asPosIterator): added
2561         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2562         * PosIterator.[Ch]: added
2563
2564 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * text3.C:
2567         * lyxfunc.C:
2568         * cursor.C (dispatch):
2569         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2570
2571         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2572         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2573         contructor, add a class function dispatched. Remove operator>=
2574
2575 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * debug.C: only use the default constructor for debugstream
2578         (lyxerr) here.
2579
2580         * main.C (main): include debug.h and setup the lyxerr streambuf
2581         here.
2582
2583 2003-10-31  José Matos  <jamatos@lyx.org>
2584
2585         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2586
2587         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2588         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2589         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2590         * paragraph_pimpl.C (simpleTeXSpecialC):
2591         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2592         add LatexRunParams argument.
2593
2594         * exporter.C (Export): change call accordingly.
2595
2596         * latexrunparams.h: add new member to take care of the other backends.
2597 2003-10-30  José Matos  <jamatos@lyx.org>
2598
2599         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2600         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2601         factorise code for paragraph output.
2602         * buffer.[Ch]:
2603         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2604         move functions.
2605
2606 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * text3.C (dispatch):
2609         * lyxfunc.C (dispatch):
2610         * cursor.C (dispatch):
2611         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2612
2613         * dispatchresult.h: make the dispatch_result_t ctor explicit
2614
2615 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2616
2617         * sgml.[Ch]:
2618         * buffer.C: small refactoring of docbook stuff
2619
2620 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2621
2622         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2623         meaning.
2624
2625 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2628         operator dispatch_result_t, and operators for == != and >=
2629
2630         * cursor.C (dispatch): adjust for operator dispatch_result_t
2631         removal. comment out call to update
2632
2633         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2634
2635 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * text3.C:
2638         * text2.C:
2639         * text.C:
2640         * lyxtext.h:
2641         * lyxfunc.C:
2642         * cursor.C:
2643         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2644         (dispatch):
2645
2646         * dispatchresult.h: new file, DispatchResult broken out of
2647         insets/insetbase.h
2648
2649         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2650
2651 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * text.C (rowBreakPoint): put a hack inside #if 0
2654
2655 2003-10-28  André Pönitz  <poenitz@gmx.net>
2656
2657         * lyxtext.h:
2658         * metricsinfo.C:
2659         * paragraph_funcs.C:
2660         * rowpainter.C:
2661         * text.C:
2662         * text2.C: general cleanup (lots of small stuff)
2663
2664 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * text2.C (cursorEnd): simple fix to the "end key goes to one
2667         before the end on last row" bug
2668
2669 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2670
2671         * text.C (backspace): fix the "zombie characters"
2672
2673 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2674
2675         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2676
2677 2003-10-27  André Pönitz  <poenitz@gmx.net>
2678
2679         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2680
2681         * factory.C: handle new InsetPagebreak, InsetLine
2682
2683         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2684         and move handling into new InsetPagebreak, InsetLine
2685
2686         * BufferView_pimpl.C:
2687         * LyXAction.C:
2688         * ParagraphParameters.C:
2689         * ParameterStruct.h:
2690         * lyxfunc.C:
2691         * lyxtext.h:
2692         * paragraph.C:
2693         * paragraph.h:
2694         * paragraph_funcs.C:
2695         * paragraph_pimpl.C:
2696         * rowpainter.C:
2697         * text.C:
2698         * text2.C:
2699         * text3.C: adjust
2700
2701 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2702
2703         * text.C:
2704         * lyxrow_funcs.[Ch]:
2705         * Bidi.C:
2706         * paragraph.C:
2707         * lyxtext.h:
2708         * rowpainter.C:
2709         * text2.C:
2710         * text3.C: remove lastPos uses in favour of Row::endpos
2711
2712 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * undo.C (performUndoOrRedo): fix two crashes by setting a
2715         cursor by hand and reordering some calls. Use bv->lockInset instead
2716         of inset->edit because the latter loses cursor information
2717
2718 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2721         by Martin
2722         (rowBreakPoint): fix width. change point to point + 1.
2723         Add a missing check.
2724
2725 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2726
2727         * MenuBackend.C:
2728         * lyxfunc.C: fix (at least partly) the problems
2729         with the Nav menu and headers inside branch insets
2730         reported by Kayvan
2731
2732 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * paragraph.C (getChar): add strong asserts
2735
2736         * lyxrow_funcs.C (lastPos): remove hideous hack
2737
2738         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2739         (fill): adjust to that (avoid an infinite loop)
2740
2741 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2742
2743         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2744
2745 2003-10-23  André Pönitz  <poenitz@gmx.net>
2746
2747         * RowList_fwd.h: change list<> to vector<> to gain speed
2748         after suggestion from Alfredo
2749
2750 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * lyxtext.h: move the bidi stuff from here...
2753         * text.C: and here
2754         * text2.C: and here
2755         * Bidi.[Ch]: ... to here
2756
2757 2003-10-23  André Pönitz  <poenitz@gmx.net>
2758
2759         * lyxtext.h:
2760         * text.C (isLastRow, isFirstRow): new functions
2761
2762         * paragraph.h: new width cache member
2763
2764         * rowpainter.C: replace RowList::iterator with Row & where possible
2765
2766         * lyxfunc.C: replace several view()->text with a single call
2767
2768         * toc.C: fix 'unused' warning
2769
2770 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2771
2772         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2773         when woring with stream::pos_type
2774         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2775
2776 2003-10-22  André Pönitz  <poenitz@gmx.net>
2777
2778         * lyxtext.h:
2779         * text.C: use Row & instead of RowList::iterator
2780
2781         * lyxrow.h: rename end() to endpos()
2782
2783         * rowpainter.C:
2784         * text.C:
2785         * text2.C: adjust
2786
2787 2003-10-22  Angus Leeming  <leeming@lyx.org>
2788
2789         * buffer.[Ch] (fully_loaded): new member function, returning true
2790         only when the file has been loaded fully.
2791         Used to prevent the premature generation of previews and by the
2792         citation inset to prevent computation of the natbib-style label.
2793
2794         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2795         templates are all set up.
2796
2797         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2798
2799 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2800
2801         * text.C: fixed an "oops" in the "is a bit silly"
2802         bug fix
2803
2804 2003-10-21  André Pönitz  <poenitz@gmx.net>
2805
2806         * FuncStatus.[Ch]: small stuff, whitespace
2807
2808         * lyxfont.[Ch]: operator<<() for debug reasons
2809
2810         * lyxfunc.C:
2811         * lyxrow_funcs.C:
2812         * lyxtext.h: whitespace, spelling
2813
2814         * paragraph.C: naming of variables
2815
2816         * text.C:
2817         * text2.C: small stuff
2818
2819
2820 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * text.C: (1) finish off the inset display() work;
2823         (2) fix the "is a bit silly" bug (accessing char
2824         past end of par).
2825
2826 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2827
2828         * text.C: re-introduce display() for insets, fixing the
2829         various bugs (stretch of line above, math inset
2830         positioning, ...)
2831
2832 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2833
2834         * text.C (rightMargin): remove spurious semicolon
2835
2836         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2837         1415)
2838
2839 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2840
2841         * text3.C: fix one crash due to wrong cursor def
2842
2843 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * vc-backend.C (scanMaster): make the regex static
2846
2847         * LaTeX.C (scanAuxFile): make the regexs static
2848
2849         * text3.C (doInsertInset, dispatch, dispatch):
2850         * text2.C (cursorUp, cursorDown):
2851         * text.C (selectNextWordToSpellcheck):
2852         * BufferView_pimpl.C (dispatch):
2853         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2854
2855 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2856
2857         * lyxsocket.C: include <cerrno>
2858
2859 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * lyxfunc.C (dispatch): remove textcache stuff
2862
2863         * bufferlist.C (release): remove textcache stuff
2864         (closeAll): ditto
2865
2866         * TextCache.C: delete file
2867         * TextCache.h: delete file
2868
2869         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2870
2871         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2872         delete of the bv_->text.
2873         (resizeCurrentBuffer): remove texcache stuff
2874         (workAreaResize): ditto
2875
2876 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2879         action.
2880
2881 2003-10-16  André Pönitz  <poenitz@gmx.net>
2882
2883         * lyxrow.[Ch]:
2884         * paragraph.h:
2885         * rowpainter.C:
2886         * text.C:
2887         * text2.C:
2888         * text3.C: speed up by storing y positions per paragraph plus per-row
2889         offset instead of having a 'full' y position in the row.
2890
2891 2003-10-15  André Pönitz  <poenitz@gmx.net>
2892
2893         * iterators.[Ch]:
2894         * iterators.[Ch]:
2895         * undo.[Ch]: make undo aware of inner insets
2896
2897 2003-10-14  Angus Leeming  <leeming@lyx.org>
2898
2899         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2900         static member functions LyX::ref() and LyX::cref.
2901         (lastfiles): new accessor functions for the new lastfiles_ member var.
2902         (addLyXView, views_): add a new LyXView to the list of views_.
2903         (updateInset): loop over all LyXViews to call their own updateInset
2904         member function, returning a pointer to the Buffer owning the inset.
2905
2906         * BufferView_pimpl.C (loadLyXFile):
2907         * MenuBackend.C (expandLastfiles):
2908         * bufferlist.C (MenuWrite, QuitLyX):
2909         lastfiles is no longer a global variable.
2910         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2911
2912         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2913         static function. Access through LyX::cref().emergencyCleanup().
2914
2915 2003-10-14  André Pönitz  <poenitz@gmx.net>
2916
2917         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2918
2919         * undo.[Ch]: restoring part of 'undo in insets'
2920
2921         * Makefile.am:
2922         * undo_funcs.[Ch]: merge with undo.[Ch]
2923
2924         * tabular.C: small cleansing stuff
2925
2926 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * paragraph_funcs.C (readParToken): report unknown insets as error
2929         boxes. Use the outer paragraph as location (also for unknown
2930         tokens).
2931
2932         * factory.C (readInset): do not abort on reading an unknown inset.
2933         Eat it and return 0.
2934
2935 2003-10-13  Angus Leeming  <leeming@lyx.org>
2936
2937         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2938
2939         * lyxrc.C: displayTranslator is now a function,
2940         declared in GraphicsTypes.h.
2941
2942 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2943
2944         * format.C: new placeholder $$a to pass the socket address.
2945
2946         * bufferlist.[Ch]: new function getBufferFromTmp.
2947
2948         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2949           files in the temporary dir.
2950
2951 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2952
2953         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2954
2955         * Makefile.am: add lyxsocket.[Ch].
2956
2957         * lyx_main.C (error_handler): handle SIGPIPE.
2958
2959 2003-10-13  André Pönitz  <poenitz@gmx.net>
2960
2961         * BufferView_pimpl.C:
2962         * lyxtext.h:
2963         * text.C:
2964         * text2.C:
2965         * text3.C:
2966         * undo_funcs.[Ch]: use paroffset_type instead of
2967           ParagraphList::iterators to prevent multiple conversion
2968           (and get a more robust interface)
2969
2970 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2973         * lyxtext.h: ditto
2974         * text3.C (dispatch): ditto
2975
2976 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2979         move the onlyfile, use onlyfile instead of foundfile in a couple
2980         of places.
2981
2982         * DepTable.C (update): flush the error stream a bit more
2983
2984 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * lyxserver.C (callback): adjust
2987
2988         * lyxfunc.C (getStatus): add a missing brace in commented code
2989         (ensureBufferClean): reindent
2990         (dispatch): delete version taking a string
2991
2992 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * LaTeX.C (deplog): move found file handlig from here...
2995         (handleFoundFile): .. to new function here.
2996         (deplog): make sure to discover several files mentioned on the
2997         same log line.
2998
2999 2003-10-10  André Pönitz  <poenitz@gmx.net>
3000
3001         * lyxfunc.C:
3002         * lyxtext.h:
3003         * tabular.C:
3004         * text.C:
3005         * text2.C:
3006         * text3.C: fix some of the tabular crashes
3007
3008 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3009
3010         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3011
3012         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3013
3014 2003-10-09  André Pönitz  <poenitz@gmx.net>
3015
3016         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3017
3018         * BufferView.C:
3019         * BufferView_pimpl.C:
3020         * bufferview_funcs.C:
3021         * lyx_cb.C:
3022         * lyxcursor.C:
3023         * lyxfind.C:
3024         * lyxfunc.C:
3025         * lyxtext.h:
3026         * text.C:
3027         * text2.C:
3028         * text3.C:
3029         * text_funcs.[Ch]:
3030         * textcursor.[Ch]:
3031         * undo_funcs.C: adjust
3032
3033 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * text2.C (incrementItemDepth): new function, use a backtracking
3036         algorithm to discover the correct item depth.
3037         (resetEnumCounterIfNeeded): new function, use a backtracking
3038         algorithm to discover if counter reset is needed.
3039         (setCounter): use them. Simplify a bit. Add different labels for
3040         different item depths for itemize.
3041
3042         * paragraph.C (Paragraph): remove initialization of enumdepth
3043         (operator=): ditto
3044
3045         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3046         enumerate and itemize. Change the type of itemdepth to signed char.
3047
3048 2003-10-08  André Pönitz  <poenitz@gmx.net>
3049
3050         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3051           thing assignable.
3052         * text.C:
3053         * text2.C: adjust
3054
3055         * tabular.[Ch]: fix crash after 'row-insert'
3056
3057 2003-10-08  Angus Leeming  <leeming@lyx.org>
3058
3059         Fix doxygen warnings.
3060
3061         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3062         Remove CutAndPaste:: prefix from header file declaration.
3063
3064         * LColor.h (fill): remove LColor:: prefix from declaration.
3065
3066         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3067         use lyx::depth_type rather than Paragraph::depth_type so that
3068         header file and .C file match.
3069
3070         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3071
3072         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3073         * aspell.C: \file aspell_local.C -> \file aspell.C
3074         * gettext.C: \file gettext.C -> \file src/gettext.C
3075         * gettext.h: \file gettext.h -> \file src/gettext.h
3076         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3077         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3078         * text.C: \file text.C -> \file src/text.C
3079
3080         * toc.C: move comment so that doxygen is not confused.
3081
3082 2003-10-07  Angus Leeming  <leeming@lyx.org>
3083
3084         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3085
3086 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3087
3088         * aspell.C:
3089         * aspell_local.h: add forgotten std::string's.
3090
3091 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3092
3093         * LaTeXFeatures.C:
3094         * LyXAction.C:
3095         * factory.C:
3096         * lfuns.h:
3097         * lyxfunc.C:
3098         * text3.C: The Box patch. Fancybox support, minipage, parbox
3099
3100 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3101
3102         * CutAndPaste.h:
3103         * DepTable.h:
3104         * FloatList.h:
3105         * LaTeXFeatures.h:
3106         * ParagraphParameters.h:
3107         * TextCache.h:
3108         * Thesaurus.h:
3109         * bufferlist.h:
3110         * exporter.h:
3111         * importer.h:
3112         * lastfiles.h:
3113         * lyxfind.h:
3114         * lyxfont.h:
3115         * lyxlex.h:
3116         * lyxtextclasslist.h:
3117         * messages.h:
3118         * paragraph.h:
3119         * paragraph_pimpl.C:
3120         * textcursor.h: add <string> and other small fixes to make Lars'
3121         std::string patch compile with STLport.
3122
3123 2003-10-06  Angus Leeming  <leeming@lyx.org>
3124
3125         * LColor.h: Add missing #include <string>.
3126
3127 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * All most all file in all subdirs: Make <string> be the prefered
3130         way of getting to std::string, add using declarations.
3131
3132 2003-10-06  André Pönitz  <poenitz@gmx.net>
3133
3134         * metricsinfo.C: initialize LyXFont before changing attribute.
3135         (fixes the 'math in \emph is upright' bug)
3136
3137 2003-10-06  André Pönitz  <poenitz@gmx.net>
3138
3139         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3140
3141 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3142
3143         * graph.C:
3144         * paragraph_pimpl.C: Small fixes to build using STLport
3145
3146 2003-10-02  André Pönitz  <poenitz@gmx.net>
3147
3148         * lyxfunc.C:
3149         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3150
3151 2003-10-01  André Pönitz  <poenitz@gmx.net>
3152
3153         * factory.C: assert early
3154
3155 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * lyx_main.C: remove the global debug object
3158
3159         * debug.h: adjust for new debugstream
3160
3161         * debug.C: adjust for new debugstream and keep the global debug
3162         object here.
3163
3164 2003-09-22  Angus Leeming  <leeming@lyx.org>
3165
3166         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3167         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3168         an incomplete class LyXFont.
3169
3170 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * factory.C: bug fix in branches
3173
3174 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * lyxfunc.C (processKeySym): adjust
3177         (dispatch): adjust
3178         (dispatch): change arg name from ev to func, adjust
3179         (sendDispatchMessage): ditto
3180
3181         * lyx_main.C (defaultKeyBindings): adjust keybindings
3182         (deadKeyBindings): ditto
3183
3184         * kbsequence.C (addkey): return a FuncRequest
3185
3186         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3187
3188         * kbmap.C (bind): take a FuncRequest as arg, adjust
3189         (read): adjust
3190         (lookup): adjust
3191         (defkey): change to take a FuncRequest as arg, adjust
3192         (findbinding): take a FuncRequest as arg, adjust.
3193
3194         * funcrequest.h (operator=): added
3195
3196         * funcrequest.C (FuncRequest): default kb_action changed from
3197         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3198
3199         * buffer.C (dispatch): simplify
3200         (dispatch): adjust to take a FuncRequest as arg, adjust
3201
3202         * boost.C (assertion_failed): change assertion message slightly
3203
3204         * ToolbarBackend.C (read): simplify
3205
3206         * MenuBackend.C (binding): adjust call to findbinding, add a
3207         message if no binding is found.
3208         (read): simplify
3209         (expandToc): correct by adding a empty FuncRequest
3210
3211         * LyXAction.C: include <boost/assert.hpp>
3212         (isPseudoAction): delete function
3213         (LookupFunc): change name to...
3214         (lookupFunc): this. change return type to FuncRequest.
3215         (getActionName): take kb_action as arg, simplify
3216         (funcHasFlag): add an assert, simplify.
3217
3218 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * toc.C (action): return a FuncRequest, simplify
3221
3222         * lyxfunc.C (processKeySym): adjust
3223         (getStatus): delete version that takes an int.
3224         (getStatus): adjust
3225         (dispatch): delete version that takes action as int
3226         (dispatch): adjust
3227         (sendDispatchMessage): simplify and adjust
3228
3229         * funcrequest.C (getArg): take unsigned int as arg
3230
3231         * ToolbarBackend.C (read): adjust
3232         (add): delete version that takes func as a string.
3233         (getIton): take a FuncRequest as arg
3234
3235         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3236         action.
3237
3238         * MenuBackend.C (MenuItem): add a new construct that only takes a
3239         Kind, simplify the constructor use for submenus.
3240         (add): adjust
3241         (expandLastfiles): adjust
3242         (expandDocuments): adjust
3243         (expandFormats): adjust
3244         (expandFloatListInsert): adjust
3245         (expandFloatInsert): adjust
3246         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3247
3248         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3249         Remove class variables lyx_pseudo_map and lyx_arg_map
3250
3251         * LyXAction.C (searchActionArg): delete function
3252         (getPseudoAction): delete function
3253         (retrieveActionArg): delete function
3254         (LookupFunc): make it return kb_action, simplify.
3255         (getActionName): simplify
3256
3257         * factory.C (createInset): fix new bug
3258
3259 2003-09-19  Angus Leeming  <leeming@lyx.org>
3260
3261         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3262         masterFilename_ parameter in the include inset.
3263
3264         * factory.C (createInset): changes due to the changes to InsetInclude.
3265
3266 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3267
3268         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3269
3270 2003-09-18  Angus Leeming  <leeming@lyx.org>
3271
3272         * buffer.C:
3273         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3274         Inset::fillWithBibKeys.
3275         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3276
3277 2003-09-18  Angus Leeming  <leeming@lyx.org>
3278
3279         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3280         variables.
3281         (ctor): pass and store a 'Buffer const &'
3282         (buffer): new member function.
3283
3284         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3285         '*this' to the LaTeXFeatures ctor.
3286
3287 2003-09-18  Angus Leeming  <leeming@lyx.org>
3288
3289         * LColor.h:
3290         * lyxfont.C:
3291         * lyxfont.h:
3292         * lyxtext.h:
3293         * text.C: rename EnumLColor as LColor_color.
3294
3295 2003-09-18  Angus Leeming  <leeming@lyx.org>
3296
3297         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3298         remove #include "insets/insetbase.h" from cursor.h.
3299
3300 2003-09-18  Angus Leeming  <leeming@lyx.org>
3301
3302         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3303         InsetOld_code to remove #include "inset.h".
3304
3305         * iterators.C: add #include "insets/inset.h"
3306
3307 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * BufferView.C: remove more locking stuff that apparently doesn't
3310         do anything sensible.
3311
3312 2003-09-16  André Pönitz  <poenitz@gmx.net>
3313
3314         * paragraph.[Ch]:
3315         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3316           performance boost.
3317
3318 2003-09-16  Angus Leeming  <leeming@lyx.org>
3319
3320         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3321
3322         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3323         arg/return type.
3324
3325         * paragraph.h: remove #include "lyxfont.h". Forward declare
3326         LyXFont_size.
3327
3328 2003-09-16  Angus Leeming  <leeming@lyx.org>
3329
3330         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3331         of support/textutils.h.
3332         (isWord): move the contents of support/textutils.h's IsWordChar here.
3333
3334         * buffer.C:
3335         * lyxfind.C:
3336         * rowpainter.C:
3337         * text.C:
3338         * text2.C: add #include "paragraph.h".
3339
3340         * rowpainter.C:
3341         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3342
3343 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * main.C:
3346         * lyx_main.C:
3347         * lyx_cb.C:
3348         * buffer.C:
3349         * LaTeX.C: use namespace alias for lyx::support::os
3350
3351 2003-09-16  Angus Leeming  <leeming@lyx.org>
3352
3353         * bufferparams.C:
3354         * bufferview_funcs.C:
3355         * factory.C:
3356         * lyxfunc.C:
3357         * paragraph_pimpl.C:
3358         * rowpainter.C:
3359         * text.C: add #include "LColor.h".
3360
3361 2003-09-16  Angus Leeming  <leeming@lyx.org>
3362
3363         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3364         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3365         return LyXFont &.
3366         Store the FontBits::color variable as an int rather than as an
3367         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3368         file.
3369
3370         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3371         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3372         string calls together.
3373
3374         * lyxrc.C: add #include "LColor.h".
3375
3376 2003-09-15  Angus Leeming  <leeming@lyx.org>
3377
3378         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3379         a cow_ptr.
3380
3381 2003-09-15  Angus Leeming  <leeming@lyx.org>
3382
3383         * LColor.h: add an EnumLColor wrapper for LColor::color.
3384
3385         * lyxfont.[Ch] (color, setColor, realColor):
3386         * lyxtext.h, text.C (backgroundColor):
3387         pass EnumLColor args to/from the functions, rather than LColor::color
3388         ones.
3389
3390         * lyxfont.h:
3391         * lyxtext.h: forward declare EnumLColor.
3392
3393         * lyx_main.C: add #include "LColor.h".
3394
3395 2003-09-15  Angus Leeming  <leeming@lyx.org>
3396
3397         * .cvsignore: add lyx-gtk.
3398
3399 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3400
3401         * Chktex.C
3402         * LaTeX.C
3403         * LaTeXFeatures.C
3404         * ParagraphParameters.C
3405         * Spacing.C
3406         * buffer.C
3407         * bufferparams.C
3408         * bufferview_funcs.C
3409         * chset.C
3410         * counters.C
3411         * funcrequest.C
3412         * lyxfont.C
3413         * lyxgluelength.C
3414         * lyxlength.C
3415         * paragraph.C
3416         * paragraph_funcs.C
3417         * text3.C
3418         * vc-backend.C: remove usage of STRCONV
3419
3420 2003-09-15  Angus Leeming  <leeming@lyx.org>
3421
3422         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3423         explicitly define the color passed to the painter.
3424
3425 2003-09-15  Angus Leeming  <leeming@lyx.org>
3426
3427         * bufferparams.C (BufferParams): reorder member initializers to avoid
3428         compiler warning.
3429
3430 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3433         * text.C (updateRowPositions): remove an unusual nop
3434
3435 2003-09-12  André Pönitz  <poenitz@gmx.net>
3436
3437         * BufferView_pimpl.C:
3438         * Bullet.C:
3439         * layout.h:
3440         * lyxfunc.C:
3441         * lyxlayout.[Ch]:
3442         * lyxtextclass.C:
3443         * rowpainter.C:
3444         * text.C:
3445         * text2.C:
3446         * Counters.[Ch]: finish the 'automatic counters' job
3447
3448 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3449
3450         * aspell.C: include <boost/assert.cpp> (compile fix)
3451
3452 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3453
3454         * boost.C (assertion_failed): use lyx::support::abort instead of
3455         assert.
3456
3457 2003-09-10  Angus Leeming  <leeming@lyx.org>
3458
3459         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3460         with their _fwd progeny.
3461
3462 2003-09-09  Angus Leeming  <leeming@lyx.org>
3463
3464         134 files throughtout the source tree: replace 'using namespace abc;'
3465         directives with the appropriate 'using abc::xyz;' declarations.
3466
3467 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3468
3469         * boost.C (emergencyCleanup): moved here from LAssert.c
3470         (assertion_failed): new function, called by BOOST_ASSERT
3471
3472         * several files: change Assert to BOOST_ASSERT
3473
3474 2003-09-09  Angus Leeming  <leeming@lyx.org>
3475
3476         * buffer.[Ch]: Add an Impl class and move Buffer's member
3477         variables into it. As a result move several header files out of
3478         buffer.h.
3479
3480         Add header files to lots of .C files all over the tree as a result.
3481
3482 2003-09-09  Angus Leeming  <leeming@lyx.org>
3483
3484         * buffer.[Ch]: make Buffer's member variables private. Add
3485         accessor functions.
3486
3487         Lots of changes all over the tree as a result.
3488
3489 2003-09-08  Angus Leeming  <leeming@lyx.org>
3490
3491         * graph.C: #include <config.h>.
3492
3493 2003-09-08  Angus Leeming  <leeming@lyx.org>
3494
3495         * BranchList.C:
3496         * BufferView.C:
3497         * BufferView_pimpl.C:
3498         * CutAndPaste.C:
3499         * DepTable.C:
3500         * LaTeX.C:
3501         * LaTeXFeatures.C:
3502         * LyXAction.C:
3503         * MenuBackend.C:
3504         * TextCache.C:
3505         * aspell.C:
3506         * buffer.C:
3507         * bufferlist.C:
3508         * changes.C:
3509         * chset.C:
3510         * converter.C:
3511         * counters.C:
3512         * debug.C:
3513         * graph.C:
3514         * ispell.C:
3515         * lyx_cb.C:
3516         * lyxfind.C:
3517         * lyxfunc.C:
3518         * lyxlex_pimpl.C:
3519         * lyxrc.C:
3520         * lyxrow.C:
3521         * paragraph.C:
3522         * rowpainter.C:
3523         * texrow.C:
3524         * text.C:
3525         * text2.C:
3526         * toc.C: remove redundant using directives.
3527
3528 2003-09-07  Angus Leeming  <leeming@lyx.org>
3529
3530         * LaTeXFeatures.h: remove #include "support/types.h".
3531         * ToolbarBackend.h: remove #include <algorithm>.
3532         * changes.h: remove #include <ctime>.
3533         * debug.h: remove #include <iosfwd>.
3534         * graph.h: remove #include "support/std_string.h".
3535         * lyx_main.h: remove #include <csignal>.
3536         * lyxlex_pimpl.h: remove #include <fstream>.
3537         * sgml.h: remove #include <algorithm>, <utility>.
3538         * toc.h: remove #include "support/std_ostream.h".
3539         Add #include <iosfwd>.
3540
3541 2003-09-07  Angus Leeming  <leeming@lyx.org>
3542
3543         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3544
3545         * converter.h: forward declare LatexRunParams.
3546         * encoding.h: remove #include "lyxrc.h".
3547         * lyxtext.h: remove #include "LColor.h".
3548         * lyxtextclass.h: remove #include "support/types.h".
3549         * trans.h: remove #include "tex-accent.h".
3550         * trans_mgr.h: remove #include "tex-accent.h".
3551         * insets/inset.h: remove #include "support/types.h", <vector>.
3552         * insets/insetcollapsable.h: remove #include "LColor.h".
3553         * insets/insetinclude.h: remove #include "dimension.h".
3554         * insets/insetlatexaccent.h: remove #include "dimension.h".
3555         * insets/insetoptarg.h:: remove #include "insettext.h".
3556         * insets/insettext.h: remove #include "dimension.h",
3557         <boost/shared_ptr.hpp>
3558
3559         * insets/renderers.h: add #include "dimension.h".
3560         * insets/updatableinset.h: add #include "support/types.h".
3561
3562         * many .C files: Associated changes.
3563
3564 2003-09-06  Angus Leeming  <leeming@lyx.org>
3565
3566         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3567         one, inside testInvariant.
3568
3569         * PrinterParams.C: new file.
3570         * PrinterParams.[Ch]: move the function bodies out of line.
3571
3572 2003-09-06  Angus Leeming  <leeming@lyx.org>
3573
3574         * ParagraphParameters.h: forward declare ParameterStruct rather than
3575         including its header file.
3576         (depth): moved out-of-line.
3577
3578 2003-09-06  Angus Leeming  <leeming@lyx.org>
3579
3580         * BufferView_pimpl.h:
3581         * kbmap.h:
3582         * kbsequence.h:
3583         * lyxfunc.h: forward declare LyXKeySym rather than
3584         #include "frontends/LyXKeySym.h".
3585
3586         * BufferView_pimpl.C:
3587         * kbmap.C:
3588         * kbsequence.C:
3589         * lyxfunc.C: associated changes.
3590
3591 2003-09-06  Angus Leeming  <leeming@lyx.org>
3592
3593         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3594         As a result, can remove the #include "insets/inset.h" from BufferView.h
3595
3596 2003-09-06  Angus Leeming  <leeming@lyx.org>
3597
3598         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3599         As a result, can remove the #include "insets/inset.h" from BufferView.h
3600
3601 2003-09-06  Angus Leeming  <leeming@lyx.org>
3602
3603         * buffer_funcs.C:
3604         * buffer.h:
3605         * bufferlist.C:
3606         * BufferView.C:
3607         * bufferview_funcs.C:
3608         * BufferView_pimpl.C:
3609         * CutAndPaste.C:
3610         * lyx_cb.C:
3611         * lyxfunc.C:
3612         * paragraph.h:
3613         * ParagraphParameters.C:
3614         * tabular.C:
3615         * text3.C:
3616         * toc.C:
3617         * undo_funcs.C:
3618         * frontends/controllers/ControlDocument.C:
3619         * insets/insetcaption.C: rearrange the #includes into some sort of
3620         coherent order.
3621
3622         * buffer.h: remove #includes ErrorList.h, undo.h
3623
3624 2003-09-06  Angus Leeming  <leeming@lyx.org>
3625
3626         * support/types.h: add a 'depth_type' typedef, used to store the
3627         nesting depth of a paragraph.
3628
3629         * paragraph.h:
3630         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3631         defining explicitly.
3632
3633         * buffer.h:
3634         * paragraph_funcs.h:
3635         * ParagraphParameters.h:
3636         * sgml.h: use lyx::depth_type rather than Paragraph or
3637         ParameterStruct's depth_type.
3638
3639         * buffer.h
3640         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3641
3642         * BufferView.C:
3643         * BufferView_pimpl.C:
3644         * CutAndPaste.C:
3645         * ParagraphParameters.C:
3646         * buffer_funcs.C:
3647         * bufferlist.C:
3648         * bufferview_funcs.C:
3649         * lyx_cb.C:
3650         * lyxfunc.C:
3651         * tabular.C:
3652         * text3.C:
3653         * toc.C:
3654         * undo_funcs.C:
3655         * frontends/LyXView.C:
3656         * frontends/controllers/ControlDocument.C:
3657         * frontends/controllers/ControlErrorList.C:
3658         * insets/insetbibitem.C:
3659         * insets/insetbranch.C:
3660         * insets/insetcaption.C:
3661         * insets/insetcollapsable.C:
3662         * insets/insetenv.C:
3663         * insets/insetert.C:
3664         * insets/insetfloat.C:
3665         * insets/insetfoot.C:
3666         * insets/insetfootlike.C:
3667         * insets/insetnewline.C:
3668         * insets/insetquotes.C:
3669         * insets/insettabular.C:
3670         * insets/insettext.C:
3671         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3672
3673         * frontends/controllers/ControlChanges.C: #include "changes.h".
3674
3675 2003-09-06  Angus Leeming  <leeming@lyx.org>
3676
3677         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3678         than #including paragraph.h.
3679
3680         * ParagraphList.h:
3681         * RowList.h: deleted. Superfluous.
3682
3683         * CutAndPaste.h:
3684         * iterators.h:
3685         * lyxcursor.h:
3686         * lyxtext.h:
3687         * text_funcs.h:
3688         * undo.h:
3689         * undo_funcs.h:
3690         * insets/inset.h:
3691         * insets/insettext.h: use ParagraphList_fwd.h rather than
3692         ParagraphList.h.
3693
3694         * paragraph.h: don't forward declare ParagraphList.
3695
3696         * buffer.h:
3697         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3698         rather than ParagraphList.h. paragraph.h is still needed for the
3699         Paragraph::depth_type parameters.
3700
3701         * textcursor.h: enable it to compile stand-alone in light of the
3702         above changes.
3703
3704         * bufferview_funcs.C:
3705         * iterators.C:
3706         * lyxfunc.C:
3707         * lyxrow_funcs.C:
3708         * paragraph.C:
3709         * rowpainter.C:
3710         * text.C:
3711         * text2.C:
3712         * text3.C:
3713         * text_funcs.C:
3714         * textcursor.C:
3715         * undo.C:
3716         * frontends/controllers/ControlParagraph.C:
3717         * frontends/controllers/ControlTabular.C:
3718         * insets/insetmarginal.C:
3719         * insets/insetminipage.C:
3720         * insets/insetnote.C:
3721         * insets/insetoptarg.C: add header files needed to compile again.
3722
3723 2003-09-06  Angus Leeming  <leeming@lyx.org>
3724
3725         * RowList_fwd.h: new file, forward-declaring Row rather than
3726         #including lyxrow.h.
3727
3728         * lyxrow_funcs.h:
3729         * lyxtext.h:
3730         * paragraph.h:
3731         * insets/insettext.h: use it instead of RowList.h
3732
3733         * bufferview_funcs.C:
3734         * lyxfunc.C:
3735         * lyxrow_funcs.C:
3736         * paragraph.C:
3737         * rowpainter.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: #include "RowList.h".
3741
3742 2003-09-05  Angus Leeming  <leeming@lyx.org>
3743
3744         * factory.C (createInset):
3745         * vspace.C (c-tor): replace sscanf call with an istringstream.
3746         * ispell.C: re-add missing HP/UX headers.
3747         * lyxserver.C: re-add missing  os2 headers.
3748
3749 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3750
3751         * BranchList.C:
3752         * graph.C:
3753         * ispell.C:
3754         * lastfiles.C:
3755         * lyx_cb.C:
3756         * lyxserver.C:
3757         * texrow.C:
3758         * text3.C: re-add missing system headers, needed for 2.95.2.
3759
3760 2003-09-05  Angus Leeming  <leeming@lyx.org>
3761
3762         Changes most place everywhere due to the removal of using directives
3763         from support/std_sstream.h.
3764
3765 2003-09-05  Angus Leeming  <leeming@lyx.org>
3766
3767         Replace LString.h with support/std_string.h,
3768         Lsstream.h with support/std_sstream.h,
3769         support/LIstream.h with support/std_istream.h,
3770         support/LOstream.h with support/std_ostream.h.
3771
3772         Changes resulting throughout the tree.
3773
3774 2003-09-05  Angus Leeming  <leeming@lyx.org>
3775
3776         * sgml.h: ensure that the header file can be compiled stand-alone.
3777         * *.C: strip out redundant #includes. (320 in total.)
3778
3779 2003-09-04  Angus Leeming  <leeming@lyx.org>
3780
3781         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3782         here (from getPackages).
3783
3784         * debug.[Ch]: add a new EXTERNAL tag.
3785
3786 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3787
3788         * text2.C (cursorEnd): simplify
3789         (setCursor): adjust
3790         (getColumnNearX): adjust
3791
3792         * text.C (computeBidiTables): adjust
3793         (fill): adjust
3794
3795         * rowpainter.C (paintChars): adjust
3796         (paintSelection): adjust
3797         (paintChangeBar): adjust
3798         (paintText): adjust
3799
3800         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3801         lastPos instead.
3802         (numberOfSeparators): adjust
3803
3804 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * LyXAction.C:
3807         * box.[Ch]:
3808         * lfuns.h:
3809         * lyxfunc.C:
3810         * text3.C: Restricts the mouse click functionality
3811         of insets like bibtex, include, toc and floatlist to the visible
3812         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3813         up the dialogs. Cursor has to be in front of the inset (i.e.
3814         start of row) for this to function.
3815
3816 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3817
3818         * bufferview_funcs.C (currentState): output row information
3819
3820 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3821
3822         * bufferview_funcs.C (currentState): output paragraph position
3823
3824 2003-09-04  Angus Leeming  <leeming@lyx.org>
3825
3826         * FloatList.h: move out #include "Floating.h".
3827         * LaTeX.h: move out #include "DepTable.h".
3828         * LyXAction.h: move out #include "funcrequest.h".
3829         * buffer.h: move out #include "author.h", "iterators.h".
3830         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3831         * lyx_main.h: move out #include "errorlist.h".
3832         * lyxfunc.h: move out #include "FuncStatus.h".
3833         * lyxtext: move out #include "lyxcursor.h".
3834         * paragraph_pimpl.h: move out #include "counters.h".
3835
3836 2003-09-03  Angus Leeming  <leeming@lyx.org>
3837
3838         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3839         preamble_snippets list, enabling us to add snippets to the preamble
3840         only if the snippet was not there already.
3841
3842 2003-09-04  Angus Leeming  <leeming@lyx.org>
3843
3844         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3845
3846 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3849         update
3850
3851 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3852
3853         * BranchList.C: point fix, earlier forgotten
3854
3855 2003-09-02  Angus Leeming  <leeming@lyx.org>
3856
3857         * box.C (contains): renamed from 'contained' after a fantastic
3858         amount of hot air.
3859
3860 2003-09-02  John Levon  <levon@movementarian.org>
3861
3862         * BufferView.C:
3863         * lyxcursor.h:
3864         * lyxcursor.C:
3865         * lyxfunc.C:
3866         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3867
3868 2003-09-02  John Levon  <levon@movementarian.org>
3869
3870         * text2.C: simplification of cursorEnd(), including partial
3871         fix for bug 1376
3872
3873 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * buffer.C (readFile): add a space
3876
3877 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3880
3881 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * buffer.C (readFile): new function, take a filename and a
3884         ParagraphList::iterator
3885         (readFile): adjust
3886         (readFile): adjust, make it private. don't use setStream, make
3887         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3888         always contain the filename.
3889
3890         * BufferView.C (insertLyXFile): simplify and make it work for
3891         gzipped files.
3892
3893 2003-08-30  John Levon  <levon@movementarian.org>
3894
3895         * Makefile.am: fix dist (from Kayvan)
3896
3897 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * most files: change to use const Buffer refs
3900
3901 2003-08-27  André Pönitz  <poenitz@gmx.net>
3902
3903         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3904         on top of ownerPar().
3905
3906 2003-08-27  John Levon  <levon@movementarian.org>
3907
3908         * funcrequest.C: properly initialise POD members
3909
3910 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3911
3912         * lyxtext.h (top_y): move top_y from here
3913         * text.C:
3914         * text2.C:
3915         * text3.C:
3916         * BufferView.[Ch]:
3917         * BufferView_pimpl.[Ch]: to here
3918         * frontends/screen.C:
3919         * insets/insettabular.C:
3920         * insets/insettext.C: adjust
3921         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3922
3923 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * BufferView.[Ch]:
3926         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3927
3928 2003-08-26  André Pönitz  <poenitz@gmx.net>
3929
3930         * paragraph_func.[Ch] (outerPar): new function
3931
3932         * paragraph.C:
3933         * paragraph_funcs.C:
3934         * paragraph_funcs.h:
3935         * paragraph_pimpl.C:
3936         * text2.C: remove Inset::par_owner
3937
3938 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3939
3940         * lyxrow_funcs.C:
3941         * lyxtext.h:
3942         * text.C:
3943         * text2.C: eliminates the needFullRow/display() stuff
3944         altogether, putting the logic in metrics/draw in the insets.
3945
3946 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * text2.C (redoParagraphInternal, redoParagraphs):
3949         * text.C (redoParagraph): add a call to updateRowPositions at the
3950         end of each 'metrics-like' call. Remove all others.
3951         (getRow): remove the 'y-computing' version.
3952         (getRowNearY): do not compute nor return the real y. Solve the
3953         'y < 0' problem and simplify.
3954
3955 2003-08-22  Angus Leeming  <leeming@lyx.org>
3956
3957         * *.[Ch]: clean-up of licence and author blurbs.
3958         Also move config.h out of a few .h files and into a few .C files.
3959
3960 2003-08-22  André Pönitz  <poenitz@gmx.net>
3961
3962         * lyxrow.[Ch]: add x_ and *fill_ members
3963
3964         * lyxtext.h:
3965         * text.C:
3966         * rowpainter.C:
3967         * text2.C: adjust/remove prepareToPrint() calls
3968
3969 2003-08-22  André Pönitz  <poenitz@gmx.net>
3970
3971         * lyxrow.[Ch]: add  end_ member
3972
3973         * lyxrow_funcs.C: use LyXRow::end_
3974
3975         * lyxtext.h (singleWidth): add LyXFont parameter
3976
3977         * rowpainter.C:
3978         * text2.C: adjust LyXText::singleWidth() calls
3979
3980         * text.C (redoParagraph): simplify row breaking logic
3981
3982
3983 2003-08-19  André Pönitz  <poenitz@gmx.net>
3984
3985         * funcrequest.C: initialize button_ member
3986
3987         * text3.C:
3988         * rowpainter.[Ch]: interface consolidation
3989
3990 2003-08-18  André Pönitz  <poenitz@gmx.net>
3991
3992         * BufferView.C:
3993         * BufferView_pimpl.C:
3994         * lyxfind.C:
3995         * paragraph_funcs.C:
3996         * rowpainter.C:
3997         * text3.C: remove LyXScreen::draw() and fitCursor calls
3998
3999         * BranchList.h: remove spurious semicolons
4000
4001         * MenuBackend.C: fix branchlist related crash
4002
4003 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4004
4005         * BranchList.[Ch]:
4006         * InsetList.[Ch]:
4007         * LColor.[Ch]:
4008         * LyXAction.C:
4009         * Makefile.am:
4010         * MenuBackend.[Ch]:
4011         * bufferparams.[Ch]:
4012         * factory.C:
4013         * lfuns.h:
4014         * lyxfunc.C:
4015         * text3.C: implements the 'branch inset'
4016         idea. This allows the output of various versions of a document
4017         from a single source version, selectively outputing or suppressing
4018         output of parts of the text.
4019         This implementation contains a 'branch list editor' in a separate
4020         tab of the document settings dialog. Branches are user definable
4021         and have a "display colour" to distinguish them on-screen.
4022
4023         ColorHandler was somewhat cleaned up.
4024         (1) make possible a dynamically growing LColor list by allowing
4025         the graphic context cache to grow along (vector);
4026         (2) eliminate an IMHO unnecessary step in colour allocation.
4027
4028 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4029
4030         * BufferView_pimpl.C: compile fix
4031
4032 2003-08-15  André Pönitz  <poenitz@gmx.net>
4033
4034         * rowpainter.C: remove extra metrics calls
4035
4036         * lyxtext.h: merge the two constructors into a single one,
4037           pass reference to owner's par list
4038
4039         * BufferView_pimpl.C:
4040         * text.C:
4041         * text2.C: adjust
4042
4043 2003-08-15  André Pönitz  <poenitz@gmx.net>
4044
4045         * lyxrow_funcs.[Ch]:
4046         * lyxtext.h:
4047         * paragraph.h:
4048         * paragraph_funcs.C:
4049         * rowpainter.C:
4050         * text.C:
4051         * text2.C:
4052         * text3.C:
4053         * text_funcs.C: split LyXText::rowlist_ into individual
4054         Paragraph::rows_ chunks
4055
4056         * BufferView.[Ch]:
4057         * BufferView_pimpl.[Ch]:
4058         * lyxfind.C:
4059         * lyxtext.h:
4060         * text3.C: remove toggleSelection()
4061
4062 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4063
4064         * bufferlist.C: beautify two alerts (shorter text of buttons)
4065         * buffer.C: Remove redundant ' ' from message
4066         * tabular.h:
4067         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4068         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4069         rename VALIGN_CENTER to VALIGN_MIDDLE
4070
4071 2003-08-11  André Pönitz  <poenitz@gmx.net>
4072
4073         * lyxtext.h (getPar):
4074         * text.C: new function
4075
4076 2003-08-11  André Pönitz  <poenitz@gmx.net>
4077
4078         * Makefile.am:
4079         * tracer.[Ch]: remove unneeded files
4080
4081         * InsetList.[Ch]: remove resizeInsetsLyXText()
4082
4083         * lyxtext.h:
4084         * text.C:
4085         * text2.C:
4086         * text3.C: merge insertParagraphs() and appendParagraph()
4087         remove breakAgain(), update()
4088
4089         * BufferView_pimpl.[Ch]:
4090         * bufferview_funcs.[Ch]:
4091         * lyxfunc.C:
4092         * paragraph.[Ch]:
4093         * rowpainter.C:
4094         * tabular.C: adjust after text & InsetList changes.
4095
4096 2003-08-08  André Pönitz  <poenitz@gmx.net>
4097
4098         * text.C (insertChar, backspace): replace rowlist fiddling
4099         with rebreak of full par
4100
4101         * lyxtext.h:
4102         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4103         checkParagraph, updateInset): removed
4104
4105 2003-08-07  André Pönitz  <poenitz@gmx.net>
4106
4107         * paragraph.C:
4108         * text3.C: merge some LFUN handlers, remove dead code
4109
4110 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4111
4112         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4113
4114 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4115
4116         * text2.C (DEPM): fix part of bug 1255 and 1256
4117
4118 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4119
4120         * BufferView_pimpl.C (workAreaDispatch): change to use
4121         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4122         that are no mouse related.
4123
4124 2003-08-05  André Pönitz  <poenitz@gmx.net>
4125
4126         * BufferView.[Ch]:
4127         * BufferView_pimpl.[Ch]:
4128         * bufferview_funcs.C:
4129         * text2.C:
4130         * text3.C: rip out "deep update"
4131
4132         * textcursor.[Ch] (last_sel_cursor): remove unused member
4133
4134 2003-08-04  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.[Ch]:
4137         * BufferView_pimpl.[Ch]:
4138         * ParagraphParameters.C:
4139         * bufferview_funcs.C:
4140         * lyx_cb.C:
4141         * lyxfind.C:
4142         * lyxfunc.C:
4143         * text.C:
4144         * text2.C:
4145         * text3.C: replace "complicated" BufferView::update(...) calls with
4146         simpler ones.
4147
4148         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4149
4150 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4151
4152         * Makefile.am (lyx_SOURCES): add paper.h
4153
4154 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4155
4156         * Makefile.am: move things around so that both lyx-qt and
4157         lyx-xforms can be built (according to --with-frontend). Then lyx
4158         is a symbolic link to lyx-[firstfrontend]
4159
4160 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4161
4162         * Always use std::endl with lyxerr
4163
4164 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4165
4166         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4167
4168 2003-08-01  André Pönitz  <poenitz@gmx.net>
4169
4170         * BufferView.[Ch]:
4171         * BufferView_pimpl.[Ch]:
4172         * lyxfunc.C:
4173         * text3.C: merge BufferView::repaint() and BufferView::update()
4174
4175 2003-08-01  José Matos  <jamatos@lyx.org>
4176
4177         * buffer.[Ch]: file_format is no longer a buffer data element.
4178
4179 2003-08-01  André Pönitz  <poenitz@gmx.net>
4180
4181         * BufferView.C:
4182         * lyxtext.h:
4183         * text.C:
4184         * text2.C: make redoParagraph more independent of current cursor
4185
4186         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4187         * text.C:
4188         * text2.C: remove unneeded members
4189
4190 2003-07-30  André Pönitz  <poenitz@gmx.net>
4191
4192         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4193
4194         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4195           create a single function...
4196
4197         * paragraph_funcs.C (moveItem): ... here.
4198
4199         * text.C:
4200           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4201
4202 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4203
4204         * LColor.[Ch]: Add comment and greyedout logical colors.
4205
4206 2003-07-30  André Pönitz  <poenitz@gmx.net>
4207
4208         * tabular.C: don't use Assert too heavily. This crashes where it
4209           shouldn't
4210
4211 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4214         is disabled (bug 1232)
4215
4216 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4217
4218         * factory.C: limited 'arg' scope
4219
4220 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4221
4222         * factory.C: fixed Note submenu issues
4223
4224 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4225
4226         * factory.C: submenu for Note/Comment/Greyedout
4227
4228 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4229
4230         * lyx_main.C (LyX):
4231         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4232
4233 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4234
4235         * LaTeXFeatures.C:
4236         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4237         greyedout. Patch provided by Jürgen Spitzmüller.
4238
4239 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4240
4241         * kbmap.C (read): fix error message when reading bind files
4242
4243 2003-07-29  Angus Leeming  <leeming@lyx.org>
4244
4245         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4246         certainly does not do what it purports to do. I am doing it, and
4247         us, a favour by killing it.
4248
4249 2003-07-28  José Matos  <jamatos@lyx.org>
4250
4251         * buffer.C (readBody, do_writeFile):
4252         * paragraph.C(readParagraph): \end_document replaces \the_end.
4253
4254 2003-07-29  André Pönitz  <poenitz@gmx.net>
4255
4256         * BufferView.[Ch]:
4257         * BufferView_pimpl.[Ch]:
4258         * lyxfunc.C:
4259         * text2.C:
4260         * text3.C:
4261         * textcursor.[Ch]: remove toggleToggle & Co
4262
4263 2003-07-28  José Matos  <jamatos@fep.up.pt>
4264
4265         * buffer.C (readParagraph):
4266         * params_func (readParToken, readParagraph):
4267         * paragraph.C (write): \layout -> \begin_layout.
4268
4269 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * lyxlex_pimpl.C (setFile): clean up slightly.
4272
4273         * bufferparams.h: add compressed var
4274
4275         * buffer_funcs.C (readFile): adjust for LyXLex change
4276         (newFile): ditto + simplify
4277
4278         * buffer.C (writeFile): handle writing of compressed files
4279
4280         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4281         Check if the file is compressed and set a bufferparm if so.
4282
4283         * Makefile.am (lyx_LDADD): remove explicit -lz
4284
4285 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4286
4287         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4288         makeDocBookFile): put the real LyX version in the first line of
4289         the file
4290
4291         * version.h:
4292         * version.C.in: remove lyx_docversion
4293
4294         * tabular.C (write_attribute): add a template-based version to
4295         write enums properly
4296
4297 2003-07-28  André Pönitz  <poenitz@gmx.net>
4298
4299         * lyxtext.h:
4300         * text.C:
4301         * text2.C:
4302         * text3.C: use doubles again for x-coordinates. They are needed.
4303
4304 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * messages.C (getLocaleDir): use lyx_localedir()
4307
4308         * lyxlex_pimpl.C (setFile): compress stuff
4309
4310         * buffer.C (writeFile): add some compression stuff
4311         (do_writeFile): new func, dont call expliti close... will this
4312         breake anything?
4313
4314         * Makefile.am (lyx_LDADD): add -lz
4315
4316 2003-07-28  José Matos  <jamatos@fep.up.pt>
4317
4318         * buffer.C: increment file format.
4319         * paragraph_funcs (readParagraph, readParToken):
4320         * paragraph.C (readParagraph): add \end_layout.
4321
4322 2003-07-27  Angus Leeming  <leeming@lyx.org>
4323
4324         * Makefile.am: remove special casing for configure-time setting of
4325         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4326
4327         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4328         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4329
4330 2003-07-26  André Pönitz  <poenitz@gmx.net>
4331
4332         * paragraph_func.[Ch]:
4333         * paragraph.C (realizeFont): inline it whereever it is used
4334
4335         * rowpainter.C:
4336         * text.C:
4337         * text2.C:
4338         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4339
4340
4341 2003-07-26  André Pönitz  <poenitz@gmx.net>
4342
4343         *       lyxtext.h:
4344         * text.C:
4345         * text2.C: get rid of LyXText::need_break_row
4346
4347 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * toc.[Ch]: put namespace toc inside namespace lyx
4350
4351         * MenuBackend.C (expandToc2): adjust for lyx::toc
4352         (expandToc): ditto
4353
4354         * lyxfunc.C (dispatch): adjust for lyx::find
4355
4356         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4357         lyx::find instead. Reorganize a bit.
4358         (LyXReplace): rename to replace
4359         (LyXFind): rename to find
4360
4361         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4362         (dispatch): ditto
4363
4364 2003-07-26  André Pönitz  <poenitz@gmx.net>
4365
4366         * text.C (setHeightOfRow): restrict scope of temporary variable
4367
4368         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4369           code (never has been used?)
4370
4371 2003-07-27  Asger Alstrup  <alstrup@local>
4372
4373         * text.C (fill): Optimise algorithm to exploit that we can reuse
4374         the LyXFont for many characters.
4375         (setHeightOfRow): Same thing.
4376         (rowBreakPoint): Same thing.
4377
4378 2003-07-26  Asger Alstrup  <alstrup@local>
4379
4380         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4381
4382         * text.C (singleWidth): Spurious font copying in hot-spot
4383         singleWidth avoided. Reorder tests for arabic for efficiency.
4384
4385         * text.C (fill): handle empty paragraphs better.
4386
4387 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4388
4389         * ispell.C:
4390         * encoding.h: add includes
4391
4392         * lyxrc.C: remove reading of bind files
4393
4394         * lyx_main.C (init): setup bindings and menus only if we have a
4395         gui.
4396
4397         * kbmap.C (read): new method. Do the actual reading of bind
4398         files.
4399
4400         * converter.C (dvipdfm_options):
4401         * bufferparams.C:
4402         * lyxrc.C (read):
4403         (output): adapt PAPER_* enums.
4404
4405         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4406
4407         * bufferparams.h: remove paper-related enums from there
4408
4409         * paper.h: New file. A trivial header file to hold paper-related
4410         enums. It should later expand to contain many paper-related
4411         horrors access.
4412
4413         * lyxrc.C: declare extern displayTranslator
4414
4415 2003-07-27  José Matos  <jamatos@fep.up.pt>
4416
4417         * tabular.[Ch] (linuxdoc): add support for tables and figures
4418         (linuxdoc).
4419
4420 2003-07-27  José Matos  <jamatos@fep.up.pt>
4421
4422         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4423         consistency in both functions.
4424         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4425
4426 2003-07-26  Asger Alstrup  <alstrup@local>
4427
4428         * rowpainter.C (paintRows): Change algorithm to work directly on
4429         the insets rather than asking every character in the document
4430         whether its an inset.
4431
4432 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * buffer.C (openFileWrite): factorize some code
4435
4436 2003-07-26  Angus Leeming  <leeming@lyx.org>
4437
4438         * lyx_cb.C:
4439         * lyx_main.[Ch]: replace occurances of system_tempdir with
4440         os::getTmpDir().
4441
4442 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * rename Inset to InsetOld
4445
4446 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4447
4448         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4449         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4450         which I think is a bit clearer. EDIT is gone, since it was
4451         premature optimisation, and broken for mathed anyway.
4452         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4453         with cursor positioning in insets as well (math insets still do not
4454         work, but that's a different story anyway.) It mysteriously
4455         crashes sometimes with undo in the first paragraph, but I'm fairly
4456         confident that this is a compiler bug.
4457
4458 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * paragraph.C (Paragraph): adjust for new clone return type
4461         (operator==): ditto
4462         (copyIntoMinibuffer): ditto
4463
4464 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4465
4466         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4467         by not having a special case, and always doing a full rebreak of
4468         the document after undo.
4469
4470 2003-07-23  Angus Leeming  <leeming@lyx.org>
4471
4472         * factory.C (createInset): InsetExternal::setParams now takes a
4473         Buffer const * arg.
4474
4475 2003-07-23  Angus Leeming  <leeming@lyx.org>
4476
4477         * factory.C (createInset): changed interface to the external and
4478         graphics mailers' string2params functions.
4479
4480 2003-07-23  Angus Leeming  <leeming@lyx.org>
4481
4482         * factory.C (createInset): pass a
4483         Buffer const * parameter to InsetExternalMailer's string2params.
4484
4485 2003-07-22  John Levon  <levon@movementarian.org>
4486
4487         * Thesaurus.h: include the right aiksaurus header
4488
4489 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4490
4491         * MenuBackend.C (expand): check menu shortcuts unconditionally
4492
4493 2003-07-21  Angus Leeming  <leeming@lyx.org>
4494
4495         * factory.C (createInset): pass a
4496         buffer_path parameter to InsetGraphicsMailer's string2params.
4497
4498 2003-07-21  Angus Leeming  <leeming@lyx.org>
4499
4500         * BufferView_pimpl.C (buffer):
4501         * buffer.C (d-tor):
4502         * lyx_main.C (LyX):
4503         * lyxfunc.C (dispatch):
4504         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4505         rather than the grfx shortcut.
4506
4507 2003-07-21  André Pönitz  <poenitz@gmx.net>
4508
4509         * rowpainter.C: remove unused variables
4510
4511         * tabular_funcs.C:
4512         * tabular_funcs.h: move to tabular.C
4513         * Makefile.am: adjust
4514
4515         * tabular.[Ch]: basic optical cleaning
4516
4517         * author.h: pass references, not values
4518
4519 2003-07-18  André Pönitz  <poenitz@gmx.net>
4520
4521         * lyxtext.h:
4522         * metricsinfo.C:
4523         * metricsinfo.h:
4524         * rowpainter.C:
4525         * text.C:
4526         * text2.C:
4527         * text3.C: two-phase drawing for InsetText and InsetTabular
4528         some float -> int changes.
4529
4530 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * lyx_main.C: fix the fix
4533
4534 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4535
4536         * lyx_main.C: fix a crash in batch mode if no files specified
4537         * converter.C: ws
4538
4539 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * format.[Ch] (papersize): moved to BufferParams
4542         * converter.[Ch] (dvips_options): moved to BufferParams
4543         (dvipdfm_options): moved to anon namespace
4544         * bufferparams.[Ch]: added above functions.
4545
4546 2003-07-17  André Pönitz  <poenitz@gmx.net>
4547
4548         * lyxtext.h:
4549         * rowpainter.C:
4550         * text2.C: don't call inset->update() anymore
4551
4552         * metricsinfo.[Ch]: add convenience constructor
4553
4554 2003-07-16  André Pönitz  <poenitz@gmx.net>
4555
4556         * lyxcursor.[Ch]:
4557         * lyxfunc.[Ch]:
4558         * text.C:
4559         * text2.C: replace the LyXCursor::irow_ member with
4560          on-demand computation of the value
4561
4562 2003-07-16  John Levon  <levon@movementarian.org>
4563
4564         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4565
4566 2003-07-15  André Pönitz  <poenitz@gmx.net>
4567
4568         * text.C:
4569         * text2.C: remove no more needed refresh_row
4570
4571 2003-07-15  André Pönitz  <poenitz@gmx.net>
4572
4573         * lyxtext.h:
4574         * rowpainter.C:
4575         * text2.C:
4576         * text3.C: refresh_status tristate -> need_update bool
4577
4578 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * lyxtext.h (init): remove reinit argument (act as if always true)
4581         * text2.C: adjust to that
4582
4583 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4584
4585         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4586         * text3.C: use it to delete selections in some cases
4587         (bugs 441, 673, 702, 954).
4588
4589 2003-07-14  André Pönitz  <poenitz@gmx.net>
4590
4591         * rowpainter.[Ch]: reduce interface
4592
4593 2003-07-14  André Pönitz  <poenitz@gmx.net>
4594
4595         * BufferView_pimpl.C:
4596         * text2.C: adjust after removing unused BufferView * argument
4597
4598 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * text2.C (init): fix a crash fired on resize
4601
4602 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * buffer.[Ch]: added new closing signal
4605         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4606         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4607         BufferView::Pimpl via the closing the signal
4608
4609 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * buffer.[Ch]: take out all bv-related from buffer
4612         * BufferView.C:
4613         * BufferView_pimpl.[Ch]: connect to new signals
4614         * CutAndPaste.C: removed useless asserts
4615         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4616         * lyxvc.[Ch]:
4617         * vc-backend.[Ch]:
4618         * lyxfunc.C: moved view-related funciontality from vc here
4619         * paragraph.C: removed outdated comments
4620         * text.C: ws
4621
4622 2003-07-10  André Pönitz  <poenitz@gmx.net>
4623
4624         * BufferView_pimpl.C:
4625         * tabular.h:
4626         * tabular_funcs.C:
4627         * text.C:
4628         * text2.C: remove InsetText::InnerCache, clean up consequences
4629
4630 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4631
4632         * ispell.C: fix two typos in error messages
4633
4634 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4635
4636         * Extend Note inset to other forms of annotation like Comment
4637         and Greyedout. Right button click gives dialog.
4638
4639         Files modified or added (+):
4640
4641         * insetnote.[Ch]
4642         * FormNote.[Ch]      +
4643         * ControlNote.[Ch]   +
4644         * form_note.fd       +
4645         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4646         frontends/controllers
4647         * xforms/Dialogs.C
4648         * factory.C
4649
4650 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4651
4652         * aspell.C: add missing namespace lyx::support
4653
4654 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * BufferView.[Ch] (newFile): Add
4657         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4658         * LaTeX.[Ch] (message): added this signal and use it
4659         * buffer.[Ch] (busy, message): added these signals and use them
4660         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4661         * converter.C:
4662         * exporter.C:
4663         * format.C:
4664         * importer.C: use buffer signals instead of direct bv calling
4665         * lyx_cb.[Ch] (ShowMessage): removed
4666         * lyx_main.C:
4667         * lyxfunc.C:
4668         * paragraph_funcs.C:
4669         * text2.C: use buffer signals
4670
4671 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * introduce namespace lyx::graphics
4674
4675 2003-07-02  André Pönitz  <poenitz@gmx.net>
4676
4677         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4678
4679 2003-07-01  André Pönitz  <poenitz@gmx.net>
4680
4681         * text.C:
4682         * text2.C:
4683         * text3.C:
4684         * text_funcs.[Ch]:
4685         * textcursor.h:
4686         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4687           text*.C to text_func.C
4688
4689 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * introduce namespace lyx::support
4692
4693 2003-06-30  André Pönitz  <poenitz@gmx.net>
4694
4695         * Chktex.C:
4696         * funcrequest.C:
4697         * lyxtext.h:
4698         * text.C: re-enable --with-included-string
4699
4700 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * textcursor.C: add <config.h>
4703
4704         * text.C (getWord): remove const from word_location arg
4705
4706         * lyxvc.C (getLogFile): fix const type order
4707
4708         * lyxtext.h: remove const from word_location arg, add arg name
4709
4710         * lyxlayout.h: currect type on labeltype.
4711
4712         * importer.C: correct \file
4713
4714         * converter.C (intToFormat): use std:: on ret val, ws changes
4715
4716         * bufferlist.h: correct \file
4717
4718         * buffer.C (makeLinuxDocFile): fix const type order
4719         (makeDocBookFile): ditto
4720         (fillWithBibKeys): use std:: on stdlib args.
4721
4722         * CutAndPaste.C: fix authors.
4723         (availableSelections): use std:: on return vector
4724
4725 2003-06-27  André Pönitz  <poenitz@gmx.net>
4726
4727         * BufferView_pimpl.C:
4728         * bufferview_funcs.C:
4729         * lyxcursor.C:
4730         * lyxcursor.h:
4731         * lyxfunc.C:
4732         * lyxtext.h:
4733         * rowpainter.C:
4734         * text.C:
4735         * text2.C:
4736         * text3.C: remove LyXCursor::row_ member
4737
4738         * lyxtext.h:
4739         * text.C: rename fullRebreak() to partialRebreak() and implement
4740           a fullRebreak() that really bereks fully
4741
4742         * textcursor.h: new struct for cursor-related data
4743
4744 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4745
4746         * lyx_main.C (LyX): get full path of document loaded on the
4747         command line
4748
4749 2003-06-26  André Pönitz  <poenitz@gmx.net>
4750
4751         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4752           remove unused/broken operator>,<,>=.
4753
4754         *       text.C: remove only use of broken operator<= in an Assert().
4755
4756 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4757
4758         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4759         moved errorlist_.clear to showErrorList
4760
4761 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4762
4763         * converter.C (scanLog, runLaTeX):
4764         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4765         move the bv->showErrorList call to the callers
4766         * lyxfunc.C: i.e. here...
4767         * text2.C: and here
4768         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4769         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4770         namespace, the second to...
4771         * buffer_funcs (BufferFormat, parseErrors): added
4772         * errorlist.C (ErrorList(TeXErrors const &)): removed
4773
4774 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4775
4776         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4777
4778 2003-06-24  "Garst R. Reese" <reese@isn.net>
4779
4780         * debug.C: fix typo
4781
4782 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4783
4784         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4785
4786         * version.C.in: change docversion to 1.4
4787
4788 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * buffer.C: fix a bug just introduced
4791
4792 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * buffer.[Ch]: added the parseError signal and use it, removed
4795         sgmlError
4796         * BufferView.[Ch] (addError): moved to ...
4797         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4798         to the Buffer::parseError signal to catch (guess what) parse errors
4799         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4800
4801 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4804         ability to create a buffer and to return an existing one from
4805         the list. Moved these functions to...
4806         * buffer_funcs.[Ch]: added
4807         * BufferView.[Ch] (loadLyXFile): added
4808         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4809         job removed from bufferlist::loadLyXFile.
4810         * buffer.C (setReadOnly): make it work without view
4811         (i.e added an if (users))
4812
4813 2003-06-19  Angus Leeming  <leeming@lyx.org>
4814
4815         * lfuns.h:
4816         * LyXAction.C (init):
4817         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4818         with LFUN_DIALOG_SHOW <name> <data>.
4819
4820 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4821
4822         * CutAndPaste.C (availableSelections): small compilation fix for
4823         ancient (gcc 2.9x) compilers
4824
4825 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * text3.C (cursorNext): add tmp var
4828
4829         * text2.C (updateCounters): for function calling out of for clause
4830         (replaceSelectionWithString): ditto
4831         (insertStringAsParagraphs): ditto
4832         (getColumnNearX): add tmp var
4833         (setCursorFromCoordinates): add tmp var
4834         (cursorDownParagraph): add tmp var
4835         (deleteEmptyParagraphMechanism): add tmp var
4836
4837         * text.C (insertChar): add tmp var
4838
4839         * rowpainter.C (paintDepthBar): add tmp var
4840
4841         * CutAndPaste.C (availableSelections): potentially check all
4842         paragraphs in a cut to fill the shown strings.
4843
4844 2003-06-18  André Pönitz  <poenitz@gmx.net>
4845
4846         * kbmap.[Ch]: use vector<> instead of list<>
4847
4848 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4849
4850         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4851         pasteSelection with index
4852
4853         * text2.C (pasteSelection): modify, call pasteSelection with index
4854
4855         * paragraph.C (asString): reimplement version with no interval to
4856         call the one with interval.
4857
4858         * lyxtext.h: add index arg to pasteSelection
4859
4860         * MenuBackend.C (MenuItem): handle PasteRecent
4861         (Menu::read::Menutags): add md_pasterecent
4862         (read): handle it
4863         (expandPasteRecent): new function
4864         (expand): use it
4865
4866         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4867
4868         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4869         the limited stack
4870         (availableSelections): new function
4871
4872 2003-06-17  Angus Leeming  <leeming@lyx.org>
4873
4874         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4875
4876 2003-06-17  Angus Leeming  <leeming@lyx.org>
4877
4878         * lfuns.h:
4879         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4880
4881         * lyxfunc.C (dispatch): invoke it.
4882
4883 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4884
4885         * iterators.C (operator++, ParPosition): reintroduce some
4886         const_cast for the benefit of older compilers.
4887
4888 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4889
4890         * text3.C (dispatch): do not modify clipboard when doing
4891         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4892         LFUN_DELETE_SKIP on a selection selection
4893
4894 2003-06-16  André Pönitz  <poenitz@gmx.net>
4895
4896         * BufferView.C:
4897         * buffer.C:
4898         * buffer.h:
4899         * paragraph.C:
4900         * tabular.[Ch]: IU of clone() and getLabelList();
4901
4902 2003-06-13  André Pönitz  <poenitz@gmx.net>
4903
4904         * tabular.h: compactification
4905
4906 2003-06-12  André Pönitz  <poenitz@gmx.net>
4907
4908         * tabular.C:
4909         * tabular.h:
4910         * tabular_funcs.h: some renaming plus whitespace
4911
4912 2003-06-12  André Pönitz  <poenitz@gmx.net>
4913
4914         * BufferView.C:
4915         * BufferView_pimpl.C:
4916         * CutAndPaste.C:
4917         * buffer.C:
4918         * iterators.[Ch]:
4919         * lyxfunc.C:
4920         * text.C:
4921         * toc.C: Return a Paragraph & for ParIterator::operator*()
4922
4923 2003-06-11  John Levon  <levon@movementarian.org>
4924
4925         * lyx_main.C:
4926         * ToolbarBackend.h:
4927         * ToolbarBackend.C: add "Toolbars" section and
4928         put the flags there
4929
4930 2003-06-10  Angus Leeming  <leeming@lyx.org>
4931
4932         * lfuns.h:
4933         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4934
4935         * lyxfunc.C (dispatch): invoke it.
4936
4937 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * main.C: protect <ios> with HAVE_IOS
4940         (main): protect sync_with_stdio with HAVE_IOS
4941
4942 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4943
4944         * text2.C (cutSelection): adjust
4945         (pasteSelection): adjust
4946
4947         * messages.C: handle get of empty string
4948
4949         * main.C (main): use sync_with_stdio(false)
4950
4951         * lyxfunc.C (dispatch): adjust
4952
4953         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4954         (WriteAs): remove unneeded BufferView arg.
4955
4956         * bufferparams.h: use correct types on papersize, papersize2 and
4957         paperpackage.
4958
4959         * bufferparams.C (readToken): adjust for type
4960         (writeLaTeX): add missing cases to switch.
4961
4962         * bufferlist.C (quitWriteBuffer): adjust
4963         (close): adjust
4964
4965         * buffer.C (asciiParagraph): remove some commented code.
4966
4967         * CutAndPaste.C: remove current_view extern variable.
4968         (cutSelection): add BufferParams arg.
4969         (eraseSelection): add BufferParams arg.
4970         (pasteSelection): add Buffer const & arg
4971
4972 2003-06-07  John Levon  <levon@movementarian.org>
4973
4974         * buffer.C:
4975         * paragraph_funcs.C:
4976         * paragraph_pimpl.C:
4977         * text.C:
4978         * text2.C:
4979         * paragraph.h:
4980         * paragraph.C: allow InsetERT to freely space lines,
4981         and some consolidation of code
4982
4983 2003-06-06  José Matos  <jamatos@fep.up.pt>
4984
4985         * buffer.C (makeDocBookFile): fix bug #821
4986
4987 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4990
4991 2003-06-04  Angus Leeming  <leeming@lyx.org>
4992
4993         * buffer.C: bump format to 224.
4994
4995 2003-06-05  André Pönitz  <poenitz@gmx.net>
4996
4997         * text2.C (redoParagraphs): remove two const_cast<>
4998
4999 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5000
5001         * ParagraphList.h: remove last remnants of NO_STD_LIST
5002
5003 2003-06-03  Angus Leeming  <leeming@lyx.org>
5004
5005         * factory.C (createInset): small change to the way InsetExternal's params
5006         are set.
5007
5008 2003-06-04  André Pönitz  <poenitz@gmx.net>
5009
5010         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5011
5012         * paragraph_pimpl.h:
5013         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5014
5015         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5016
5017         * undo_funcs.C: make some simple cases of undo work again
5018
5019 2003-06-03  John Levon  <levon@movementarian.org>
5020
5021         * ispell.C: HPUX doesn't have sys/select.h
5022         (from Albert Chin)
5023
5024 2003-06-03  John Levon  <levon@movementarian.org>
5025
5026         * CutAndPaste.C: update tabular and include inset
5027         buffer references
5028
5029         * buffer.h:
5030         * paragraph.h:
5031         * paragraph.C: remove owningBuffer(), don't pass Buffer
5032         to clone()
5033
5034         * factory.C: insetGraphicsParams changed
5035
5036 2003-06-02  John Levon  <levon@movementarian.org>
5037
5038         * LyXAction.C:
5039         * factory.C:
5040         * lfuns.h:
5041         * lyxfunc.C:
5042         * text3.C: remove insetparent
5043
5044 2003-06-02  John Levon  <levon@movementarian.org>
5045
5046         * buffer.h:
5047         * buffer.C: fix inset_iterator.end(), move out of line
5048         (bug 1149)
5049
5050 2003-06-01  John Levon  <levon@movementarian.org>
5051
5052         * text3.C: use a proper cut/paste when doing inset
5053         insert (from Jürgen Spitzmüller)
5054
5055 2003-06-01  John Levon  <levon@movementarian.org>
5056
5057         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5058
5059 2003-05-30  André Pönitz  <poenitz@gmx.net>
5060
5061         * rowpainter.C: unify second drawing phase
5062
5063 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * trans_mgr.C: remove one case of current_view
5066
5067         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5068
5069         * paragraph_funcs.h: remove paragraph.h include
5070
5071         * paragraph.h: delete NO_STD_LIST stuff
5072
5073         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5074
5075         * buffer.h: remove paragraph.h include
5076
5077         * ParagraphList.C: delete file
5078
5079         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5080
5081         * toc.C (getTocList): adjust
5082
5083         * paragraph_pimpl.C (validate): adjust
5084
5085         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5086
5087         * paragraph.C (Paragraph): adjust
5088         (getPositionOfInset): use const_iterator, adjust
5089         (bibitem): use const_iterator, adjust
5090         (setInsetOwner): adjust
5091
5092         * iterators.C (operator++): adjust
5093
5094         * InsetList.[Ch]: Replace selfmade iterator with standard
5095         vector::iterator also introduce const_iterator. Remove getPos,
5096         getInset and setInset from InsetTable. Adjust accordingly.
5097
5098         * BufferView.C (lockInset): adjust
5099         (ChangeInsets): adjust
5100
5101         * tabular.[Ch]: delete commented same_id functions
5102
5103 2003-05-28  John Levon  <levon@movementarian.org>
5104
5105         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5106
5107 2003-05-28  André Pönitz  <poenitz@gmx.net>
5108
5109         * metricsinfo.[Ch]: remove 'fullredraw' member
5110
5111 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5112
5113         * lyxtextclass.C (operator): remove caching.
5114
5115 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * text3.C: adjust
5118
5119         * text2.C (cursorBottom): adjust
5120         (setCounter): use ParagraphList::find, adjust
5121
5122         * text.C (workWidth): use ParagraphList::find, adjust
5123
5124         * lyxcursor.C (LyXCursor): adjust
5125
5126         * buffer.C (inset_iterator): adjust
5127
5128         * ParagraphList.h: make iterator(value_type) private, make
5129         ParagraphList a friend of iterator.
5130
5131         * ParagraphList.C (find): new function
5132
5133         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5134
5135 2003-05-27  André Pönitz  <poenitz@gmx.net>
5136
5137         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5138
5139 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5140
5141         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5142
5143 2003-05-26  John Levon  <levon@movementarian.org>
5144
5145         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5146
5147 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * remove same_id from function signatures, adjust.
5150
5151 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5154
5155         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5156
5157         * paragraph.C (Paragraph): get rid of same_ids parameter
5158
5159         * ParagraphList.C (insert): adjust
5160         (push_back): adjust
5161
5162 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * paragraph_funcs.C (breakParagraph): adjust
5165         (breakParagraphConservative): adjust
5166
5167         * buffer.C (readParagraph): adjust
5168
5169         * ParagraphList.C (insert): take a reference instead of a pointer
5170         (insert): adjust
5171
5172         * paragraph.[Ch] (id): new function
5173
5174         * bufferlist.C (newFile): adjust
5175
5176         * ParagraphList.C (ParagraphList): adjust
5177         (assign): adjust
5178         (push_back): take a reference instead of a pointer.
5179
5180         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5181
5182         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5183         instead.
5184
5185         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5186         set else use old code.
5187
5188         * ParagraphList.C: remove all NO_NEXT code and only compile this
5189         code of NO_STD_LIST is set.
5190
5191 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * BufferView_pimpl.C:
5194         * TextCache.C:
5195         * TextCache.h:
5196         * bufferlist.C:
5197         * errorlist.h:
5198         * format.C:
5199         * format.h:
5200         * graph.C:
5201         * lyxfunc.C:
5202         * lyxrc.C:
5203         * graphics/GraphicsConverter.C:
5204         * graphics/PreviewLoader.C: header adjustment
5205
5206 2003-05-23  Angus Leeming  <leeming@lyx.org>
5207
5208         * LaTeXFeatures.[Ch] (useBabel): new method.
5209         * bufferparams.C (writeLaTeX): use it.
5210
5211 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * ParagraphList.h (set): remove unused function.
5214
5215 2003-05-23  André Pönitz  <poenitz@gmx.net>
5216
5217         * BufferView.C:
5218         * BufferView_pimpl.C:
5219         * buffer.C:
5220         * buffer.h:
5221         * lyxfunc.C:
5222         * undo_funcs.C: setUndo reworked
5223
5224         * iterators.[Ch]: add access to topmost ParagraphList
5225
5226         * lyxtext.[Ch] (workWidth): add a const
5227
5228 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5229
5230         * texrow.[Ch] (increasePos): remove function
5231         * exporter.C (export): removed unused var and outdated comment
5232
5233 2003-05-23  Angus Leeming  <leeming@lyx.org>
5234
5235         * latexrunparams.h: rename fragile as moving_arg.
5236         * paragraph.C (simpleTeXOnePar): ditto.
5237         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5238
5239 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5242         (createUndo): ditto
5243         (textUndoOrRedo): comment out a currently unused var.
5244
5245         * paragraph.h (NO_NEXT): enable NO_NEXT
5246
5247         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5248
5249         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5250
5251         * exporter.C (Export): adjust for removeAutoInsets removal.
5252
5253         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5254
5255         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5256
5257         * BufferView.[Ch] (removeAutoInsets): delete function
5258
5259 2003-05-22  Angus Leeming  <leeming@lyx.org>
5260
5261         * latexrunparams.h: add a free_spacing variable.
5262
5263         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5264         to pass moving_arg, as the data is stored in runparams.fragile.
5265
5266         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5267         to Inset::latexOptional or to simpleTeXOnePar.
5268
5269         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5270         free_spacing arg to Inset::latexOptional.
5271
5272         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5273         free_spacing arg.
5274
5275 2003-05-22  Angus Leeming  <leeming@lyx.org>
5276
5277         * latexrunparams.h: add fragile and use_babel variables.
5278
5279         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5280         * buffer.C (makeLaTeXFile): store this returned value in
5281         runparams.use_babel, thus passing it to the inset::latex methods.
5282
5283         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5284         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5285
5286         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5287         longer has a fragile arg, as it is stored in runparams.fragile.
5288
5289         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5290         moving_arg parameter as the data is stored in runparams.fragile.
5291
5292         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5293         a fragile parameter as the data is stored in runparams.fragile.
5294
5295 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5298
5299 2003-05-22  Angus Leeming  <leeming@lyx.org>
5300
5301         * latexrunparams.h: add a 'bool nice' which defaults to false.
5302
5303         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5304         now encapsulated within runparams.
5305
5306         * bufferlist.C (updateIncludedTeXfiles):
5307         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5308
5309 2003-05-22  Angus Leeming  <leeming@lyx.org>
5310
5311         * latexrunparams.h: new file containing struct LatexRunParams.
5312         * Makefile.am: add new file.
5313
5314         * LaTeX.[Ch] (c-tor, run):
5315         * buffer.[Ch] (makeLaTeXFile):
5316         * bufferlist.[Ch] (updateIncludedTeXfiles):
5317         * converter.C (convert, scanLog):
5318         * converter.[Ch] (runLaTeX):
5319         * exporter.C (Export):
5320         * paragraph.[Ch] (simpleTeXOnePar):
5321         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5322         * paragraph_funcs.[Ch] (latexParagraphs):
5323         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5324         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5325         pass around a LatexRunParams parameter.
5326
5327 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * paragraph.[Ch]: remove unused constructor
5330
5331         * ParagraphList.C (erase): new function, taking two iterators
5332
5333 2003-05-22  André Pönitz  <poenitz@gmx.net>
5334
5335         * undo_funcs.C: remove duplicated code
5336
5337         * iterator.[Ch]: operator=
5338
5339 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * tabular.C (SetMultiColumn): ws changes
5342
5343         * rowpainter.C (paintFirst): get rid of a ->previous
5344
5345         * lyx_cb.C (getPossibleLabel): parlist simplification
5346
5347         * BufferView.C (ChangeInsets): simplify slightly.
5348
5349 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5350
5351         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5352         * lfuns.h: new LFUN_SPACE
5353         * lyxfunc.C: protected space has a new lfun
5354         * paragraph_funcs.C: read new space insets
5355         * text3.C:
5356         * factory.C: handle new space insets
5357
5358 2003-05-22  André Pönitz  <poenitz@gmx.net>
5359
5360         * BufferView.C:
5361         * BufferView_pimpl.C:
5362         * buffer.[Ch]:
5363         * lyxfunc.C:
5364         * undo_funcs.C: return a ParIterator from getParFromID.
5365
5366         * iterators.[Ch]: add two const's
5367
5368 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * toc.C (getTocList): adjust
5371
5372         * iterators.[Ch]: rework for parlist
5373
5374         * buffer.C (par_iterator_begin): adjust
5375         (par_iterator_end): adjust
5376
5377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5378
5379         * BufferView.C (removeAutoInsets): adjust
5380         (ChangeInsets): adjust
5381
5382 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5383
5384         * text.C (top_y): fix bug 1110
5385
5386 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * errorlist.[Ch]: added
5389         * buffer.C:
5390         * BufferView.[Ch]:
5391         * BufferView_pimpl.C:
5392         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5393         instead
5394
5395 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * Makefile.am: ensure that lyx is relinked upon changes to the
5398         various "convenience" libs.
5399
5400 2003-05-20  Angus Leeming  <leeming@lyx.org>
5401
5402         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5403         files are compiled in alphabetical order again.
5404
5405         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5406
5407 2003-05-19  Angus Leeming  <leeming@lyx.org>
5408
5409         * gettext.[Ch]: remove "char const * _(char const *)".
5410
5411 2003-05-19  André Pönitz  <poenitz@gmx.net>
5412
5413         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5414
5415         * Makefile.am:
5416         * BufferView.C:
5417         * DepTable.h:
5418         * LaTeXFeatures.C:
5419         * buffer.C:
5420         * lyxfont.C:
5421         * lyxlex.h:
5422         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5423
5424 2003-05-19  André Pönitz  <poenitz@gmx.net>
5425
5426         * buffer.C:
5427         * lyxlayout.[Ch]:
5428         * lyxtextclass.[Ch]:
5429         * paragraph.C:
5430         * paragraph_funcs.[Ch]:
5431         * text2.C:
5432         * text3.C: more insetenv work
5433
5434 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * ParagraphParameters.C (params2string): small bug fixed
5437
5438 2003-05-16  André Pönitz  <poenitz@gmx.net>
5439
5440         * debug.C:
5441         * bufferview_funcs.C: patch from Kornel Benko to prevent
5442           crash when _(...) is called twice in a statement
5443
5444 2003-05-16  André Pönitz  <poenitz@gmx.net>
5445
5446         * BufferView.C:
5447         * lyxfunc.C:
5448         * text.C:
5449         * text2.C:
5450         * text3.C:
5451         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5452
5453 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * lyx_main.C (init): remove spurious static_cast
5456
5457 2003-05-14  André Pönitz  <poenitz@gmx.net>
5458
5459         * BufferView.C: fix format string
5460
5461 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * BufferView.[Ch] (insertErrors): removed
5464         * BufferView.[Ch] (showErrorList): added
5465         * buffer.C (runChkTeX):
5466         * converter.C (scanLog): call showErrorList instead of inserterrors
5467
5468 2003-05-13  André Pönitz  <poenitz@gmx.net>
5469
5470         * BufferView_pimpl.C:
5471         * buffer.C:
5472         * bufferview_func.C:
5473         * MenuBackend.C:
5474         * lyxfunc.C:
5475         * lyxrc.C:
5476         * tex-accent.C:
5477         * text3.C:
5478         * toc.C:
5479         * tabular_funcs.h: tostr() from its own header
5480
5481         * ParagraphParameters.C:
5482         * ToolbarBackend.C:
5483         * bufferparams.C:
5484         * format.C:
5485         * lyxlex_pimpl.C:
5486         * text3.C: STRCONV()
5487
5488 2003-05-12  André Pönitz  <poenitz@gmx.net>
5489
5490         * BufferView.C:
5491         * BufferView_pimpl.C:
5492         * CutAndPaste.C:
5493         * LaTeX.C:
5494         * LaTeXFeatures.C:
5495         * ParagraphParameters.C:
5496         * buffer.C:
5497         * bufferlist.C:
5498         * bufferparams.C:
5499         * bufferview_funcs.C:
5500         * converter.C:
5501         * counters.C:
5502         * debug.C:
5503         * exporter.C:
5504         * format.C:
5505         * importer.C:
5506         * lyx_cb.C:
5507         * lyx_main.C:
5508         * lyxfont.C:
5509         * lyxfunc.C:
5510         * lyxvc.C:
5511         * paragraph.C:
5512         * paragraph_funcs.C:
5513         * tabular.C:
5514         * tabular_funcs.C:
5515         * text2.C:
5516         * text3.C:  boost::format -> bformat  all over the place
5517
5518
5519 2003-05-09  André Pönitz  <poenitz@gmx.net>
5520
5521         * LColor.[Ch]: Pimpl the #include <map> away
5522
5523 2003-05-09  John Levon  <levon@movementarian.org>
5524
5525         * bufferlist.C: never remove emergency saves
5526
5527 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * Makefile.am: better lib building
5530
5531 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5534         instead.
5535         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5536         (simpleTeXSpecialChars): adjust
5537         (simpleTeXSpecialChars): adjust
5538         * paragraph.C (simpleTeXOnePar): adjust
5539         * buffer.C (makeLaTeXFile): adjust
5540
5541         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5542
5543         * text2.C (changeDepth): parlist cleanup
5544         (getColumnNearX): ditto
5545
5546         * rowpainter.C (getLabelFont): parlist cleanup
5547
5548         * bufferlist.C (newFile): parlist cleanup
5549
5550         * CutAndPaste.C (eraseSelection): parlist cleanup
5551
5552         * BufferView_pimpl.C (trackChanges): parlist cleanup
5553         (dispatch): ditto
5554
5555         * BufferView.C (lockInset): parlist cleanup.
5556         (ChangeInsets): ditto
5557
5558 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * CutAndPaste.h: Update file header.
5561
5562         * CutAndPaste.C: Update file header.
5563         Store the parts cut out of the Document in a limited_stack.
5564         (copySelection): adjust
5565         (pasteSelection): new function, takes the index in the limited stack.
5566         (nrOfParagraphs): adjust
5567         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5568         simplify error inset insertion.
5569         (checkPastePossible): adjust
5570
5571 2003-05-06  John Levon  <levon@movementarian.org>
5572
5573         * text2.C: don't cast wrap inset to float
5574
5575 2003-05-05  André Pönitz  <poenitz@gmx.net>
5576
5577         * iterator.C:
5578         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5579
5580         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5581           few naked Paragraph *.
5582
5583 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5584
5585         * bufferparams.C: Output warning if a document with missing
5586         TeX document class is loaded
5587         * exporter.C: Disable TeX exports if the document class is missing
5588         * lyxtextclass.C:
5589         * lyxtextclass.h:
5590         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5591         isTeXClassAvailable()
5592
5593 2003-05-03  John Levon  <levon@movementarian.org>
5594
5595         * BufferView.h:
5596         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5597         explicit cursor show/hide
5598
5599         * BufferView_pimpl.h:
5600         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5601         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5602
5603         * lyxfunc.C: hide cursor before dispatching.
5604
5605         * lyx_cb.C:
5606         * lyxfind.C:
5607         * text.C:
5608         * text3.C: remove explicit cursor hides
5609
5610 2003-05-02  André Pönitz  <poenitz@gmx.net>
5611
5612         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5613
5614         * undo_funcs.C:
5615         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5616           linked lists
5617
5618         * text2.C: tiny whitespace
5619
5620 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * undo_funcs.C: almost only ws changes.
5623
5624         * ParagraphList.C (splice): just return if pl is empty.
5625
5626 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * ParagraphList.C (splice): new function.
5629
5630         * CutAndPaste.C (pasteSelection): use it
5631
5632 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * CutAndPaste.C (pasteSelection): remove the last next and
5635         previous from this file.
5636
5637 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * CutAndPaste.C (pasteSelection): more clean up, user proper
5640         ParagraphList functions for pasteing.
5641
5642         * ParagraphList.C (insert): new function, three arg insert
5643
5644 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * ParagraphList.C (insert): new function, three arg insert
5647
5648         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5649         not on paragraphs.
5650
5651 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5654
5655 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5658
5659 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5662         (copySelection): clean up a bit.
5663         (pasteSelection): use make_pair
5664
5665         * ParagraphList.C (ParagraphList): implement copy constructor
5666         (operator=): implement, base on copy constructor.
5667         (assign): new func
5668
5669         * paragraph.C (erase): return a bool
5670
5671         * paragraph_pimpl.C (erasePos): remove function, move contents...
5672         (erase): ... here. Return a bool.
5673         (erase): call erase instead of erasePos.
5674
5675 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * ParagraphList.h: define PitPosPair
5678         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5679         ParagraphList, fix a bug on pasting multiple pars
5680         * text2.C: change interface to C&P
5681
5682 2003-04-30  André Pönitz  <poenitz@gmx.net>
5683
5684         * undo_func.C: revert part of yesterday's patch 2
5685
5686 2003-04-30  John Levon  <levon@movementarian.org>
5687
5688         * LColor.C: s/tabular/table/
5689
5690 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * text3.C (dispatch): do not convert iterator -> pointer
5693         * undo_funcs.C (setCursorParUndo): ditto
5694         * text_funcs.C (transposeChars): ditto
5695
5696         * text2.C (setLayout): ws changes only
5697
5698         * text.C (breakParagraph): do not convert iterator -> pointer
5699         (insertChar): ditto
5700         (acceptChange): ditto
5701         (rejectChange): ditto
5702         (changeCase): ditto
5703         (Delete): ditto
5704         (backspace): ditto
5705
5706         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5707         pointer
5708
5709 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5710
5711         * text3.C (gotoInset): YABG (yet another bad getChar)
5712
5713 2003-04-29  André Pönitz  <poenitz@gmx.net>
5714
5715         * paragraph.h: make operator= private unimplemented as long as
5716           it is unusable
5717
5718         * ParagraphList.C: whitespace
5719
5720         * paragraph.[Ch]:
5721         * paragraph_pimpl.[Ch]:
5722         * paragraph_funcs.C:
5723         * CutAndPaste.C:
5724         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5725
5726         * text2.C:
5727           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5728
5729 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5730
5731         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5732         * paragraph.[Ch] (erase):
5733         * paragraph_pimpl.[Ch] (erase): change return type and value
5734         * text2.C (cutSelection): some rework
5735
5736 2003-04-28  John Levon  <levon@movementarian.org>
5737
5738         * bufferlist.C: changes for unsaved changes dialog
5739
5740 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * bufferlist.C (newFile): set language (messages_) for new
5743         documents also.
5744
5745         * buffer.C (readFile): ws changes only.
5746
5747 2003-04-28  André Pönitz  <poenitz@gmx.net>
5748
5749         * undo_funcs.C:
5750         * lyxfunc.C:
5751         * buffer.[Ch]:
5752         * BufferView_pimpl.C:
5753         * BufferView.C: getParFromID related ParagraphList::iterator changes
5754
5755 2003-04-28  André Pönitz  <poenitz@gmx.net>
5756
5757         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5758           Changes
5759
5760 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * messages.C: remove one more localedir class variable.
5763
5764 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * messages.C (getLocaleDir): singleton generation function
5767         (Pimpl): use it.
5768         (Messages): add a default constructor.
5769
5770         * main.C (main): do not setup localedir here, do not call
5771         gettext_init.
5772
5773         * gettext.C (_): use it.
5774         (gettext_init): delete funciton
5775
5776 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * gettext.C (getLyXMessages): new singleton generating function.
5779
5780         * buffer.C (updateDocLang): adjust
5781
5782         * Makefile.am (messages.o): add target
5783         (main.o): remove target
5784
5785 2003-04-27  John Levon  <levon@movementarian.org>
5786
5787         * bufferlist.C:
5788         * lyx_cb.C:
5789         * lyxfunc.C:
5790         * lyxvc.C: specify cancel button in Alert::prompt
5791
5792 2003-04-26  John Levon  <levon@movementarian.org>
5793
5794         * text3.C:
5795         * lyxfunc.C:
5796         * lfuns.h:
5797         * LyXAction.C: add LFUN_INSET_SETTINGS
5798
5799         * lyxfunc.C: don't enable tabular-feature when there's
5800         just any locking inset
5801
5802 2003-04-26  John Levon  <levon@movementarian.org>
5803
5804         * bufferlist.C: re-add Cancel to buffer close question
5805
5806         * lyxfunc.C: fix import UI a bit
5807
5808 2003-04-25  John Levon  <levon@movementarian.org>
5809
5810         * gettext.C: remove the broken asserts for now
5811
5812 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * messages.C: make case where setlocale cannot comply work better.
5815
5816         * buffer.C (updateDocLang): new function
5817         (changeLanguage): use it
5818         (readFile): use it
5819
5820         * text2.C (setCounter): use B_ a bit.
5821
5822         * lyxlayout.C (Read): be sure to trim the label strings.
5823
5824         * messages.C (Messages): fix typo in comment
5825
5826         * buffer.C (readFile): set message_ after file is loaded.
5827         (makeDocBookFile): remove double return
5828         (changeLanguage): reset message_ upon language change.
5829         (B_): new func, use this to get translated buffer strings.
5830
5831         * main.C: add myself and Jean Marc as authors.
5832
5833 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * messages.[hC]: pimplify Messages, and three different pimpls to be
5836         used in different circumstances.
5837
5838         * gettext.[Ch]: change for use with new message code.
5839
5840 2003-04-24 André Pönitz <poenitz@gmx.net>
5841
5842         * factory.C: support for eqref
5843
5844 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * messages.[Ch]: add missing char
5847
5848         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5849
5850         * messages.[Ch]: New files
5851
5852 2003-04-18  John Levon  <levon@movementarian.org>
5853
5854         * BufferView.h:
5855         * BufferView.C:
5856         * BufferView_pimpl.C:
5857         * lfuns.h:
5858         * LyXAction.C:
5859         * lyxtext.h:
5860         * text2.C: remove layout-copy/paste (bug 778)
5861
5862 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5865
5866 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5867
5868         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5869         if they succeed. Act accordingly.
5870
5871 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * text2.C (setCharFont): adjust
5874         (setCounter): adjust
5875         (insertStringAsLines): adjust
5876
5877         * text.C (leftMargin): adjust
5878         (setHeightOfRow): adjust
5879
5880         * rowpainter.C (paintFirst): adjust
5881         (paintLast): adjust
5882
5883         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5884         (outerHook): ditto
5885         (isFirstInSequence): ditto
5886         (getEndLabel): ditto
5887         (outerFont): adjust
5888
5889         * paragraph.C (getParLanguage): comment out some hard stuff.
5890
5891         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5892         (sgmlError): ditto
5893         (simpleDocBookOnePar): ditto
5894         (makeDocBookFile): use ParagraphList::iterator
5895
5896         * CutAndPaste.C (pasteSelection): adjust
5897
5898 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * text2.C (getFont): adjust
5901         (getLayoutFont): adjust
5902         (getLabelFont): adjust
5903
5904         * paragraph_funcs.C (TeXOnePar): adjust
5905
5906         * buffer.C (simpleLinuxDocOnePar): adjust
5907         (simpleDocBookOnePar): adjust
5908
5909         * CutAndPaste.C (pasteSelection): adjust
5910
5911         * BufferView.C (getEncoding): adjust
5912
5913         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5914
5915 2003-04-16  John Levon  <levon@movementarian.org>
5916
5917         * lyxfind.C: use parlist stuff for search/changes
5918
5919 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5922
5923         * text2.C (deleteEmptyParagraphMechanism): adjust
5924
5925         * text2.[Ch] (ownerParagraph): delete func (both of them
5926
5927 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5930
5931 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * ParagraphList.C: prepare for NO_NEXT
5934
5935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * text2.C (getFont): adjust
5938         (getLayoutFont): adjust
5939         (getLabelFont): adjust
5940
5941         * paragraph.C (getFont): adjust
5942         (getLabelFont): adjust
5943         (getLayoutFont): adjust
5944
5945         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5946
5947 2003-04-15  John Levon  <levon@movementarian.org>
5948
5949         From Angus Leeming
5950
5951         * lyx_main.C: handle Include in .ui files
5952
5953 2003-04-15  John Levon  <levon@movementarian.org>
5954
5955         * MenuBackend.C: make the doc files length shorter
5956
5957         * ToolbarBackend.h:
5958         * ToolbarBackend.C: handle toolbar placement flags,
5959         Minibuffer
5960
5961 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5964         adjust
5965
5966         * paragraph_funcs.C (TeXOnePar): adjust
5967
5968         * paragraph.C (getLabelFont): add outerfont arg, adjust
5969         (getLayoutFont): ditto
5970         (simpleTeXOnePar): adjust
5971
5972         * paragraph_pimpl.C (realizeFont): delete func
5973
5974 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5977         row argument, constify cur argument.
5978
5979 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * text2.C (getFont): adjust
5982         (getLayoutFont): adjust
5983         (getLabelFont): adjust
5984
5985         * paragraph_funcs.C (TeXOnePar): adjust
5986         (outerFont): new func...
5987         (realizeFont): ...moved out from here, changed this to facilitate
5988         transition
5989
5990         * paragraph.C (getFont): take outerfont as arg, adjust
5991         (simpleTeXOnePar): add outerfont arg, adjust
5992
5993         * buffer.C (simpleLinuxDocOnePar): adjust
5994         (simpleDocBookOnePar): adjust
5995
5996         * CutAndPaste.C (pasteSelection): adjust
5997
5998         * BufferView.C (getEncoding): adjust
5999
6000 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * text2.C (setCharFont): adjust
6003         (setCounter): adjust
6004
6005         * text.C (leftMargin): adjust
6006         (setHeightOfRow): adjust
6007
6008         * rowpainter.C (paintFirst): adjust
6009         (paintLast): adjust
6010
6011         * paragraph_pimpl.C (realizeFont): adjust
6012
6013         * paragraph.C (isFirstInSequence): move from here...
6014         * paragraph_funcs.C (isFirstInSequence): ...to here
6015
6016         * paragraph.C (outerHook): move from here...
6017         * paragraph_funcs.C (outerHook): ...to here
6018
6019         * paragraph.C (depthHook): move from here...
6020         * paragraph_funcs.C (depthHook): ...to here
6021
6022         * paragraph.C (getEndLabel): move from here...
6023         * paragraph_funcs.C (getEndLabel): ...to here
6024
6025         * text2.C (realizeFont): move from here...
6026         * paragraph_funcs.C (realizeFont): ...to here
6027
6028 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6031
6032 2003-04-14  Angus Leeming  <leeming@lyx.org>
6033
6034         * LColor.[Ch]: scrap LColor mathcursor.
6035
6036 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * lyxlex.[Ch] (text): delete function
6039         * trans.C (Load): adjust
6040         * paragraph_funcs.C (readParToken): adjust
6041
6042 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6045         vector<char> instead of a char[].
6046
6047         * lyxlex_pimpl.C (getString): adjust
6048         (next): adjust
6049         (lex): use getString
6050         (eatLine): adjust
6051         (nextToken): adjust
6052
6053         * lyxlex.C (text): use pimpl_->getString()
6054         (getBool): ditto
6055         (findToken): ditto
6056
6057 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6060         (makeFontEntriesLayoutSpecific): temp var for par.size()
6061         (setLayout): temp var for ownerParagraphs().end()
6062         (fullRebreak): temp var for rows().end()
6063         (selectionAsString): temp var for boost::next(startpit), realize
6064         that the while really is a regular for loop.
6065         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6066         setCursor in one place.
6067         (setParagraph): temp vr for ownerParagraphs().end()
6068         (updateCounters): make the while loop a for loop
6069         (cutSelection): temp var for ownerParagraphs().end()
6070         (updateInset): make the do {} while() a regular for loop
6071         (getCursorX): use temp vars
6072         (setCurrentFont): use temp vars
6073         (getColumnNearX): use temp vars
6074
6075 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * text.C (transformChar): use temp var for getChar
6078         (computeBidiTables): use temp var for row->par()
6079         (fill): move temp vars for row->par() and pit->layout() earlier in
6080         the function.
6081         (labelFill): use temp var for row->par()
6082         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6083         asc and desc, realize that pit never changes and that firstpit is
6084         just a duplicate and not needed. Exchange rit->par() with pit in a
6085         lot of places.
6086         (breakAgain): use a temp var for boost::next(rit)
6087         (breakAgainOneRow): ditto
6088         (breakParagraph): use a temp var for rows().begin()
6089         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6090         (cursorRightOneWord): use temp var for cursor.par() and
6091         cursor.pos(), remove usage of tmpcursor.
6092         (cursorLeftOneWord): use temp var for cursor.par() and
6093         cursor.pos() only set cur at end of function.
6094
6095 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * text.C, text2.C: exchange all usage of Paragraph::next with
6098         boost::next(ParagraphList::iterator)
6099
6100         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6101
6102         * text2.C (cursorTop): simplify implementation
6103         (cursorBottom): ditto
6104         (setParagraph): use ParagraphList::iterator
6105         (setCurrentFont): adjust
6106         (getColumnNearX): adjust
6107         (cursorRight): adjust
6108         (cursorLeft): remove usage of Paragraph::previous
6109         (cursorUpParagraph): ditto
6110         (deleteEmptyParagraphMechanism): slight cleanup
6111
6112         * text.C (isBoundary): take a Paragraph const & instead of a
6113         pointer as arg.
6114         (addressBreakPoint): ditto
6115         (leftMargin): remove usage of Paragraph::previous.
6116         (setHeightOfRow): ditto
6117         (cursorLeftOneWord): ditto
6118         (selectNextWordToSpellcheck): ditto
6119         (Delete): ditto
6120         (backspace): ditto
6121         (breakParagraph): remove one usage of Paragraph::next
6122         (redoParagraph): ditto
6123         (acceptChange): ditto
6124         (insertChar): adjust
6125         (rowBreakPoint): adjust
6126
6127         * bufferview_funcs.C (toggleAndShow): adjust
6128
6129 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6130
6131         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6132         methods to access it.
6133         * lyxtext.h:
6134         * text.C: Added updateRowPositions to compute all row positions.
6135         Make top_y and getRowNearY() to use the cached y position
6136
6137 2003-04-11  John Levon  <levon@movementarian.org>
6138
6139         * text.C (rowBreakPoint): reintroduce the labelEnd
6140         checks, code copied from the row fill stuff. Deep voodoo.
6141
6142         * text.C (fill): add a comment and debugging for the
6143         next poor soul.
6144
6145 2003-04-11  John Levon  <levon@movementarian.org>
6146
6147         * text.C: make sure fullrow insets get wrapped to the next line,
6148         even when they're in a manual label
6149
6150 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * text2.C (insertParagraph): make it take ParagraphList::iterator
6153         as arg.
6154         (setLayout): make it return ParagraphList::iterator
6155         (redoParagraphs): ditto
6156         (setCounter): ditto
6157         (checkParagraph): ditto
6158
6159         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6160
6161         * text2.C: adjust several funcs.
6162         (realizeFont): take a ParagraphList::iterator as arg.
6163         (getLayoutFont): ditto
6164         (getLabelFont): ditto
6165         (setCharFont): ditto
6166
6167         * text.C: adjust several funcs.
6168
6169 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6170
6171         * text.C (selectNextWordToSpellcheck): don't accidentally
6172         skip insets
6173
6174 2003-04-10  John Levon  <levon@movementarian.org>
6175
6176         * ToolbarBackend.C (getIcon): special handling for
6177         LFUN_MATH_DELIM
6178
6179 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * text2.C (cursorRight): a getChar assert fixed
6182
6183 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * text2.C (getFont): change to take a ParagraphList::iterator
6186         instead of Paragraph*
6187         Adjust several functions.
6188
6189         * text.C (transformChar): change to take a ParagraphList::iterator
6190         instead of Paragraph*
6191         (singleWidth): ditto
6192         Adjust several functions.
6193
6194         * rowpainter.C: adjust several functions
6195         * rowpainter.h:store a ParagraphList::iterator and not a
6196         Paragraph&.
6197
6198
6199 2003-04-09  John Levon  <levon@movementarian.org>
6200
6201         * lyxfunc.C:
6202         * lfuns.h:
6203         * LyXAction.h:
6204         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6205         and the "help" bits as well
6206
6207 2003-04-09  John Levon  <levon@movementarian.org>
6208
6209         * ToolbarBackend.h:
6210         * ToolbarBackend.C: allow multiple toolbars
6211
6212 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * undo_funcs.C (setCursorParUndo): adjust
6215
6216         * text_funcs.C (transposeChars): adjust
6217
6218         * text3.C (gotoNextInset): adjust
6219         (dispatch): adjust
6220
6221         * text2.C (setLayout): adjust
6222         (changeDepth): adjust
6223         (setFont): adjust
6224         (redoParagraphs): adjust
6225         (selectionAsString): adjust
6226         (setParagraph): adjust
6227         (insertInset): adjust
6228         (cutSelection): adjust
6229         (copySelection): adjust
6230         (pasteSelection): adjust
6231         (insertStringAsLines): adjust
6232         (updateInset): adjust
6233         (setCursor): change to take a ParagraphList::iterator parameter
6234         (setCursorIntern): change to take a ParagraphList::iterator parameter
6235         (setCurrentFont): adjust
6236         (cursorLeft): adjust
6237         (cursorRight): adjust
6238         (deleteEmptyParagraphMechanism): adjust
6239
6240         * text.C (breakParagraph): adjust
6241         (insertChar): adjust
6242         (acceptChange): adjust
6243         (rejectChange): adjust
6244         (selectNextWordToSpellcheck): adjust
6245         (changeCase): adjust
6246         (Delete): adjust
6247         (backspace): adjust
6248
6249         * lyxfind.C (SearchForward): adjust
6250         (SearchBackward): adjust
6251         (nextChange): adjust
6252
6253         * lyxcursor.C (par): adjust
6254
6255         * lyxcursor.h: store a ParagraphList::iterator instead of a
6256         Paragraph*
6257
6258         * lyx_cb.C (getPossibleLabel): adjust
6259
6260         * bufferview_funcs.C (toggleAndShow): adjust
6261
6262         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6263         (dispatch): adjust
6264
6265         * BufferView.C (removeAutoInsets): adjust
6266         (lockedInsetStoreUndo): adjust
6267
6268 2003-04-09  John Levon  <levon@movementarian.org>
6269
6270         * ToolbarBackend.C: try icon without argument
6271         if with argument fails
6272
6273 2003-04-08  John Levon  <levon@movementarian.org>
6274
6275         * ToolbarBackend.h:
6276         * ToolbarBackend.C: add getIcon(), handle tooltip,
6277         and change from "Icon" to "Item".
6278
6279 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * BufferView.C (lockInset): another bad getchar crunched
6282
6283 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6284
6285         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6286         again)
6287
6288 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6289
6290         * lyxfind.C (searchForward, searchBackwards): bug 782
6291
6292 2003-04-07  John Levon  <levon@movementarian.org>
6293
6294         * paragraph.C: remove dead comment
6295
6296         * text.C: remove troublesome depth-fiddling code
6297         in leftMargin() and rightMargin() (bug 1017)
6298
6299         * text.C: fix breaking of rows in nested lists
6300         (bug 1004)
6301
6302         * text2.C (updateCounters): fix up depth values
6303         (bug 1013)
6304
6305 2003-04-07  John Levon  <levon@movementarian.org>
6306
6307         * BufferView_pimpl.C: clear message when doc finishes resizing,
6308         and after a mouse event
6309
6310         * lyxfunc.C: clear message after exiting inset
6311
6312 2003-04-07  John Levon  <levon@movementarian.org>
6313
6314         * bufferview_funcs.C: show math status not outside
6315         status in the statusbar
6316
6317 2003-04-07  John Levon  <levon@movementarian.org>
6318
6319         * lyxfunc.C: note status changed after a depth change
6320
6321 2003-04-04  Angus Leeming  <leeming@lyx.org>
6322
6323         * LaTeX.h: move AuxInfo operator==, != out of line.
6324         Remove LaTeX virtual destructor; nothing derives from it.
6325         Move operator()() out of public area and rename it startscript().
6326         Change protected for private.
6327
6328 2003-04-04  Angus Leeming  <leeming@lyx.org>
6329
6330         * lyxfunc.C:
6331         * text2.C: remove unneeded #includes.
6332
6333 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * text2.C (dEPM): fix the heigth of the next row
6336
6337 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6338
6339         * text.C: squashed an invalid getChar requester + some ws changes
6340
6341 2003-04-03  John Levon  <levon@movementarian.org>
6342
6343         * bufferview_funcs.h:
6344         * bufferview_funcs.C:
6345         * lyxfunc.C:
6346         * lyxtext.h:
6347         * text2.C: make getStatus work for the env depth lfuns
6348
6349 2003-04-03  John Levon  <levon@movementarian.org>
6350
6351         * bufferview_funcs.h:
6352         * bufferview_funcs.C:
6353         * lyxfunc.C:
6354         * lyxtext.h:
6355         * text2.C: parlistize decDepth(), by merging it with incDepth()
6356
6357 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * lyxrow.h: store a ParagraphList::iterator instead of a
6360         Paragraph* and adjust other class functions to suit.
6361
6362         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6363         above.
6364
6365 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * text2.C (setCursor): do not anchor to cursor row for the time being
6368
6369 2003-04-02  John Levon  <levon@movementarian.org>
6370
6371         * LyXAction.C:
6372         * lfuns.h:
6373         * lyx_main.C:
6374         * lyxtext.h:
6375         * text.C:
6376         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6377
6378 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * paragraph.h: make ParagraphList and ParagraphList::iterator
6381         friends of Paragraph.
6382
6383         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6384
6385         * ParagraphList.C: Use the private next_ and previous_ from
6386         Paragraph.
6387
6388 2003-04-01  John Levon  <levon@movementarian.org>
6389
6390         * ToolbarBackend.h:
6391         * ToolbarBackend.C:
6392         * Makefile.am: rename, remove defaults gunk
6393
6394         * MenuBackend.h:
6395         * MenuBackend.C: remove defaults gunk
6396
6397         * Languages.h:
6398         * Languages.C: remove defaults gunk
6399
6400         * lyx_main.h:
6401         * lyx_main.C: error out if files couldn't be found.
6402
6403 2003-04-02  John Levon  <levon@movementarian.org>
6404
6405         * text2.C: make incDepth() use parlist
6406
6407 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * undo_funcs.C (firstUndoParagraph): adjust
6410
6411         * text3.C (gotoInset): adjust
6412         (dispatch): adjust, and rewrite loop.
6413
6414         * text2.C (init): adjust, and rewrite loop.
6415         (redoParagraphs): adjust
6416         (updateInset): adjust, and rewrite loop.
6417         (deleteEmptyParagraphMechanism): adjust
6418
6419         * tabular.C (LyXTabular): adjust
6420         (SetMultiColumn): adjust
6421         (TeXRow): adjust
6422
6423         * lyxtext.[Ch] (ownerParagraph): delete function
6424         (ownerParagraphs): new function returns a ParagraphList.
6425
6426         * BufferView.C (removeAutoInsets): adjust
6427         (insertErrors): adjust
6428         (setCursorFromRow): adjust
6429
6430 2003-04-01  Angus Leeming  <leeming@lyx.org>
6431
6432         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6433         in the frontends.
6434
6435 2003-04-02  John Levon  <levon@movementarian.org>
6436
6437         * lyxtext.h:
6438         * text.C:
6439         * Makefile.am:
6440         * text_funcs.h:
6441         * text_funcs.C: make transposeChars a free function
6442
6443         * lyxrow_funcs.C: remove wrong comment
6444
6445 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * lyxtext.h: adjust
6448         * rowpainter.C: adjust
6449         * text.C: adjust
6450         * text2.C: adjust
6451         * text3.C: adjust
6452
6453         * lyxrow_funcs. [Ch]: new files
6454
6455         * lyxrow.[Ch]: remove next and previous pointers
6456         (next,previous): remove accessor functions
6457         (isParEnd): move to lyxrow_funcs
6458         (lastPos): move to lyxrow_funcs
6459         (nextRowIsAllInset): move to lyxrow_funcs
6460         (lastPrintablePos): move to lyxrow_funcs
6461         (numberOfSeparators): move to lyxrow_funcs
6462         (numberOfHfills): move to lyxrow_funcs
6463         (numberOfLabelHfills): move to lyxrow_funcs
6464         (hfillExpansion): move to lyxrow_funcs
6465
6466         * lyxfunc.C: adjust
6467
6468         * bufferview_funcs.C (toggleAndShow): adjust
6469
6470         * RowList.h: Remove class RowList from file leave just a
6471         std::list<Row>.
6472
6473         * RowList.C: delete file
6474
6475         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6476         and lyxrow_funcs.h
6477
6478 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * text3.C (cursorPrevious): adjust
6481         (cursorNext): adjust
6482         (dispatch): adjust
6483
6484         * text2.C (redoHeightOfParagraph): adjust
6485         (redoDrawingOfParagraph): adjust
6486         (setCursor): adjust
6487
6488         * text.C (breakParagraph): adjust
6489         (insertChar): adjust
6490         (backspace): adjust
6491
6492         * rowpainter.C (RowPainter): adjust
6493         (leftMargin): simplify and adjust
6494         (most rowpainter functions): adjust.
6495
6496         * rowpainter.h: store the row as RowList::iterator not as Row*
6497
6498         * lyxcursor.C (row): taka RowList::iterator as arg
6499         (irow): ditto
6500
6501         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6502         of Row*.
6503
6504 2003-04-01  Angus Leeming  <leeming@lyx.org>
6505
6506         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6507         stuff like bool Bool.
6508
6509 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6510
6511         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6512         rewrite a loop
6513
6514 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6517         RowList::iterator.
6518
6519         * lyxtext.h (rows): drop one version and leve a const variant that
6520         returns a RowList::iterator.
6521
6522 2003-03-31  Angus Leeming  <leeming@lyx.org>
6523
6524         * text.C (fill): ensure that the signature is the same as that in the
6525         header file.
6526
6527 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * text2.C (redoParagraphs): adjust
6530         (updateCounters): adjust
6531         (checkParagraph): adjust
6532         (getColumnNearX): adjust and reformat a bit.
6533
6534         * text.C (top_y): adjust
6535         (workWidth): adjust
6536         (leftMargin): adjust
6537         (prepareToPrint): adjust
6538         (getRow): adjust
6539         (getRowNearY): adjust
6540
6541         * lyxtext.h: make rowlist_ mutable.
6542
6543         * RowList.h: add const_iterator
6544         * RowList.C: adjust for RowList::const_iterator.
6545
6546         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6547         adjust.
6548
6549 2003-03-31  John Levon  <levon@movementarian.org>
6550
6551         * lyxrc.h:
6552         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6553
6554         * lyx_main.C: set default fonts from using lyx_gui funcs
6555
6556         * exporter.C: pdf_mode moved from lyxrc
6557
6558         * lyx_cb.C:
6559         * lyxfunc.C: changes from above
6560
6561 2003-03-31  John Levon  <levon@movementarian.org>
6562
6563         * lyx_main.C: fix to the last fix
6564
6565 2003-03-31  John Levon  <levon@movementarian.org>
6566
6567         * bufferlist.C: "Load original" -> "Load Original"
6568
6569         * converter.C:
6570         * exporter.C:
6571         * importer.C:
6572         * lyx_main.C:
6573         * format.C: more Alert cleanups
6574
6575 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * text2.C (removeParagraph): make it take a RowList::iterator as
6578         arg, adjust.
6579         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6580         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6581
6582         * text.C (anchor_row): make it take a RowList::iterator as arg,
6583         adjust.
6584         (computeBidiTables): make it take a const reference to Row instead
6585         of Row pointer, adjust.
6586         (leftMargin): make it take a RowList::iterator as arg, adjust.
6587         (rowBreakPoint): adjust
6588         (breakAgainOneRow): make it take a RowList::iterator as arg,
6589         adjust.
6590         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6591
6592         * bufferview_funcs.C (toggleAndShow): adjust
6593
6594 2003-03-30  John Levon  <levon@movementarian.org>
6595
6596         * Makefile.am:
6597         * BoostFormat.h:
6598         * boost-inst.C: moved to support
6599
6600         * several files: changes as a result
6601
6602 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text2.C (LyXText): adjust.
6605         (init): adjust
6606         (removeRow): make it take a RowList::iterator as arg, adjust.
6607         (fullRebreak): adjust
6608         (deleteEmptyParagraphMechanism): adjust
6609         (clearPaint): adjust
6610         (postPaint): adjust
6611
6612         * text.C (top_y): adjust
6613         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6614         (breakAgain): make it take a RowList::iterator as arg, adjust.
6615         (breakParagraph): adjust
6616         (insertChar): adjust
6617         (backspace): adjust
6618
6619         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6620         need_break_row, and refresh_row.
6621
6622         * text3.C (dispatch): adjust
6623
6624         * text2.C (checkParagraph): adjust
6625         (setCursor): adjust
6626         (setCursorFromCoordinates): adjust
6627
6628         * text.C (top_y): adjust
6629         (workWidth): adjust
6630         (getRow): make it return a RowList::iterator, adjust
6631         (getRowNearY): make it return a RowList::iterator, adjust
6632
6633         * text2.C (init): adjust
6634         (insertRow): remove function
6635         (insertParagraph): adjust
6636         (redoParagraphs): adjust
6637         (fullRebreak): adjust
6638         (updateCounters): adjust
6639
6640         * text.C (top_y): rewrite to use RowList iterators.
6641         (top_y): adjust
6642         (setHeightOfRow): rewrite to sue RowList iterators.
6643         (appendParagraph): adjust
6644         (breakAgain): adjust
6645         (breakAgainOneRow): adjust
6646         (breakParagraph): adjust
6647         (getRow): adjust
6648         (getRowNearY): adjust, and remove commented code.
6649
6650         * lyxtext.h (firstRow): delete function
6651         (lastRow): delete function
6652         (rows): new function (const and non-const versions.)
6653         (insertRow): delete function
6654
6655         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6656
6657 2003-03-29  John Levon  <levon@movementarian.org>
6658
6659         * BufferView_pimpl.C: always update scrollbar top
6660         because pasting text when we're anchored could mean we
6661         miss an update altogether
6662
6663 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * text2.C (init): use rowlist_.end() and not 0.
6666         (insertRow): change to take a RowList::iterator as arg, adjust
6667         for this.
6668         (insertParagraph): change to take a RowList::iterator as arg,
6669         adjust for this.
6670         (redoParagraphs): remove some debug msgs.
6671
6672         * text.C (appendParagraph): change to take a RowList::iterator
6673         arg, adjust for this.
6674         (breakAgain): add an assert
6675         (breakAgainOneRow): ditto
6676
6677 2003-03-29  John Levon  <levon@movementarian.org>
6678
6679         * text2.C: do not clear selection after inc/decDepth
6680         (bug 550)
6681
6682 2003-03-29  John Levon  <levon@movementarian.org>
6683
6684         * BufferView.C:
6685         * buffer.C: fix broken strerrors according to Lars
6686
6687 2003-03-29  John Levon  <levon@movementarian.org>
6688
6689         * converters.C: more Alert cleanups
6690
6691 2003-03-29  John Levon  <levon@movementarian.org>
6692
6693         * bufferview_funcs.C: remove pointless Alert
6694
6695         * buffer.C: fix confusing error message when
6696         a template is chmoded 000
6697
6698 2003-03-29  John Levon  <levon@movementarian.org>
6699
6700         * BufferView.C:
6701         * BufferView.h:
6702         * BufferView_pimpl.C: Alert fixes
6703
6704         * Makefile.am:
6705         * tabular.C:
6706         * tabular-old.C: remove unused table compat reading
6707
6708 2003-03-29  John Levon  <levon@movementarian.org>
6709
6710         * BufferView.C:
6711         * buffer.C:
6712         * lyx_cb.h:
6713         * lyx_cb.C: more Alert cleanups
6714
6715         * lyxfunc.C: don't allow chktex if not latex document
6716
6717 2003-03-29  John Levon  <levon@movementarian.org>
6718
6719         * lyx_cb.C:
6720         * BufferView.C:
6721         * buffer.C: warnings pushed down from support/,
6722         kill err_alert
6723
6724 2003-03-29  John Levon  <levon@movementarian.org>
6725
6726         * lyxfunc.C: safety check for C-r (revert)
6727
6728 2003-03-29  John Levon  <levon@movementarian.org>
6729
6730         * bufferlist.h:
6731         * bufferlist.C: several UI fixes using Alert::prompt.
6732         Fix the pointless looping quit code. Fix stupid revert
6733         behaviour (bug 938)
6734
6735         * lyxvc.h:
6736         * lyxvc.C:
6737         * lyx_cb.C: use Alert::prompt
6738
6739         * lyx_main.C: remove a silly question
6740
6741         * lyxfunc.C: remove a couple of silly questions,
6742         use Alert::prompt
6743
6744 2003-03-28  John Levon  <levon@movementarian.org>
6745
6746         * text2.C: fix bug 974 (End on empty par)
6747
6748 2003-03-28  John Levon  <levon@movementarian.org>
6749
6750         * BufferView_pimpl.C:
6751         * LyXAction.C:
6752         * lfuns.h: remove do-nothing math greek lfuns
6753
6754 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * lyxgluelength.h (isValidGlueLength): add default arg on
6757         parameter 2. Remove default arg from friend in class.
6758
6759         * lyxlength.h (isValidLength): add default arg on parameter 2.
6760         Remove default arg from friend in class.
6761
6762         * text2.C (LyXText): adjust, initialize refresh_row.
6763         (init): adjust
6764         (removeRow): adjust
6765         (insertRow): adjust
6766         (insertParagraph): adjst
6767         (redoParagraphs): adjust
6768         (fullRebreak): adjust
6769         (updateCounters): adjust
6770         (deleteEmptyParagraphMechanism): first attempt at fixing a
6771         crashing bug.
6772
6773         * text.C (top_y): adjust
6774         (setHeightOfRow): adjust
6775         (getRow): adjust
6776         (getRowNearY): adjust
6777
6778         * lyxtext.h: include RowList.h
6779         (~LyXText): not needed anymore, deleted.
6780         (firstRow): modify for RowList
6781         (lastRow): new function
6782         Delete firstrow and lastrow class variables, add a Rowlist
6783         rowlist_ class variable.
6784
6785         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6786         paragraph is empty.
6787
6788         * RowList.C (insert): fix case where it == begin().
6789
6790 2003-03-26  Angus Leeming  <leeming@lyx.org>
6791
6792         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6793         the thesaurus dialog.
6794
6795 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6798
6799         * RowList.[Ch]: new files
6800
6801         * ParagraphList.C (erase): handle the case where it == begin
6802         correctly.
6803
6804 2003-03-25  John Levon  <levon@movementarian.org>
6805
6806         * Makefile.am:
6807         * aspell_local.h:
6808         * aspell.C: add new aspell support
6809
6810         * lyxrc.h:
6811         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6812         have it accessible.
6813
6814 2003-03-25  Angus Leeming  <leeming@lyx.org>
6815
6816         * lfuns.h:
6817         * LyXAction.C (init): new LFUN_INSET_INSERT.
6818
6819         * BufferView_pimpl.C (dispatch): split out part of the
6820         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6821
6822         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6823         LFUN_INSET_APPLY.
6824
6825 2003-03-25  Angus Leeming  <leeming@lyx.org>
6826
6827         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6828
6829 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6830
6831         * text2.C:
6832         * text3.C: remove useless row->height(0)
6833
6834 2003-03-25  John Levon  <levon@movementarian.org>
6835
6836         * lyxtext.h:
6837         * text2.C:
6838         * text3.C: rename the refreshing stuff to better names
6839
6840 2003-03-24  John Levon  <levon@movementarian.org>
6841
6842         * BufferView_pimpl.h:
6843         * BufferView_pimpl.C: update layout choice on a mouse
6844         press/release
6845
6846 2003-03-23  John Levon  <levon@movementarian.org>
6847
6848         * Makefile.am: fix commandtags.h reference
6849
6850 2003-03-22  John Levon  <levon@movementarian.org>
6851
6852         * BufferView_pimpl.C:
6853         * lyxtext.h:
6854         * rowpainter.C:
6855         * rowpainter.h:
6856         * text.C:
6857         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6858
6859 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6860
6861         * lyxtext.h:
6862         * text.C: take the rtl methods out of line
6863
6864 2003-03-21 André Pönitz <poenitz@gmx.net>
6865
6866         * metricsinfo.[Ch]: new files containing structures to be passed around
6867         during the two-phase-drawing...
6868
6869 2003-03-21 André Pönitz <poenitz@gmx.net>
6870
6871         * lyxtextclass.C: read 'environment' tag.
6872
6873 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * text2.C (removeRow): fix bug 964
6876
6877 2003-03-20  John Levon  <levon@movementarian.org>
6878
6879         * rowpainter.C:
6880         * text.C:
6881         * text2.C: paint cleanups. Inset::update() dropped font
6882         parameter
6883
6884 2003-03-19  John Levon  <levon@movementarian.org>
6885
6886         * lyxfunc.C: only fitcursor/markDirty if available()
6887
6888 2003-03-19  John Levon  <levon@movementarian.org>
6889
6890         * commandtags.h: rename to ...
6891
6892         * lfuns.h: ... this, and renumber / cleanup
6893
6894 2003-03-19  John Levon  <levon@movementarian.org>
6895
6896         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6897         fit the cursor after an lfun
6898
6899         * BufferView.h:
6900         * BufferView.C:
6901         * BufferView_pimpl.h:
6902         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6903
6904         * LyXAction.C: layout-character should have ReadOnly
6905
6906         * ParagraphParameters.C:
6907         * buffer.C:
6908         * bufferview_funcs.C:
6909         * lyx_cb.C:
6910         * lyxfind.C:
6911         * lyxtext.h:
6912         * text.C:
6913         * text2.C:
6914         * text3.C:
6915         * undo_funcs.C: changes from above
6916
6917 2003-03-18  John Levon  <levon@movementarian.org>
6918
6919         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6920         remove it from update()
6921
6922         * lyxfunc.C: update layout choice after an lfun
6923
6924         * text3.C: remove extra updateLayoutChoice()s
6925
6926 2003-03-18  John Levon  <levon@movementarian.org>
6927
6928         * text.C: top_y change means full repaint, fix
6929         a drawing bug with cursor movement
6930
6931 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * lyxtext.h:
6934         * text.C:
6935         * text2.C: anchor row on setCursor
6936
6937 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6938
6939         * lyxtext.h: remove almost all mutable keywords
6940         * text.C:
6941         * text2.C:
6942         * text3.C: remove const keywords accordingly
6943
6944 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6947         anon namespace
6948         (TeXEnvironment): ditto
6949         (TeXOnePar): ditto
6950
6951 2003-03-17  John Levon  <levon@movementarian.org>
6952
6953         * text.C (rowBreakPoint): remove attempt to fix displayed
6954         math insets inside a manual label
6955
6956 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * lyxtext.h: remove BufferView* as first arg from almost all class
6959         functions.
6960         * other files: adjust.
6961
6962 2003-03-17  John Levon  <levon@movementarian.org>
6963
6964         * lyxtext.h:
6965         * undo_funcs.C:
6966         * text2.C: more paint cleanups
6967
6968         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6969
6970         * rowpainter.h:
6971         * rowpainter.C: remove "smart" background painting code
6972
6973 2003-03-16  John Levon  <levon@movementarian.org>
6974
6975         * lyxtext.h:
6976         * text.C:
6977         * text2.C:
6978         * text3.C: add helper functions for setting refresh_row/y
6979
6980 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6981
6982         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6983         newline inset which *can* get inserted in the pass_thru layouts.
6984         This is primarily for literate documents.
6985
6986 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6987
6988         * buffer.C: increment LYX_FORMAT to 223
6989
6990 2003-03-14 André Pönitz <poenitz@gmx.net>
6991
6992         * textclass.h: prepare for environment handling, ws changes
6993         * lyxlayout.C: read latexheader and latexfooter tags
6994
6995 2003-03-14  John Levon  <levon@movementarian.org>
6996
6997         * text2.C: rewrite ::status() a bit
6998
6999 2003-03-13  John Levon  <levon@movementarian.org>
7000
7001         * lyxtext.h: add some docs
7002
7003 2003-03-13  John Levon  <levon@movementarian.org>
7004
7005         * lyxtext.h:
7006         * text.C:
7007         * text2.C:
7008         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7009
7010 2003-03-13  John Levon  <levon@movementarian.org>
7011
7012         * text3.C: fix appendix redrawing
7013
7014 2003-03-13  John Levon  <levon@movementarian.org>
7015
7016         * text.C (setHeightOfRow):
7017         * rowpainter.h:
7018         * rowpainter.C: make appendix mark have the text
7019           "Appendix" so the user knows what it is
7020
7021         * LColor.h:
7022         * LColor.C: s/appendixline/appendix/ from above
7023
7024 2003-03-13  John Levon  <levon@movementarian.org>
7025
7026         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7027
7028         * text.C: fix a getChar(pos) bug properly
7029
7030 2003-03-13  Angus Leeming  <leeming@lyx.org>
7031
7032         * commandtags.h:
7033         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7034         Probably only temporary. Let's see how things pan out.
7035
7036         * BufferView.C (unlockInset):
7037         * BufferView_pimpl.C (fitCursor):
7038         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7039
7040         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7041         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7042
7043         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7044         new functions that convert ParagraphParameters to and from a string.
7045
7046         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7047         BufferView::Pimpl's dispatch.
7048         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7049
7050 2003-03-13 André Pönitz <poenitz@gmx.net>
7051
7052         * lyxfunc.C:
7053         * text3.C:
7054         * factory.C: make it aware of InsetEnv
7055
7056 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text2.C (setCursor): never ask for one past last
7059         (setCursor): add some debugging messages.
7060
7061         * text.C (singleWidth): never ask for one past last
7062         (singleWidth): ditto
7063         (leftMargin): ditto
7064         (rightMargin): ditto
7065         (rowBreakPoint): ditto
7066         (setHeightOfRow): ditto
7067         (prepareToPrint): ditto
7068
7069         * rowpainter.C (paintBackground): never ask for one past last
7070         (paintText): never ask for one past last
7071
7072         * paragraph_pimpl.C (getChar): make the assert stricter, never
7073         allow the one past last pos to be taken
7074
7075         * paragraph.C (getChar): ws changes only
7076
7077         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7078         (numberOfSeparators): ditto
7079         (numberOfHfills): ditto
7080
7081 2003-03-12  John Levon  <levon@movementarian.org>
7082
7083         * author.h:
7084         * author.C:
7085         * bufferparams.h:
7086         * bufferparams.C:
7087         * paragraph_funcs.C: fix per-buffer authorlists
7088
7089 2003-03-12  John Levon  <levon@movementarian.org>
7090
7091         * text.C: fix newline in right address
7092
7093 2003-03-12  Angus Leeming  <leeming@lyx.org>
7094
7095         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7096         duplicate those in LyXFunc::dispatch.
7097
7098         * commandtags.h:
7099         * LyXAction.C:
7100         * ToolbarDefaults.C:
7101         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7102         Add LFUN_FONTFREE_UPDATE.
7103
7104         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7105         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7106
7107         * bufferview_func.[Ch]: several new functions to facilliate
7108         transfer of data to and from the character dialog.
7109
7110 2003-03-12  John Levon  <levon@movementarian.org>
7111
7112         * buffer.C:
7113         * paragraph.h:
7114         * paragraph.C:
7115         * paragraph_funcs.C:
7116         * paragraph_pimpl.C:
7117         * sgml.C:
7118         * tabular.C:
7119         * text.C:
7120         * text3.C: remove META_NEWLINE in favour of an inset
7121
7122         * rowpainter.h:
7123         * rowpainter.C: remove paintNewline (done by inset)
7124
7125 2003-03-12  John Levon  <levon@movementarian.org>
7126
7127         * paragraph_pimpl.C: complain about bad getChar()s
7128         for a while at least
7129
7130 2003-03-12  John Levon  <levon@movementarian.org>
7131
7132         * buffer.h:
7133         * buffer.C: move paragraph read into a separate function,
7134         a little renaming to reflect that.
7135
7136         * bufferparams.h:
7137         * bufferparams.C: remove the author_ids map, not necessary now
7138
7139         * factory.h:
7140         * factory.C: moved Buffer::readInset to here
7141
7142         * paragraph_funcs.h:
7143         * paragraph_funcs.C: readParagraph free function moved from
7144         buffer.C
7145
7146         * tabular.C: name change
7147
7148 2003-03-12  John Levon  <levon@movementarian.org>
7149
7150         * buffer.C:
7151         * ParagraphParameters.C: move par params input to
7152         a read() method
7153
7154         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7155         behave like a normal read from the stream wrt reading
7156         a line vs. a \\token
7157
7158 2003-03-12  John Levon  <levon@movementarian.org>
7159
7160         * paragraph.C:
7161         * ParagraphParameters.h:
7162         * ParagraphParameters.C: move output code to a
7163         ::write() method
7164
7165 2003-03-12  John Levon  <levon@movementarian.org>
7166
7167         * BufferView.C (insertLyXFile):
7168         * buffer.h:
7169         * buffer.C:
7170         * tabular.C: use a parlist iterator for creating the
7171           document.
7172
7173 2003-03-12  John Levon  <levon@movementarian.org>
7174
7175         * buffer.C: make current_change static local not
7176           static file-scope
7177
7178 2003-03-12  John Levon  <levon@movementarian.org>
7179
7180         * buffer.C: fix insertStringAsLines for change tracking
7181
7182 2003-03-12  John Levon  <levon@movementarian.org>
7183
7184         * BufferView.C:
7185         * tabular.C:
7186         * buffer.h:
7187         * buffer.C:
7188         * bufferparams.h:
7189         * bufferparams.C: move author list into params. Rename some
7190           functions. Move the header reading into a separate token
7191           loop. Move the header token reading into BufferParams.
7192
7193 2003-03-12  John Levon  <levon@movementarian.org>
7194
7195         * changes.C: put debug inside lyxerr.debugging() checks
7196
7197 2003-03-11 André Pönitz <poenitz@gmx.net>
7198
7199         * factory.C: make it aware of InsetHFill
7200
7201 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7202
7203         * buffer.C (latexParagraphs): move function from here...
7204         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7205         args.
7206
7207 2003-03-10  Angus Leeming  <leeming@lyx.org>
7208
7209         * LyXAction.C (init): fix bug in poplating array with multiple entries
7210         with the same LFUN (spotted by JMarc).
7211
7212 2003-03-10  John Levon  <levon@movementarian.org>
7213
7214         * text.C:
7215         * text2.C: move getColumnNearX() near its
7216         only call site
7217
7218 2003-03-10  John Levon  <levon@movementarian.org>
7219
7220         * text.C: fix break before a minipage
7221
7222 2003-03-10  John Levon  <levon@movementarian.org>
7223
7224         * text.C: fix the last commit
7225
7226 2003-03-09  John Levon  <levon@movementarian.org>
7227
7228         * lyxtext.h:
7229         * text.C:
7230         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7231         bug 365 (don't break before insets unless needed). Don't
7232         return a value > last under any circumstances.
7233
7234 2003-03-09  Angus Leeming  <leeming@lyx.org>
7235
7236         * BufferView_pimpl.C (trackChanges, dispatch): call
7237         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7238
7239 2003-03-09  Angus Leeming  <leeming@lyx.org>
7240
7241         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7242         than Dialogs::showAboutlyx().
7243
7244 2003-03-09  Angus Leeming  <leeming@lyx.org>
7245
7246         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7247         than Dialogs::showTabularCreate().
7248
7249 2003-03-09  John Levon  <levon@movementarian.org>
7250
7251         * lyxtext.h:
7252         * text.C:
7253         * text2.C: 3rd arg to nextBreakPoint was always the same.
7254           Use references.
7255
7256 2003-03-08  John Levon  <levon@movementarian.org>
7257
7258         * lyxrow.C:
7259         * paragraph.C:
7260         * paragraph.h:
7261         * rowpainter.C:
7262         * text.C:
7263         * text2.C: Remove the "main" bit from the "main body"
7264           notion.
7265
7266 2003-03-08  John Levon  <levon@movementarian.org>
7267
7268         * text.C (leftMargin): The left margin of an empty
7269         manual label paragraph should not include the label width
7270         string length.
7271
7272         * text.C (prepareToPrint): don't attempt to measure hfills
7273         for empty manual label paragraphs - the answer should be 0
7274
7275 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * CutAndPaste.C: remove commented code and reindent.
7278
7279 2003-03-08  John Levon  <levon@movementarian.org>
7280
7281         * lyxfunc.h:
7282         * lyxfunc.C: move reloadBuffer()
7283
7284         * BufferView.h:
7285         * BufferView.C: to here
7286
7287         * lyxvc.C: add comment
7288
7289         * vc-backend.h:
7290         * vc-backend.C: call bv->reload() to avoid
7291           getStatus() check on MENURELOAD
7292
7293 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7294
7295         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7296         to an old format .dep file.
7297
7298 2003-03-07  Angus Leeming  <leeming@lyx.org>
7299
7300         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7301         when the LFUN_MOUSE_RELEASE should have been handled by
7302         inset->localDispatch.
7303
7304 2003-03-07  Angus Leeming  <leeming@lyx.org>
7305
7306         * BufferView_pimpl.C (dispatch):
7307         * LyXAction.C (init):
7308         * ToolbarDefaults.C (init):
7309         * commandtags.h:
7310         * lyxfunc.C (getStatus):
7311         remove LFUN_INSET_GRAPHICS.
7312
7313         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7314
7315 2003-03-07  Angus Leeming  <leeming@lyx.org>
7316
7317         * commandtags.h:
7318         * LyXAction.C (init):
7319         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7320
7321         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7322
7323         * commandtags.h:
7324         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7325
7326         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7327         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7328
7329 2003-03-07  Angus Leeming  <leeming@lyx.org>
7330
7331         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7332         remove "ert".
7333
7334 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * ParagraphList.C (front): new function
7337         (back): implement
7338
7339 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7340
7341         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7342         and top_row_offset_. removed var first_y.
7343         * text.C (top_y):
7344         * text2.C (LyXText, removeRow):
7345         * text3.C:
7346         * BufferView_pimpl.C:
7347         use these methods instead of using first_y
7348
7349 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * text2.C (pasteSelection): adjust for checkPastePossible
7352
7353         * CutAndPaste.C: remove Paragraph * buf and replace with
7354         ParagraphList paragraphs.
7355         (DeleteBuffer): delete
7356         (cutSelection): change the tc type to textclass_type
7357         (copySelection): change the tc type to textclass_type
7358         (copySelection): adjust for ParagraphList
7359         (pasteSelection): change the tc type to textclass_type
7360         (pasteSelection): adjust for Paragraphlist
7361         (nrOfParagraphs): simplify for ParagraphList
7362         (checkPastePossible): simplify for ParagraphList
7363         (checkPastePossible): remove unused arg
7364
7365         * ParagraphList.C (insert): handle the case where there are no
7366         paragraphs yet.
7367
7368         * CutAndPaste.h: make CutAndPaste a namespace.
7369
7370         * text3.C (dispatch): adjust
7371
7372         * text.C (breakParagraph): add a ParagraphList as arg
7373
7374         * paragraph_funcs.C (breakParagraph): change to take a
7375         BufferParams and a ParagraphList as args.
7376         (breakParagraphConservative): ditto
7377         (mergeParagraph): ditto
7378         (TeXDeeper): add a ParagraphList arg
7379         (TeXEnvironment): ditto
7380         (TeXOnePar): ditto
7381
7382         * buffer.C (readLyXformat2): adjust
7383         (insertStringAsLines): adjust
7384         (latexParagraphs): adjust
7385
7386         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7387         (cutSelection): adjust
7388         (pasteSelection): adjust
7389
7390         * BufferView_pimpl.C (insertInset): adjust
7391
7392 2003-03-05  Angus Leeming  <leeming@lyx.org>
7393
7394         * commandtags.h:
7395         * LyXAction.C (init):
7396         * BufferView_pimpl.C (dispatch):
7397         * lyxfunc.C (getStatus):
7398         remove LFUN_CHILD_INSERT.
7399
7400         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7401
7402 2003-03-05  Angus Leeming  <leeming@lyx.org>
7403
7404         * commandtags.h:
7405         * LyXAction.C (init):
7406         * src/factory.C (createInset):
7407         * lyxfunc.C (getStatus):
7408         * text3.C (dispatch):
7409         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7410
7411         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7412
7413 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * ParagraphList.C (insert): handle insert right before end()
7416         (erase): fix cases where it can be first or last paragraph.
7417
7418 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7421         Paragraph::next and Paragraph::previous
7422         (TeXOnePar): ditto
7423
7424         * text.C (breakParagraph): adjust
7425
7426         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7427         BufferParams& as arg.
7428         (breakParagraph): use ParagraphList::insert
7429         (breakParagraphConservative): take a Buffer* instead of a
7430         BufferParams& as arg.
7431         (breakParagraphConservative): use ParagraphList::insert.
7432
7433         * buffer.C (insertStringAsLines): un-const it
7434         (insertStringAsLines): adjust
7435
7436         * ParagraphList.C (insert): new function
7437
7438         * CutAndPaste.C (pasteSelection): adjust
7439
7440         * text.C (backspace): adjust
7441
7442         * tabular.C (SetMultiColumn): adjust
7443
7444         * CutAndPaste.C (cutSelection): adjust
7445         (pasteSelection): adjust
7446
7447         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7448         Buffer const * as arg
7449
7450         * ParagraphList.C (erase): new function
7451         * paragraph_funcs.C (mergeParagraph): use it
7452         (mergeParagraph): make it take a Buffer* instead of a
7453         BufferParams* as arg
7454
7455         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7456         as arg
7457         (breakParagraphConservative): ditto
7458
7459         * paragraph.h: remove the breakParagraph friend
7460
7461         * paragraph.C (eraseIntern): new function
7462         (setChange): new function
7463
7464         * paragraph_funcs.C (mergeParagraph): make it take a
7465         ParagraphList::iterator instead of a Paragraph *, adjust
7466         accordingly.
7467
7468         * paragraph.h: move an #endif so that the change tracking stuff
7469         also works in the NO_NEXT case.
7470
7471 2003-03-04  Angus Leeming  <leeming@lyx.org>
7472
7473         * commandtags.h:
7474         * LyXAction.C: new LFUN_INSET_MODIFY.
7475
7476         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7477         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7478
7479 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * several files: ws changes only
7482
7483         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7484         (TeXEnvironment): ditto
7485         (TeXDeeper): ditto
7486
7487         * buffer.C (makeLaTeXFile): adjust
7488         (latexParagraphs): make it take ParagraphList::iterator as args
7489
7490 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * buffer.C (latexParagraphs): adjust
7493
7494         * paragraph.C (TeXOnePar): move function...
7495         (optArgInset): move function...
7496         (TeXEnvironment): move function...
7497         * paragraph_pimpl.C (TeXDeeper): move function...
7498         * paragraph_funcs.C: ...here
7499
7500         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7501
7502 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * buffer.C (readInset): remove compability code for old Figure and
7505         InsetInfo insets
7506
7507 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * buffer.C: ws changes
7510         (readInset):
7511
7512         * BufferView_pimpl.C: ditto
7513         * author.C: ditto
7514         * buffer.h: ditto
7515         * bufferlist.h: ditto
7516         * changes.h: ditto
7517         * lyxfunc.C: ditto
7518
7519 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7520
7521         * converter.[Ch]: split into itself +
7522         * graph.[Ch]
7523         * format.[Ch]
7524         * Makefile.am: += graph.[Ch] + format.[Ch]
7525         * MenuBackend.C
7526         * buffer.C
7527         * exporter.C
7528         * importer.C
7529         * lyx_main.C
7530         * lyxfunc.C
7531         * lyxrc.C: added #include "format.h"
7532
7533 2003-02-27  Angus Leeming  <leeming@lyx.org>
7534
7535         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7536           a label.
7537
7538         * factory.C (createInset): add "label" to the factory.
7539
7540         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7541           string and do no more.
7542
7543 2003-02-27  Angus Leeming  <leeming@lyx.org>
7544
7545         * commandtags.h:
7546         * LyXAction.C (init):
7547         * factory.C (createInset):
7548         * BufferView_pimpl.C (dispatch):
7549           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7550
7551         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7552
7553         * lyxfunc.C (dispatch):
7554         * text3.C (dispatch): pass name to params2string.
7555
7556 2003-02-26  Angus Leeming  <leeming@lyx.org>
7557
7558         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7559           blocks together.
7560           Rearrange the ~includes. Strip out the unnecessary ones.
7561
7562         * factory.C (createInset): reformat.
7563           create new insets for the various LFUN_XYZ_APPLY lfuns.
7564
7565 2003-02-26  John Levon  <levon@movementarian.org>
7566
7567         * lyxrow.h:
7568         * lyxrow.C: add isParStart,isParEnd helpers
7569
7570         * paragraph.h: make isInserted/DeletedText take refs
7571
7572         * paragraph_funcs.h:
7573         * paragraph_funcs.C: remove #if 0'd code
7574
7575         * lyxtext.h:
7576         * text3.C:
7577         * text2.C:
7578         * text.C: use lyxrow helpers above.
7579           Move draw and paint routines to RowPainter.
7580           Make several methods use refs not pointers.
7581           Make backgroundColor() const.
7582           Add markChangeInDraw(), isInInset().
7583           Merge changeRegionCase into changeCase.
7584           Make workWidth() shouldn't-happen code into an Assert.
7585
7586         * rowpainter.h:
7587         * rowpainter.C: new class for painting a row.
7588
7589         * vspace.h:
7590         * vspace.C: make inPixels take a ref
7591
7592 2003-02-26  Angus Leeming  <leeming@lyx.org>
7593
7594         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7595         LFUN_REF_APPLY.
7596
7597 2003-02-25  John Levon  <levon@movementarian.org>
7598
7599         * ispell.C: give the forked command a more accurate name
7600
7601 2003-02-22  John Levon  <levon@movementarian.org>
7602
7603         * toc.h:
7604         * toc.C: make TocItem store an id not a Paragraph *
7605           (bug #913)
7606
7607 2003-02-21  Angus Leeming  <leeming@lyx.org>
7608
7609         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7610           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7611           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7612           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7613           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7614           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7615
7616         * BufferView_pimpl.C (dispatch):
7617         * LyXAction.C (init):
7618         * factory.C (createInset):
7619         * lyxfunc.C (getStatus, dispatch):
7620         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7621
7622 2003-02-21  Angus Leeming  <leeming@lyx.org>
7623
7624         * BufferView_pimpl.C (MenuInsertLyXFile):
7625         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7626         * lyxfunc.C (menuNew, open, doImport):
7627           no longer pass a LyXView & to fileDlg.
7628
7629 2003-02-21  Angus Leeming  <leeming@lyx.org>
7630
7631         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7632         * LyXAction.C: change, BIBKEY to BIBITEM.
7633         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7634         Change InsetBibKey to InsetBibitem.
7635         Change BIBKEY_CODE to BIBITEM_CODE.
7636         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7637         * factory.C: replace insetbib.h with insetbibitem.h.
7638         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7639         * paragraph.C: replace insetbib.h with insetbibitem.h.
7640         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7641         Change bibkey() to bibitem().
7642         * text.C: remove insetbib.h.
7643         * text2.C: replace insetbib.h with insetbibitem.h.
7644         change bibkey() to bibitem().
7645         * text3.C: remove insetbib.h.
7646         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7647
7648 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7649
7650         * lyxrc.C (output): enclose user email in quotes (in case there are
7651         several words)
7652
7653 2003-02-18  John Levon  <levon@movementarian.org>
7654
7655         * buffer.h: add std::
7656
7657 2003-02-17  John Levon  <levon@movementarian.org>
7658
7659         * SpellBase.h:
7660         * ispell.h:
7661         * ispell.C:
7662         * pspell.h:
7663         * pspell.C: reworking. Especially in ispell, a large
7664           number of clean ups and bug fixes.
7665
7666         * lyxfunc.C: fix revert to behave sensibly
7667
7668 2003-02-17 André Pönitz <poenitz@gmx.net>
7669
7670         * LyXAction.C:
7671         * commandtags.h: new LFUN_INSERT_BIBKEY
7672
7673         * layout.h:
7674         * lyxlayout.C:
7675         * buffer.C:
7676         * factory.C:
7677         * text.C:
7678         * text2.C:
7679         * text3.C:
7680         * paragraph.[Ch]:
7681         * paragraph_func.C: remove special bibkey handling
7682
7683 2003-02-17  John Levon  <levon@movementarian.org>
7684
7685         * text.C (Delete): fix case where delete at the end of
7686           the very first paragraph would not merge the pars
7687
7688 2003-02-17  John Levon  <levon@movementarian.org>
7689
7690         * lyxrow.C: fix lastPrintablePos()
7691
7692 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7693
7694         * bufferparams.C (writeLaTeX): add a std:here
7695
7696         * buffer.C: and remove a using directive there
7697
7698 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7699
7700         * buffer.C (makeLaTeXFile): move the code that generates the
7701           preamble...
7702
7703         * bufferparams.C (writeLaTeX): ... in this new method
7704
7705         * LaTeXFeatures.C (getEncodingSet): make const
7706           (getLanguages): make const
7707
7708         * MenuBackend.C (binding): returns the binding associated to this
7709           action
7710           (add): sets the status of each item by calling getStatus. Adds
7711           some intelligence.
7712           (read): add support for OptSubMenu
7713           (expand): remove extra separator at the end of expanded menu
7714
7715 2003-02-15  John Levon  <levon@movementarian.org>
7716
7717         * BufferView.C:
7718         * BufferView_pimpl.C:
7719         * bufferlist.h:
7720         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7721           inset code that had no actual effect. Remove unneeded status
7722           code.
7723
7724 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7725
7726         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7727           in preamble
7728
7729 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7730
7731         * text.C (drawLengthMarker): also draw an arrow marker for
7732           symbolic lengths (medskip...)
7733
7734 2003-02-14  John Levon  <levon@movementarian.org>
7735
7736         * tabular.h:
7737         * tabular.C: better method names
7738
7739 2003-02-14  John Levon  <levon@movementarian.org>
7740
7741         * BufferView_pimpl.C:
7742         * bufferlist.C:
7743         * buffer.C:
7744         * converter.C:
7745         * lyx_cb.C:
7746         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7747           it's a more accurate name. Remove some pointless uses.
7748
7749 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7750
7751         * text2.C (LyXText): change order of initilizers to shut off
7752           warnings
7753
7754 2003-02-14  John Levon  <levon@movementarian.org>
7755
7756         * buffer.C: use ParIterator for getParFromID()
7757
7758         * paragraph.h:
7759         * paragraph.C:
7760         * paragraph_pimpl.h:
7761         * paragraph_pimpl.C: remove unused getParFromID()
7762
7763 2003-02-14  John Levon  <levon@movementarian.org>
7764
7765         * buffer.C: remove some very old #if 0'd parse code
7766
7767 2003-02-13  John Levon  <levon@movementarian.org>
7768
7769         * text.h:
7770         * text.C:
7771         * text2.C: move hfillExpansion(), numberOfSeparators(),
7772           rowLast(), rowLastPrintable(), numberofHfills(),
7773           numberOfLabelHfills() ...
7774
7775         * lyxrow.h:
7776         * lyxrow.C: ... to member functions here.
7777
7778         * paragraph.h:
7779         * paragraph.C:
7780         * lyxtext.h:
7781         * text.C: remove LyXText::beginningOfMainBody(), and call
7782           p->beginningOfMainBody() directly. Move the check for
7783           LABEL_MANUAL into the latter.
7784
7785         * text.h:
7786         * text.C:
7787         * text2.C:
7788         * vspace.C:
7789         * BufferView.h:
7790         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7791
7792         * text.h:
7793         * text.C:
7794         * text2.C:
7795         * text3.C:
7796         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7797           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7798
7799 2003-02-13  John Levon  <levon@movementarian.org>
7800
7801         * CutAndPaste.C: remove debug
7802
7803 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7804
7805         * paragraph.C (asString): remove two unused variables
7806
7807         * lyxtextclass.C (readTitleType):
7808           (Read):
7809           (LyXTextClass): handle new members titletype_ and titlename_
7810
7811         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7812
7813 2003-02-09  John Levon  <levon@movementarian.org>
7814
7815         * buffer.h:
7816         * buffer.C: replace hand-coded list with a map for the dep clean
7817
7818 2003-02-08  John Levon  <levon@movementarian.org>
7819
7820         * LaTeX.C: consolidate code into showRunMessage() helper
7821
7822 2003-02-08  John Levon  <levon@movementarian.org>
7823
7824         * lyxfind.C:
7825         * lyxtext.h:
7826         * text2.C:
7827         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7828           and pass the size in explicitly
7829
7830         * BufferView_pimpl.h:
7831         * BufferView_pimpl.C:
7832         * BufferView.h:
7833         * BufferView.C: add getCurrentChange()
7834
7835         * BufferView_pimpl.h:
7836         * BufferView_pimpl.C: handle change lfuns
7837
7838         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7839           for changes. Mark pasted paragraphs as new.
7840
7841         * support/lyxtime.h:
7842         * support/lyxtime.C:
7843         * DepTable.C: abstract time_t as lyx::time_type
7844
7845         * LColor.h:
7846         * LColor.C: add colours for new text, deleted text, changebars
7847
7848         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7849           package use "usenames" option.
7850
7851         * commandtags.h:
7852         * lyxfunc.C:
7853         * LyXAction.C: add change lfuns
7854
7855         * Makefile.am:
7856         * author.h:
7857         * author.C: author handling
7858
7859         * buffer.h:
7860         * buffer.C: add a per-buffer author list, with first entry as
7861           current author. Handle new .lyx tokens for change tracking. Output
7862           author list to .lyx file. Output dvipost stuff to .tex preamble.
7863           Bump lyx format to 222.
7864
7865         * bufferlist.h:
7866         * bufferlist.C: add setCurrentAuthor() to reset current author details
7867           in all buffers.
7868
7869         * bufferparams.h:
7870         * bufferparams.C: add param for tracking
7871
7872         * bufferview_funcs.C: output change info in minibuffer
7873
7874         * Makefile.am:
7875         * changes.h:
7876         * changes.C: add change-tracking structure
7877
7878         * debug.h:
7879         * debug.C: add CHANGES debug flag
7880
7881         * lyxfind.h:
7882         * lyxfind.C: add code for finding the next change piece
7883
7884         * lyxrc.h:
7885         * lyxrc.C: add user_name and user_email
7886
7887         * lyxrow.h:
7888         * lyxrow.C: add a metric for the top of the text line
7889
7890         * lyxtext.h:
7891         * text.C: implement accept/rejectChange()
7892
7893         * lyxtext.h:
7894         * text.C: paint changebars. Paint new/deleted text in the chosen
7895         colours. Strike through deleted text.
7896
7897         * paragraph.h:
7898         * paragraph.C:
7899         * paragraph_pimpl.h:
7900         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7901           in the current change to the insert functions. Rework erase to
7902           mark text as deleted, adding an eraseIntern() and a range-based
7903           erase(). Implement per-paragraph change lookup and
7904           accept/reject.
7905
7906         * paragraph_funcs.C: Fixup paste for change tracking.
7907
7908         * tabular.C: mark added row/columns as new.
7909
7910         * text.C: fix rowLast() to never return -1. Don't allow
7911           spellchecking of deleted text. Track transpose changes. Don't
7912           allow paragraph break or merge where appropriate.
7913
7914         * text2.C: leave cursor at end of selection after a cut.
7915
7916 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7917
7918         * text.C (getLengthMarkerHeight):
7919         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7920         visible on screen too.
7921
7922 2003-02-07  John Levon  <levon@movementarian.org>
7923
7924         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7925
7926 2003-02-05  Angus Leeming  <leeming@lyx.org>
7927
7928         * lyxserver.C (read_ready): revert my patch of 11 September last year
7929         as it sends PC cpu through the roof. Presumably this means that
7930         the lyxserver will no longer run on an Alpha...
7931
7932 2003-01-30  Angus Leeming  <leeming@lyx.org>
7933
7934         * factory.C (createInset): create an InsetCommandParam of type "index"
7935         and use it to 'do the right thing'.
7936
7937         * text2.C (getStringToIndex): ensure that cursor position is always
7938         reset to the reset_cursor position.
7939
7940 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7941
7942         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7943         disabled.
7944
7945 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7946
7947         * bufferview.C:
7948         * lyxcb.C:
7949         * lyxfunc.C: Output messages with identical spelling, punctuation,
7950         and spaces
7951
7952 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7953
7954         * MenuBackend.C (expandFormats): List only viewable export formats
7955         in "View" menu
7956
7957         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7958         message
7959
7960         * lyxfunc.C (getStatus): Make sure that formats other than
7961         "fax" can also be disabled
7962
7963 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7964
7965         * text3.C (dispatch): put the lfuns that insert insets in 3
7966         groups, and call doInsertInset with appropriate arguments.
7967         (doInsertInset): new function, that creates an inset and inserts
7968         it according to some boolean parameters.
7969
7970 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * buffer.C (readFile): remember to pass on 'par' when calling
7973         readFile recursively.
7974
7975 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7976
7977         * MenuBackend.C (expandFormats): add "..." to import formats.
7978
7979 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7980
7981         * paragraph.C (asString): Remove XForms RTL hacks.
7982
7983 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7984         * buffer.C: fix typo
7985
7986 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7987
7988         * Makefile.am (LIBS): delete var
7989         (lyx_LDADD): add @LIBS@ here instead.
7990
7991 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7992
7993         * Clarify the meaning of "wheel mouse jump"
7994
7995 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7996
7997         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7998         tabular in a float
7999
8000 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8001
8002         * importer.C (Loaders): do not preallocate 3 elements in the
8003         vector, since one ends up with 6 elements otherwise
8004
8005 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8006
8007         * DepTable.C (write): write the file name as last element of the
8008         .dep file (because it may contain spaces)
8009         (read): read info in the right order
8010
8011 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8012
8013         * paragraph_pimpl.C (simpleTeXBlanks):
8014         (simpleTeXSpecialChars):
8015         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8016
8017         * tabular.C (latex): add some missing case statements. Reindent.
8018
8019         * MenuBackend.C (expandToc): remove unused variable.
8020
8021 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8022
8023         * LColor.C:
8024         * LaTeX.C:
8025         * LyXAction.C:
8026         * MenuBackend.C:
8027         * buffer.C:
8028         * exporter.C:
8029         * lyxfunc.C:
8030         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8031         and the like.
8032
8033 2003-01-05  John Levon  <levon@movementarian.org>
8034
8035         * BufferView.h:
8036         * BufferView.C: add getEncoding()
8037
8038         * kbsequence.h:
8039         * kbsequence.C: do not store last keypress
8040
8041         * lyxfunc.h:
8042         * lyxfunc.C: store last keypress here instead. Pass encoding
8043           to getISOEncoded()
8044
8045 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8046
8047         * lyx_main.C (init): remove annoying error message when following
8048         symbolic links (bug #780)
8049
8050 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8051
8052         * text.C (insertChar):
8053         * lyxrc.C (getDescription): remove extra spaces
8054
8055 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8056
8057         * lyxrc.C (getDescription): remove extra spaces
8058
8059 2002-12-20  John Levon  <levon@movementarian.org>
8060
8061         * text3.C: hack fix for page up/down across tall rows
8062
8063 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8064
8065         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8066         not been invoked
8067
8068 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8069
8070         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8071         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8072         thesaurus is not compiled in
8073
8074 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8075
8076         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8077
8078 2002-12-16  Angus Leeming  <leeming@lyx.org>
8079
8080         * lyxrc.[Ch]:
8081         * lyx_main.C (init): remove override_x_deadkeys stuff.
8082
8083 2002-12-12  John Levon  <levon@movementarian.org>
8084
8085         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8086           insert. Only remove shift modifier under strict
8087           circumstances.
8088
8089 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * MenuBackend.C (expandToc): fix crash.
8092
8093 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * MenuBackend.C (expandToc): gettext on float names.
8096
8097 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8098
8099         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8100         implement bool empty() [bug 490]
8101
8102 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8105
8106 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * several files: ws changes
8109
8110 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * text2.C (setCounter): clean up a bit, use boost.format.
8113         (updateCounters): initialize par upon declaration.
8114
8115         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8116         if the layout exists. We do not just store the layout any more.
8117         (SwitchLayoutsBetweenClasses): use boost.format
8118
8119 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8120
8121         * converter.C (convert): if from and to files are the same, use a
8122         temporary files as intermediary
8123
8124 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8125
8126         * commandtags.h:
8127         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8128
8129 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8130
8131         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8132
8133 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * tabular.C (asciiPrintCell): use string(size, char) instead of
8136         explicit loop.
8137
8138         * sgml.C (openTag): fix order of arguments to string constructor
8139         (closeTag): ditto
8140
8141         * lyxfunc.C (dispatch): use boost.format
8142
8143         * lots of files: change "c" -> 'c'
8144
8145 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8146
8147         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8148
8149 2002-11-25  Angus Leeming  <leeming@lyx.org>
8150
8151         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8152
8153         * lyx_main.C (init): compile fix.
8154
8155 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * lyx_cb.C (start): boost.formatify
8158         do not include <iostream>
8159
8160         * lengthcommon.C: ws only
8161
8162         * boost-inst.C,BoostFormat.h: add more explict instantations
8163
8164 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * lots of files: handle USE_BOOST_FORMAT
8167
8168 2002-11-21  John Levon  <levon@movementarian.org>
8169
8170         * pspell.C: fix compile
8171
8172 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8173
8174         * lyxfunc.C (dispatch): use boost::format
8175         (open): ditto
8176         (doImport): ditto
8177
8178         * lyxfont.C (stateText): use boost::format
8179
8180         * lyx_main.C (LyX): use boost::format
8181         (init): ditto
8182         (queryUserLyXDir): ditto
8183         (readRcFile): ditto
8184         (parse_dbg): ditto
8185         (typedef boost::function): use the recommened syntax.
8186
8187         * importer.C (Import): use boost::format
8188
8189         * debug.C (showLevel): use boost::format
8190
8191         * converter.C (view): use boost::format
8192         (convert): ditto
8193         (move): ditto
8194         (scanLog): ditto
8195
8196         * bufferview_funcs.C (currentState): use boost::format
8197
8198         * bufferlist.C (emergencyWrite): use boost::format
8199
8200         * buffer.C (readLyXformat2): use boost::format
8201         (parseSingleLyXformat2Token): ditto
8202
8203         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8204
8205         * LaTeX.C (run): use boost::format
8206
8207         * Chktex.C (scanLogFile): use boost::format
8208
8209         * BufferView_pimpl.C (savePosition): use boost::format
8210         (restorePosition): ditto
8211         (MenuInsertLyXFile): ditto
8212
8213         * BoostFormat.h: help file for explicit instation.
8214
8215 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * tabular.C (latex): Support for block alignment in fixed width
8218         columns.
8219
8220 2002-11-17  John Levon  <levon@movementarian.org>
8221
8222         * BufferView_pimpl.C:
8223         * lyx_cb.C:
8224         * lyxfunc.C: split filedialog into open/save
8225
8226 2002-11-08  Juergen Vigna  <jug@sad.it>
8227
8228         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8229         by my last patch (hopefully).
8230
8231 2002-11-08  John Levon  <levon@movementarian.org>
8232
8233         * iterators.h:
8234         * iterators.C:
8235         * buffer.h:
8236         * buffer.C:
8237         * paragraph.h:
8238         * paragraph.C:
8239         * toc.h:
8240         * toc.C: ParConstIterator, and use it (from Lars)
8241
8242 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8243
8244         * lyxtextclass.[Ch]: revise and add doxygen comments
8245
8246 2002-11-07  John Levon  <levon@movementarian.org>
8247
8248         * text.C: fix progress value for spellchecker
8249
8250         * toc.C: fix navigate menu for insetwrap inside minipage
8251
8252         * paragraph_funcs.C: added FIXME for suspect code
8253
8254 2002-11-07  John Levon  <levon@movementarian.org>
8255
8256         * BufferView_pimpl.C: fix redrawing of insets
8257           on buffer switch
8258
8259 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8260
8261         * text2.C (updateCounters): fix bug 668
8262
8263 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * text3.C (dispatch): Do not make the buffer dirty when moving the
8266         cursor.
8267
8268 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * vc-backend.C: STRCONV
8271         (scanMaster): ditto
8272
8273         * text2.C (setCounter): STRCONV
8274
8275         * paragraph.C (asString): STRCONV
8276
8277         * lyxlength.C (asString): STRCONV
8278         (asLatexString): ditto
8279
8280         * lyxgluelength.C (asString): STRCONV
8281         (asLatexString): ditto
8282
8283         * lyxfunc.C (dispatch): STRCONV
8284         (open): ditto
8285
8286         * lyxfont.C (stateText): STRCONV
8287
8288         * importer.C (Import): STRCONV
8289
8290         * counters.C (labelItem): STRCONV
8291         (numberLabel): ditto
8292         (numberLabel): remove unused ostringstream o
8293
8294         * chset.C: STRCONV
8295         (loadFile): ditto
8296
8297         * bufferview_funcs.C (currentState): STRCONV
8298
8299         * buffer.C (readFile): STRCONV
8300         (asciiParagraph): ditto
8301         (makeLaTeXFile): ditto
8302
8303         * Spacing.C (writeEnvirBegin): STRCONV
8304
8305         * LaTeXFeatures.C (getLanguages): STRCONV
8306         (getPackages): ditto
8307         (getMacros): ditto
8308         (getBabelOptions): ditto
8309         (getTClassPreamble): ditto
8310         (getLyXSGMLEntities): ditto
8311         (getIncludedFiles): ditto
8312
8313         * LaTeX.C: STRCONV
8314         (run): ditto
8315         (scanAuxFile): ditto
8316         (deplog): ditto
8317
8318         * LString.h: add the STRCONV macros
8319
8320         * BufferView_pimpl.C (savePosition): STRCONV
8321         (restorePosition): ditto
8322         (MenuInsertLyXFile): ditto
8323
8324         * vc-backend.C (scanMaster): change from submatch[...] to
8325         submatch.str(...)
8326
8327         * funcrequest.C: include config.h
8328
8329         * factory.C: include config.h
8330
8331         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8332
8333         * box.C: include config.h
8334
8335         * LaTeX.C (scanAuxFile): change from submatch[...] to
8336         submatch.str(...)
8337         (deplog): ditto
8338
8339 2002-10-25  Angus Leeming  <leeming@lyx.org>
8340
8341         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8342
8343         * ispell.[Ch] (setError): new method.
8344         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8345         Use setError() insetead of goto END.
8346
8347         * lyx_cb.C (AutoSave): move out child process into new class
8348         AutoSaveBuffer.
8349
8350 2002-10-30  John Levon  <levon@movementarian.org>
8351
8352         * text3.C: make start appendix undoable
8353
8354 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8355
8356         * lyxlength.C (inPixels): Fix returned value.
8357
8358         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8359         environment.
8360
8361 2002-10-24  Angus Leeming  <leeming@lyx.org>
8362
8363         * lyxgluelength.h: no need to forward declare BufferParams
8364         or BufferView, so don't.
8365
8366 2002-10-21  John Levon  <levon@movementarian.org>
8367
8368         * BufferView.C: menuUndo ->undo, redo
8369
8370         * BufferView.h: document, remove dead, make some methods private
8371
8372         * paragraph_funcs.h:
8373         * paragraph_funcs.C:
8374         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8375
8376         * buffer.h:
8377         * buffer.C:
8378         * sgml.h:
8379         * sgml.C: move sgml open/close tag into sgml.C
8380
8381         * bufferview_funcs.h: unused prototype
8382
8383         * lyxfunc.h:
8384         * lyxfunc.C: remove unused
8385
8386         * lyxtext.h:
8387         * text.C: remove unused
8388
8389 2002-10-21  John Levon  <levon@movementarian.org>
8390
8391         * BufferView.h:
8392         * BufferView.C:
8393         * BufferView_pimpl.h:
8394         * BufferView_pimpl.C: fix mouse wheel handling based on
8395           patch from Darren Freeman
8396
8397 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8398
8399         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8400
8401 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8402
8403         * lyxlength.C (inPixels): Fix hanfling of negative length.
8404         Fix LyXLength::MU case.
8405
8406 2002-10-16  John Levon  <levon@movementarian.org>
8407
8408         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8409
8410 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8411
8412         * converter.C (view): add support for $$i (file name) and $$p
8413         (file path) for the viewer command. If $$i is not specified, then
8414         it is appended to the command (for compatibility with old syntax)
8415
8416 2002-10-14  Juergen Vigna  <jug@sad.it>
8417
8418         * undo_funcs.C (textHandleUndo): alter the order in which the
8419         new undopar is added to the LyXText, as we have to set first
8420         the right prev/next and then add it as otherwise the rebuild of
8421         LyXText is not correct. Also reset the cursor to the right paragraph,
8422         with this IMO we could remove the hack in "redoParagraphs()".
8423
8424 2002-10-09  Angus Leeming  <leeming@lyx.org>
8425
8426         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8427         to turn off an optimisation if a new inset is to be inserted.
8428
8429 2002-10-11 André Pönitz <poenitz@gmx.net>
8430
8431         * lyxtext.h: make some functions public to allow access
8432         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8433
8434 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8435
8436         * text3.C (dispatch): when changing layout, avoid an infinite loop
8437         [bug #652]
8438
8439 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8440
8441         * lyxrc.C (read): treat a viewer or converter command of "none" as
8442         if it were empty.
8443
8444         * MenuBackend.C (expandFormats): for an update, also allow the
8445         formats that are not viewable
8446
8447         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8448         script if it is newer than the lyxrc.defaults in user directory
8449
8450 2002-10-07 André Pönitz <poenitz@gmx.net>
8451
8452         * text.C: Vitaly Lipatov's small i18n fix
8453
8454 2002-09-25  Angus Leeming  <leeming@lyx.org>
8455
8456         * ispell.h: doxygen fix.
8457
8458 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8459
8460         * buffer.h (readFile): Add a new argument to the method, to allow
8461         reading of old-format templates.
8462
8463 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8464
8465         * toc.C (getTocList): Get TOC from InsetWrap.
8466
8467 2002-09-16  John Levon  <levon@movementarian.org>
8468
8469         * lyxfunc.C: check tabular for cut/copy too
8470
8471 2002-09-12  John Levon  <levon@movementarian.org>
8472
8473         * LyXAction.C: tidy
8474
8475         * factory.h:
8476         * factory.C: add header
8477
8478         * paragraph_funcs.h:
8479         * paragraph_funcs.C: cleanup
8480
8481 2002-09-11  John Levon  <levon@movementarian.org>
8482
8483         * PrinterParams.h: odd/even default to true
8484
8485 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8486
8487         * PrinterParams.h: update printer parameters for new xforms dialog
8488
8489 2002-09-11  Angus Leeming  <leeming@lyx.org>
8490
8491         * lyxserver.C (read_ready): re-write to make it more transparent
8492         and to make it work in coherent fashion under Tru64 Unix.
8493
8494 2002-09-11  André Pönitz <poenitz@gmx.net>
8495
8496         * commandtags.h:
8497         * LyXAction.C:
8498         * text3.C: implement LFUN_WORDSEL
8499
8500 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8503         make floatlist_ a boost::shared_ptr<FloatList>
8504
8505         * lyxtextclass.C: include FloatList.h
8506         (LyXTextClass): initialize floatlist_
8507         (TextClassTags): add TC_NOFLOAT
8508         (Read): match "nofloat" to TC_NOFLOAT and use it.
8509         (readFloat): modify call to floatlist_
8510         (floats): ditto
8511         (floats): ditto
8512
8513         * FloatList.[Ch] (FloatList): remove commented out float
8514         initialization.
8515         (erase): new function
8516
8517 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8518
8519         * MenuBackend.C (expandToc): fix crash when there is no document
8520         open
8521
8522 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8523
8524         * many files: Add insetwrap.
8525
8526 2002-09-09  John Levon  <levon@movementarian.org>
8527
8528         * text2.C: remove confusing and awkward depth wraparound
8529
8530 2002-09-09  John Levon  <levon@movementarian.org>
8531
8532         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8533
8534         * buffer.h:
8535         * buffer.C: remove getIncludeonlyList()
8536
8537         * paragraph.C:
8538         * lyxfunc.C: remove headers
8539
8540 2002-09-09  Juergen Vigna  <jug@sad.it>
8541
8542         * text.C (getColumnNearX): fix form Michael this is most
8543         probably a cut&paste bug.
8544
8545 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8548
8549         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8550         references, ws changes.
8551
8552         * text2.C (init): update counters after init
8553         (insertParagraph): no need to set counter on idividual paragraphs.
8554         (setCounter): access the counters object in the textclass object
8555         on in the buffer object.
8556         (updateCounters): ditto
8557
8558         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8559         shared_ptr<Counters> to avoid loading counters.h in all
8560         compilation units.
8561         (LyXTextClass): initialize ctrs_
8562         (TextClassTags): add TC_COUNTER, and ...
8563         (Read): use it here.
8564         (CounterTags): new tags
8565         (readCounter): new function
8566         (counters): new funtion
8567         (defaultLayoutName): return a const reference
8568
8569         * counters.C (Counters): remove contructor
8570         (newCounter): remove a couple of unneeded statements.
8571         (newCounter): simplify a bit.
8572         (numberLabel): some small formatting changes.
8573
8574         * buffer.[Ch]: remove all traces of counters, move the Counters
8575         object to the LyXTextClass.
8576
8577 2002-09-06  Alain Castera  <castera@in2p3.fr>
8578
8579         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8580         package to set the horizontal alignment on fixed width columns.
8581
8582         * lyx_sty.C:
8583         * lyx_sty.h: added tabularnewline macro def.
8584
8585         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8586
8587 2002-09-06  John Levon  <levon@movementarian.org>
8588
8589         * LyXAction.C: tooltips for sub/superscript
8590
8591         * MenuBackend.C: a bit more verbose
8592
8593         * lyxfunc.C: tiny clean
8594
8595         * undo_funcs.C: document undo_frozen
8596
8597 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * counters.C (Counters): add missing algorithm counter.
8600
8601         * text2.C (setCounter): lookup the counter with layouts latexname
8602         instead of by section number.
8603         (setCounter): use a hackish way to lookup the correct enum
8604         counter.
8605         a float name->type change
8606         reset enum couners with counter name directly instead of depth value.
8607
8608         * counters.C (Counters): remove the push_backs, change to use the
8609         float type not the float name.
8610         (labelItem): remove unused string, float name->type change
8611
8612         * counters.h: don't include vector, loose the enums and sects vectors
8613
8614 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8617         (Read): add float->TC_FLOAT to textclassTags
8618         (Read): and handle it in the switch
8619         (readFloat): new function
8620
8621         * FloatList.C (FloatList): comment out the hardcoded float
8622         definitions.
8623
8624         * lyxlayout.h: ws change.
8625
8626 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8627
8628         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8629
8630 2002-09-03  Angus Leeming  <leeming@lyx.org>
8631
8632         * BufferView_pimpl.h: qualified name is not allowed in member
8633         declaration: WorkArea & Pimpl::workarea() const;
8634
8635         * factory.C: added using std::endl directive.
8636
8637         * text3.C: added using std::find and std::vector directives.
8638
8639 2002-08-29  André Pönitz <poenitz@gmx.net>
8640
8641         * lyxtext.h:
8642         * text2.C: remove unused member number_of_rows
8643
8644         * Makefile.am:
8645         * BufferView2.C: remove file, move contents to...
8646         * BufferView.C: ... here
8647
8648         * BufferView_pimpl.C:
8649         * factory.C: move more inset creation to factory
8650
8651         * vspace.C: avoid direct usage of LyXText, ws changes
8652
8653         * BufferView.[Ch]:
8654                 don't provide direct access to WorkArea, use two simple
8655                 acessors haveSelction() and workHeight() instead
8656
8657
8658 2002-08-29  John Levon  <levon@movementarian.org>
8659
8660         * BufferView_pimpl.C (dispatch): do not continue when
8661           no buffer
8662
8663 2002-08-28  André Pönitz <poenitz@gmx.net>
8664
8665         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8666
8667         * BufferView.h:
8668         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8669
8670 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8671
8672         * buffer.C: increment LYX_FORMAT to 221
8673
8674         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8675         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8676
8677         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8678
8679         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8680
8681 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * factory.C (createInset): use LyXTextClass::floats
8684
8685         * MenuBackend.C (expandFloatListInsert):
8686         (expandFloatInsert):
8687         (expandToc):
8688
8689         * text2.C (setCounter):
8690
8691         * LaTeXFeatures.C (useFloat):
8692         (getFloatDefinitions):
8693
8694         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8695
8696         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8697         floatlist_, with accessor floats().
8698
8699         * FloatList.h: remove global FloatList
8700
8701 2002-08-26  André Pönitz <poenitz@gmx.net>
8702
8703         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8704
8705         * BufferView.h:
8706         * BufferView2.C:
8707         * BufferView_pimpl.C:
8708         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8709
8710 2002-08-25  John Levon  <levon@movementarian.org>
8711
8712         * LyXAction.C: fix margin note description
8713
8714 2002-08-24  John Levon  <levon@movementarian.org>
8715
8716         * buffer.C:
8717         * bufferlist.C:
8718         * bufferview_funcs.C:
8719         * lyxfont.C:
8720         * undo_funcs.C: cleanups
8721
8722         * lyxfunc.C: disable CUT/COPY when no selection
8723
8724 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8725
8726         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8727         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8728
8729         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8730         Add backward compatibility to "mono", "gray" and "no".
8731
8732 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8733
8734         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8735         (and file_format >= 200).
8736
8737 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8740
8741 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8742
8743         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8744
8745 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8746
8747         * BufferView_pimpl.C:
8748         * LyXAction.C:
8749         * buffer.C:
8750         * commandtags.h:
8751         * lyxfunc.C:
8752         * paragraph.[Ch]:
8753         * text2.C:
8754         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8755         inset and code to make it  work with the paragraph code. The inset
8756         can be anywhere in the paragraph, but will only do the expected
8757         thing in LaTeX if the layout file contains the parameter line
8758                         OptionalArgs    1
8759         (or more generally, a nonzero value) for that layout.
8760
8761 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8762
8763         * paragraph.h: remove the declaration of undefined counters class
8764         function.
8765
8766 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8767
8768         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8769         Dr. Richard Hawkins.
8770
8771 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8772
8773         * paragraph_funcs.h: remove some unneeded includes
8774
8775         * text.C (backspace): pasteParagraph now in global scipe
8776
8777         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8778         (pasteSelection): ditto
8779
8780         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8781         * paragraph_funcs.C (pasteParagraph): ... here
8782
8783 2002-08-20  André Pönitz <poenitz@gmx.net>
8784
8785         * commandtags.h: new LFUNs for swapping/copying table row/colums
8786
8787         * LyXAction.C:
8788         * lyxfunc.C: support for new lfuns
8789
8790 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * tabular.C:
8793         * buffer.[Ch]: remove NO_COMPABILITY stuff
8794
8795 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * boost.C (throw_exception): new file, with helper function for
8798         boost compiled without exceptions.
8799
8800         * paragraph.h:
8801         * lyxlength.C:
8802         * buffer.C:
8803         * ParameterStruct.h:
8804         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8805
8806         * bufferlist.C (emergencyWriteAll): use boost bind
8807
8808         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8809
8810         * text.C: include paragraph_funcs.h
8811         (breakParagraph): breakParagraph is now in global scope
8812
8813         * paragraph_funcs.[Ch]: new files
8814
8815         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8816         global scope
8817
8818         * buffer.C: include paragraph_funcs.h
8819         (insertStringAsLines): breakParagraph is now in global scope
8820
8821         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8822         paragraph_funcs.C
8823
8824         * CutAndPaste.C: include paragraph_funcs.h
8825         (cutSelection): breakParagraphConservative is now in global scope
8826         (pasteSelection): ditto
8827
8828         * buffer.h: declare oprator== and operator!= for
8829         Buffer::inset_iterator
8830
8831         * bufferlist.C (emergencyWrite): don't use fmt(...)
8832
8833         * text3.C: add using std::endl
8834
8835         * BufferView.C (moveCursorUpdate): remove default arg
8836
8837 2002-08-20  André Pönitz <poenitz@gmx.net>
8838
8839         * buffer.[Ch]: move inline functions to .C
8840
8841         * BufferView2.C:
8842         * BufferView_pimpl.C:
8843         * text.C:
8844         * buffer.[Ch]: use improved inset_iterator
8845
8846         * buffer.C:
8847         * paragraph.[Ch]: write one paragraph at a time
8848
8849 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8852         style if style is not specified.
8853
8854 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8855
8856         * text2.C (setCounter): when searching for right label for a
8857         caption, make sure to recurse to parent insets (so that a caption
8858         in a minipage in a figure float works) (bug #568)
8859
8860 2002-08-20  André Pönitz <poenitz@gmx.net>
8861
8862         * text3.C: new file for LyXText::dispatch() and helpers
8863
8864         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8865
8866         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8867
8868 2002-08-19  André Pönitz <poenitz@gmx.net>
8869
8870         * lyxtext.h:
8871         * text.C: new LyXText::dispatch()
8872
8873         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8874
8875 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8876
8877         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8878
8879         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8880         Hebrew text.
8881
8882 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * Makefile.am: use $(variables) instead of @substitutions@
8885
8886 2002-08-15  André Pönitz <poenitz@gmx.net>
8887
8888         * lyxfunc.C:
8889         * BufferView_pimpl.C: streamlining mathed <-> outer world
8890         interaction
8891
8892         * commandtags.h:
8893         * LyXAction.C: remove unused LFUN_MATH
8894
8895 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8898
8899 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * paragraph.C (Paragraph): reformat a bit
8902         (cutIntoMinibuffer): use builtin InsetList function instad of
8903         doing it manually.
8904         (getInset): ditto
8905
8906         * buffer.C: include boost/bind.hpp, add using std::for_each
8907         (writeFileAscii): use ParagraphList iterators
8908         (validate): use for_each for validate traversal of paragraphs
8909         (getBibkeyList): use ParagraphList iterators
8910         (resizeInsets): use for_each to resizeInsetsLyXText for all
8911         paragraphs.
8912         (getParFromID): use ParagraphList iterators
8913
8914         * BufferView2.C (lockInset): use paragraph list and iterators
8915
8916 2002-08-14  John Levon  <levon@movementarian.org>
8917
8918         * lyxserver.C: remove spurious xforms include
8919
8920 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8923
8924 2002-08-13  André Pönitz <poenitz@gmx.net>
8925
8926         * LyXAction.[Ch]:
8927         * lyxfunc.C: further cleaning
8928
8929 2002-08-13  André Pönitz <poenitz@gmx.net>
8930
8931         * funcrequest.h: new constructor
8932
8933         * funcrequest.C: move stuff here from .h
8934
8935         * Makefile.am:
8936         * BufferView_pimpl.C:
8937         * LyXAction.C:
8938         * toc.C:
8939         * lyxfunc.C: subsequent changes
8940
8941         * lyxfunc.h: new view() member function
8942
8943         * lyxfunc.C: subsequent changes
8944
8945 2002-08-13  Angus Leeming  <leeming@lyx.org>
8946
8947         * BufferView2.C:
8948         * BufferView_pimpl.C:
8949         * buffer.C:
8950         * converter.C:
8951         * importer.C:
8952         * lyxfunc.C:
8953         * lyxvc.C:
8954         * toc.C:
8955         * vc-backend.C:
8956         changes due to the changed LyXView interface that now returns references
8957         to member variables not pointers.
8958
8959 2002-08-13  Angus Leeming  <leeming@lyx.org>
8960
8961         * WordLangTuple (word, lang_code): return references to strings,
8962         not strings.
8963
8964         * BufferView.h:
8965         * SpellBase.h:
8966         * lyxtext.h: forward-declare WordLangTuple.
8967
8968         * BufferView2.C:
8969         * ispell.C:
8970         * pspell.C:
8971         * text.C: #include "WordLangTuple.h".
8972
8973         * lyxtext.h:
8974         * text.C: (selectNextWordToSpellcheck): constify return type.
8975
8976 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8977
8978         * buffer.C:
8979         * buffer.h:
8980         * lyxtext.h:
8981         * paragraph.C:
8982         * paragraph_pimpl.h:
8983         * text.C:
8984         * text2.C:
8985         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8986         suggested by Angus.
8987         Made updateCounter always count from start of buffer, and removed
8988         second argument (par).
8989         Reverted floats number display to '#'. Perhaps I'll try again when the
8990         code base is sanitized a bit.
8991
8992 2002-08-12  Angus Leeming  <leeming@lyx.org>
8993
8994         * buffer.[Ch] (getLabelList): constify.
8995
8996 2002-08-07  André Pönitz <poenitz@gmx.net>
8997
8998         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8999
9000         * funcrequest.h: extension to keep mouse (x,y) position
9001
9002 2002-08-12  Juergen Vigna  <jug@sad.it>
9003
9004         * BufferView2.C (insertErrors): forbid undo when inserting error
9005         insets.
9006
9007         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9008
9009 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9010
9011         * ParagraphList.[Ch]: new files
9012
9013         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9014
9015         * BufferView2.C (lockInset): ParagraphList changes
9016         * toc.C: ditto
9017         * text2.C: ditto
9018         * bufferlist.C: ditto
9019         * buffer.h: ditto
9020         * buffer.C: ditto
9021
9022 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9023
9024         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9025         unused class variable counter_,
9026
9027         * paragraph.[Ch] (getFirstCounter): delete unused function
9028
9029         * counters.C: include LAssert.h
9030         (reset): add a new function with no arg, change other version to
9031         not have def. arg and to not allow empty arg.
9032
9033         * text2.C (setCounter): remove empty arg from call to Counters::reset
9034
9035 2002-08-11  John Levon  <levon@movementarian.org>
9036
9037         * Makefile.am: add WordLangTuple.h
9038
9039 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9040
9041         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9042         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9043
9044         * insets/insettext.C: InsetList changes
9045
9046         * graphics/GraphicsSupport.C (operator()): InsetList changes
9047
9048         * toc.C (getTocList): InsetList changes
9049
9050         * paragraph_pimpl.[Ch]: InsetList changes
9051
9052         * paragraph.[Ch]: InsetList changes
9053
9054         * buffer.C (inset_iterator): InsetList changes
9055         (setParagraph): ditto
9056         * buffer.h (inset_iterator): ditto
9057         * iterators.C (operator++): ditto
9058         * iterators.h: ditto
9059
9060         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9061
9062         * InsetList.[Ch]: new files, most InsetList handling moved out of
9063         paragraph.C.
9064
9065         * BufferView2.C (removeAutoInsets): InsetList changes
9066         (lockInset): ditto
9067         (ChangeInsets): ditto
9068
9069 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9070
9071         * paragraph_pimpl.h (empty): new function
9072
9073         * paragraph.[Ch] (empty): new function
9074
9075         * other files: use the new Paragraph::empty function
9076
9077 2002-08-09  John Levon  <levon@movementarian.org>
9078
9079         * lyxtext.h: remove unused refresh_height
9080
9081 2002-08-09  John Levon  <levon@movementarian.org>
9082
9083         * Makefile.am:
9084         * sgml.h:
9085         * sgml.C:
9086         * buffer.C:
9087         * paragraph.h:
9088         * paragraph.C: move sgml char escaping out of paragraph
9089
9090         * paragraph.h:
9091         * paragraph.C: remove id setter
9092
9093         * buffer.C:
9094         * paragraph.C:
9095         * paragraph_pimpl.C: remove dead tex_code_break_column
9096
9097         * bufferview_funcs.C: small cleanup
9098
9099         * lyxfunc.C: remove dead proto
9100
9101         * lyxtext.h: make some stuff private. Remove some dead stuff.
9102
9103         * lyxgluelength.C: make as[LyX]String() readable
9104
9105 2002-08-08  John Levon  <levon@movementarian.org>
9106
9107         * LyXAction.h:
9108         * LyXAction.C:
9109         * MenuBackend.C:
9110         * ToolbarDefaults.C:
9111         * lyxfunc.C:
9112         * lyxrc.C:
9113         * toc.C: lyxaction cleanup
9114
9115 2002-08-08  John Levon  <levon@movementarian.org>
9116
9117         * BufferView2.C: small cleanup
9118
9119         * lyxfind.h:
9120         * lyxfind.C: move unnecessary header into the .C
9121
9122 2002-08-08  John Levon  <levon@movementarian.org>
9123
9124         * funcrequest.h: just tedious nonsense
9125
9126         * lyx_main.h:
9127         * lyx_main.C: cleanups
9128
9129         * buffer.C:
9130         * vspace.C: remove dead header lyx_main.h
9131
9132 2002-08-07  Angus Leeming  <leeming@lyx.org>
9133
9134         * Paragraph.[Ch]:
9135         * paragraph_pimpl.h:
9136         Forward declare class Counters in paragraph.h by moving the ctrs member
9137         variable into Paragraph::Pimpl.
9138         (counters): new method, returning a reference to pimpl_->ctrs.
9139
9140         * text2.C: ensuing changes.
9141
9142 2002-08-07  John Levon  <levon@movementarian.org>
9143
9144         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9145
9146         * BufferView_pimpl.C: announce X selection on double/triple
9147           click
9148
9149         * lyx_main.C: use correct bool in batch dispatch
9150
9151         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9152
9153 2002-08-07  André Pönitz <poenitz@gmx.net>
9154
9155         * funcrequest.h: new class to wrap a kb_action and its argument
9156
9157         * BufferView.[Ch]:
9158         * BufferView_pimpl[Ch]:
9159         * LaTeX.C:
9160         * LyXAction.[Ch]:
9161         * lyxfunc.[Ch]:
9162         * lyxrc.C: subsequent changes
9163
9164
9165 2002-08-07  John Levon  <levon@movementarian.org>
9166
9167         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9168           document options change.
9169
9170 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9171
9172         * counters.[Ch]
9173         * text2.C
9174         * paragraph.[Ch]
9175         * makefile.am: move counters functionality over from
9176         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9177
9178 2002-08-06  John Levon  <levon@movementarian.org>
9179
9180         * WordLangTuple.h: new file for word + language code tuple
9181
9182         * SpellBase.h:
9183         * pspell.h:
9184         * pspell.C:
9185         * ispell.h:
9186         * ispell.C:
9187         * lyxtext.h:
9188         * text.C:
9189         * text2.C:
9190         * BufferView.h:
9191         * BufferView2.C: use WordLangTuple
9192
9193         * layout.h:
9194         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9195
9196 2002-08-06  John Levon  <levon@movementarian.org>
9197
9198         * lyx_main.C: fix cmdline batch handling
9199
9200 2002-08-06  André Pönitz <poenitz@gmx.net>
9201
9202         * lyxrc.C: set default for show_banner to true
9203
9204 2002-08-06  John Levon  <levon@movementarian.org>
9205
9206         * pspell.C: fix a crash, and allow new aspell to work
9207
9208 2002-08-06  John Levon  <levon@movementarian.org>
9209
9210         * lyxfunc.C:
9211         * kbmap.C: small cleanup
9212
9213         * vspace.h:
9214         * vspace.C: add const
9215
9216 2002-08-05  John Levon  <levon@movementarian.org>
9217
9218         * LyXAction.C: back to tabular-insert
9219
9220 2002-08-04  John Levon  <levon@movementarian.org>
9221
9222         * BufferView.h:
9223         * BufferView.C: cosmetic change
9224
9225         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9226
9227         * bufferlist.C:
9228         * buffer.h:
9229         * buffer.C:
9230         * lyxcb.h:
9231         * lyxcb.C:
9232         * lyxserver.C:
9233         * lyxvc.C:
9234         * vc-backend.C:
9235         * BufferView2.C: purge all "Lyx" not "LyX" strings
9236
9237         * lyxcursor.h:
9238         * lyxcursor.C: attempt to add some documentation
9239
9240         * lyxfunc.C:
9241         * commandtags.h:
9242         * LyXAction.C:
9243         * ToolbarDefaults.C:
9244         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9245           merge with LFUN_TABULAR_INSERT
9246
9247         * Makefile.am:
9248         * SpellBase.h:
9249         * ispell.h:
9250         * ispell.C:
9251         * pspell.h:
9252         * pspell.C: split up i/pspell implementations into separate
9253           files, many cleanups
9254
9255         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9256
9257         * text2.C: some cleanup
9258
9259         * lyxfunc.C: don't check for isp_command == "none" any more, it
9260           didn't make any sense
9261
9262 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9263
9264         * counters.[Ch]
9265         * text2.C
9266         * paragraph.[Ch]
9267         * makefile.am: move counters functionality over
9268         from text2.C/paragraph.[Ch] to counters.[Ch], and
9269         make proper C++.
9270 2002-08-02  John Levon  <levon@movementarian.org>
9271
9272         * buffer.C: s/lyxconvert/lyx2lyx/
9273
9274 2002-08-02  Angus Leeming  <leeming@lyx.org>
9275
9276         * lyxlex.C: revert John's change as it breaks reading of the user
9277         preamble.
9278
9279 2002-08-02  Angus Leeming  <leeming@lyx.org>
9280
9281         * importer.C (Import):
9282         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9283         changes due to LyXView::view() now returning a boost::shared_ptr.
9284
9285 2002-08-02  John Levon  <levon@movementarian.org>
9286
9287         * lyxlex.C: small cleanup
9288
9289 2002-08-02  John Levon  <levon@movementarian.org>
9290
9291         * text2.C (status): small cleanup, no logic change
9292
9293 2002-08-01  John Levon  <levon@movementarian.org>
9294
9295         * buffer.h:
9296         * buffer.C (writeFile): don't output alerts, caller
9297           handles this
9298
9299         * bufferlist.C:
9300         * lyx_cb.C: from above
9301
9302         * lyxfunc.C: allow to open non-existent files
9303
9304 2002-07-31  John Levon  <levon@movementarian.org>
9305
9306         * lyxserver.C: don't let incidental errors get
9307           in the way (errno)
9308
9309 2002-07-30  John Levon  <levon@movementarian.org>
9310
9311         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9312
9313 2002-07-30  John Levon  <levon@movementarian.org>
9314
9315         * lyxserver.h:
9316         * lyxserver.C: remove I/O callback too
9317
9318 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9321         log.
9322
9323 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * many files: strip,frontStrip -> trim,ltrim,rtrim
9326
9327 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9328
9329         * PrinterParams.h: remove extern containsOnly, and include
9330         support/lstrings.h instead.
9331
9332         * LaTeX.C (scanAuxFile): modify because of strip changes
9333         (deplog): ditto
9334         * buffer.C (makeLaTeXFile): ditto
9335         * bufferparams.C (writeFile): ditt
9336         * lyxfont.C (stateText): ditto
9337         * lyxserver.C (read_ready): ditto
9338         * vc-backend.C (scanMaster): ditto
9339
9340         * BufferView_pimpl.h: ws changes
9341
9342         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9343
9344 2002-07-26  André Pönitz <poenitz@gmx.net>
9345
9346         * kb_sequence.C: remove unnedred usings
9347
9348 2002-07-26  Juergen Vigna  <jug@sad.it>
9349
9350         * lyxfind.C (LyXReplace): we have to check better if the returned
9351         text is not of theLockingInset()->getLockingInset().
9352
9353 2002-07-25  Juergen Vigna  <jug@sad.it>
9354
9355         * lyxfind.C (LyXReplace): don't replace if we don't get the
9356         right LyXText.
9357
9358         * undo_funcs.C (createUndo): remove debugging code.
9359
9360 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9361
9362         * buffer.C (parseSingleLyXformat2Token): Use default placement
9363         when reading old floats.
9364
9365         * FloatList.C (FloatList): Change the default placement of figure
9366         and tables to "tbp".
9367
9368 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * MenuBackend.C: using std::max
9371
9372 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * MenuBackend.C (expandToc):
9375         (expandToc2): code moved from xforms menu frontend. It is now
9376         generic and TOCs are transparent to menu frontends.
9377
9378 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9379
9380         * toc.C (getTocList): protect against buf=0
9381
9382         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9383         Menu as first parameter. Now, this calls itself recursively to
9384         expand a whole tree (this will be useful for TOC handling)
9385         (expandFloatInsert): remove 'wide' version of floats
9386
9387         * MenuBackend.h (submenuname): returns the name of the submenu.
9388         (submenu): returns the submenu itself, provided it has been
9389         created by MenuBackend::expand
9390
9391 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9394         insets which have noFontChange == true. (bug #172)
9395
9396 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * BufferView_pimpl.C: add connection objects and use them...
9399         (Pimpl): here.
9400
9401 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * MenuBackend.C (expandLastfiles):
9404         (expandDocuments):
9405         (expandFormats):
9406         (expandFloatListInsert):
9407         (expandFloatInsert):
9408         (expand): split expand in parts
9409
9410 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * lyx_gui.C: use lyx_gui::exit()
9413
9414 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9415
9416         * LyXAction.C: show the failing pseudo action
9417
9418 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9419
9420         * buffer.C (readFile): Run the lyxconvert script in order to read
9421         old files.
9422
9423 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * LyXAction.C:
9426         * commandtags.h:
9427         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9428
9429 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * LyXAction.C:
9432         * commandtags.h:
9433         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9434
9435 2002-07-22  Herbert Voss  <voss@lyx.org>
9436
9437         * lengthcommon.C:
9438         * lyxlength.[Ch]: add support for the vertical lengths
9439
9440 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * toc.[Ch]: std:: fixes
9443
9444 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9445
9446         * lyxrc.C: do not include lyx_main.h
9447
9448         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9449         for layouts
9450
9451         * lyxrc.C:
9452         * encoding.C:
9453         * bufferlist.C:
9454         * BufferView2.C: include "lyxlex.h"
9455
9456         * tabular.h:
9457         * bufferparams.h: do not #include "lyxlex.h"
9458
9459         * lyxtextclasslist.C (Add): remove method
9460         (classlist): renamed to classlist_
9461
9462         * paragraph_pimpl.C:
9463         * paragraph.C:
9464         * text2.C:
9465         * CutAndPaste.C:
9466         * bufferview_funcs.C:
9467         * bufferlist.C:
9468         * text.C:
9469         * LaTeXFeatures.C:
9470         * buffer.C:
9471         * toc.C (getTocList): use BufferParams::getLyXTextClass
9472
9473         * toc.C (getTocList): use InsetFloat::addToToc
9474
9475         * toc.[Ch]: new files, containing helper functions to handle table
9476         of contents
9477
9478         * lyxfunc.C (dispatch): no need to remove spaces around command
9479         given as a string
9480         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9481         first command of the sequence; it is not very clever, but I do not
9482         have a better idea, actually
9483
9484         * LyXAction.C (LookupFunc): make sure to remove space at the
9485         beginning and end of the command
9486
9487 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * MenuBackend.C (getMenubar): new method: return the menubar of
9490         this menu set
9491         (read): treat differently reading of menu and menubar (in
9492         particular, the menubar has no name now)
9493         (Menu::menubar): remove
9494
9495         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9496         saving is finished
9497
9498 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9499
9500         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9501         a bibitem inset in a RTL paragraph.
9502
9503 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9504
9505         * paragraph_pimpl.C: constify
9506
9507         * BufferView_pimpl.C:
9508         * LaTeX.C:
9509         * lyxfunc.C: fix dispatch in a nicer way
9510
9511 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9512
9513         * lyxfunc.C (dispatch):
9514         * BufferView_pimpl.C:
9515         * BufferView_pimpl.h:
9516         * BufferView.C:
9517         * BufferView.h: rename Dispatch() to dispatch()
9518
9519         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9520
9521         * lyxlayout.C (Read): honor DependsOn tag
9522
9523         * lyxlayout.[Ch] (depends_on): new method
9524
9525         * version.C.in: update lyx_docversion
9526
9527         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9528
9529         * paragraph.C (validate): remove from here...
9530         * paragraph_pimpl.C (validate): ... and move here
9531         (isTextAt): make it const
9532
9533         * buffer.C (getLists): ws cleanup
9534
9535 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9536
9537         * language.C (read): Use iso8859-1 encoding in latex_lang
9538         (this prevents LyX from crashing when using iso10646-1 encoding).
9539
9540 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * text2.C (toggleInset): if cursor is inside an inset, close the
9543         inset and leave cursor _after_ it
9544
9545 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * lyxfunc.C: move minibuffer completion handling out of here
9548
9549 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * BufferView_pimpl.C:
9552         * LaTeX.C: fix dispatch calls
9553
9554 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9555
9556         * text.C (drawChars): Fix Arabic text rendering.
9557
9558 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * LyXAction.C:
9561         * commandtags.h:
9562         * lyxfunc.C: remove message-push/pop
9563
9564         * lyxserver.C:
9565         * lyxfunc.h:
9566         * lyxfunc.C: rationalise some code by removing verboseDispatch
9567           in favour of a bool argument to dispatch()
9568
9569 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * lyx_main.C (init): make sure to read symlinks as absolute paths
9572
9573 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * lyxfunc.h:
9576         * lyxfunc.C: no need for commandshortcut to be a member
9577
9578 2002-07-15  André Pönitz <poenitz@gmx.net>
9579
9580         * converter.C: add support for $$s (scripts from lib/scripts dir)
9581         * lyx_main.C: white space
9582
9583 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * bufferlist.C:
9586         * lyxrc.h:
9587         * lyxrc.C: remove second exit confirmation
9588
9589 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9590
9591         * BufferView.h:
9592         * BufferView.C:
9593         * BufferView2.C:
9594         * BufferView_pimpl.h:
9595         * BufferView_pimpl.C:
9596         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9597
9598 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9599
9600         * MenuBackend.C (expand): add numeric shortcuts to document menu
9601
9602         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9603
9604 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * lyxfont.C (setLyXFamily):
9607         (setLyXSeries):
9608         (setLyXShape):
9609         (setLyXSize):
9610         (setLyXMisc):
9611         (lyxRead):
9612         * debug.C (value):
9613         * buffer.C (asciiParagraph): use ascii_lowercase
9614
9615 2002-07-15  Mike Fabian  <mfabian@suse.de>
9616
9617         * lyxlex_pimpl.C (search_kw):
9618         * lyxlex.C (getLongString):
9619         * converter.h (operator<):
9620         * converter.C (operator<):
9621         * buffer.C (parseSingleLyXformat2Token):
9622         (asciiParagraph):
9623         * ToolbarDefaults.C (read):
9624         * MenuBackend.C (checkShortcuts):
9625         (read):
9626         * LColor.C (getFromGUIName):
9627         (getFromLyXName): use the compare_ascii_no_case instead of
9628         compare_no_case, because in turkish, 'i' is not the lowercase
9629         version of 'I', and thus turkish locale breaks parsing of tags.
9630
9631 2002-07-16  Angus Leeming  <leeming@lyx.org>
9632
9633         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9634         now takes a Buffer const & argument.
9635
9636 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * BufferView.C (resize): check there's a buffer to resize
9639
9640 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * lyxfunc.C: remove dead code
9643
9644         * lyxserver.h:
9645         * lyxserver.C: use lyx_guii::set_read_callback
9646
9647 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9648
9649         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9650         an inset in a RTL paragraph.
9651
9652 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * lyxfunc.C: repaint after a font size update
9655
9656 2002-07-15  André Pönitz <poenitz@gmx.net>
9657
9658         * lyxlength.C: inBP should be able to return negative values
9659
9660 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * lyxfunc.C: use lyx_gui::update_fonts()
9663
9664 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * lyxfunc.C: use lyx_gui::update_color()
9667
9668 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * bufferlist.C:
9671         * lyxfunc.h:
9672         * lyxfunc.C:
9673         * lyxrc.h:
9674         * lyxrc.C: remove file->new asks for name option, and let
9675           buffer-new take an argument
9676
9677 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * BufferView_pimpl.C: remove unneeded extra repaint()
9680
9681 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * LyXAction.C: allow command-sequence with NoBuffer
9684
9685         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9686
9687 2002-07-10  Angus Leeming  <leeming@lyx.org>
9688
9689         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9690
9691 2002-07-09  Angus Leeming  <leeming@lyx.org>
9692
9693         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9694
9695 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9696
9697         * lengthcommon.h: whitespace
9698
9699         * lyxfunc.C: update scrollbar after goto paragraph
9700
9701         * lyxtext.h: factor out page break drawing, and fix it so
9702           page break/added space paints as selected nicely
9703
9704 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * BufferView_pimpl.C: add FIXMEs, clean up a little
9707
9708 2002-07-09  André Pönitz <poenitz@gmx.net>
9709
9710         * lyxfont.[Ch]: support for wasy symbols
9711
9712 2002-07-08  André Pönitz <poenitz@gmx.net>
9713
9714         * BufferView_pimpl.C: apply John's patch for #93.
9715
9716 2002-07-05  Angus Leeming  <leeming@lyx.org>
9717
9718         * BufferView_pimpl.C (buffer): generate previews if desired.
9719
9720         * LColor.h: add "preview" to the color enum.
9721
9722         * LColor.C (LColor): add a corresponding entry to the items array.
9723
9724         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9725         with this buffer.
9726
9727 2002-07-05  Angus Leeming  <leeming@lyx.org>
9728
9729         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9730         The body of the code is now in the method that is passed an ostream &
9731         rather than a file name.
9732         Pass an additional only_preamble parameter, useful for the forthcoming
9733         preview stuff.
9734
9735 2002-07-03  André Pönitz <poenitz@gmx.net>
9736
9737         * lyxfunc.C: simplify getStatus() a bit for math stuff
9738
9739 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9740
9741         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9742
9743 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * text.C (changeRegionCase): do not change case of all the
9746         document when region ends at paragraph end (bug #461)
9747
9748 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * paragraph.C (startTeXParParams):
9751         (endTeXParParams): add \protect when necessary
9752
9753 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * BufferView_pimpl.C (workAreaExpose): remove warning
9756
9757 2002-06-27  Angus Leeming  <leeming@lyx.org>
9758
9759         * Makefile.am: add lyxlayout_ptr_fwd.h.
9760
9761 2002-06-26  André Pönitz <poenitz@gmx.net>
9762
9763         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9764
9765 2002-06-25  Angus Leeming  <leeming@lyx.org>
9766
9767         * lyxfunc.C (dispatch): Comment out the call to
9768         grfx::GCache::changeDisplay. The method no longer exists now that the
9769         pixmap generation part of the graphics loader has been moved into
9770         InsetGraphics.
9771
9772 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * text2.C: layout as layout
9775
9776         * text.C: layout as layout
9777
9778         * tabular.C (OldFormatRead): layout as layout
9779
9780         * paragraph_pimpl.C (TeXDeeper): layout as layout
9781         (realizeFont): layout as layout
9782
9783         * paragraph.C (writeFile): layout as layout
9784         (validate): layout as layout
9785         (getFont): layout as layout
9786         (getLabelFont): layout as layout
9787         (getLayoutFont): layout as layout
9788         (breakParagraph): layout as layout
9789         (stripLeadingSpaces): layout as layout
9790         (getEndLabel): layout as layout
9791         (getMaxDepthAfter): layout as layout
9792         (applyLayout): layout as layout
9793         (TeXOnePar): layout as layout
9794         (simpleTeXOnePar): layout as layout
9795         (TeXEnvironment): layout as layout
9796         (layout): layout as layout
9797         (layout): layout as layout
9798
9799         * lyxtextclass.C (compare_name): new functor to work with
9800         shared_ptr, layout as layout
9801         (Read): layout as layout
9802         (hasLayout): layout as layout
9803         (operator): layout as layout
9804         (delete_layout): layout as layout
9805         (defaultLayout): layout as layout
9806
9807         * lyxlayout_ptr_fwd.h: new file
9808
9809         * lyxlayout.C (Read): layout as layout
9810
9811         * lyx_cb.C (MenuInsertLabel): layout as layout
9812
9813         * bufferlist.C (newFile): layout as layout
9814
9815         * buffer.C (readLyXformat2): layout as layout
9816         (parseSingleLyXformat2Token): layout as layout
9817         (insertStringAsLines): layout as layout
9818         (asciiParagraph): layout as layout
9819         (latexParagraphs): layout as layout
9820         (makeLinuxDocFile): layout as layout
9821         (simpleLinuxDocOnePar): layout as layout
9822         (makeDocBookFile): layout as layout
9823         (simpleDocBookOnePar): layout as layout
9824         (getLists): layout as layout
9825
9826         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9827
9828         * CutAndPaste.C (cutSelection): layout as layout
9829         (pasteSelection): layout as layout
9830         (SwitchLayoutsBetweenClasses): layout as layout
9831
9832         * BufferView_pimpl.C (Dispatch): layout as layout
9833         (smartQuote): layout as layout
9834
9835         * BufferView2.C (unlockInset): layout as layout
9836
9837 2002-06-24  André Pönitz <poenitz@gmx.net>
9838
9839         * lyxfunc.C: fix #487
9840
9841 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * lyxrc.h:
9844         * lyxrc.C:
9845         * lyxfunc.C: remove display_shortcuts, show_banner
9846
9847 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * Buffer_pimpl.C: oops, update on resize
9850
9851 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * buffer.C:
9854         * converter.C:
9855         * exporter.C:
9856         * lyxfunc.C:
9857         * BufferView.h:
9858         * BufferView.C: use repaint()
9859
9860         * BufferView_pimpl.h:
9861         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9862           as it's a clearer description. Remove superfluous
9863           redraws.
9864
9865 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * text.C: fix bug 488. Not ideal, but getting
9868           getWord() to work properly for the insets that
9869           matter is more difficult ...
9870
9871 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * BufferView_pimpl.C:
9874         * LyXAction.C:
9875         * commandtags.h:
9876         * lyxfunc.C: remove the six million index lyxfuncs to just
9877           one, and DTRT (bug 458)
9878
9879 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * BufferView.h:
9882         * BufferView.C:
9883         * BufferView_pimpl.h:
9884         * BufferView_pimpl.C: clean up resize() stuff,
9885           and unnecessary updateScreen()s
9886
9887 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * BufferView.h:
9890         * BufferView.C:
9891         * BufferView_pimpl.h:
9892         * BufferView_pimpl.C:
9893         * lyxfind.h:
9894         * lyxfind.C:
9895         * minibuffer.C: remove focus management of workarea,
9896           not needed. Use screen's greyOut()
9897
9898 2002-06-17  Herbert Voss  <voss@lyx.org>
9899
9900         * converter.C: (convert) do not post a message, when converting
9901         fails, let the calling function decide what to do in this case
9902
9903 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * lyxfunc.C: tidy up a little
9906
9907 2002-06-16    <alstrup@diku.dk>
9908
9909         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9910         Got rid of FORMS_H_LOCATION include. Now we are
9911         GUII.
9912
9913 2002-06-15  LyX Development team  <lyx@rilke>
9914
9915         * buffer.[Ch] (sgmlOpenTag):
9916         (sgmlCloseTag): Added support for avoiding pernicious mixed
9917         content. Return number of lines written.
9918
9919         (makeLinuxDocFile):
9920         (makeDocBookFile): Fixed calls to sgml*Tag.
9921         Simple white space clean.
9922
9923         (simpleDocBookOnePar): Simple white space clean.
9924
9925         * tabular.[Ch] (docBook): Renamed to docbook and got another
9926         argument to related with the pernicious mixed content.
9927
9928         (docbookRow): Fixed calls for docbook inset method.
9929
9930 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9931
9932         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9933         so it's X11 independent.
9934
9935         * kb*.[Ch]: ditto.
9936
9937         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9938
9939 2002-06-15  Lyx Development team  <lyx@electronia>
9940
9941         * intl.h: Renamed getTrans to getTransManager.
9942
9943 2002-06-14  Angus Leeming  <leeming@lyx.org>
9944
9945         * Makefile.am: nuke forgotten stl_string_fwd.h.
9946
9947 2002-06-12  Angus Leeming  <leeming@lyx.org>
9948
9949         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9950
9951 2002-06-13  Angus Leeming  <leeming@lyx.org>
9952
9953         * LaTeX.C:
9954         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9955
9956 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9957
9958         * kbmap.C (getiso): add support for cyrillic and greek
9959
9960 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * BufferView.h:
9963         * BufferView.C:
9964         * BufferView_pimpl.h:
9965         * BufferView_pimpl.C: move bogus scrolling logic
9966           to xforms
9967
9968 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * lyxfunc.C:
9971         * BufferView_pimpl.C: view->resize() change
9972
9973 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * BufferView_pimpl.C: topCursorVisible
9976           prototype change
9977
9978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * Makefile.am:
9981         * lyx_gui.h:
9982         * lyx_gui.C: move to frontends/
9983
9984         * main.C:
9985         * lyx_main.h:
9986         * lyx_main.C: changes from above
9987
9988 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * intl.C:
9991         * intl.h:
9992         * kbmap.C:
9993         * kbsequence.C:
9994         * lyx_cb.C:
9995         * lyx_main.C: minor tidy
9996
9997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * BufferView_pimpl.h:
10000         * BufferView_pimpl.C:
10001         * BufferView.h:
10002         * BufferView.C: make painter() const,
10003           remove dead code
10004
10005         * BufferView2.C: use screen() accessor
10006
10007         * lyx_main.h:
10008         * lyx_main.C: some minor cleanup
10009
10010 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * BufferView_pimpl.h:
10013         * BufferView_pimpl.C: remove enter/leaveView,
10014           use workHeight()
10015
10016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * BufferView.h:
10019         * BufferView.C:
10020         * BufferView2.C:
10021         * BufferView_pimpl.h:
10022         * BufferView_pimpl.C: only construct screen once,
10023           rename
10024
10025         * lyxrc.C: remove pointless comment
10026
10027 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * BufferView.h:
10030         * BufferView.C: remove active() and belowMouse()
10031
10032         * BufferView_pimpl.h:
10033         * BufferView_pimpl.C: use workarea() not workarea_,
10034           and make it use a scoped_ptr instead
10035
10036 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * lyx_gui.C: add debug message on BadWindow
10039
10040 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10041
10042         * sp_spell.C: fdopen is not part of the C++ standard.
10043
10044         * paragraph.C (InsetIterator): use >= instead of ==
10045
10046 2002-06-07  Angus Leeming  <leeming@lyx.org>
10047
10048         Fixes needed to compile with Compaq cxx 6.5.
10049         * BufferView_pimpl.C:
10050         * DepTable.C:
10051         * buffer.C:
10052         * converter.C:
10053         * encoding.C:
10054         * lyx_gui.C:
10055         * lyx_main.C:
10056         * lyxtextclasslist.C:
10057         * minibuffer.C:
10058         * sp_spell.C:
10059         * tabular_funcs.C:
10060         * vc-backend.C:
10061         all c-library variables have been moved into namespace std. Wrap
10062         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10063
10064         * lyxlength.C:
10065         * tabular-old.C:
10066         * tabular.C:
10067         Add a using std::abs declaration.
10068
10069         * kbmap.h (modifier_pair):
10070         * paragraph.h (InsetTable, InsetList):
10071         * lyxfont.h (FontBits):
10072         type definition made public.
10073
10074         * bufferlist.C (emergencyWriteAll): the compiler complains that
10075         there is more than one possible lyx::class_fun template to choose from.
10076         I re-named the void specialisation as lyx::void_class_fun.
10077
10078         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10079
10080         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10081         the compiler is is unable to find tostr in write_attribute.
10082
10083 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * buffer.C (sgmlError): hide #warning
10086
10087 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * xtl/*: get rid of xtl, which is not in use anyway
10090
10091         * LyXAction.C (init):
10092         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10093         were unimplemented xtl experimentation
10094
10095 2002-06-04  André Pönitz <poenitz@gmx.net>
10096
10097         * lyxfunc.C: disable array operation on simple formulae
10098
10099 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * converter.C: constify a bit
10102
10103 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10104
10105         * lyx_gui.C: check xforms version correctly
10106
10107 2002-04-30  Herbert Voss  <voss@lyx.org>
10108
10109         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10110         "keep" option
10111
10112 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10115           attempt to register it with a VCS)
10116
10117 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10118
10119         * lyx_main.C (init): honor variables LYX_DIR_13x and
10120         LYX_USERDIR_13x
10121
10122 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * buffer.h:
10125         * buffer.C:
10126         * lyx_main.C: fix a crash on bad command line,
10127           and give a useful exit status on error
10128
10129         * lyxfunc.C (doImport): allow -i lyx to work
10130
10131 2002-03-30  André Pönitz <poenitz@gmx.net>
10132
10133         * lyxfunc.C: mathed font changes
10134
10135 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * LaTeX.C:
10138         * importer.h:
10139         * importer.C:
10140         * lyx_sty.h:
10141         * lyx_sty.C:
10142         * lyxlex.C:
10143         * lyxrow.h:
10144         * lyxtext.h:
10145         * paragraph.h:
10146         * paragraph.C:
10147         * texrow.h:
10148         * texrow.C:
10149         * text.C:
10150         * trans_mgr.h: srcdocs, and some minor cleanups
10151
10152 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10155         call getFont all the time)
10156
10157 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10158
10159         * switch from SigC signals to boost::signals
10160
10161 2002-05-29  André Pönitz <poenitz@gmx.net>
10162
10163         * paragraph_pimpl.C (getChar): don't call size() too often...
10164
10165 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * paragraph_pimpl.C (insertChar): do not try to update tables when
10168         appending (pos == size())
10169
10170         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10171         in order to reduce drastically the number of comparisons needed to
10172         parse a large document
10173
10174 2002-05-29  André Pönitz <poenitz@gmx.net>
10175
10176         * text.C:
10177         * text2.C:
10178         * lyxtextclass.C:
10179         * sp_pspell.h:
10180         * textclasslist.[Ch]:
10181         * sp_ispell.h: whitespace change
10182
10183 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10184
10185         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10186         lyxaction directly now.
10187
10188 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * trans.C:
10191         * lyxfont.C:
10192         * lyxvc.C: remove unused headers
10193
10194 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * Makefile.am:
10197         * buffer.h:
10198         * undostack.h:
10199         * undostack.C:
10200         * undo_funcs.h:
10201         * undo_funcs.C: some cleanups. Use shared_ptr
10202           and a template for the undo stacks.
10203
10204 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * BufferView_pimpl.h:
10207         * BufferView_pimpl.C:
10208         * kbmap.h:
10209         * kbmap.C:
10210         * kbsequence.h:
10211         * kbsequence.C:
10212         * lyxfunc.h:
10213         * lyxfunc.C:
10214         * text2.C: use key_state/mouse_state
10215
10216 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10219         and LSubstring
10220
10221         * chset.C: change include order
10222         (loadFile): use boost regex and get rid of LRegex and LSubstring
10223
10224         * Makefile.am (BOOST_LIBS): new variable
10225         (lyx_LDADD): use it
10226
10227         * LaTeX.C: change include order.
10228         (scanAuxFile): use boost regex and get rid of LRegex and
10229         LSubstring
10230         (deplog): ditto
10231
10232 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * ColorHandler.h:
10235         * ColorHandler.C:
10236         * FontInfo.h:
10237         * FontInfo.C: moved to frontends/xforms/
10238
10239         * FontLoader.h:
10240         * FontLoader.C: moved into frontends for GUIIzation
10241
10242         * Makefile.am:
10243         * lyx_gui.C:
10244         * lyxfont.C:
10245         * lyxfunc.C: changes from above
10246
10247 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * LColor.C: remove spurious X include
10250
10251         * BufferView_pimpl.C:
10252         * Makefile.am:
10253         * font.h:
10254         * font.C:
10255         * text.C:
10256         * text2.C: move font metrics to frontends/
10257
10258 2002-05-24  Juergen Vigna  <jug@sad.it>
10259
10260         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10261         setting the undo_cursor.
10262
10263         * ParagraphParameters.h: include local includes first.
10264
10265 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * BufferView_pimpl.C:
10268         * BufferView_pimpl.h:
10269         * Makefile.am:
10270         * WorkArea.h:
10271         * WorkArea.C:
10272         * screen.C: move WorkArea into frontends/
10273
10274         * lyxscreen.h:
10275         * screen.C:
10276         * text.C:
10277         * BufferView.C:
10278         * BufferView2.C: move LyXScreen into frontends/
10279
10280         * lyxlookup.h:
10281         * lyxlookup.C:
10282         * lyx_gui.C: move lyxlookup into frontends/xforms/
10283
10284 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * BufferView2.C:
10287         * BufferView_pimpl.C:
10288         * FontLoader.C:
10289         * LyXView.h:
10290         * LyXView.C:
10291         * Makefile.am:
10292         * WorkArea.C:
10293         * XFormsView.h:
10294         * XFormsView.C:
10295         * buffer.C:
10296         * bufferlist.C:
10297         * bufferview_funcs.C:
10298         * converter.C:
10299         * importer.C:
10300         * lyx_cb.C:
10301         * lyx_gui.C:
10302         * lyx_main.C:
10303         * lyx_find.C:
10304         * lyxfunc.C:
10305         * lyxvc.C:
10306         * minibuffer.C:
10307         * text.C:
10308         * text2.C:
10309         * trans.C:
10310         * vc-backend.C: move LyX/XFormsView into frontends/
10311
10312 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10313
10314         * Makefile.am:
10315         * PainterBase.C:
10316         * PainterBase.h:
10317         * Painter.C:
10318         * Painter.h:
10319         * WorkArea.C:
10320         * WorkArea.h:
10321         * screen.C:
10322         * tabular.C:
10323         * text.C:
10324         * text2.C: move Painter to frontends/
10325
10326 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * buffer.C: comment out some some code that depend upon lyx_format
10329         < 220
10330
10331         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10332         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10333
10334         * buffer.h (NO_COMPABILITY): turn off compability
10335
10336         * ColorHandler.C: include scoped_array.hpp
10337
10338         * font.C: Use more specific smart_ptr header.
10339         * Painter.C: ditto
10340         * gettext.C: ditto
10341         * ShareContainer.h: ditto
10342         * lyx_main.h: ditto
10343         * kbmap.h: ditto
10344         * FontInfo.h: ditto
10345         * BufferView_pimpl.h: ditto
10346         * ColorHandler.h: ditto
10347
10348         * kbmap.C (defkey): change call to shared_ptr::reset
10349
10350 2002-05-21  Juergen Vigna  <jug@sad.it>
10351
10352         * buffer.C (insertErtContents): fix to insert ert asis if it is
10353         non empty. Skip it completely if it contains only whitespaces.
10354
10355 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * BufferView_pimpl.C:
10358         * BufferView2.C: clear selection on paste (bug 393)
10359
10360 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10361
10362         * DepTable.C: include ctime
10363
10364 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10365
10366         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10367
10368 2002-05-14  Juergen Vigna  <jug@sad.it>
10369
10370         * text.C (breakParagraph): fixed function to honor the keepempty
10371         layout in the right maner and also to permit the right breaking
10372         algorithm on empty or non empyt keepempty paragraphs.
10373
10374         * paragraph.C (breakParagraph): we have to check also if the par
10375         is really empty (!size()) for isempty otherwise we do the wrong
10376         paragraph break.
10377
10378 2002-05-10  Juergen Vigna  <jug@sad.it>
10379
10380         * buffer.[Ch] : The following are only changes to the ert
10381         compatibility read reading old LaTeX layout and font stuff and
10382         convert it to ERTInsets.
10383
10384         * buffer.h: added isErtInset().
10385
10386         * buffer.C (struct ErtComp): add a fromlayout bool to check
10387         if we're inside a LaTeX layout.
10388         (isErtInset): new helper function.
10389         (insertErtContents): look for other ert insets before this one
10390         and insert the contents there, so that we don't have subsequent
10391         ERT insets with nothing between them. This way we create only one
10392         inset with multiple paragraphs. Also check if we don't insert only
10393         spaces ' ' as they are ignored anyway afterwards in the .tex file
10394         so if we have only spaces we will ignore this latex part in the
10395         new file.
10396         (parseSingleLyXformat2Token \\layout): better compatibility when
10397         reading layout-latex stuff.
10398         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10399         language tag.
10400         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10401         stuff after reading the inset only get the information back from
10402         the stack.
10403
10404 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10405
10406         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10407
10408         * LaTeXFeatures.C (getBabelOptions): New method.
10409
10410 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10411
10412         * BufferView_pimpl.C (Dispatch): work around missing argument for
10413         'layout'
10414
10415 2002-05-08  Juergen Vigna  <jug@sad.it>
10416
10417         * text.C (leftMargin): handle paragraph leftindent.
10418
10419         * paragraph.C (writeFile): write the new \\leftindent tag.
10420         (validate): handle leftindent code.
10421         (TeXEnvironment): handle paragraphleftindent code again.
10422
10423         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10424
10425         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10426         for paragrap_extra indent code and new token \\leftindent.
10427         (latexParagraphs): handle the leftindent as environment.
10428
10429         * ParameterStruct.h: added leftindent support.
10430
10431         * ParagraphParameters.C (leftIndent): added support functions for
10432         the paragraph left indent.
10433
10434         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10435         more appropriate.
10436
10437 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10438
10439         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10440         inside insetERT.
10441
10442         * text.C (computeBidiTables): No bidi in insetERT.
10443
10444         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10445         in RTL documents.
10446
10447 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10448
10449         * version.C.in: pre 5
10450
10451 2002-05-02  José Matos  <jamatos@fep.up.pt>
10452         * buffer.C (makeDocBookFile): white space changes, add newline to
10453         command styles.
10454         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10455
10456         * tabular.C (docBook): fix typo.
10457
10458 2002-05-03  Juergen Vigna  <jug@sad.it>
10459
10460         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10461         change in LyXText as we can not be sure it was not freed.
10462         (drawOneRow): remove unused code.
10463
10464         * text.C (drawInset): redo the calculation of the need_break_row as
10465         it could have a row which was already freed.
10466         (draw): look at the return value of drawInset and return false if
10467         it also returned false.
10468         (paintRowText): look at the return value of draw and return false if
10469         it also returned false.
10470
10471         * lyxtext.h: added bool return type to drawInset() and draw() so that
10472         if we have a change in the row so that the rowbreak has to be redone
10473         we abort drawing as it will be called again.
10474
10475 2002-05-02  Juergen Vigna  <jug@sad.it>
10476
10477         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10478         a change in the maintext also if we're inside an inset.
10479         (Dispatch): set the cursor again after a break line and after the
10480         screen has been updated as it could be we're in a different row.
10481
10482         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10483         to set the cursor behind the pargraph with > size().
10484         (setCursor): check also for the same paragraph when checking where
10485         to put the cursor if we have a NFR inset.
10486
10487         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10488         parts of layout read further up as it still was in the wrong
10489         position.
10490
10491 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10492
10493         * screen.C (drawFromTo): change sine fullRebreak always return
10494         true.
10495
10496         * buffer.C (parseSingleLyXformat2Token): reindent some
10497
10498         * BufferView_pimpl.C (update): change since fullRebreak always
10499         return true.
10500         (Dispatch): git rid of the last hardcoded "Standard"s.
10501
10502 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10503
10504         * text2.[Ch] (fullRebreak): make it return void now that we always
10505         returned true.
10506
10507 2002-04-30  Juergen Vigna  <jug@sad.it>
10508
10509         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10510         ert compatibility check for "latex" layout.
10511
10512 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10515         minipages: use col% instead of p%, and also use the current font.
10516         (makeLaTeXFile): Fix use babel condition.
10517         (parseSingleLyXformat2Token): Correct font when reading old floats.
10518
10519 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10520
10521         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10522         inserting list of floats.
10523
10524 2002-04-25  Herbert Voss  <voss@lyx.org>
10525
10526         * MenuBackend.C (expand): don't add the graphics extensions to the
10527         export menu
10528
10529 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10532         non-existing layout, do not complain if it was the default layout
10533         of the original class (bug #342)
10534
10535 2002-04-24  Juergen Vigna  <jug@sad.it>
10536
10537         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10538         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10539
10540 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10541
10542         * buffer.C (getBibkeyList): If using \bibliography, return the
10543         option field with the reference itself. Enables us to provide natbib
10544         support when using \bibliography.
10545
10546 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10547
10548         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10549
10550         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10551         natbib is provided by the LaTeX class.
10552
10553 2002-04-23  Juergen Vigna  <jug@sad.it>
10554
10555         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10556         Wakeup functions.
10557
10558         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10559
10560 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10563
10564         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10565         ensuremath around textordmasculine, textordfeminine and
10566         textdegree.
10567
10568 2002-04-19  Juergen Vigna  <jug@sad.it>
10569
10570         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10571         reinitializing the buffer otherwise row-dimensions may be wrong.
10572         (update): reset also the selection cursors if they do exits otherwise
10573         their x/y positions may be wrong.
10574
10575         * text2.C (cursorDown): don't enter the inset if we came from a row
10576         above and are one row over the inset.
10577
10578         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10579         really leaving an inset.
10580
10581 2002-04-18  Juergen Vigna  <jug@sad.it>
10582
10583         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10584         of the selected paragraph does not have the selected layout also if
10585         the last one had!
10586
10587         * text2.C (setLayout): fixed bug which did not change last selected
10588         paragraph.
10589
10590         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10591         changed the read and substituted \\end_float with \\end_inset!
10592
10593         * BufferView_pimpl.C (cursorPrevious):
10594         (cursorNext): fixed to make it work with rows heigher than the work
10595         area without moving the cursor only the draw of the row.
10596         (workAreaMotionNotify): fix jumping over high rows.
10597
10598 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10599
10600         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10601         Ressler.
10602
10603 2002-04-16  Juergen Vigna  <jug@sad.it>
10604
10605         * text2.C (setCursor): set also the irow().
10606         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10607         (cursorUp):
10608         (cursorDown): support for locking an inset if the x_fix value goes
10609         inside it. That way I can transverse insets too with cursor up/down.
10610
10611         * lyxrow.h: added irow helper function same as other (i) functions.
10612
10613         * BufferView_pimpl.C (cursorPrevious):
10614         (cursorNext): fixed for insets!
10615
10616 2002-04-15  Juergen Vigna  <jug@sad.it>
10617
10618         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10619         position otherwise it is wrong in some cases.
10620
10621         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10622         inside the inset before the call.
10623
10624 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10625
10626         * buffer.[Ch] (getBibkeyList): make it const.
10627
10628 2002-04-12  Juergen Vigna  <jug@sad.it>
10629
10630         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10631
10632         * text2.C (getCursorX): new helper function
10633         (setCursor): compute also ix_
10634         (setCursorFromCoordinates): set also ix.
10635
10636         * lyxcursor.h: added ix_ and helper functions.
10637
10638         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10639
10640         * buffer.C (insertStringAsLines): dont break paragraph if the this
10641         paragraph is inside an inset which does not permit it!
10642
10643         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10644         also with no chars on this paragraph.
10645         (paintRowText): only paint stuff if it's inside the workarea!
10646
10647         * paragraph.C (breakParagraph): honor keepempty flag and break the
10648         paragraph always below not above.
10649
10650         * BufferView2.C (unlockInset): update the paragraph layout on inset
10651         unlock as we changed paragraph in such a case.
10652
10653         * lyxfind.C (LyXFind): clear the former selection if not found!
10654
10655         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10656         again called in insertChar().
10657
10658         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10659         an inset which uses the whole row!
10660         (rightMargin): ditto.
10661         (insertChar): force a rebreak if we inserted an inset!
10662
10663 2002-03-28  Herbert Voss  <voss@lyx.org>
10664
10665         * lyxlength.[Ch]: add inBP() to get the right PS-point
10666         units (BigPoint). With inPixels we have rounding errors
10667
10668 2002-04-11  Juergen Vigna  <jug@sad.it>
10669
10670         * text2.C (setCursorFromCoordinates): set iy to the right value.
10671         (setCursor): add check if row->previous exists!
10672
10673         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10674         an old float_type as this was the case in the old code!
10675
10676         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10677
10678         * BufferView2.C (showLockedInsetCursor): use iy
10679         (fitLockedInsetCursor): ditto
10680
10681         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10682         locked insets as there we have the right value now.
10683
10684         * lyxcursor.C: added iy_ variable and iy functions to set to the
10685         baseline of cursor-y of the locked inset.
10686
10687         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10688         (setCursor): fixed for insets which need a full row.
10689
10690         * text.C (rowLastPrintable): don't ignore the last space when before
10691         an inset which needs a full row.
10692         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10693         as last character of a row when before a inset which needs a full row.
10694
10695 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696
10697         * version.C.in: update date
10698
10699         * text2.C (fullRebreak): try to always return true and see what
10700         happens...
10701
10702 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * MenuBackend.C (expand): use Floating::listName
10705
10706         * FloatList.C (FloatList): add listName argument to the built-in
10707         floats
10708
10709         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10710         text associated with the float.
10711
10712 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10715
10716 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * ShareContainer.h: add a couple of missing typenames.
10719
10720 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * lyxrc.C (getDescription): use _() correctly rather than N_().
10723
10724 2002-03-28  Herbert Voss  <voss@lyx.org>
10725
10726         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10727         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10728
10729 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10732         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10733
10734 2002-03-29  Juergen Vigna  <jug@sad.it>
10735
10736         * lyxfunc.C (dispatch): add a missing fitCursor call.
10737
10738         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10739         it was scrolled by a cursor move, so return the bool status.
10740
10741         * BufferView.C (fitCursor): return the bool flag also to the outside
10742         world as this is needed.
10743
10744         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10745
10746         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10747         call the edit() as it is not needed (and wrong) IMO.
10748         (workAreaButtonPress): set the screen_first variable before evt.
10749         unlock the inset as this may change screen_first and then we have
10750         a wrong y position for the click!
10751
10752 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * MenuBackend.C (expand): another translation that I missed
10755
10756 2002-03-28  Juergen Vigna  <jug@sad.it>
10757
10758         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10759
10760         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10761
10762 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10765
10766         * MenuBackend.C (expand): fix export/view/update when there is no
10767         document open.
10768
10769 2002-03-27  Herbert Voss  <voss@lyx.org>
10770
10771         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10772         and text%
10773
10774 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * bufferview_funcs.C (currentState): only show paragraph number
10777         for is DEVEL_VERSION is set.
10778
10779         * lyxfunc.C (dispatch): put warning in INFO channel
10780
10781         * MenuBackend.C (expand): translate the name of floats
10782
10783         * FloatList.C (FloatList): mark the float names for translation
10784
10785         * converter.C (convert): use LibScriptSearch
10786
10787 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * MenuBackend.C (defaults): fix default menu (we might as well get
10790         rid of it...)
10791
10792 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10793
10794         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10795         directory.
10796
10797 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10798
10799         * lyxvc.C: reorder includes.
10800
10801 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10804           properly
10805
10806 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * CutAndPaste.C: change layouts earlier on paste
10809           to avoid crashing when calling getFont()
10810
10811 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10812
10813         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10814         irritating #error.
10815
10816 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * WorkArea.C: remove 'Pending' debug message.
10819
10820         * most files: ws cleanup
10821
10822         * buffer.[Ch]: ws changes
10823
10824         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10825
10826 2002-03-21  Juergen Vigna  <jug@sad.it>
10827
10828         * tabular.C (SetMultiColumn): collapse also the contents of the
10829         cells and set the last border right. Added a Buffer const * param.
10830
10831 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10832
10833         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10834         linking or not.
10835
10836 2002-03-19  Juergen Vigna  <jug@sad.it>
10837
10838         * text2.C (clearSelection): reset also xsel_cache.
10839
10840         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10841         where it needs to be called (John tells us to do so too :)
10842         (selectionLost): reset sel_cache.
10843
10844         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10845
10846 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * text2.C (setCursorIntern): put debuging code in INSETS channel
10849
10850 2002-03-19  André Pönitz <poenitz@gmx.net>
10851
10852         * lyxfunc.C: tiny whitespace change
10853
10854 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * ToolbarDefaults.C (init):
10857         * LyXAction.C (init):
10858         * commandtags.h:
10859         * BufferView_pimpl.C (Dispatch):
10860         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10861
10862 2002-03-19  Allan Rae  <rae@lyx.org>
10863
10864         * exporter.C (Export): removeAutoInsets before doing anything else.
10865         While I've just introduced a dependency on BufferView this really is
10866         the best place to clean the buffer otherwise you need to cleanup in
10867         a dozen places before calling export or cleanup in a dozen functions
10868         that export calls.
10869
10870         * converter.C (runLaTeX):
10871         (scanLog): Better handling of removeAutoInsets and screen updates.
10872
10873         * lyxfunc.C (dispatch): small whitespace changes
10874
10875 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * WorkArea.C (C_WorkAreaEvent): return a value.
10878         (event_cb): return 1 if we handled the event, 0 otherwise.
10879
10880         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10881
10882 2002-03-18  Juergen Vigna  <jug@sad.it>
10883
10884         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10885         (GetAdditionalWidth): ditto.
10886         (RightLine): ditto.
10887         (LeftLine): ditto.
10888
10889         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10890         inset if we're there actually (probably not used right now but this
10891         is the direction to go for unifying code).
10892         (paste): disable code to clear the selection.
10893
10894         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10895         inside an InsetText and move the check further up as it is in the
10896         wrong place.
10897
10898         * text2.C (pasteSelection): set a selection over the pasted text.
10899
10900 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10901
10902         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10903         and libgraphics to build on Cygwin.
10904
10905 2002-03-15  Juergen Vigna  <jug@sad.it>
10906
10907         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10908         inserting an Inset into the paragraph. I know this is not the best
10909         fix but we already use current_view in CutAndPaste so we will remove
10910         all of it's using at the same time.
10911
10912         * buffer.C (sgmlError): deactivated function till it is rewritten in
10913         the right mode, now it can create problems.
10914
10915         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10916         before accessing it.
10917
10918 2002-03-14  Juergen Vigna  <jug@sad.it>
10919
10920         * undo_funcs.C (textHandleUndo): do the right thing when updating
10921         the inset after the undo/redo.
10922
10923         * text2.C (setCursor): just some testcode for #44 not ready yet.
10924
10925         * undo_funcs.C (textHandleUndo): set the next() and previous()
10926         pointers of the paragraph to 0 before deleting otherwise we have
10927         problems with the Paragraph::[destructor].
10928
10929         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10930         on a paragraph insertion.
10931
10932 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * buffer.C (asciiParagraph): use += operator for char append to
10935         string.
10936
10937         * paragraph.C (getFontSettings): compare >= not just >
10938         (highestFontInRange): ditto
10939         (setFont): ditto
10940
10941 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10942
10943         * paragraph.C: change several algorithm to be more appripriate for
10944         the problem domain. This is lookip in FontList and in the InsetList.
10945
10946 2002-03-13  André Pönitz <poenitz@gmx.net>
10947
10948         * commandtags.h:
10949         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10950
10951 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * commandtags.h:
10954         * LyXAction.C:
10955         * lyxfunc.C:
10956         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10957
10958 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * Painter.C (display): anon helper function, adjust code for this
10961         change.
10962         (pixmap): remove function.
10963
10964         * Painter.h: remove private display variable.
10965
10966         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10967
10968 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10969
10970         * WorkArea.[Ch]: remove figinset_canvas cruft.
10971
10972 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * lyxtextclass.C (operator): add one item cache optimization.
10975
10976         * bufferlist.h: doxy changes
10977
10978         * bufferlist.C: ws changes
10979
10980         * DepTable.[Ch] (ext_exist): place const in the right spot.
10981
10982         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10983         call resizeInsets.
10984         (workAreaExpose): call resizeInsets when the with BufferView changes.
10985         (Dispatch): adjust for protectedBlank removal
10986         (specialChar): call updateInset if the insert went ok.
10987
10988         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10989         specialChar instead.
10990
10991         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10992
10993         * BufferView.h: doxy change
10994
10995         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10996
10997         * lyxtextclass.C (operator[]): remove non-const version
10998         (defaultLayout): remove non-const version
10999
11000 2002-03-12  Juergen Vigna  <jug@sad.it>
11001
11002         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11003         did resize the LyXText too.
11004
11005         * buffer.C (readLyXformat2): set layout information on newly allocated
11006         paragraphs.
11007
11008         * tabular.C (OldFormatRead): set layout information on the paragraph.
11009
11010 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11011
11012         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11013
11014 2002-03-11  Juergen Vigna  <jug@sad.it>
11015
11016         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11017         plainly wrong.
11018         (resizeCurrentBuffer): force also the insets to resize themselfes.
11019         (moveCursorUpdate): fixed up for InsetText.
11020
11021 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * commandtags.h:
11024         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11025         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11026         value of Dialogs::tooltipsEnabled().
11027         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11028
11029 2002-03-08  Juergen Vigna  <jug@sad.it>
11030
11031         * BufferView_pimpl.C (updateInset): update inset inside inset also
11032         if it isn't inside theLockingInset().
11033
11034 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11035
11036         * buffer.C (asciiParagraph): redo some of the word and line length
11037         handling.
11038         (getLists): look for Caption instead of caption.
11039
11040 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11041
11042         * buffer.C (Buffer): initialize niceFile to true
11043         (makeLaTeXFile):
11044         (makeLinuxDocFile):
11045         (makeDocBookFile): make sure niceFile is true on exit
11046
11047 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11048
11049         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11050
11051 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11052
11053         * LyXSendto.C: remove.
11054         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11055         * lyx_gui.C: remove now-redundant comment.
11056         * ColorHandler.h: remove forward declaration of class WorkArea.
11057         * lyxfunc.C: remove #include "WorkArea.h".
11058
11059 2002-03-07  Juergen Vigna  <jug@sad.it>
11060
11061         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11062         got moved away with the DEPM and also set the inset_owner always
11063         right which before could have been omitted.
11064
11065 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11068         wanted layout is not found.
11069
11070 2002-03-07  Juergen Vigna  <jug@sad.it>
11071
11072         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11073
11074 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * paragraph.C (breakParagraph): use default layout not layout of
11077         prev paragraph.
11078         (Paragraph): clear ParagraphParameters.
11079
11080 2002-03-06  Juergen Vigna  <jug@sad.it>
11081
11082         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11083         otherwise it would not be a valid lenght. Fixed a special case in
11084         the minipage compatibility read where we end the document with a
11085         minipage.
11086
11087         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11088         was set as it could be 0 for InsetTexts first entry.
11089
11090 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11091
11092         * paragraph.C (writeFile): if layout is empty write out
11093         defaultLayoutName().
11094
11095         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11096         file without named layout we set layout to defaultLayoutName().
11097
11098 2002-03-06  Juergen Vigna  <jug@sad.it>
11099
11100         * CutAndPaste.C (copySelection): set layout for new paragraph.
11101
11102         * text.C (prepareToPrint): leave ERT inset left aligned
11103         (leftMargin): don't indent paragraphs inside ERT insets
11104
11105 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * paragraph.C (breakParagraph): dont call clear do the work manually
11108
11109         * paragraph.[Ch] (clear): remove function
11110
11111 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * paragraph.C (Paragraph): dont call clear, the work has already
11114         been done.
11115
11116         * lyxtextclass.C (operator): assert if n is empty
11117
11118         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11119         work manually instead.
11120
11121 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView_pimpl.C: protect selectionLost against text == 0
11124
11125 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * text.C (breakParagraph): fix a setting layout to '0' problem.
11128
11129 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11130
11131         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11132         final location of file, for the included files, and graphics.
11133
11134 2002-03-05  Juergen Vigna  <jug@sad.it>
11135
11136         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11137
11138 2002-03-04  Juergen Vigna  <jug@sad.it>
11139
11140         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11141
11142         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11143         last column of multicolumn cells.
11144         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11145
11146 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11147
11148         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11149         file if it doesn't go to a temporary file.
11150
11151         * buffer.C (sgmlOpenTag):
11152         (sgmlCloseTag):  remove extra newline insertion.
11153
11154 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11155
11156         * text.C (getRowNearY): comment out debug msg
11157
11158 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * text2.C: first -> first_y
11161
11162         * text.C (getRowNearY): add some attemts at a possible
11163         optimization, not working.
11164
11165         * tabular.[Ch]: add BufferParams to several function so that newly
11166         created paragraph can be initialized to he default layotu for the
11167         buffers textclass.
11168
11169         * tabular-old.C (ReadOld): add buf->params to call of Init
11170
11171         * screen.C: rename text->first to text->first_y
11172
11173         * paragraph.C (breakParagraph): always set layout in the broken
11174         paragraph
11175
11176         * lyxtextclass.C (Read): remove lowercase
11177         (hasLayout): ditto
11178         (operator): ditto
11179         (delete_layout): ditto
11180
11181         * lyxtext.h: rename first -> first_y
11182
11183         * lyxlayout.C (Read): remove lowercase
11184         (name): ditto
11185         (setName): ditto
11186         (obsoleted_by): ditto
11187
11188         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11189
11190         * buffer.C (insertErtContents): add params are to InsetERT
11191         (parseSingleLyXformat2Token): add code to check if a paragraphs
11192         layout really exist.
11193         (parseSingleLyXformat2Token): add params to several inset
11194         constructors
11195         (asciiParagraph): remove lowercase, do the layout comparisons with
11196         no_case
11197
11198         * BufferView_pimpl.C (cursorNext): first -> first_y
11199         (resizeCurrentBuffer): first -> first_y
11200         (updateScrollbar): first -> first_y
11201         (scrollCB): first -> first_y
11202         (workAreaMotionNotify): first -> first_y
11203         (workAreaButtonPress): first -> first_y
11204         (checkInsetHit): first -> first_y
11205         (cursorPrevious): first -> first_y
11206         (cursorNext): first -> first_y
11207         (Dispatch): add buffer_->params to severl inset contructors
11208
11209 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11210
11211         * lyxlayout.C (Read): remove some debug info that I forgot.
11212
11213         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11214         clean up the code slightly.
11215         (makeLinuxDocFile): ditto
11216         (makeDocBookFile): ditto
11217
11218         * text2.C: layout as string
11219
11220         * text.C: layout as string
11221
11222         * paragraph_pimpl.C: layout as string
11223
11224         * paragraph.[Ch]: layout as string
11225
11226         * lyxtextclasslist.[Ch]: layout as string
11227
11228         * lyxtextclass.[Ch]: layout as string
11229
11230         * lyxtext.h: layout as string
11231
11232         * lyxlayout.[Ch]: layout as string
11233
11234         * lyx_cb.C: layout as string
11235
11236         * bufferview_funcs.C: layout as string
11237
11238         * bufferparams.C: layout as string
11239
11240         * buffer.C: layout as string
11241
11242         * LyXView.[Ch]: layout as string
11243
11244         * LaTeXFeatures.[Ch]: layout as string
11245
11246         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11247
11248         * BufferView_pimpl.C: change current_layout to string, remove
11249         lyx::layout_type.
11250         (Dispatch):
11251         (smartQuote):
11252         (insertInset):
11253         (workAreaButtonRelease): layout as string
11254
11255         * BufferView2.C (unlockInset): adjust
11256
11257         * vspace.C (asLatexCommand): use an explict temp variable.
11258
11259 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * Makefile.am: use FRONTEND_*
11262
11263 2002-03-01  Juergen Vigna  <jug@sad.it>
11264
11265         * tabular.C (SetWidthOfMulticolCell): changed to something better
11266         I hope but still work in progress.
11267         (recalculateMulticolumnsOfColumn): renamed function from
11268         recalculateMulticolCells as it is more appropriate now.
11269         (SetWidthOfCell): calculate multicols better.
11270
11271 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11274
11275         * lyxfunc.C (processKeySym): print sequence also if it is
11276         `deleted' (complete)
11277
11278         * kbsequence.C (print): print sequence even if it is deleted
11279         (complete would be a better word, actually).
11280
11281         * lyxfunc.C (dispatch): print complete options after a prefix key
11282
11283         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11284
11285 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11286
11287         * text2.C (setCharFont): eliminate setCharFont code duplication.
11288
11289 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11292         LFUN_TABULAR_FEATURE (bug #177)
11293
11294 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11295
11296         * Makefile.am: remove figure.h
11297
11298 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11299
11300         * Bufferview_pimpl.C:
11301         * CutAndPasteC:
11302         * LaTeX.C:
11303         * LyXSendto.C:
11304         * buffer.C:
11305         * bufferlist.C:
11306         * converter.C:
11307         * language.C:
11308         * lyxfunc.C:
11309         * lyxvc.C:
11310         * paragraph.C:
11311         * text.C:
11312         * text2.C: remove #include "lyx_gui_misc.h".
11313
11314         * LaTeX.C: added #include <cstdio>
11315
11316 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11319         that the paragraph following this one can have.
11320
11321         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11322
11323         * vspace.C (asLatexCommand): fix bogus gcc warning
11324
11325         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11326
11327 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11328
11329         * text2.C (setLayout): get rid of redundant code
11330
11331 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11332
11333         * text2.C (incDepth): make sure depth cannot be increased beyond
11334         reasonable values.
11335
11336 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11339         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11340
11341         * PainterBase.h (image):
11342         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11343         a LyXImage const *.
11344
11345 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * BufferView.C:
11348         * BufferView.h:
11349         * BufferView_pimpl.C:
11350         * BufferView_pimpl.h:
11351         * LaTeXFeatures.C:
11352         * LyXAction.C:
11353         * LyXView.C:
11354         * Makefile.am:
11355         * UpdateList.h:
11356         * UpdateList.C:
11357         * buffer.C:
11358         * figure.h:
11359         * figureForm.C:
11360         * figureForm.h:
11361         * figure_form.C:
11362         * figure_form.h:
11363         * lyx_cb.C:
11364         * lyx_gui.C:
11365         * lyx_gui_misc.C:
11366         * lyxfunc.C:
11367         * sp_base.h:
11368         * sp_ispell.h:
11369         * sp_pspell.h:
11370         * sp_spell.C: remove fig inset, and the crap house of
11371           cards that follows it
11372
11373 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * Makefile.am:
11376         * lyxserver.C:
11377         * os2_defines.h:
11378         * os2_errortable.h:
11379         * nt_defines.h: move .h into support/
11380
11381         * vms_defines.h: remove
11382
11383         * WorkArea.C: add space in debug output
11384
11385         * text2.C:
11386         * paragraph.C:
11387         * buffer.C: add WITH_WARNINGS
11388
11389         * vc-backend.h:
11390         * vc-backend.C:
11391         * bufferlist.C: s/retrive/retrieve/, add docs
11392
11393         * vspace.h:
11394         * vspace.C:
11395         * kbmap.h:
11396         * lyxlength.h:
11397         * lyxgluelength.h:
11398         * length_common.h:
11399         * chset.h:
11400         * chset.C: add docs
11401
11402         * lyxgui.C: add ID to X error handler
11403
11404         * lyxtestclass.c: fix typo
11405
11406 2002-02-26  Juergen Vigna  <jug@sad.it>
11407
11408         * tabular_funcs.C (write_attribute): changed so that some default
11409         attributes are not written at all.
11410         (getTokenValue): set default values before trying to read the
11411         value so we have the return value always set as default if we don't
11412         find the token we search for.
11413
11414         * tabular.C (Write): write bools as bools not as strings!
11415
11416 2002-02-22  Juergen Vigna  <jug@sad.it>
11417
11418         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11419         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11420
11421         * text.C (leftMargin): don't add an indent for paragraphs inside
11422         tabular cells (fix #208).
11423
11424 2002-02-21  José Matos  <jamatos@fep.up.pt>
11425
11426         * tabular.C (docBook): fixed support for long tables.
11427
11428 2002-02-20  Juergen Vigna  <jug@sad.it>
11429
11430         * text2.C (getFont): get the drawing font of the Inset if this
11431         paragraph is inside an inset (only important for InsetERT for now).
11432
11433         * buffer.C (insertErtContents): use new lanugage params in ERT
11434         constructor.
11435
11436         * CutAndPaste.C: commenting out seemingly uneeded code.
11437
11438 2002-02-19  Allan Rae  <rae@lyx.org>
11439
11440         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11441         Iterators might be simple to use but they also get invalidated.
11442         (removeAutoInsets): renamed saved cursor tracking variables and added
11443         some comments to clarify what everything does.
11444
11445 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * Chktex.C:
11448         * LaTeX.C:
11449         * LyXSendto.C:
11450         * converter.C:
11451         * lyx_cb.C:
11452         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11453         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11454
11455         * lyxfunc.C:
11456         * vc-backend.h: remove #include "support/syscall.h"
11457
11458         * LaTeX.C:
11459         * LyXSendto.C:
11460         * converter.C: rearrange #includes in Lars' approved fashion.
11461
11462         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11463         forward declare class Timeout in the header file.
11464
11465         * XFormsView.C: changes due to the above.
11466
11467         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11468         similar to LyXView.
11469
11470         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11471         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11472
11473 2002-02-18  José Matos  <jamatos@fep.up.pt>
11474
11475         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11476         insets contents.
11477
11478 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11479
11480         * a lot of small ws changes
11481         * add a lot of using std::XXX
11482         * use std construcs some places where approp.
11483         * use some exisint stuff from lyxfunctional where approp.
11484         * Make file changes to use partial linking (lets test this now...)
11485
11486 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11487
11488         * Chktex.C:
11489         * buffer.C:
11490         remove #include "support/syscontr.h" as it's redundant. Always has been.
11491
11492         * Chktex.C:
11493         * LaTeX.C:
11494         * LyXSendto.C:
11495         * converter.C:
11496         * lyx_cb.C:
11497         * vc-backend.C:
11498         change Systemcalls::System to Systemcalls::Wait and
11499         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11500         No change of functionality, just reflects the stripped down Systemcalls
11501         class.
11502
11503 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11504
11505         * debug.[Ch]: add a GRAPHICS type to the enum.
11506
11507 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11510
11511         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11512         there is an inset.
11513
11514 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11517         match the changes below.
11518
11519         * text2.C (toggleInset): if there is not editable inset at cursor
11520         position, try to see if cursor is _inside_ a collapsable inset
11521         and close it.
11522
11523 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11526         document menu has a nice checkbox
11527
11528 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * lyxlength.C (asLatexString): change PW to output as percent of
11531         \textwidth.
11532
11533         * lengthcommon.C: change '%' to 't%'
11534
11535         * lyxfunc.C (dispatch): a few comments from Martin
11536
11537 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * WorkArea.h:
11540         * WorkArea.C:
11541         * BufferView_pimpl.h:
11542         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11543           the X selection.
11544
11545 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * vspace.C (inPixels): fix compiler warning
11548
11549 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyxfunc.C (getStatus): fix status message for disabled commands.
11552
11553 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * BufferView_pimpl.C: fix crash on close buffer
11556         during selection (#227)
11557
11558 2002-01-27  Herbert Voss  <voss@lyx.org>
11559
11560         * buffer.C: link old Figure to new graphic inset
11561
11562 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * FontLoader.C (getFontinfo): Change the latex font names in order
11565         to match the names of type1inst.
11566
11567 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11570
11571         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11572         (extchanged): ditto
11573         (ext_exist): ditto
11574         (remove_files_with_extension): ditto
11575         (remove_file): ditto
11576         (write): ditto
11577
11578         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11579         document is smaller than the work area height. Do not initialize
11580         static variables to 0.
11581
11582 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11585
11586         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11587         LFUN_LAYOUT_PARAGRAPHS.
11588
11589         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11590         tabular. It is possible to provide a possible cell, which will
11591         typically be the actcell from the corresponding insettabular
11592
11593         * lyxfunc.C (getStatus): small cleanup; disable
11594         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11595         true
11596
11597 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11600
11601         * paragraph.C (startTeXParParams):
11602         (endTeXParParams): new methods. The LaTeX code to
11603         start/end paragraph formatting
11604         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11605         empty (fixes bug #200)
11606
11607         * vspace.C (inPixels): adapt to the change below
11608         (inPixels): [later] more cleanups (remove unused variables)
11609
11610         * lyxlength.C (inPixels): change to use a width and a height as
11611         parameter.
11612
11613 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11614
11615         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11616         Replaced with \paperwidth
11617
11618         * DepTable.C (insert): add std:: qualifier
11619
11620 2002-01-18  Allan Rae  <rae@lyx.org>
11621
11622         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11623         updated also?
11624
11625         * text.C (drawInset): Turned out I didn't know enough about how
11626         rebreaking worked.  This fixes most of the redraw problems.  I see
11627         an occasional cursor trail when a line is broken now and the cursor
11628         placement can seem out by a few pixels also after a rebreak.
11629
11630 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * buffer.C (parseSingleLyXformat2Token): update because minipage
11633         width is now a LyXLength
11634
11635         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11636
11637         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11638         math insets
11639
11640 2002-01-17  Juergen Vigna  <jug@sad.it>
11641
11642         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11643
11644         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11645         is set correctly and the inset is updated correctly.
11646
11647 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11650         the beginning of the loop.
11651
11652 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * lyxrc.C: improve help for use_scalable_fonts
11655
11656 2002-01-17  Allan Rae  <rae@lyx.org>
11657
11658         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11659
11660 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11663         make sure to set their inset_owner to the right value (bug #171)
11664
11665 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11666
11667         * DepTable.h
11668         * DepTable.C: Implement mtime checking to reduce time spent doing
11669         CRCs.
11670
11671 2002-01-16  Juergen Vigna  <jug@sad.it>
11672
11673         * tabular.C (GetAdditionalHeight): one of error fixed.
11674
11675         * lyxrc.C (output): small fix in writing use_pspell.
11676
11677 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * sp_base.h: #include LString.h
11680
11681 2002-01-16  Allan Rae  <rae@lyx.org>
11682
11683         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11684         Can someone check this please?
11685
11686         * text.C (drawInset): It was possible that p.row would be removed by
11687         breakAgainOneRow upsetting a few other settings.  There may be another
11688         small tweak possible by setting need_break_row = 0 when p.row has been
11689         removed but I don't know enough about the logic here.
11690
11691 2002-01-15  Allan Rae  <rae@lyx.org>
11692
11693         * text.C (insertChar): removed conditional truism.
11694
11695         * BufferView2.C (removeAutoInsets): More tweaks.
11696         cur_par_prev could be a stray pointer.  Check for trailing empty line
11697         in case last line was cur_par and only had an error inset on it.
11698
11699 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11702         absolute
11703
11704         * vc-backend.C (most methods):
11705         * exporter.C (Export):
11706         * converter.C (convert):
11707         (runLaTeX):
11708         * LyXSendto.C (SendtoApplyCB):
11709         * lyxfunc.C (dispatch):
11710         (menuNew):
11711         (open):
11712         (doImport):
11713         * lyx_cb.C (AutoSave):
11714         (InsertAsciiFile):
11715         * BufferView_pimpl.C (MenuInsertLyXFile):
11716         * buffer.C (runChktex): use Buffer::filePath().
11717
11718         * buffer.h: rename filename to filename_; rename filepath to
11719         filepath_ and make it private
11720         (filePath): new method
11721
11722         * buffer.C (writeFile): use fileName()
11723         (getLatexName):
11724
11725         * lyx_main.C (init): fix starting  of LyX when the binary is a
11726         link from so,ewhere else.
11727
11728         * minibuffer.C: include <cctype> for isprint
11729
11730 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11733         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11734         name clash with InsetCollapsable's width function.
11735
11736 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * lastfiles.C: include <iterator>
11739
11740 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11741
11742         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11743         std::count.
11744
11745         * buffer.C (makeLaTeXFile): ditto.
11746         Also make loop operation more transparent.
11747
11748 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * ToolbarDefaults.C: remove trailing comma closing namespace.
11751
11752         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11753
11754         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11755         as in WorkArea.
11756
11757         * trans.C (Load): comment out unused variable, allowed.
11758
11759 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11760
11761         * minibuffer.[Ch] (append_char): new method to recieve input from the
11762         drop-down completion browser. If a key was pressed, then recieve this
11763         char and append it to the existing string.
11764         (peek_event): modify the positioning data passed to the completion
11765         browser so that it can be placed above the minibuffer rather than below.
11766 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * LyXAction.C (init): alloe error-next for readonly documents.
11769
11770         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11771         count.
11772
11773 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * bufferlist.C (readFile): create the buffer _after_ checking that
11776         the file exists.
11777
11778         * lyxfunc.C (verboseDispatch): fix handling of arguments
11779
11780         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11781
11782         * lyxrc.C: use string::erase() instead of initializing to "".
11783
11784
11785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * BufferView_pimpl.h:
11788         * BufferView_pimpl.C:
11789         * WorkArea.h:
11790         * WorkArea.C:
11791         * text2.C: tell X when we have made a selection for copying
11792
11793 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * BufferView_pimpl.C (MenuInsertLyXFile):
11796         * lyxfunc.C (menuNew):
11797         (open):
11798         (doImport): add shortcuts to directory buttons
11799
11800         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11801         open a float)
11802
11803         * lyxfunc.C (setStatusMessage):
11804         (getStatusMessage): new methods
11805         (getStatus):use setStatusMessage instead of setErrorMessage
11806         (dispatch): when function is disabled, set error message here
11807         [instead of in getStatus previously]
11808
11809         * BufferView_pimpl.C (workAreaButtonRelease): update
11810         toolbar/menubar here too.
11811
11812 2002-01-13  Allan Rae  <rae@lyx.org>
11813
11814         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11815         Now seems indestructible.  Remaining task is to audit all other
11816         code affected by deleteEmptyParagraphMechanism.  One small quirk
11817         left is that an empty document with an error in the preamble can
11818         be made to report an error but no error box appears.  I don't know
11819         where it goes.
11820         (removeAutoInsets): Improved comments.
11821
11822 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * Thesaurus.h:
11825         * Thesaurus.C: update for Aiksaurus 0.14
11826
11827 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * text2.C (firstParagraph): removed member function, all uses
11830         replaces with ownerParagraph
11831         (redoParagraphs): here
11832         (updateInset): here
11833         (toggleAppendix): here
11834         * BufferView2.C (insertErrors): here
11835         (setCursorFromRow): here
11836
11837 2002-01-13  Allan Rae  <rae@lyx.org>
11838
11839         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11840         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11841         There is still a way to segfault this although you may have to do this
11842         multiple times: Have an InsetERT with an unknown command in it.
11843         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11844         <down-arrow>, <Enter> again, View->DVI, BANG!
11845
11846         * text2.C (setCursor):
11847         (deleteEmptyParagraphMechanism):
11848         * lyxtext.h (setCursor):
11849         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11850         Making use of the return value may help fix other bugs.
11851
11852 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11855
11856         * LyXView.C (updateMenubar): call MenuBar::update here
11857         (updateToolbar): but not here
11858         (showState): do not update toolbar/menubar
11859
11860         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11861         should need to care about that.
11862
11863         * lyxfunc.C (verboseDispatch): simplify a bit
11864         (getStatus): have a version which takes a pseudoaction, and
11865         another which requires a (kb_action,string).
11866
11867         * LyXAction.C (retrieveActionArg): make it work also when action
11868         is not a pseudo-action.
11869         (getActionName): simplify a bit
11870         (helpText):
11871
11872 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * lyxfunc.C (verboseDispatch): new families of methods with
11875         several ways to specify a command and a bool to indicate whether
11876         the command name and shortcut should be displayed in minibuffer
11877         (eventually, we could extend that to a finer bitmask like
11878         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11879         (dispatch): the pristine dispatch command which just, well,
11880         dispatchs! Note it still sets its result to minibuffer; I'm not
11881         sure we want that.
11882
11883         * lyxfunc.h: remove setHintMessage
11884
11885         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11886
11887 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * BufferView_pimpl.C (specialChar): delete new inset if we have
11890         not been able to insert it.
11891
11892         * kbmap.C: revert to using int instead of kb_action, since all we
11893         are dealing with is pseudo-actions.
11894
11895         * LyXAction.C (searchActionArg): change to return int instead of
11896         kb_action, since the result is a pseudoaction.
11897
11898 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * buffer.C (insertErtContents): Fix (partially) the font bug.
11901
11902 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11903
11904         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11905         as the other one is broken on my machine!
11906
11907 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11908
11909         * commandtags.h:
11910         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11911
11912 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11913
11914         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11915         reflect their actual use. Provide compatibility code for older lyxrc
11916         files.
11917
11918         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11919         FL_NORMAL_STYLE.
11920         change names of popup font variables in line with the changes to lyxrc.C
11921
11922 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11923
11924         * buffer.C (asciiParagraph): avoid outputing a word twice after
11925         an inset.
11926
11927         * lyxrc.C (getDescription): document that document_path and
11928         template_path can be empty.
11929
11930 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * LaTeXFeatures.C (getMacros):
11933         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11934
11935         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11936
11937         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11938         getPackages.
11939         (getPackages): rename feature "floats" to "float". Use an array to
11940         iterate over 'simple' features (i.e. just a \usepackage). Add
11941         handling of "amsmath" (renamed from "amsstyle").
11942
11943 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11944
11945         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11946         features list.
11947
11948 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11949
11950         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11951         FuncStaus::FuncStatus & FuncStaus::some_method().
11952
11953 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11954
11955         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11956         of the func_satus stuff. Edited and massaged in various ways by
11957         JMarc.
11958
11959         * lyxfunc.C (getStatus): use FuncStatus
11960
11961 2002-01-08  Juergen Vigna  <jug@sad.it>
11962
11963         * text.C (nextBreakPoint): use function Inset::isChar().
11964
11965         * paragraph.C (TeXOnePar): use function
11966         Inset::forceDefaultParagraphs.
11967
11968         * buffer.C (latexParagraphs): use function
11969         Inset::forceDefaultParagraphs.
11970
11971 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * lyx_gui.C (init): set the style of the menu popups to
11974         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11975
11976 2002-01-07  Juergen Vigna  <jug@sad.it>
11977
11978         * text.C (setHeightOfRow): small fix
11979         (prepareToPrint): don't look at alignment if we don't have the place
11980         for doing it.
11981
11982 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11983
11984         * box.C: New file. Move the Box methods and functions out of box.h,
11985         following Lars' suggestion.
11986
11987 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11988
11989         * box.h: #include "support/LOstream.h", needed for inlined function.
11990
11991         * lyxtextclass.C:
11992         * lyxtextclasslist.C: added some using std declarations.
11993
11994 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * box.h: make signed dimensions to allow insets wider than
11997           the screen (bug #162)
11998
11999         * BufferView_pimpl.C: add some insetHit debug
12000
12001 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * vc-backend.C: add FIXME
12004
12005 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * lyxfunc.C (getStatus): enable code for showing math font status
12008         in toolbar/menu.
12009
12010 2002-01-07  Juergen Vigna  <jug@sad.it>
12011
12012         * text.C (nextBreakPoint): removed debug output not needed anymore.
12013
12014 2002-01-06  Juergen Vigna  <jug@sad.it>
12015
12016         * text.C (nextBreakPoint): fixed up this function we had this bug
12017         since ever but now hopefully we break row better.
12018         (insertChar): we have to check if an inset is the next char as it
12019         could now happen that a large inset is causing a break.
12020
12021 2002-01-05  Juergen Vigna  <jug@sad.it>
12022
12023         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12024         if it doesn't like to be drawed.
12025
12026 2002-01-04  Juergen Vigna  <jug@sad.it>
12027
12028         * BufferView2.C (lockInset): forgot to set a cursor.
12029
12030         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12031
12032 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12033
12034         * FormMathsPanel.C:
12035         * FormMathsPanel.h
12036         * MathsSymbols.C:
12037         * form_maths_panel.C:
12038         * form_maths_panel.h:
12039         * form_maths_panel.fd: implemented sub- and super- buttons in math
12040         panel.
12041
12042         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12043         (or ^ space) to be used as in TeX (req'd by André).
12044
12045         * lyxfunc.C: Allow ^ and _ again to be used both as
12046         super/subscript (mathed) and as themselves (in text).
12047
12048 2002-01-03  Allan Rae  <rae@lyx.org>
12049
12050         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12051         "LyX" or the filename of the current buffer if it has one.  This is a
12052         modified form of John Levon's patch.
12053
12054         * XFormsView.C (setWindowTitle): also set icon title.
12055
12056         * LyXView.h (setWindowTitle): signature changed.
12057         * XFormsView.h (setWindowTitle): ditto.
12058
12059 2002-01-02  Juergen Vigna  <jug@sad.it>
12060
12061         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12062
12063 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * screen.C (topCursorVisible): introduce a temp var for
12066         text->cursor.row(), handle the case where this row is null. (kindo
12067         hachish)
12068
12069         * text2.C (setCursor): add a couple of asserts.
12070
12071         * paragraph.h (inset_iterator): add -> operator
12072
12073         * paragraph.[Ch] (autoDeleteInsets): remove member function
12074
12075         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12076         cursor pos correctly and handle inset deletion by itself.
12077         (insertErrors): move iterator declaration out of for expression
12078
12079         * lyxtextclass.C: add <algorithm>
12080
12081         * Makefile.am: added the new files to sources, removed layout.C
12082
12083         * layout.C: removed file
12084
12085         * layout.h: remove LYX_DUMMY_LAYOUT
12086
12087         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12088         layout.
12089
12090         * lyxlayout.[Ch]:
12091         * lyxtextclass.[Ch]:
12092         * lyxtextclasslist.[Ch]: new files
12093
12094         * include order changes to a lot of files, also changes because of
12095         the six new files.
12096
12097 2001-12-27  Juergen Vigna  <jug@sad.it>
12098
12099         * buffer.C (asciiParagraph): more fixes.
12100
12101         * tabular.C (ascii): make ascii export support export of only the
12102         data separated by a column-delimiter.
12103         (ascii): better support for ascii export.
12104
12105         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12106
12107 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12108
12109         * tabular_funcs.C: use a "using std::getline" instead of the
12110         previous fix from Angus (necessary for cxx + lyxstring)
12111
12112 2001-12-24  Juergen Vigna  <jug@sad.it>
12113
12114         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12115
12116         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12117         problems. First check a minipage also if we have some ert-contents
12118         (not only on par->size(), second set the right depth of the paragraph
12119         on the relink to the root-paragraph-list!
12120
12121         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12122         which then did not anymore update the main paragraphs on undo/redo!
12123
12124 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12127         code. Support all font-changing funcs (even those which are not in
12128         menu currently). Support for reporting font settings in
12129         mathed (disabled until Andre provides a function on mathed's side).
12130
12131         * func_status.h (toggle): small helper function to set toggle
12132         state on a flag.
12133
12134 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12135
12136         * tabular_funcs.C: getline -> std::getline
12137
12138 2001-12-21  Juergen Vigna  <jug@sad.it>
12139
12140         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12141         accessed and could be 0 (I couldn't generate this but it seems
12142         Michael could!).
12143
12144 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12147         * tabular_funcs.h: here and include iosfwd
12148
12149 2001-12-20  Juergen Vigna  <jug@sad.it>
12150
12151         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12152         inside inset but undo_par was.
12153
12154 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12155
12156         * Thesaurus.C: always include <config.h> in sources.
12157
12158         * Painter.h:
12159         * lyxlookup.h:
12160         * box.h: do not include <config.h> in header files
12161
12162         * text.C (paintLastRow): remove unused variable
12163
12164         * text.C (transformChar):
12165         (insertChar):
12166         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12167
12168         * Painter.C (text):
12169         * font.C (width): rewrite to use uppercase() instead of
12170         islower/toupper.
12171
12172         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12173
12174 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * lyxfind.C: clean up of find failure position change
12177
12178 2001-12-20  Juergen Vigna  <jug@sad.it>
12179
12180         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12181
12182         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12183         (TeXRow): added to LaTeX a single tabular row.
12184         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12185         (Latex): simplified and finally good LT-h/f support.
12186         (various_functions): just small adaptions for LT-h/f support.
12187
12188         * tabular_funcs.[hC]: added and moved here all not classfunctions
12189         of LyXTabular.
12190
12191 2001-12-19  Juergen Vigna  <jug@sad.it>
12192
12193         * tabular.[Ch]: better support for longtabular options (not finished
12194         yet!)
12195
12196 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12197
12198         * text.C (paintLastRow): use the label font instead of the font of
12199         the last character to compute the size of *_BOX. This makes more
12200         sense and avoids a crash with empty paragraphs.
12201         Use Painter::rectangle to draw EMPTY_BOX.
12202
12203 2001-12-19  Juergen Vigna  <jug@sad.it>
12204
12205         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12206         the paragraphs if the replaced paragraph is not the first one!
12207         Tried to delete not used paragraphs but does not work yet so for
12208         now it's inside #ifdef's and by default off!
12209
12210 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * MenuBackend.C: include "lyx_main.h" instead of declaring
12213         lastfiles (actually was declared as LastFiles* instead of a
12214         scoped_ptr).
12215
12216 2001-12-17  Juergen Vigna  <jug@sad.it>
12217
12218         * tabular.C (AppendColumn): applied John's fix
12219
12220 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView.h:
12223         * BufferView.C:
12224         * BufferView_pimpl.h:
12225         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12226
12227         * Makefile.am:
12228         * box.h: new start of class for above
12229
12230         * lyxfunc.C: ignore space-only minibuffer dispatches.
12231           Show the command name when it doesn't exist
12232
12233         * minibuffer.C: don't add empty lines to the history
12234
12235         * minibuffer.C: add a space on dropdown completion
12236
12237 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12238
12239         * text.C: fix line above/below drawing in insets
12240
12241 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * lyxlength.C (LyXLength): Initialize private variables.
12244
12245 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12246
12247         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12248         when inserting error insets.
12249
12250 2001-12-13  Juergen Vigna  <jug@sad.it>
12251
12252         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12253         actually sometimes the before-paragraph.
12254         (setUndo): don't clear the redostack if we're not actually undoing!
12255
12256 2001-12-06  Juergen Vigna  <jug@sad.it>
12257
12258         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12259         and fixed redoing of main paragraph, so we can use it now ;)
12260
12261         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12262
12263 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12266         Juergen's request
12267
12268 2001-12-13  André Pönitz <poenitz@gmx.net>
12269
12270         * undostack.[Ch]:
12271         * undo_func.C: minor cleanup
12272
12273 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12276         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12277         font in urw-fonts package which is marked as -urw-fontspecific and
12278         does not work (incidentally, changing the encoding in the
12279         fonts.dir of this package to -adobe-fontspecific fixes the
12280         problem).
12281
12282         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12283         is a crash when undoing first paragraph (Juergen, please take a
12284         look). THis does not mean the undo fix is wrong, just that it
12285         uncovers problems.
12286
12287         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12288         the (Paragraph*) version when needed instead of duplicating the
12289         code.
12290
12291         * text.C (workWidth): use Inset::parOwner to find out where the
12292         inset has been inserted. This is a huge performance gain for large
12293         documents with lots of insets. If Inset::parOwner is not set, fall
12294         back on the brute force method
12295
12296         * paragraph_pimpl.C (insertInset):
12297         * paragraph.C (Paragraph):
12298         (cutIntoMinibuffer): set parOwner of insets when
12299         inserting/removing them
12300
12301         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12302
12303 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12304
12305         * commandtags.h:
12306         * LyXAction.C:
12307         * lyx_main.C:
12308         * lyxfunc.C:
12309         * mathed/formulabase.C:
12310         * mathed/math_cursor.[Ch]:
12311         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12312
12313
12314 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * lyxlength.[Ch] (operator!=): new function
12317
12318 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12319
12320         * text.C (workWidth): use Inset::parOwner to find out where the
12321         inset has been inserted. This is a huge performance gain for large
12322         documents with lots of insets. If Inset::parOwner is not set, fall
12323         back on the brute force method
12324
12325         * paragraph_pimpl.C (insertInset):
12326         * paragraph.C (Paragraph):
12327         (cutIntoMinibuffer): set parOwner of insets when
12328         inserting/removing them
12329
12330         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12331
12332 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * tabular-old.C (getTokenValue):
12335         * tabular.C (getTokenValue):
12336         (write_attribute): new versions for LyXLength
12337         (everywhere): adjust the use of widths
12338
12339         * tabular.h: change the type of widths from string to LyXLength
12340
12341 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12342
12343         * paragraph.C: fixed missing line number count when exporting
12344         Environments to LaTeX file
12345
12346         * buffer.C: added informational message for checking line numbers.
12347
12348 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12349
12350         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12351         paragraph, do the 'double space' part, but not the 'empty
12352         paragraph' one.
12353
12354         * text.C (workWidth): small optimization
12355         (getLengthMarkerHeight): use minimal size for negative lengths.
12356
12357 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12358
12359         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12360
12361         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12362
12363 2001-12-11  André Pönitz <poenitz@gmx.net>
12364
12365         * FontLoader.C:
12366         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12367
12368 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12369
12370         * text2.C: keep selection on a setFont()
12371
12372 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * lyx_cb.C: another bv->text misuse, from insert label
12375
12376 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * kbsequence.h:
12379         * kbsequence.C: re-instate nmodifier mask
12380
12381 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12382
12383         * lyx_main.h: make lyxGUI private.
12384
12385 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * lyxfind.C: place the cursor correctly on failed search
12388
12389 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12390
12391         * text.C (getLengthMarkerHeight): for small heights, the arrows
12392         are not always on top/bottom of the text
12393         (drawLengthMarker): smaller arrows; take the left margin in
12394         account; draw also vfills.
12395         (paintFirstRow):
12396         (paintLastRow): remove special code for vfill and standard spaces,
12397         since everything is handled in drawLengthMarker now.
12398
12399 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * buffer.C (insertErtContents): try to handle font and language
12402         interaction a bit better.g
12403
12404         * ColorHandler.C (updateColor): change the hash to cover the whole
12405         LColor enum, ws cleanup
12406         (getGCLinepars): ditto
12407         (getGCLinepars): only lookup in the linecache once.
12408
12409 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12410
12411         * iterators.C (operator++): Make the iterator more robust
12412
12413         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12414         (John's patch)
12415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12416
12417 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyxtext.h:
12420         * text.C: better added space drawing
12421
12422 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * LyXView.C:
12425         * BufferView2.C: fix layout combo update on inset unlock
12426
12427 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * Makefile.am: don't compile unused files
12430
12431 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * lyxfunc.C:
12434         * commandtags.h:
12435         * LyXAction.C: remove old LFUN_LAYOUTNO
12436
12437 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * paragraph_pimpl.h:
12440         * paragraph_pimpl.C: isTextAt() doesn't need font param
12441
12442 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * lyxlex.h:
12445         * lyxlex.C: little cleanup
12446
12447 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * BufferView_pimpl.C: fix insertAscii for insets
12450
12451 2001-12-05  Juergen Vigna  <jug@sad.it>
12452
12453         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12454         set the right font on the "multi" paragraph paste!
12455
12456 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * trans_decl.h:
12459         * trans_mgr.[Ch]:
12460         * trans.[Ch]:
12461         * lyxgluelength.C:
12462         * lyxlength.C: remove out-commented code.
12463
12464         * BufferView_pimpl:
12465         * CutAndPaste.C:
12466         * DepTable.C:
12467         * buffer.C:
12468         * chset.C:
12469         * lastfiles.C:
12470         * lyxlex.C:
12471         * lyxlex_pimpl.C:
12472         * lyxserver.C:
12473         * screen.C:
12474         * tabular-old.C:
12475         * tabular.C:
12476         * text.C:
12477         * trans_mgr.C:
12478         * vc-backend.C: change "while(" to "while ("
12479
12480         * lyxlength.[Ch]: add zero function to check if length is zero or
12481         not
12482         * lyxgluelength.C: use it
12483
12484 2001-12-05  Allan Rae  <rae@lyx.org>
12485
12486         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12487         Works for 2.95.3, from what I understand of Garst's reports this should
12488         work for other g++ versions.  We're screwed if the abs(int) definition
12489         changed between bugfix releases of gcc.
12490
12491 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * text.C: fix chapter label offset !
12494
12495 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * lyxtext.h:
12498         * text.C: fix hfill at end of line, clean up
12499
12500 2001-12-04  Juergen Vigna  <jug@sad.it>
12501
12502         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12503         that we force an update of the inset and it's owners if neccessary.
12504
12505 2001-12-03  Juergen Vigna  <jug@sad.it>
12506
12507         * text.C (rowLast): simplified code
12508
12509 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * lyxfunc.C: fix show options on timeout
12512
12513 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * screen.C (topCursorVisible): scroll half a page when the cursor
12516         reached top of bottom of screen
12517
12518 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * minibuffer.C: deactivate on loss of focus
12521
12522 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12523
12524         * vspace.[Ch] (operator!=): add operator.
12525
12526 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * BufferView_pimpl.C: refuse to open an inset when
12529         there's a selection.
12530
12531 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * BufferView_pimpl.C: allow to click on RHS of full row insets
12534
12535 2001-11-30  Juergen Vigna  <jug@sad.it>
12536
12537         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12538         insets for undo reasons.
12539
12540 2001-11-28  André Pönitz <poenitz@gmx.net>
12541
12542         * vspace.[Ch]: cosmetical changes
12543
12544 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * LyXAction.h:
12547         * LyXAction.C:
12548         * lyxfunc.h:
12549         * lyxfunc.C:
12550         * kbmap.h:
12551         * kbmap.C:
12552         * lyxrc.C:
12553         * kbsequence.h:
12554         * kbsequence.C: part re-write of old kb code
12555
12556         * Painter.C:
12557         * WorkArea.C: remove Lgb_bug_find_hack
12558
12559 2001-11-30  José Matos <jamatos@fep.up.pt>
12560
12561         * buffer.C (makeDocBookFile): add a comment to point a hack.
12562         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12563         Fixed a double write of labels.
12564
12565 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12566
12567         * LaTeX.C:
12568         * LaTeX.h Fixed bug in LaTeX class where it would not
12569         re-run latex if no depfiles were changed, but the .dvi was removed.
12570
12571 2001-11-28  André Pönitz <poenitz@gmx.net>
12572
12573         * all the files from the change on 2001/11/26:
12574         use lyx::layout_type instead of LyXTextClass::size_type
12575         use lyx::textclass_type instead of LyXTextClassList::size_type
12576
12577 2001-11-29  Juergen Vigna  <jug@sad.it>
12578
12579         * text.C: added support for paragraph::isFreeSpacing()
12580
12581         * buffer.C: same as above
12582
12583         * paragraph.h: inserted isFreeSpacing() function to enable
12584         FreeSpacing inside InsetERT.
12585
12586         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12587         of the paragraph's in the cut/copy buffer to 0!
12588
12589         * text2.C (removeRow): remove the assert as it can!
12590
12591         * lyxtext.h: added helper function firstRow returning firstrow and
12592         made firstrow private again.
12593
12594         * BufferView2.C (lockInset): don't relock if we're already locked!
12595
12596         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12597         the only paragraph.
12598         (removeRow): added Assert::(firstrow)
12599
12600         * debug.C: forgot to add INSETTEXT here.
12601
12602 2001-11-28  Juergen Vigna  <jug@sad.it>
12603
12604         * sp_spell.C (initialize): changed error text to more general
12605         spellchecker command use (not only ispell!)
12606
12607         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12608
12609         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12610
12611 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * vspace.C: initialise lyxgluelength on failure
12614
12615 2001-11-28  Allan Rae  <rae@lyx.org>
12616
12617         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12618         declaration & definition that looks like a function declaration.
12619
12620 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * BufferView2.C (copy):
12623         (copyEnvironment): do not clear the selection when doing a copy.
12624
12625         * text.C (paintFirstRow): compilation fix
12626
12627 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12628
12629         * tabular.C (Latex): correct line count when writing latex.
12630
12631 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * paragraph_pimpl.h:
12634         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12635           bug a bit
12636
12637 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * text.C:
12640         * LColor.h:
12641         * LColor.C: change vfillline->added_space
12642
12643         * text.C: add markers and text for added space
12644
12645         * vspace.C: fix comment
12646
12647 2001-11-28  André Pönitz <poenitz@gmx.net>
12648
12649         * paragraph.C: whitespace changes
12650         * all the other files from the change on 2001/11/26:
12651         change *::pos_type into lyx::pos_type
12652
12653 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12654
12655         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12656         language of the document when inserting error insets.
12657
12658 2001-11-26  André Pönitz <poenitz@gmx.net>
12659
12660         * BufferView_pimpl.[Ch]:
12661         *       CutAndPaste.C:
12662         * buffer.[Ch]:
12663         * lyxcursor.[Ch]:
12664         * lyxfind.C:
12665         * lyxfunc.C:
12666         * lyxrow.[Ch]:
12667         * paragraph.[Ch]:
12668         * paragraph_pimpl.[Ch]:
12669         * sp_spell.C:
12670         * text.C:
12671         * text2.C: reduce header dependencies, introduce type for positions
12672
12673 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * <various>: change to use Alert.h
12676
12677 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12678
12679         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12680         when encountering an unknown token.
12681         (readLyXformat2): Show an error message if there were unknown tokens.
12682
12683 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * BufferView2.C:
12686         * BufferView_pimpl.C:
12687         * buffer.C:
12688         * paragraph.h:
12689         * text.C:
12690         * text2.C: use par->isInset()
12691
12692 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * paragraph_pimpl.h:
12695         * paragraph_pimpl.C: cleanup
12696
12697 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * text2.C (removeRow):
12700         * text.C (setHeightOfRow): remove useless (and costly) call to
12701         getRow.
12702
12703 2001-11-20  Allan Rae  <rae@lyx.org>
12704
12705         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12706         Now need Inset*::checkInsertChar() to return true for appropriate
12707         cases so that the characters in the minibuffer will actually be
12708         inserted.
12709
12710 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * text.C: change the order of the includes.
12713         (workWidth): initialize it at once.
12714         (workWidth): make maxw unsigned
12715         (setHeightOfRow): remove unused variable (inset)
12716         (selectSelectedWord): remove unused variable (inset)
12717         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12718
12719 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12720
12721         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12722         server is not running.
12723         (openConnection):
12724         (closeConnection): add debug info when server is disabled.
12725
12726         * ColorHandler.C (getGCForeground): send debug message to GUI
12727         channel.
12728
12729         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12730
12731         * kbmap.C (bind): modify because return conventions of
12732         kb_sequence::parse have changed.
12733
12734         * kbsequence.C (parse): only ignore spaces and not any stupid
12735         control character. This avoids tests like s[i] <= ' ', which are
12736         guaranteed to fail with 8bit characters and signed chars.
12737         Change return code to string::npos when there have been no error
12738         (0 was a bad idea when error is at first character)
12739
12740 2001-11-14  José Matos  <jamatos@fep.up.pt>
12741
12742         * buffer.h:
12743         * buffer.C (simpleDocBookOnePar): removed unused argument.
12744
12745 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12746
12747         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12748         insets which are part of a word. Paragraph::isLetter takes care of
12749         that now. Use Paragraph::isInset to identify insets.
12750         (selectSelectedWord): do not test for hyphenation break.
12751
12752         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12753         that protected spaces are considered as spaces.
12754
12755         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12756         Inset::isLetter.
12757
12758 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * lyxserver.h:
12761         * lyxserver.C: fix it. and small cleanup.
12762
12763 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * BufferView_pimpl.C: use inline helpers
12766
12767         * LaTeXFeatures.h:
12768         * LaTeXFeatures.C: fix typos
12769
12770         * Spacing.h:
12771         * Spacing.C: move spacing_string into class
12772
12773         * ToolbarDefaults.C: move stuff into namespace anon
12774
12775         * layout.h: update enum
12776
12777         * lyxfunc.C: use better debug
12778
12779         * minibuffer.h: fix typo
12780
12781         * debug.h:
12782         * debug.C:
12783         * WorkArea.C: add and use Debug::WORKAREA
12784
12785         * lyxtext.h:
12786         * text.C:
12787         * text2.C: code re-organisation, inline helpers
12788
12789 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12790
12791         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12792         std::vector.empty().
12793
12794 2001-11-09  Allan Rae  <rae@lyx.org>
12795
12796         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12797         '\n's after tables.  Tabular and ERT inset work now makes this no
12798         longer necessary.
12799
12800 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * minibuffer.h:
12803         * minibuffer.C: fix crash, improve drop-down completion
12804
12805 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * lyxserver.h:
12808         * lyxserver.C: invalidate fd's when doing endPipe()
12809
12810 2001-11-08  José Matos  <jamatos@fep.up.pt>
12811
12812         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12813         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12814
12815         * paragraph.h:
12816         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12817
12818 2001-11-07  José Matos  <jamatos@fep.up.pt>
12819
12820         * buffer.h:
12821         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12822         const qualifier.
12823
12824         * buffer.C (sgmlOpenTag):
12825         * buffer.C (sgmlCloseTag): removed debug info.
12826
12827         * buffer.h (sgmlOpenTag):
12828         * buffer.h (sgmlCloseTag): made public.
12829
12830 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * buffer.C (saveParamsAsDefaults):
12833         * lyx_cb.C (MenuLayoutSave): remove
12834
12835         * LyXAction.C (init):
12836         * commandtags.h:
12837         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12838
12839 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * buffer.C (setPaperStuff): removed from here...
12842
12843         * bufferparams.C (setPaperStuff): ... and moved there.
12844
12845 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * minibuffer.h:
12848         * minibuffer.C:
12849         * XFormsView.C: add support for drop-down completion
12850
12851 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12852
12853         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12854         commands.
12855
12856 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12859         disabled.
12860
12861 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * lyx_main.C: change ref to known bugs
12864
12865 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12866
12867         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12868         to work around older babel problems.
12869
12870 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12871
12872         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12873
12874 2001-10-24  Juergen Vigna  <jug@sad.it>
12875
12876         * tabular-old.C (ReadOld): below variable changes reflected.
12877
12878         * tabular.[Ch]: added ltType struct for longtable header/footer
12879         defines and changed all instances where they are used. Added
12880         future support for double top/bottom rows.
12881
12882 2001-10-24  José Matos  <jamatos@fep.up.pt>
12883
12884         * buffer.h (docbookHandleCaption):
12885         * buffer.C (docbookHandleCaption): removed unused function.
12886         (makeDocBookFile): moved docbook supported version to v4.1.
12887
12888 2001-10-24  José Matos  <jamatos@fep.up.pt>
12889
12890         * tabular.h:
12891         * tabular.C (docbookRow): new function to export docbook code of a row.
12892         (DocBook): now honors the longtable flags.
12893
12894 2001-10-23  José Matos  <jamatos@fep.up.pt>
12895
12896         * LaTeXFeatures.h:
12897         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12898         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12899
12900         * buffer.C (makeLinuxDocFile):
12901         (makeDocBookFile): reworked the preamble, more clean, and with
12902         support for lyx defined entities. Changed the document declaration
12903         to be more XML friendly.
12904
12905         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12906         if we need to output XML that should be done with a filter.
12907
12908 2001-10-22  Juergen Vigna  <jug@sad.it>
12909
12910         * sp_pspell.h (class PSpell): add alive function needed in the
12911         controller to see if the spellchecker could be started.
12912
12913 2001-10-22  Juergen Vigna  <jug@sad.it>
12914
12915         * buffer.C (insertStringAsLines): modify the font for inserting
12916         chars in certain conditions by calling checkInsertChar(font).
12917
12918 2001-10-19  Juergen Vigna  <jug@sad.it>
12919
12920         * text.C (workWidth): use getRow instead of wrong algorithm.
12921         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12922
12923 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * lyxserver.h:
12926         * lyxserver.C:
12927         * lyx_main.h:
12928         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12929
12930 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12931
12932         * text.C (workWidth): do not search for the exact row when
12933         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12934         optimization for big documents.
12935
12936 2001-10-18  Juergen Vigna  <jug@sad.it>
12937
12938         * text.C (workWidth): new function with added Inset * parameter.
12939
12940 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12943
12944         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12945         change return type of getColumnNearX.
12946
12947
12948         * text.C (changeRegionCase): use uppercase/lowercase instead of
12949         toupper/tolower.
12950         (leftMargin):
12951         (rightMargin): simplify code by factoring out the uses of
12952         textclasslist.
12953         (labelFill):
12954         (numberOfHfills):
12955         (setHeightOfRow):
12956         (appendParagraph): use Paragraph::size_type
12957
12958 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * vspace.C (asLatexString): add a missing break
12961
12962 2001-10-15  Herbert Voss  <voss@perce.de>
12963
12964         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12965
12966 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12969         is not available.
12970
12971 2001-10-10  André Pönitz <poenitz@gmx.net>
12972
12973         * lyxfunc.C: removed greek_kb_flag.
12974
12975 2001-10-10  Herbert Voss  <voss@perce.de>
12976
12977         * lyx_main.C: delete global string help_lyxdir.
12978
12979 2001-10-09  Herbert Voss  <voss@perce.de>
12980
12981         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12982
12983         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12984
12985         * lyx_main.C: added global string help_lyxdir.
12986
12987         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12988
12989 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12990
12991         * lyxrc.C (set_font_norm_type): support iso8859-4
12992
12993 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12994
12995         * LaTeX.C (deplog): add another regex for MikTeX
12996
12997 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12998
12999         * lyxrc.C (set_font_norm_type): support iso8859-3
13000
13001 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13004
13005         * LaTeXFeatures.C: remove special case of french and index
13006
13007         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13008         before \begin{document}). This solves several incompatibilities.
13009
13010 2001-10-03  Garst Reese  <reese@isn.net>
13011
13012         * lyx_cb.C: change CheckTex error msg.
13013
13014 2001-10-03  José Matos  <jamatos@fep.up.pt>
13015
13016         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13017
13018 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13019
13020         * .cvsignore: update
13021
13022         * lyx_main.C (commandLineVersionInfo): use new style version info.
13023
13024         * buffer.C (writeFile):
13025         (makeLaTeXFile):
13026         (makeLinuxDocFile):
13027         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13028
13029         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13030
13031         * version.h: update to use stuff in version.C
13032
13033         * version.C.in: new file. Contains version information determined
13034         at compile time. This is a merging of version.h and
13035         version_info.h.in.
13036
13037 2001-10-03  Juergen Vigna  <jug@sad.it>
13038
13039         * BufferView_pimpl.C (update): don't change "dirty" status in
13040         updateInset call.
13041
13042 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13043
13044         * WorkArea.C (c-tor): re-position version string slightly.
13045
13046 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13047
13048         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13049         revert to previous code.
13050
13051         WorkArea.[Ch]: (show, destroySplash): methods removed.
13052
13053         WorkArea.C: rework code so that it's an amalgam of the codes before and
13054         after the splash screen was moved to WorkArea.
13055
13056 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * lyxrc.C (read):
13059         * vspace.C (inPixels):
13060         (lyx_advance):
13061         * kbmap.C (bind):
13062         * buffer.C (insertStringAsLines):
13063         (asciiParagraph): fix types to be large enough
13064
13065         * lyxlex_pimpl.h: change member status from short to int
13066
13067         * layout.h: fix type of endlabeltype
13068
13069         * kbmap.C (bind):
13070         * kbsequence.C (parse): change return type to string::size_type
13071
13072         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13073         variable
13074
13075         * Bullet.C (bulletSize):
13076         (bulletEntry): do not use short ints as parameters
13077
13078         * BufferView2.C (insertLyXFile): change a char to an int.
13079
13080         * WorkArea.C (WorkArea): remove unneeded floats in computation
13081
13082 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13083
13084         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13085
13086         * paragraph.C (asString): Do not ignore newline/hfill chars when
13087         copying to the clipboard.
13088
13089 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13090
13091         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13092         after a multi-line inset.
13093
13094 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13095
13096         * paragraph.C (validate): Set NeedLyXFootnoteCode
13097
13098 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13101         and decrease-error to decrease.
13102
13103 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13104
13105         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13106         it more readable (should be equivalent)
13107
13108 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13109
13110         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13111
13112 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13115         of a cursor (row, etc.) after a character has been deleted
13116         (deleteEmptyParagraphMechanism): call the method above on _all_
13117         cursors held by the LyXText when a double space has been
13118         detected/deleted.
13119
13120 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13121
13122         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13123         pixmap.
13124         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13125
13126         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13127         background. Use greyOut() and the new show() methods to toggle between
13128         the foreground and background. Add code to remove the splash after
13129         its initial showing.
13130
13131         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13132         (create_forms): no longer call Dialogs::showSplash.
13133
13134 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * .cvsignore: add version_info.h
13137
13138 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13139
13140         * version_info.h.in: new file
13141
13142         * Makefile.am: add version_info.h.in
13143
13144         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13145         version_info.h instead of VERSION_INFO
13146
13147 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13148
13149         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13150         The ERT inset now returns string().
13151
13152 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * lyxtext.h, text.C (selectNextWord): renamed as
13155         selectNextWordToSpellcheck.
13156
13157         * text.C (selectNextWordToSpellcheck): Modified to not select
13158         words inside an ERT inset.
13159
13160 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * lyx_cb.C (MenuLayoutSave): change a bit the question
13163
13164         * sp_base.h: include <sys/types.h>
13165
13166 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13167
13168         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13169
13170 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13171
13172         * several files: fix typos in user-visible strings
13173
13174 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * text2.C (pasteSelection): do not set the selection, since it
13177         will be cleared later. Actually, the intent was to fix the way the
13178         selection was set, but I figured rmoving the code was just as good.
13179
13180 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * FontLoader.C (available): Check if font is available without
13183         loading the font.
13184
13185 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13186
13187         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13188
13189 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * lyxrc.[Ch]: added display_graphics variable and associated code.
13192
13193 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * bufferparams.C (hasClassDefaults): new method. Returns true if
13196         the buffer parameters correspond to known class defaults
13197
13198 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13199
13200         * XFormsView.C (show): set minimum size to the main window.
13201
13202 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * text2.C (copySelection):
13205         (cutSelection):
13206         * lyxfind.C (LyXReplace):
13207         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13208         LyXText::selectionAsString.
13209
13210         * paragraph.C (asString): add "label" argument to the second form
13211
13212         * text2.C (selectionAsString): add "label" argument and pass it to
13213         Paragraph::asString.
13214
13215 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * lyx_main.C (commandLineHelp): remove version information
13218
13219 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13220
13221         * lyx_main.C: add -version commandline option
13222
13223 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * paragraph.h: make the optional constructor arg required instead.
13226         some modifications to other files because of this.
13227
13228         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13229
13230         * lyxserver.C (C_LyXComm_callback): make it static
13231
13232         * lyx_main.C (error_handler): make it static
13233
13234         * lyx_gui.C (LyX_XErrHandler): make it static
13235
13236         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13237
13238         * WorkArea.C: make the extern "C" methods static.
13239
13240         * Makefile.am (lyx_LDADD): simplify
13241
13242 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13243
13244         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13245         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13246
13247         * LyXAction.C (init):
13248         * lyxfunc.C (dispatch): associated code removal.
13249
13250 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * lyxfont.h (isSymbolFont): shut off warning
13253
13254         * text.C (setHeightOfRow):
13255         (getVisibleRow): fix crash with empty paragraphs which have a
13256         bottom line
13257
13258 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13259
13260         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13261         code.
13262
13263 2001-09-04  José Matos  <jamatos@fep.up.pt>
13264         * buffer.C
13265         * buffer.h
13266         * tabular.C (docbook): rename docBook method to docbook.
13267
13268 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * Makefile.am: add dependencies to main.o.
13271
13272 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13273
13274         * FontLoader.C (available): Return false if !lyxrc.use_gui
13275
13276 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13277
13278         * FontInfo.C (query):
13279         * converter.C (view):
13280         * importer.C (Import):
13281         * exporter.C (Export): Can not -> cannot.
13282
13283 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * BufferView_pimpl.C: allow to create index inset even if
13286           string is empty
13287
13288 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * buffer.C (getLists): replace boost::tie code with an explicit pair
13291         as boost::tie can break some compilers.
13292
13293         * iterators.h: Added a std:: declaration to the return type of
13294         ParIterator::size.
13295
13296 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13299           case.
13300
13301 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13302
13303         * iterators.[Ch]: New files. Provide paragraph iterators.
13304
13305         * buffer.C (changeLanguage): Use paragraph iterators.
13306         (isMultiLingual): ditto
13307
13308         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13309
13310 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13311
13312         * FontLoader.C: Support for cmr font.
13313
13314 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13317         (available): New method.
13318
13319         * FontInfo.C (getFontname): Use scalable fonts even when
13320         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13321         found.
13322
13323 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * converter.C (Formats::view): reverted! Incorrect fix.
13326
13327 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13328
13329         * converter.C (Formats::view): only output the -paper option
13330         if the dvi viewer is xdvi, thereby fixing bug #233429.
13331
13332 2001-08-23  Herbert Voss  <voss@perce>
13333
13334         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13335
13336 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13337
13338         * Spacing.h (Spacing): Set space to Default on in the default
13339         constructor.
13340
13341 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13342
13343         * vc-backend.h (RCS::versionString): add RCS to version
13344         (CVS::versionString): add CVS to version
13345
13346         * vc-backend.C (scanMaster): do not add CVS to version.
13347         (scanMaster): do not add RCS to version
13348
13349         * lyxvc.C (versionString): new method
13350
13351         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13352
13353 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * Spacing.C (set): initialize fval
13356
13357 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13358
13359         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13360         " or \.
13361
13362 2001-08-16  Juergen Vigna  <jug@sad.it>
13363
13364         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13365
13366 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * BufferView_pimpl.C:
13369         * figureForm.C:
13370         * lyxtext.h:
13371         * text2.C: setParagraph takes linespacing now
13372
13373 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * LyxAction.C: add internal LFUN_CITATION_INSERT
13376
13377         * LyXView.C: actually apply fix
13378
13379         * bufferlist.C: fix open non-existent file
13380
13381         * lyxfind.C: fix indentation
13382
13383         * lyxfunc.C: remove unneeded assert, fix typo
13384
13385 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * MenuBackend.C: use "Floatname List"
13388
13389 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13392         when converting LaTeX layout to insetERT.
13393         Generate a non-collapsed float when reading old float
13394
13395 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13398         ERT insets.
13399
13400 2001-08-13  Juergen Vigna  <jug@sad.it>
13401
13402         * text.C (fill): return 0 instead of 20 as this seems to be the more
13403         correct value.
13404
13405 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13406
13407         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13408         lyxrc.font_norm.
13409
13410 2001-08-13  Juergen Vigna  <jug@sad.it>
13411
13412         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13413         casesensitive off.
13414         (SearchBackward): comment out the unlocking of the inset_owner this
13415         should not be needed!
13416
13417 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13418
13419         * Many files: Remove inherit_language, and add latex_language
13420
13421         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13422         collapsible insets.
13423
13424 2001-08-10  Juergen Vigna  <jug@sad.it>
13425
13426         * text.C (prepareToPrint): fixed hfill-width in draw!
13427
13428         * BufferView2.C (selectLastWord): save the selection cursor as this
13429         now is cleared in the function LyXText::clearSelection!
13430
13431 2001-08-08  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13434         BACKSPACE type functions.
13435
13436         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13437         is only cutted from the document but not put in the cut-buffer, where
13438         still the old stuff should be.
13439
13440         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13441
13442         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13443
13444         * tabular.C (SetWidthOfCell): fixed special case where the width
13445         was not updated!
13446         (LeftLine): handle '|' in align_special.
13447         (RightLine): ditto
13448         (LeftAlreadyDrawed): ditto
13449         (SetWidthOfCell): ditto
13450
13451 2001-08-07  Juergen Vigna  <jug@sad.it>
13452
13453         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13454
13455 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13458         * lyxlex.[hC]: ditto
13459
13460 2001-08-06  Juergen Vigna  <jug@sad.it>
13461
13462         * text.C (getVisibleRow): fix up row clearing a bit.
13463
13464 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * minibuffer.C: make sure the X server sees the changes in the input.
13467
13468 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * paragraph.C (getFont): split into...
13471         (getLabelFont): this
13472         (getLayoutFont): and this
13473         * paragraph_pimpl.C (realizeFont): calling this
13474
13475         * text2.C (getFont): split into...
13476         (getLayoutFont): this
13477         (getLabelFont): and this
13478         (realizeFont): all three calling this
13479
13480         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13481         files where used.
13482
13483 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13484
13485         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13486
13487 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13488
13489         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13490         layouts from the Quote inset insertion.
13491
13492 2001-08-03  Juergen Vigna  <jug@sad.it>
13493
13494         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13495
13496         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13497         only if status not is already CHANGED_IN_DRAW (second level).
13498
13499         * text.C (draw): don't set the need_break_row when inside an
13500         InsetText LyXText.
13501
13502 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * buffer.C (parseSingleLyXformat2Token): handle more latex
13505         conversion cases.
13506
13507         * bufferview_funcs.[hC]: change function names to
13508         begin with small char, adjust other files.
13509
13510 2001-08-02  André Pönitz <poenitz@gmx.net>
13511
13512         * lyxfunc.C:
13513         BufferView_pimpl.C: remove broken special code for math-greek
13514
13515 2001-08-02  Juergen Vigna  <jug@sad.it>
13516
13517         * BufferView_pimpl.C (update): redone this function so that we
13518         update the text again if there was a CHANGE_IN_DRAW.
13519
13520         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13521         (drawFromTo): added a new internal bool which is used by draw() and
13522         redraw() function.
13523         (general): some cursor drawing problems fixed.
13524
13525 2001-08-01  Juergen Vigna  <jug@sad.it>
13526
13527         * lyxfind.C (LyXFind): fixed
13528         (SearchForward): ditto
13529         (SearchBackward): ditto
13530
13531         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13532         spurius drawing of the cursor in the main area.
13533
13534         * text2.C (status): small fix which could lead to a segfault!
13535         (clearSelection): remove unneeded BufferView param.
13536
13537 2001-08-01  André Pönitz <poenitz@gmx.net>
13538
13539         * lyxfunc.C: small change due to changed mathed interface
13540
13541 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13544
13545 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * lyxfunc.c: fail gracefully if file doesn't exist
13548
13549         * LyXSendto.C:
13550         * buffer.C:
13551         * lyxfunc.C:
13552         * BufferView_pimpl.C: IsDirWriteable() proto changed
13553
13554         * LyXView.C: fix updateWindowTitle() to store the last title
13555
13556 2001-07-31  Juergen Vigna  <jug@sad.it>
13557
13558         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13559         the font (wrong since using of Paragraph::highestFontInRange).
13560
13561         * paragraph.C (highestFontInRange): added a default_size parameter.
13562
13563         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13564         (setHeightOfRow): reformat
13565
13566 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13567
13568         * converter.[hC] + affected files: move to (inital-char)lowercase
13569         function names.
13570
13571         * ParagraphParameters.C (ParagraphParameters): remove commented code
13572
13573         * PainterBase.[Ch]: remove commented code
13574
13575         * LaTeXFeatures.h: add "bool floats" for float.sty
13576
13577         * LaTeXFeatures.C (LaTeXFeatures): init floats
13578         (require): handle float
13579         (getPackages): do it with floats
13580
13581 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * BufferView_pimpl.C (Dispatch): improve handling of
13584         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13585
13586         * commandtags.h: #include lyxfont.h here temporarily to avoid
13587         keybinding bug.
13588
13589         * bufferlist.h: include LString.h here.
13590
13591 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13592
13593         * text2.C (getStringToIndex): new method.
13594
13595 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13596
13597         * *: Reduced header file dependencies all over.
13598
13599 2001-07-30  Baruch Even  <baruch@lyx.org>
13600
13601         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13602
13603 2001-07-29  Baruch Even  <baruch@lyx.org>
13604
13605         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13606
13607 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * ParameterStruct.h (endif): add a default constructor to make
13610         sure that all variables is initialized.
13611
13612         * ParagraphParameters.C (ParagraphParameters): adjust
13613
13614 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13617         index; also, check that there is something to index, and that it
13618         does not span over several paragraphs.
13619         (doubleClick): use WHOLE_WORD_STRICT for double click.
13620
13621         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13622
13623         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13624         scheme.
13625
13626 2001-07-26  Baruch Even  <baruch@lyx.org>
13627
13628         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13629         an InsetFig figure, backwards compatible reading of old figure code.
13630
13631 2001-07-27  Juergen Vigna  <jug@sad.it>
13632
13633         * text2.C: font.realize function adaption.
13634
13635         * text.C (draw): add a warnings lyxerr text if needed.
13636
13637         * layout.C: font.realize function adaption.
13638
13639         * language.C: add inherit_language and implement it's handlings
13640
13641         * bufferview_funcs.C (StyleReset): remove language parameter from
13642         font creation (should be language_inherit now).
13643
13644         * bufferparams.C (writeFile): handle ignore_language.
13645
13646         * paragraph.C (getFontSettings): the language has to be resolved
13647         otherwise we have problems in LyXFont!
13648
13649         * lyxfont.C (lyxWriteChanges): added document_language parameter
13650         (update): removed unneeded language parameter
13651
13652         * paragraph.C (validate): fixed wrong output of color-package when
13653         using interface colors for certain fonts in certain environments,
13654         which should not seen as that on the final output.
13655
13656 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * BufferView_pimpl.C:
13659         * Thesaurus.h:
13660         * Thesaurus.C:
13661         * Makefile.am:
13662         * commandtags.h:
13663         * LyXAction.C: add thesaurus support
13664
13665         * lyxfind.h:
13666         * lyxfind.C: add "once" parameter, for thesaurus, to not
13667           move to the next match
13668
13669 2001-07-26  Juergen Vigna  <jug@sad.it>
13670
13671         * lyxfont.C (realize): honor ignore_language too!
13672         (resolved): ditto.
13673
13674         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13675
13676         * text.C (draw): one place more for ignore_language to not draw
13677         itself!
13678
13679 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13682
13683 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13686         the minipage conversion problem.
13687
13688 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13691         insert an inset.
13692
13693 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * BufferView.h: don't forward declare WorkArea
13696
13697         * BufferView.C: don't include WorkArea.h
13698
13699 2001-07-25  André Pönitz <poenitz@gmx.net>
13700
13701         * commandtags.h:
13702         * LyXAction.C:
13703         * lyxfunc.C:  new LFUN 'math-space'
13704
13705         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13706
13707 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * text2.C (toggleInset): call open/close
13710
13711 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * lyxfunc.C (dispatch): add debug for the disabled case
13714
13715         * font.C (buttonText): make similar to rectText
13716
13717         * buffer.C (readInset): comment out parsing of insetlist and
13718         insttheorem
13719
13720         * PainterBase.C (rectText): small correction
13721
13722         * BufferView_pimpl.C: comment out insettheorem and insetlist
13723         * LyXAction.C: ditto
13724         * commandtags.h: ditto
13725
13726 2001-07-24  Juergen Vigna  <jug@sad.it>
13727
13728         * text.C (draw): honor the ignore_language.
13729
13730         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13731
13732 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13733
13734         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13735         char inset.
13736
13737 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13738
13739         * lyxtext.h: remove unused (and unimplemented) methods
13740
13741 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13742
13743         * text.C (getVisibleRow): honor background color
13744
13745         * PainterBase.h:
13746         * Painter.h: remove default color argument for fillRectangle
13747
13748         * text.C (backgroundColor): new method
13749
13750 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * text.C (getVisibleRow): adjust
13753
13754         * font.[Ch] (rectText): new method, metrics
13755         (buttonText): new method, metrics
13756
13757         * PainterBase.[hC]: make rectText and buttonText always draw and take
13758         fewer paramteres.
13759
13760 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13761
13762         * ToolbarDefaults.C (read):
13763         * MenuBackend.C (read): allow escaping in all strings
13764
13765         * BufferView_pimpl.C (insertAndEditInset): new method.
13766         (Dispatch): use insertAndEditInset whenever appropriate.
13767
13768         * BufferView_pimpl.C (insertNote): removed
13769
13770         * BufferView_pimpl.C (smartQuote): new method, moved from
13771         BufferView; if an insetquote cannot be inserted, insert a '"'
13772         character instead.
13773
13774         * BufferView2.C: remove insertCorrectQuote();
13775
13776         * lyxfunc.C (getStatus): Add support for all remaingin
13777         inset-insert lfuns.
13778
13779         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13780
13781         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13782         command (necessary to pass " as parameter of self-insert.
13783
13784         * text.C (selectWordWhenUnderCursor):
13785         (selectWord): add word_location parameter
13786         (selectWordWhenUnderCursor): same + remove special code for word
13787         boundary.
13788         (selectNextWord): use kind() to guess type of insetspecialchar,
13789         not latex().
13790
13791         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13792         (insertErtContents): create ert insets as collapsed.
13793         (readInset): better compatibility code for Info inset.
13794
13795 2001-07-20  Juergen Vigna  <jug@sad.it>
13796
13797         * lyxfunc.C (dispatch): use always LyXFind now!
13798
13799         * text2.C (init): add a reinit flag so that the LyXText can be
13800         reinited instead of deleted and reallocated (used in InsetText).
13801
13802         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13803
13804         * text.C: ditto
13805
13806         * text2.C: ditto
13807
13808 2001-07-18  Juergen Vigna  <jug@sad.it>
13809
13810         * text.C (selectNextWord): handle insets inside inset by calling
13811         always the bv->text functions so that we can go up the_locking_inset!
13812
13813         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13814         in strange locations when inside an inset!
13815
13816         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13817         handling to include insets.
13818
13819         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13820
13821 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * LyXAction.C (init):
13824         * commandtags.h:
13825         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13826         LIGATURE_BREAK, since the name is so stupid.
13827
13828 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13829
13830         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13831         InsetInfos.
13832
13833         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13834
13835         * sp_form.[Ch]: remove.
13836
13837         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13838
13839         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13840         InsetInfo.
13841
13842         * src/buffer.C (readInset): ditto.
13843
13844 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13845
13846         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13847         menuSeparator(), endOfSentenceDot(), ldots() and
13848         hyphenationPoint(), which are therefore removed.
13849         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13850
13851         * LyXAction.C (init):
13852         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13853
13854         * paragraph.C (getWord): removed.
13855
13856         * BufferView_pimpl.C (Dispatch): use last word or selection for
13857         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13858
13859         * lyx_main.C (queryUserLyXDir): do not ask before creating
13860         user_dir, except if it has been named explicitely.
13861
13862 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13865         a document of zero size.
13866
13867 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13870         approriately in the c-tor and in require().
13871         (getPackages): output the appropriate LaTeX for natbib support.
13872
13873         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13874         variables "use_natbib" and "use_numerical_citations" when reading the
13875         LyX file.
13876         (readInset): read the various natbib cite commands.
13877         (validate): white-space change.
13878
13879         * bufferparams.[Ch]: new variables "bool use_natbib" and
13880         "bool use_numerical_citations".
13881         (writeFile): output them in the LyX file.
13882
13883 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13884
13885         * lyxfunc.C (getStatus): add support for all the inset insertion
13886         commands.
13887
13888         * text2.C (insertInset):
13889         * paragraph.C (insetAllowed):
13890         * BufferView_pimpl.C (insertInset): update to take in account the
13891         renaming of insertInsetAllowed
13892
13893         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13894
13895         * text2.C (getInset): new method. returns inset at cursor position.
13896
13897         * BufferView_pimpl.C (Dispatch): changes because of this.
13898
13899         * LyXAction.C (init): rename open-stuff to inset-toggle.
13900
13901         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13902
13903         * text2.C (toggleInset): renamed from openStuff; use
13904         Inset::open().
13905
13906 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13907
13908         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13909
13910         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13911
13912 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13913
13914         * buffer.C (readLyXformat2): Add filename to the error dialog
13915
13916 2001-07-18  Juergen Vigna  <jug@sad.it>
13917
13918         * tabular.C (GetCellNumber): put an assert here instead of the check!
13919
13920 2001-07-17  Juergen Vigna  <jug@sad.it>
13921
13922         * BufferView_pimpl.C (toggleSelection): adapted too.
13923
13924         * text.C (selectNextWord): adapted for use with insets.
13925         (selectSelectedWord): ditto
13926
13927 2001-07-17  Juergen Vigna  <jug@sad.it>
13928
13929         * sp_spell.C (PSpell): fix initialitation order.
13930
13931 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * paragraph.C: spacing
13934
13935 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13936
13937         * sp_spell.C: repair language selection for pspell
13938
13939 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * lyxfunc.h: change more methods to begin with lower char.
13942
13943 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13946         for unknown layouts.
13947
13948 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13949
13950         * buffer.C (readLyXformat2): Generate an error dialog if there are
13951         unknown layouts.
13952
13953 2001-07-16  Juergen Vigna  <jug@sad.it>
13954
13955         * sp_spell.C: always compile ISpell part.
13956
13957         * lyxrc.C: added use_pspell entry and it's handling.
13958
13959 2001-07-13  Juergen Vigna  <jug@sad.it>
13960
13961         * sp_spell.C: removed double includes.
13962
13963 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         Consistent use of Lsstream.h:
13966         * Lsstream.h: added using std::stringstream for consistencies sake.
13967
13968         * buffer.C: removed using std::stringstream
13969
13970         * lyxfont.C (stateText):
13971         * paragraph.C (asString):
13972         * text.C (selectNextWord, selectSelectedWord):
13973         * text2.C (setCounter):
13974         * vspace.C (asString, asLatexString):
13975         std::ostringstream -> ostringstream.
13976
13977 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13978
13979         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13980         * commandtags.h: add LFUN_HELP_ABOUTLYX
13981         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13982
13983 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13984
13985         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13986         cursorToggle()
13987         * lyx_gui_misc.C: remove spellchecker
13988         * lyxfunc.C: showSpellchecker
13989         * sp_base.h: added
13990         * sp_ispell.h: added
13991         * sp_pspell.h: added
13992         * sp_spell.C: added
13993         * sp_form.[Ch]: removed
13994         * spellchecker.[Ch]: removed
13995
13996 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13997
13998         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13999         is set.
14000         (simpleTeXSpecialChars): Simply print the input character without
14001         any special translation if pass_thru is set.
14002
14003         * layout.h: Added bool pass_thru to layout class for being able to
14004         implement pass through of a paragraph for Literate Programming.
14005
14006         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14007         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14008         * layout.C (Read): add "passthru" to list of layout tags and add
14009         code to set the pass_thru boolean when it is read.
14010
14011 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * trans_decl.h: remove allowed from KmodInfo
14014
14015         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14016         remove allowed code
14017         (Load): adjust
14018
14019         * paragraph_pimpl.C (erase): use boost::prior
14020
14021         * Painter.C (text): use data() instead of c_str() when length is
14022         also provided.
14023         * WorkArea.C (putClipboard): ditto
14024         * font.h (width): ditto
14025
14026         * BufferView2.C: use it-> instead of (*it). for iterators
14027         * texrow.C: ditto
14028         * paragraph_pimpl.C: ditto
14029         * paragraph.C: ditto
14030         * minibuffer.C: ditto
14031         * language.C: ditto
14032         * kbmap.C: ditto
14033         * encoding.C: ditto
14034         * counters.C: ditto
14035         * converter.C: ditto
14036         * chset.C: ditto
14037         * Variables.C: ditto
14038         * TextCache.C: ditto
14039         * MenuBackend.C: ditto
14040         * LyXAction.C: ditto
14041         * LColor.C: ditto
14042         * FloatList.C: ditto
14043         * DepTable.C: ditto
14044         * ColorHandler.C (LyXColorHandler): ditto
14045
14046 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14049
14050         * text2.C (openStuff): reintroduce this method (which had been
14051         nuked in NEW_INSETS frenzy).
14052
14053         * lyxfunc.C (Dispatch): when an action has not been handled, use
14054         its name in the error message, not its number.
14055
14056         * paragraph.C (inInset): change method name to begin with lowercase.
14057
14058         * undo_funcs.C:
14059         * text2.C: updates because of this.
14060
14061 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14062
14063         * ToolbarDefaults.C (add): add spaces in error message
14064
14065 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14068         (readLyXformat2): rename return_par to first_par, use lyxlex's
14069         pushToken and remove the manual push handling.
14070         (parseSingleLyXformat2Token): add another ert comp. variable:
14071         in_tabular, rename return_par to first_par. handle newlines better
14072
14073 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14076
14077 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14078
14079         * text2.C (getParFromID): removed
14080
14081         * buffer.C (getParFromID): new method moved form lyxtext.
14082         * BufferView2.C (insertErrors): adjust
14083         (setCursorFromRow): adjust
14084         * BufferView_pimpl.C (restorePosition): adjust
14085         * lyxfunc.C (Dispatch): adjust
14086         * undo_funcs.C (textUndo): adjust
14087         (textRedo): adjust
14088         (textHandleUndo): adjust
14089         (textHandleUndo): adjust
14090
14091 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * buffer.C: up' the LYX_FORMAT
14094
14095         * lyxfont.h: turn NO_LATEX on as default
14096
14097         * buffer.C (insertErtContents): new methods of tex style compability.
14098         (parseSingleLyXformat2Token): use it several places.
14099         * tabular.C (OldFormatRead): and here
14100
14101 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * text2.C: remove some commented code.
14104         reindent file.
14105
14106         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14107         * trans.C: changes because of the above.
14108
14109 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * text2.C (setCounter): Fix counters bug with bibliography layout.
14112
14113 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14114
14115         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14116         own member functions
14117         (simpleTeXSpecialChars): ditto
14118
14119 2001-07-06  Juergen Vigna  <jug@sad.it>
14120
14121         * a lot of files: changed the access to LyXText::status and the
14122         call of undo-functions.
14123
14124         * undo.[Ch]: added a inset_id to the undo informations.
14125
14126         * undo_funcs.[Ch]: added and moved here all undo functions.
14127
14128         * lyxtext.h: give the status enum a weight, made status_ a private
14129         variable and made accessor functions for it, removed the whole bunch
14130         of undo-functions as they are now in their own file, make some
14131         functions publically available. Added function ownerParagraph with
14132         int parameter.
14133
14134         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14135         made InInset() a const function, added getParFromID() function.
14136
14137         * buffer.[Ch]: added const version for inset_iterator functions,
14138         added getInsetFromID() function.
14139
14140         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14141         changed undo functions for new version.
14142
14143 2001-07-05  Juergen Vigna  <jug@sad.it>
14144
14145         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14146         unknow mechanism does not call the proper constructor but only this
14147         one also if I request the other!?
14148
14149 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14152
14153         * text2.C (LyXText): use initialization lists.
14154
14155         * lyxtext.h (Selection): initialize set_ and mark_
14156         (init): remove method
14157
14158 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14161
14162 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14163
14164         * screen.[Ch]: change method names to begin with lowercase
14165
14166         * BufferView_pimpl.C (updateScrollbar): simplify further and
14167         hopefully make it a bit faster.
14168
14169 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14172         calling directly xforms functions.
14173
14174         * Painter.C (Painter):
14175         * lyx_cb.C (MenuWrite):
14176         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14177         fl_display.
14178
14179         * lyx_gui.C: remove bogus guiruntime extern declaration.
14180
14181 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14184         in NEW_INSETS
14185         (redoDrawingOfParagraph): ditto
14186         (redoParagraphs): ditto
14187         (cutSelection): don't create a object for CutAndPaste use the
14188         static method directly
14189         (pasteSelection): ditto
14190
14191         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14192         LyXview (+ rename)
14193
14194 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * modifications to some other files because of this.
14197
14198         * Makefile.am (lyx_SOURCES): add XFormsView
14199
14200         * XFormsView.[Ch]: new files
14201
14202         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14203         the main window. Move the gui dependent stuff to XFormsView
14204
14205 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * tabular.C (GetCellInset): update cur_cell also in the row/col
14208         version of this function.
14209
14210         * lyxfunc.C: no need to include figure_form.h here.
14211
14212         * FontLoader.h:
14213         * lyxfunc.h:
14214         * lyxscreen.h:
14215         * text2.C:
14216         * lyxvc.C: no need to include forms.h here.
14217
14218 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14221
14222         * lyxfunc.C (Dispatch):
14223         * Spacing.C (set):
14224         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14225         constructor argument.
14226
14227 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * paragraph.C (Paragraph): dont't clear, and just set layout.
14230         (makeSameLayout): use params's copy contructor.
14231
14232         * ParagraphParameters.[Ch] (makeSame): delete method
14233
14234 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * Variables.[Ch]: fix indentation, rename set to isSet
14237
14238 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * lyxfunc.C (Dispatch): fix typo
14241
14242 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14245         upper_bound.
14246
14247         * bufferlist.C: include assert.h for emergencyWrite().
14248
14249 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14252           give up at last (bug #425202) !
14253
14254 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * lyx_gui_misc.C:
14257         * sp_form.h:
14258         * sp_form.C:
14259         * spellchecker.h:
14260         * spellchecker.C: strip spellchecker options and bring up
14261           preferences tab instead
14262
14263 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14266         the istringstream constructor
14267
14268 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * paragraph.C (getLayout): fix return value
14271
14272         * paragraph.h: do not declare getLayout as inline.
14273
14274         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14275
14276 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14277
14278         * lyxcursor.h (operator<): new func
14279         (operator>): new func
14280         (operator>=): new func
14281         (operator<=): new func
14282
14283         * text.C (changeCase): use selection.start and selection.end
14284         (changeRegionCase): require from to be <= to. Require par to be a
14285         valid paragraph.
14286
14287         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14288
14289 2001-06-27  Juergen Vigna  <jug@sad.it>
14290
14291         * text.C (cursorLeftOneWord): changed to return the cursor and added
14292         overlay with BufferView * parameter which calls this one.
14293         (getWord): added
14294         (selectWord): use new getWord function.
14295         (changeCase): renamed from changeWordCase as and extended to work
14296         also on selections.
14297
14298         * lyxtext.h: added enum word_location
14299
14300         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14301         changeCase as this operates now also on selections.
14302
14303 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14304
14305         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14306
14307         * many files: send debug output to Debug::INFO instead of
14308         Debug::ANY.
14309
14310         * converter.C (View):
14311         (Convert):
14312         (Move): send debug output to Debug::FILES instead of console.
14313
14314 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14315
14316         * lyxfunc.C (getStatus): use func_status
14317
14318         * func_status.h: new header, describing the results of
14319         LyXFunc::getStatus;
14320
14321         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14322         LFUN_MATH_HALIGN.
14323
14324 2001-06-25  The LyX Project  <jug@sad.it>
14325
14326         * buffer.C (sgmlOpenTag):
14327         (sgmlCloseTag):
14328         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14329
14330 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * text2.C: remove some dead code
14333
14334         * tabular.C (GetCellInset): store the last cell checked (gotten)
14335
14336         * tabular.h: add the helper for the speedup
14337
14338         * lyxtext.h: remove some dead code
14339
14340 2001-06-26  The LyX Project  <Asger>
14341
14342         * paragraph.C: Change export to LaTeX of alignment to
14343         \begin{center} and family for better roundtrip work with reLyX.
14344
14345         * Tune the math drawing a bit.
14346
14347 2001-06-25  The LyX Project  <Asger>
14348
14349         * LColor.C (LColor): New color for math background. New color
14350         for buttons.
14351
14352 2001-06-25  The LyX Project  <jug@sad.it>
14353
14354         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14355
14356         * lyxfunc.C (Open):
14357         * bufferlist.C (newFile): do not restrict to files ending with
14358         .lyx
14359
14360         * BufferView_pimpl.C (MenuInsertLyXFile):
14361
14362 2001-06-24  The LyX Project  <jug@sad.it>
14363
14364         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14365         of compare_no_case
14366
14367 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * lyxtext.h: rename most methods to begin with a small char.
14370         Lots of changes because of this.
14371
14372         * paragraph.C (Paragraph): do not call fitToSize
14373         (erase): call Pimpl::erase
14374         (insertChar): call Pimpl::insertChar
14375         (insertInset): call Pipl::insertInset
14376         (breakParagraph): do not call fitToSize
14377         (breakParagraphConservative): do not call fitToSize
14378         (fitToSize): remove method
14379
14380         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14381
14382 2001-06-24  The LyX Project  <Asger>
14383
14384         * Fix Qt compilation^2
14385
14386 2001-06-24  The LyX Project  <jug@sad.it>
14387
14388         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14389         depthHook(getDepth()-1).
14390
14391         * paragraph.h:
14392         * ParagraphParameters.h:
14393         * ParameterStruct.h: change type of depth to unsigned int ==
14394         depth_type. Many adaptations to other files before of that.
14395
14396 2001-06-24  The LyX Project  <Asger>
14397
14398         * Fix Qt compilation.
14399
14400 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14401
14402         * paragraph.h: renamed several methods to begin with small letter.
14403         several changes to many parts of the code because of this.
14404
14405 2001-06-23  The LyX Project  <jug@sad.it>
14406
14407         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14408         rewritten to discard all double spaces when KeepEmpty is off
14409         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14410         to only handle newlines but not fiddle with spaces and friends.
14411
14412         * lyxfunc.C (MenuNew): when doing 'new from template', use
14413         template_path as default directory
14414
14415 2001-06-23  The LyX Project  <Asger>
14416
14417         * Clean-up of header file includes all over
14418         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14419
14420 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * paragraph.h: renamed from lyxparagraph.h
14423
14424 2001-06-23  Asger  <lyx@violet.home.sad.it>
14425
14426         * Buffer.h: Removed Buffer::resize
14427         * BufferList.h: Removed BufferList::resize
14428         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14429         the document lazily when we change the width, or the font settings.
14430
14431 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14434
14435 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * buffer.h: remove out of date comment
14438
14439 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * lyxscreen.h:
14442         * screen.C: fix "theoretical" GC leak
14443
14444 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * LaTeX.C (scanAuxFile):
14447         (deplog): remove trailing \r when reading stream (useful under
14448         win32)
14449
14450 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14453         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14454         and BufferView::theLockingInset(Inset*), so should use them and not
14455         access bv_->text->the_locking_inset directly.
14456
14457         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14458
14459 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * Makefile.am:
14462         * tex-defs.h: remove old unused file
14463
14464 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * BufferView_pimpl.C: fix typo, remove minibuffer message
14467           when buffer has loaded
14468
14469 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * lyxfunc.C (Dispatch): use stringstream
14472         (MenuNew): use stringstream
14473         (Open): use stringstream
14474
14475         * importer.C (Import): use stringstream
14476
14477         * bufferview_funcs.C (CurrentState): use stringstream
14478
14479         * LaTeX.C (run): use stringstream
14480
14481         * BufferView_pimpl.C (savePosition): use stringstream
14482         (restorePosition): use stringstream
14483         (MenuInsertLyXFile): use stringstream
14484
14485 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * BufferView.C:
14488         * Bullet.C:
14489         * ColorHandler.C:
14490         * FontInfo.C:
14491         * FontLoader.C:
14492         * LColor.C:
14493         * LaTeXFeatures.C:
14494         * Painter.C:
14495         * gettext.C:
14496         * lyx_gui_misc.C:
14497         * lyxserver.C:
14498         * vspace.C: removed // -*- C++ -*- as first line.
14499
14500         * lyxfind.h:
14501         * version.h: added // -*- C++ -*- as first line.
14502
14503 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14504
14505         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14506
14507         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14508         of string
14509
14510 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14511
14512         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14513         of floats.
14514
14515 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * gettext.C: include LString.h even when --disable-nls is on.
14518
14519 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14520
14521         * converter.h (Get): changed argument type from int to
14522         FormatList::size_type to avoid unnecessary conversion.
14523
14524         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14525         before using it.
14526
14527 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * gettext.h: include LString.h even when --disable-nls is on.
14530
14531 2001-06-07  Juergen Vigna  <jug@sad.it>
14532
14533         * text.C (BreakAgain): subst spaces with tabs.
14534
14535         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14536         (resizeInsetsLyXText): set force on resizeLyXText.
14537
14538 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * gettext.h (gettext_init):
14541         (locale_init): use a real definition instead of a macro
14542
14543 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14544
14545         * Bufferview_pimpl.C:
14546         * LColor.h:
14547         * LColor.C: further lcolor tidies
14548
14549 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * BufferView_pimpl.C (updateScrollbar): simplify.
14552
14553         * BufferView2.C: don't include insets/insetinfo.h, change
14554         prototype for insertInset and call the Pimpl version. let
14555         updateInset call Pimpl version.
14556
14557         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14558         gotoInset to BufferView::Pimpl
14559
14560 2001-06-01  Juergen Vigna  <jug@sad.it>
14561
14562         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14563         inside a LockingInset (is the update needed at all?).
14564
14565 2001-05-31  Juergen Vigna  <jug@sad.it>
14566
14567         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14568         here not the old one otherwise how should we compare it afterwards
14569         if it's the same!
14570
14571 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * lyxfont.C:
14574         * tabular.C:
14575         * tabular-old.C:
14576         * FontInfo.C: bring C functions into global namespace when
14577         necessary
14578
14579 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * LString.h: make sure config.h has been loaded before LString.h.
14582
14583         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14584         (one for each char read by EatLine!).
14585
14586         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14587         variables.
14588
14589 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14592         to the same as the par we break from
14593
14594 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14597
14598         * MenuBackend.C (expand): also create menu entries for wide
14599         versions of the floats.
14600
14601         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14602
14603         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14604
14605         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14606         frontends/Makefile.am
14607
14608         * text2.C: adjust
14609         * text.C: adjust
14610
14611
14612         * tabular.C (getTokenValue): add std::
14613
14614         * tabular-old.C (getTokenValue): add std::
14615         (getTokenValue): ditto
14616         (getTokenValue): ditto
14617
14618         * screen.C (ToggleSelection): adjust
14619
14620         * lyxtext.h: put selection cursors inside a Selection struct.
14621
14622         * lyxfunc.C (moveCursorUpdate): adjust
14623
14624         * lyxfont.C (latexWriteStartChanges): add std::
14625
14626         * lyxfind.C: adjust
14627
14628         * font.h: delete with(char const *, LyXFont const &)
14629
14630         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14631
14632         * FontInfo.C (getFontname): add std::
14633
14634         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14635         (workAreaButtonPress): adjust
14636         (tripleClick): adjust
14637         (update): adjust
14638         (moveCursorUpdate): adjust
14639         (Dispatch): adjust
14640
14641         * BufferView2.C (gotoInset): adjust
14642
14643 2001-05-30  Juergen Vigna  <jug@sad.it>
14644
14645         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14646         to check pspell I add this as default as I now have new pspell
14647         libraries and they seem to use this.
14648
14649 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * text2.C (CutSelection): make the cursor valid before the call to
14652         ClearSelection.
14653
14654 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14657         relied on 0 terminated strings and other horrors. Bug found due to
14658         the new assert in lyxstring!
14659
14660         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14661         KP_ keys.
14662
14663 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14664
14665         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14666         to latinkeys.bind.
14667
14668         * lyxfunc.C (processKeySym): change method of getting to the
14669         self-insert char.
14670
14671         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14672         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14673         * BufferView_pimpl.[Ch]: here as private methods.
14674
14675 2001-05-28  Juergen Vigna  <jug@sad.it>
14676
14677         * text.C (SetHeightOfRow): added the update() call again as it is
14678         needed to initialize inset dimensions!
14679
14680 2001-05-16  Juergen Vigna  <jug@sad.it>
14681
14682         * text2.C (SetCharFont): Add new function with BufferView * and
14683         bool toggleall parameters for setting insets internal fonts.
14684         (SetFont): Freeze the undo as we may change fonts in Insets and
14685         all this change should be inside only one Undo!
14686
14687         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14688         setting font's in insets as for them we have the SetFont function!
14689
14690 2001-05-15  Juergen Vigna  <jug@sad.it>
14691
14692         * text2.C (ClearSelection): to be sure we REALLY don't have any
14693         selection anymore!
14694
14695         * tabular.C (TeXCellPreamble): fixed the left border problem for
14696         multicolumn cells.
14697
14698 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14701         dependancy file
14702
14703 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14706         LFUN_BREAKPARAGRAPH.
14707
14708         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14709         help test to "internal only", similar for LFUN_INSERT_URL
14710
14711         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14712         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14713         auto_region_delete and deadkeys.
14714
14715 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * LColor.h:
14718         * LColor.C: remove some dead entries, tidy a little
14719
14720 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14721
14722         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14723         commented code.
14724         (Dispatch): implement LFUN_ESCAPE
14725
14726         * commandtags.h: add LFUN_ESCAPE
14727
14728         * LyXAction.C (init): add entry for LFUN_ESCAPE
14729
14730         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14731         Remove commented code.
14732         (insertNote): moved here
14733         (open_new_inset): moved here
14734
14735         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14736         BufferView_pimpl
14737
14738 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * kbmap.C (findbinding): clean it up and make it work correctly.
14741
14742         * lyx_main.C (init): do not pass argc and argv as parameters
14743
14744 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14745
14746         * buffer.C: fix path for OS/2 & Win32
14747
14748         * lyx_gui.C:
14749         * lyx_main:
14750         * lyx_main.C: Added os:: class.
14751
14752         * os2_defines.h: update
14753
14754 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14757         better by trying again with reduced state.
14758
14759 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * lyxrc.C (read): print error about invalid key sequence only when
14762         debugging (because not all latinX keysyms are known to some X
14763         servers)
14764
14765         * kbsequence.C (getiso): add a few std:: qualifiers
14766         (getiso): comment out extra return statement.
14767
14768 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14771         handling.
14772         (Dispatch): enhance the accent inset a bit. (not perfect)
14773
14774 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14775
14776         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14777
14778 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * bufferlist.C (emergencyWrite): fix assert() call
14781
14782 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14783
14784         * text.C (InsertChar): Added trivial patch to only send the "you
14785         can not do multiple spaces this way" message once during a
14786         session.
14787
14788 2001-05-08  Baruch Even  <baruch@lyx.org>
14789
14790         * Makefile.am: Changed order of libraries to get LyX to link properly
14791         with the gnome frontend.
14792
14793 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * LaTeXFeatures.h: add a std:: qualifier
14796
14797 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * paragraph.C (String): use stringstream
14800
14801 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14802
14803         * paragraph.C (writeFile): remove footflag arg
14804
14805         * buffer.C (makeLaTeXFile): use stringstream
14806         (latexParagraphs): remove footnot gurba
14807
14808         * LaTeXFeatures.C (getPackages): use stringstream
14809         (getMacros): likewise
14810         (getTClassPreamble): likewise
14811         (getFloatDefinitions): new method
14812
14813         * paragraph.C (writeFile): reindent
14814         (Erase): reindent
14815
14816         * WorkArea.h: revert the xpos + etc changes.
14817
14818         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14819
14820         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14821
14822         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14823         (pasteSelection): likewise
14824         * text2.C (CreateUndo): likewise
14825
14826 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * minibuffer.C (peek_event): temporarily reduce the functionality
14829         of the minibuffer (to allow args on lfuns)
14830
14831         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14832         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14833
14834         * buffer.C (readInset): add compability reading of old float
14835         lists, add reading of new style float list.
14836         (readInset): avoid reevaluation of inscmd.getCmdName()
14837         (getLists): reindent
14838
14839         * MenuBackend.C (MenuItem): implement parsing of
14840         md_floatlistinsert and md_floatinsert.
14841         (expand::LastFiles): move initalizaton of iterators out of loop,
14842         avoid reevaluation.
14843         (expand::Documents): introduce typdedef vector<string> Strings,
14844         and use it.
14845         (expand::ExportFormats): introduce typedef vector<Format const *>
14846         Formats, and use it.
14847         (expand): implement FloatListInsert and FloatInsert.
14848
14849         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14850         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14851         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14852
14853         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14854         handling.
14855         (Dispatch::LFUN_FLOAT_LIST): implement
14856
14857 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14858
14859         * LaTeX.C (run): Fix problem with --export code.
14860
14861 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14862
14863         * BufferView.[Ch] (workarea): removed.
14864         (getClipboard) new method; wrapper for workarea()->getClipboard()
14865
14866         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14867         bug.
14868
14869         * WorkArea.h (width, height, xpos, ypos): These methods all
14870         returned the dimensions of the work_area sub-area of WorkArea,
14871         resulting in a position error if the WorkArea were resized. Now
14872         return the dimensions of the entire WorkArea.
14873
14874         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14875
14876 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * LaTeX.C (deplog): correct the syntax of regex reg1
14879
14880 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14881
14882         * undo.C: remove !NEW_INSETS cruft
14883
14884 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * text2.C: remove !NEW_INSETS cruft
14887
14888         * text.C: remove !NEW_INSETS cruft
14889
14890         * tabular.C: remove !NEW_INSETS cruft
14891
14892         * spellchecker.C: remove !NEW_INSETS cruft
14893
14894         * lyxtext.h: remove !NEW_INSETS cruft
14895
14896         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14897
14898         * lyxfunc.C: remove !NEW_INSETS cruft
14899
14900         * lyxfind.C: remove !NEW_INSETS cruft
14901
14902         * lyx_cb.C: remove !NEW_INSETS cruft
14903
14904         * figureForm.C: remove  !NEW_INSETS cruft
14905
14906         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14907
14908         * buffer.[Ch]: remove !NEW_INSETS cruft
14909
14910         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14911
14912         * CutAndPaste.C: remove !NEW_INSETS cruft
14913
14914         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14915
14916         * BufferView2.C: remove !NEW_INSETS cruft
14917
14918         * BufferView.h: remove !NEW_INSETS cruft
14919
14920 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14921
14922         * Lsstream.h: include LString.h before the sstream headers to
14923         fix problem with gcc 2.95.3 and lyxstring
14924
14925 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * lyx_main.C: add using directives when needed for C functions
14928         declared in std:: namespace.
14929
14930 2001-04-27  Juergen Vigna  <jug@sad.it>
14931
14932         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14933         (SetHeightOfRow): comment out the update call should not be needed!
14934
14935 2001-04-13  Juergen Vigna  <jug@sad.it>
14936
14937         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14938         (LyXTabular): tried to minimize operator= operations (and realized
14939         hopfully Lars wish).
14940
14941 2001-04-27  Juergen Vigna  <jug@sad.it>
14942
14943         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14944
14945 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14948
14949         * buffer.C (readInset): hack to make listof algorithm work
14950
14951         * BufferView_pimpl.C: hack to make listof algorithm work
14952
14953 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * LyXAction.C: removed all !NEW_INSETS cruft
14956         (init): moved lfun_item in method
14957
14958         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14959
14960 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14961
14962         * BufferView2.C (theLockingInset): white space.
14963
14964 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * minibuffer.C: include <iostream>
14967
14968         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14969
14970         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14971
14972         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14973
14974         * text.[Ch] (TransposeChars): new method
14975
14976 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * call message directly through LyXView instead of through LyXFunc
14979         * BufferView2.C: adjust
14980         * BufferView_pimpl.C: adjust
14981         * FontLoader.C: adjust
14982         * buffer.C: adjust
14983         * bufferview_funcs.C: adjust
14984         * converter.C: adjust
14985         * figureForm.C: adjust
14986         * importer.C: adjust
14987         * lyx_cb.C: adjust
14988         * lyx_gui_misc.C: adjust
14989         * lyxfunc.C: adjust
14990         * lyxvc.C: adjust
14991         * text2.C: adjust
14992         + more files in subdirs
14993
14994         * lyxparagraph.h (size): move up int file
14995         (GetLayout): ditto
14996
14997         * adjust all uses of Assert to lyx::Assert.
14998
14999         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15000         lyxfunctional in namespace lyx
15001         * layout.C (hasLayout): ditto
15002         (GetLayout): ditto
15003         (GetLayout): ditto
15004         (delete_layout): ditto
15005         (NumberOfClass): ditto
15006         * converter.C (GetFormat): ditto
15007         (GetNumber): ditto
15008         (Add): ditto
15009         (Delete): ditto
15010         (SetViewer): ditto
15011         * bufferlist.C (getFileNames): ditto
15012         (emergencyWriteAll): ditto
15013         (exists): ditto
15014         (getBuffer): ditto
15015         * MenuBackend.C (hasSubmenu): ditto
15016         (hasMenu): ditto
15017         (getMenu): ditto
15018         * BufferView_pimpl.C (getInsetByCode): ditto
15019
15020 2001-04-18  Juergen Vigna  <jug@sad.it>
15021
15022         * vspace.C (asLatexString): fixed the 100% problem.
15023
15024 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * lyxfunc.C (Dispatch):
15027         * minibuffer.C:
15028         * minibuffer.h: add a few std:: qualifiers
15029
15030 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * minibuffer.[Ch]: reimplement so that commands is initiated and
15033         run from lyxfunc, simplified som handling, and made the completion
15034         and history code for complete. wip.
15035
15036         * lyxfunc.C (processKeySym): call message
15037         (miniDispatch): new temporary method
15038         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15039         (LFUN_MESSAGE): implement
15040         (LFUN_MESSAGE_PUSH): implement
15041         (LFUN_MESSAGE_POP): implement
15042         (initMiniBuffer): the initial/defualt minibuffer message.
15043
15044         * lyxfont.[Ch]: inline some more getters
15045
15046         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15047
15048         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15049
15050         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15051         (AutoSave): use LFUN_MESSAGE
15052         (Reconfigure): ditto
15053
15054         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15055
15056         * figureForm.C: use LFUN_MESSAGE
15057
15058         * converter.C (runLaTeX): use LFUN_MESSAGE
15059
15060         * bufferview_funcs.C: use LFUN_MESSAGE
15061         (Melt): ditto
15062         (changeDepth): ditto
15063
15064         * bufferparams.h: use boost::
15065
15066         * bufferlist.h: inherit privately from noncopyable
15067
15068         * bufferlist.C (loadLyXFile): remove some commented code.
15069
15070         * buffer.C (runChktex): use LFUN_MESSAGE
15071
15072         * ShareContainer.h: inherit privately from noncopyable
15073
15074         * ParagraphParameters.[hC] (depth): inline it.
15075
15076         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15077         methods.
15078         (message): new method
15079         (messagePush): ditto
15080         (messagePop): ditto
15081         (show): init minibuffer
15082         (showState): direct call
15083
15084         * LaTeX.[Ch]: inherit privately from noncopyable
15085         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15086         instead of WriteStatus.
15087
15088         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15089
15090         * BufferView_pimpl.C (buffer): don't init minibuffer
15091         (workAreaButtonPress): use LFUN_MESSAGE
15092         (workAreaButtonRelease): ditto
15093         (savePosition): ditto
15094         (restorePosition): ditto
15095         (MenuInsertLyXFile): ditto
15096         (workAreaExpose): don't init minibuffer
15097         (update): remove commented code, simplify
15098
15099         * BufferView2.C (openStuff): use LFUN_MESSAGE
15100         (toggleFloat): ditto
15101         (menuUndo): ditto
15102         (menuRedo): ditto
15103         (copyEnvironment): ditto
15104         (pasteEnvironment): ditto
15105         (copy): ditto
15106         (cut): ditto
15107         (paste): ditto
15108         (gotoInset): ditto
15109         (updateInset): remove some commented code
15110
15111         * lastfiles.h: inherit privately from noncopyable
15112         * layout.h: ditto
15113         * lyx_gui.h: ditto
15114         * lyx_main.h: ditto
15115         * lyxlex.h: ditto
15116         * lyxlex_pimpl.h: ditto
15117
15118         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15119         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15120         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15121
15122         * LyXAction.h: inherit privately from noncopyable, add methods
15123         func_begin, func_end, returning iterators to the func map.
15124
15125         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15126         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15127         (func_begin): new method
15128         (func_end): new method
15129
15130         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15131         and not)
15132         (copySelection): ditto
15133         (pasteSelection): ditto
15134
15135         * BufferView.C: whitespace change
15136         * BufferView.h: inherit privately from noncopyable
15137
15138 2001-04-16  Allan Rae  <rae@lyx.org>
15139
15140         * tabular-old.C (l_getline):
15141         * spellchecker.C (sc_check_word):
15142         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15143         an unrecognised preprocessor directive.  So ensure they're wrapped.
15144
15145 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * src/exporter.C (Export): Give an error message when path to file
15148         contains spaces.
15149
15150 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * LaTeX.C (deplog): Always check that foundfile exists.
15153
15154 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * lyx_main.h:
15157         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15158
15159 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * tabular.[Ch] (getLabelList): implement new method
15162
15163         * minibuffer.h: comment ouf setTiimer
15164
15165         * minibuffer.C (ExecutingCB): constify res
15166         (peek_event): constify s
15167         (Set): constify ntext
15168         (Init): constify nicename
15169
15170         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15171
15172         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15173         (savePosition): use two params to Minibuffer::Set
15174         (restorePosition): ditto
15175
15176 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15177
15178         * lyx_main.C: include language.h
15179
15180         * Makefile.am (lyx_main.o): add language.h
15181
15182 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * exporter.C:
15185         * paragraph.C:
15186         * screen.C:
15187         * tabular.C:
15188         * CutAndPaste.C: include gettext.h
15189
15190         * lyxfont.h: remove old hack with ON and OFF.
15191
15192         * lyxparagraph.h:
15193         * lyxfont.h: do not include language.h...
15194
15195         * BufferView2.C:
15196         * LaTeXFeatures.C:
15197         * Painter.C:
15198         * bufferview_funcs.C:
15199         * font.C:
15200         * lyxfont.C:
15201         * text.C:
15202         * text2.C:
15203         * trans_mgr.C:
15204         * paragraph.C: ... but do it here instead
15205
15206 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15207
15208         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15209
15210         * tabular.C: small reformat
15211
15212         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15213         NEW_INSETS version
15214         (GetChar): ditto
15215         (BreakParagraph): ditto
15216         (SetOnlyLayout): ditto
15217         (SetLayout): ditto
15218
15219         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15220         with one arg less.
15221
15222         * lastfiles.C: removed most using decl, add std:: where needed
15223
15224         * buffer.C: ws changes
15225
15226         * MenuBackend.C (class compare_format): put into anon namespace
15227         (expand): constify label, names, action, action2
15228         (expand):
15229
15230         * text.C (SingleWidth): constify font
15231         (IsBoundary): constify rtl2
15232         (GetVisibleRow): constify ww
15233
15234         * LaTeX.C (deplog): constify logfile
15235
15236         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15237         start_x, end_x
15238         (workAreaExpose): constify widthChange, heightChange
15239
15240         * lyxrow.C (par): moved
15241         (height): moved
15242         (next): moved
15243         * lyxrow.h: as inlines here
15244
15245         * lyxfont.h (shape): moved from lyxfont.C
15246         (emph): moved from lyxfont.C
15247
15248         * lyxfont.C (LyXFont): use initialization list for all
15249         constructors
15250         (shape): move to lyxfont.h as inline
15251         (emph): move to lyxfont.h as inline
15252
15253
15254 2001-04-04  Juergen Vigna  <jug@sad.it>
15255
15256         * vspace.C: had to include stdio.h for use of sscanf
15257
15258 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15259
15260         * BufferView.h:
15261         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15262         independent of xforms.
15263
15264 2001-04-02  Juergen Vigna  <jug@sad.it>
15265
15266         * spellchecker.C: fixed namespace placing!
15267
15268 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15269
15270         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15271         the LyXParagraph * is 0.
15272
15273 2001-03-29  Juergen Vigna  <jug@sad.it>
15274
15275         * vspace.C: added support for %, c%, p%, l%.
15276         (stringFromUnit): added helper function.
15277         (asLatexString): changed to give right results for the %-values.
15278
15279         * buffer.C: convert the widthp in a width%.
15280
15281 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15282
15283         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15284         figureForm.[Ch].
15285
15286         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15287         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15288
15289         * lyx_cb.[Ch]: see above.
15290
15291         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15292         form1.[Ch].
15293
15294         * form1.[Ch]:
15295         * lyx.[Ch]: replaced by figure_form.[Ch].
15296
15297         * lyx_gui.C:
15298         * lyx_gui_misc.C:
15299         * lyxfunc.C: changed headers associated with above changes.
15300
15301 2001-03-27  Juergen Vigna  <jug@sad.it>
15302
15303         * BufferView_pimpl.C: set the temporary cursor right!
15304
15305 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15306
15307         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15308
15309 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15310
15311         * LString.h: removed "using std::getline"!
15312
15313         * BufferView_pimpl.C (Dispatch): changes due to changes in
15314         InsetInclude::Params.
15315
15316         * buffer.C (tag_name): removed redundant break statements as they were
15317         producing lots of warnings with my compiler.
15318
15319 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * LString.h: add "using std::getline" when using the real <string>.
15322
15323 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15324
15325         * buffer.C: removed bitset usage.
15326         PAR_TAG moved to an anonymous name space.
15327         (tag_name): new funtion, also in the anonymous namespace.
15328         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15329         (makeDocBookFile): clean code. Completed transition from string arrays
15330         to string vectors.
15331         (SimpleDocBookOnePar): code clean.
15332
15333 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15334
15335         * tabular.C: add some comments.
15336
15337 2001-03-22  Juergen Vigna  <jug@sad.it>
15338
15339         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15340         compatibility read a bit and fixed bug with minipage in different
15341         depth.
15342
15343 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15344
15345         * buffer.C (pop_tag): removed.
15346         (push_tag): removed.
15347         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15348         array replaced with vector. Added support for CDATA sections.
15349         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15350         at any nest level.
15351         (makeDocBookFile): XML conformant declaration of CDATA section,
15352         fixed bug related to <emphasis> in the first paragraph char.
15353         (sgmlOpenTag): exclude empty tags.
15354         (sgmlCloseTag): ditto.
15355
15356         * buffer.h (pop_tag): removed.
15357         (push_tag): removed.
15358
15359 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * language.h (Languages): added size_type and size().
15362
15363 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15364
15365         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15366         response on compability reading of minipages. One probliem is that
15367         the old usage of minipages was «flertydig»
15368
15369         * several files here and in subdirs: don't use static at file
15370         scope use anon namespaces instead.
15371
15372 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15373
15374         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15375         LaTeX output. This is necessary for Literate document
15376         processing.
15377
15378 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15379
15380         * buffer.C: insert hfill when needed.
15381
15382         * tabular.C (l_getline): use string::erase, small whitespace change.
15383
15384         * BufferView_pimpl.C: try the anon namespace.
15385         * WorkArea.C: ditto
15386
15387 2001-03-16  Juergen Vigna  <jug@sad.it>
15388
15389         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15390         otherwise it won't open options-dialogs.
15391
15392         * buffer.C: honor pextraWidth(p) on converting minipages.
15393
15394         * tabular.C (l_getline): changed the functions to strip trailing \r.
15395
15396 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15397
15398         * BufferView_pimpl.C:
15399         * minibuffer..C: added "using SigC::slot" declaration.
15400
15401 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15402
15403         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15404
15405         * text2.C: ditto
15406
15407         * text.C: ditto
15408
15409         * paragraph.C: ditto
15410
15411         * lyxtext.h: NO_PEXTRA
15412
15413         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15414
15415         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15416         * ParameterStruct.h: ditto
15417         * ParagraphParameters.h: ditto
15418         * lyxparagraph.h: ditto
15419
15420 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15421
15422         * buffer.C: add compability for minipage alignment.
15423         (latexParagraphs): remove unwanted pextra check.
15424
15425         * several files: remove CXX_WORKING_NAMESPACES
15426
15427         * buffer.C (pop_tag): tie is in namespace boost
15428
15429         * BufferView.h: noncopyable is in namespace boost
15430         * lyxlex.h: ditto
15431         * lyx_main.h: ditto
15432         * lyx_gui.h: ditto
15433         * layout.h: ditto
15434         * lastfiles.h: ditto
15435         * bufferlist.h: ditto
15436         * ShareContainer.h: ditto
15437         * LyXView.h: ditto
15438         * LyXAction.h: ditto
15439         * LaTeX.h: ditto
15440
15441 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15442
15443         * Merging changes from BRANCH_MVC back into HEAD.
15444
15445         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15446
15447 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15448
15449         * BufferView_pimpl.C: change from intl.C
15450
15451         * combox.h:
15452         * combox.C:
15453         * Makefile.am: move combox.*
15454
15455         * form1.h:
15456         * form1.C:
15457         * lyx_gui.C:
15458         * intl.h:
15459         * intl.C: remove dialog (covered by prefs)
15460
15461 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15462
15463         * lyxfunc.C (Dispatch): removed redundant break statement.
15464
15465 2001-03-14  Juergen Vigna  <jug@sad.it>
15466
15467         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15468
15469 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15470
15471         * buffer.C: add hack to fix compability reading of minipages.
15472
15473 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15474
15475         * buffer.C (getLists): Cleanup.
15476
15477 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * lyxfont.C (update): don't honor toggleall on font size.
15480
15481 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15482
15483         * bmtable.c:
15484         * bmtable.h:
15485         * Makefile.am: moved to frontends/xforms/
15486
15487         * lyx_gui_misc.C:
15488         * lyxfunc.C:
15489         * BufferView_pimpl.C: changes for moved mathpanel
15490
15491 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15492
15493         * gettext.h: fix gettext_init() in --disable-nls
15494
15495 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15498
15499 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15500
15501         * lyx.C:
15502         * lyx.h: strip external form
15503
15504 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15505
15506         * BufferView_pimpl.C: add comment, destroySplash()
15507
15508 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * BufferView_pimpl.C:
15511         * LyXAction.C:
15512         * buffer.C:
15513         * commandtags.h:
15514         * lyxfunc.C: use re-worked insetinclude
15515
15516 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15517
15518         * buffer.C: add using std::stringstream.
15519
15520         * lyx_cb.C: readd using std::ios.
15521
15522         * buffer.C: add using std::map.
15523
15524         * BufferView_pimpl.C: add using std::vector.
15525
15526         * ShareContainer.h: add std:: to swap.
15527
15528         * buffer.h: add some typedefs
15529         * buffer.C (getLists): use them
15530         (getLists): renamed from getTocList.
15531         add a counter for the different float types and use it in the
15532         generated string.
15533         (getLists): use the same counter for the NEW_INSETS and the "non"
15534         NEW_INSETS
15535
15536         * lyx_cb.h: remove unused items, includes, using etc.
15537
15538         * ShareContainer.h: remove some commented code, add more comments
15539         and "documentation".
15540
15541 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15542
15543         * buffer.C (getTocList): make the list also when NEW_INSETS is
15544         defined.
15545
15546         * buffer.h: remove TocType
15547
15548         * buffer.C (getTocList): change to return a map<string,
15549         vector<TocItem> >, implement for dynamic number of list.
15550
15551         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15552         * text2.C (PasteSelection): adjust
15553         * CutAndPaste.C (pasteSelection): adjust
15554
15555         * FloatList.C (FloatList): update from the new_insets branch.
15556         * Floating.[Ch]: ditto
15557         * LaTeXFeatures.C: ditto
15558         * buffer.C: ditto
15559         * lyxlex_pimpl.C: ditto
15560
15561         * paragraph.C (Last): remove when NEW_INSETS is defined.
15562
15563         * other file: changes because of the above.
15564
15565 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15566
15567         * lyxparagraph.h: rename next to next_, previous to previous_,
15568         make them private for NEW_INSETS. Rename Next() to next(),
15569         Previous() to previous().
15570
15571         * other files: changes because of the above.
15572
15573 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15574
15575         * BufferView.h:
15576         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15577         problem.
15578
15579 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * main.C (main): pass lyx_localedir to gettext_init().
15582
15583         * gettext.h: remove locale_init and gettext_init macros
15584
15585         * gettext.C (locale_init): new function
15586         (gettext_init): new function
15587
15588         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15589         setlocale().
15590
15591 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15592
15593         * Moved credits to frontends:
15594         * credits.[Ch]: removed
15595         * credits_form.[Ch]: removed
15596         * lyx_gui_misc.C: remove credits stuff
15597         * Makefile.am:
15598
15599 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15600
15601         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15602
15603         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15604         unneeded destructor.
15605
15606         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15607         a standalone pointer again.
15608
15609         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15610
15611 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15612
15613         * Makefile.am:
15614         * filedlg.h:
15615         * filedlg.C:
15616         * LyXAction.C:
15617         * ToolbarDefaults.C:
15618         * bufferlist.C:
15619         * commandtags.h:
15620         * form1.C:
15621         * form1.h:
15622         * lyx_cb.C:
15623         * lyx_cb.h:
15624         * lyxfunc.h:
15625         * lyxfunc.C:
15626         * BufferView_pimpl.C: use new file dialog in GUII
15627
15628         * lyx_cb.h:
15629         * lyx_cb.C: remove LayoutsCB to Toolbar
15630
15631 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * ShareContainer.h (get): add std:: qualifier
15634
15635 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * ShareContainer.h: define a proper ShareContainer::value_type
15638         type (and use typename to please compaq cxx)
15639
15640 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15641
15642         * lyxparagraph.h: move serveral local vars to
15643         ParameterStruct/ParagraphParameters., use ShareContainer in
15644         FontTable., make vars in FontTable private and add getter and
15645         setter.
15646
15647         * paragraph.C: changes because of the above.
15648
15649         * lyxfont.h: remove copy constructor and copy assignment. (the
15650         default ones is ok), move number inside FontBits. move inlines to
15651         lyxfont.C
15652
15653         * lyxfont.C: add number to initializaton of statics, move several
15654         inlines here. constify several local vars. some whitespace
15655         cleanup. Dont hide outerscope variables.
15656
15657         * Spacing.h: add two new constructors to match the set methods.
15658
15659         * ShareContainer.h: new file, will perhaps be moved to support
15660
15661         * ParameterStruct.h: new file
15662
15663         * ParagraphParameters.h: new file
15664
15665         * ParagraphParameters.C: new file
15666
15667         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15668         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15669
15670         * BufferView_pimpl.C: ParagraphParameter changes.
15671         * buffer.C: Likewise.
15672         * bufferview_funcs.C: Likewise.
15673         * text.C: Likewise.
15674         * text2.C: Likewise.
15675
15676 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * lyxfind.C (LyXReplace): do not redefine default argument in
15679         implementation.
15680         (IsStringInText): ditto
15681         (SearchForward): ditto
15682         (SearchBackward): ditto
15683
15684 2001-03-06  Juergen Vigna  <jug@sad.it>
15685
15686         * lyxfind.C (IsStringInText): put parentes around expressions.
15687
15688 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15689
15690         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15691
15692 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15693
15694         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15695
15696         * stl_string_fwd.h: add comment
15697
15698         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15699
15700         * tabular.h:
15701         * tabular.C: remove unused DocBook methods
15702
15703         * intl.C:
15704         * language.C:
15705         * paragraph.C:
15706         * buffer.C:
15707         killed DO_USE_DEFAULT_LANGUAGE
15708
15709 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * lyx_gui.C: do not include language.h.
15712
15713         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15714         arguments in function implementation.
15715
15716 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15717
15718         * BufferView_pimpl.C: add <ctime>
15719
15720 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15721
15722         * BufferView_pimpl.C: add using std::find_if
15723
15724 2001-02-27  José Matos  <jamatos@fep.up.pt>
15725
15726         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15727         by OnlyPath.
15728
15729 2001-02-11  José Matos  <jamatos@fep.up.pt>
15730
15731         * buffer.C (makeDocBookFile): command styles now have a parameter as
15732         "title" by default.
15733
15734 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15735
15736         * layout_forms.[Ch]: removed
15737         * lyx_cb.[Ch]: out character
15738         * lyx_gui.C: out character
15739         * lyx_gui_misc.C: out character
15740         * bufferview_funcs.C: : out character,
15741         added toggleall as parameter in ToggleAndShow
15742
15743 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15744
15745         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15746
15747         * text2.C (SetCurrentFont): Disable number property at boundary.
15748
15749 2001-02-26  Juergen Vigna  <jug@sad.it>
15750
15751         * lyxfunc.C (getStatus): added a string argument override function so
15752         that this is correctly called from LyXFunc::Dispatch if it contains a
15753         do_not_use_argument which is used!
15754         (Dispatch): added check for "custom" export and call appropriate func.
15755
15756 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15757
15758         * lyxrc.C: Add language_command_local, language_use_babel and
15759         language_global_options.
15760
15761         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15762
15763         * buffer.C (makeLaTeXFile): Use language_use_babel and
15764         language_global_options.
15765
15766 2001-02-23  Juergen Vigna  <jug@sad.it>
15767
15768         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15769         which works with LyXText and putted it inside BufferView. Here now we
15770         only call for that part the BufferView::Dispatch() function.
15771
15772         * BufferView.C (Dispatch): added.
15773
15774         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15775         functions which needs to use a LyXText over from LyXFunc.
15776         (MenuInsertLyXFile): added
15777         (getInsetByCode): added
15778         (moveCursorUpdate): added
15779         (static TEXT): added
15780
15781 2001-02-22  Juergen Vigna  <jug@sad.it>
15782
15783         * BufferView_pimpl.C (update): call a status update to see if LyXText
15784         needs it.
15785
15786 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15787
15788         * vc-backend.C (revert): implement for CVS
15789         (getLog): implement for CVS
15790
15791 2001-02-20  Juergen Vigna  <jug@sad.it>
15792
15793         * text2.C (ClearSelection): added BufferView param for inset_owner call
15794
15795         * lyxfunc.C (TEXT): added this function and use it instead of
15796         directly owner->view()-text of getLyXText().
15797
15798 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15799
15800         * src/layout_forms.C: out preamble
15801         * src/layout_forms.h: out preamble
15802         * src/lyx_cb.C: out preamble
15803         * src/lyx_cb.h: out preamble
15804         * src/lyx_gui.C: out preamble
15805         * src/lyx_gui_misc.C: out preamble
15806         * src/lyxfunc.C: connect with guii preamble
15807
15808 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15809
15810         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15811
15812 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15813
15814         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15815         whether to run bibtex.
15816
15817 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15818
15819         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15820
15821 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15822
15823         * Makefile.am (lyx_SOURCES): removed bibforms.h
15824
15825         * vspace.h: doxygen
15826
15827         * text.C (GetVisibleRow): make several local vars const
15828
15829         * tabular.C: small cleanup.
15830
15831         * lyxserver.C (callback): use compare instead of strncmp
15832
15833         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15834         inlines to after class or to paragraph.C
15835
15836         * lyxfont.h: remove friend operator!=
15837
15838         * converter.h: move friend bool operator< to non friend and after
15839         class def.
15840
15841         * combox.h: small cleanup
15842
15843         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15844         to inlines after class def.
15845
15846         * buffer.C (pop_tag): use string operations instead of strcmp
15847
15848         * bmtable.c: doxygen, small cleanup
15849
15850         * LaTeX.h: remove friend operator==
15851
15852 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15853
15854         * screen.C:
15855         * lyxrc.[Ch]:
15856         * lyxfunc.C:
15857         * lyxfont.[Ch]:
15858         * lyx_cb.C:
15859         * intl.[Ch]:
15860         * commandtags.h:
15861         * buffer.C:
15862         * WorkArea.[Ch]:
15863         * LyXAction.C:
15864         * BufferView_pimpl.C:
15865         * BufferView.[Ch]: remove cruft
15866
15867 2001-02-14  Juergen Vigna  <jug@sad.it>
15868
15869         * lyxfunc.C: removed #if 0 unused code
15870
15871         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15872
15873         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15874
15875         * text2.C (SetSelection): added a BufferView * parameter
15876
15877 2001-02-13  Juergen Vigna  <jug@sad.it>
15878
15879         * lyxfunc.C (Dispatch): fixed protected blank problem.
15880         * BufferView2.C (protectedBlank): added LyxText * parameter.
15881
15882         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15883         (AppendColumn): same as above for column_info.
15884
15885         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15886         (moveCursorUpdate): use a LyXText param for support of InsetText.
15887
15888         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15889         (tripleClick): ditto
15890
15891         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15892
15893         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15894
15895         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15896
15897         * text2.C (SetSelection): set correct update status if inset_owner
15898         (ToggleFree): ditto
15899
15900 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15901
15902         * tabular.C: remove some commented code.
15903
15904 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15905
15906         * BufferView_pimpl.C: call hideSplash()
15907
15908         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15909
15910         * include_form.h:
15911         * bibforms.h: remove
15912
15913         * lyxfunc.C:
15914         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15915           add LFUN_CHILD_CREATE
15916
15917         * counters.h: fix tiny typo
15918
15919         * lyx_cb.C:
15920         * lyx.h:
15921         * lyx_gui.C:
15922         * lyx.C: move splash to frontends/xforms/
15923
15924         * lyx_gui_misc.C: move Include and Bibform to frontends
15925
15926         * lyxvc.h: clarify comment
15927
15928         * vspace.C: tiny housekeeping
15929
15930 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15931
15932         * text.C (PrepareToPrint): RTL Fix.
15933
15934         * paragraph.C (GetUChar): New method.
15935         (String):  Use GetUChar.
15936
15937         * buffer.C (asciiParagraph): Use GetUChar.
15938
15939 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15942
15943 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15944
15945         * buffer.h:
15946         * buffer.C: rename to getLogName(), handle
15947           build log / latex log nicely
15948
15949 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950
15951         * MenuBackend.C:
15952         * MenuBackend.h: remove support for reference menuitem type.
15953
15954 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * BufferView_pimpl.C: housekeeping
15957         * BufferView_pimpl.h:
15958         * LyXView.h:
15959         * Makefile.am:
15960         * Timeout.C:
15961         * Timeout.h:
15962         * minibuffer.h: move Timeout GUI-I
15963
15964 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15965
15966         * lyxrc.C (read): Update converters data-structures.
15967
15968 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15969
15970         * LaTeX.h (operator!=): add operator != for Aux_Info
15971
15972 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15973
15974         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15975
15976         * LaTeXLog.C: deleted, useful code moved to Buffer
15977
15978         * buffer.h:
15979         * buffer.C: new function getLatexLogName()
15980
15981         * lyx_gui_misc.C:
15982         * lyx_gui.C:
15983         * lyxvc.C:
15984         * lyxvc.h:
15985         * lyxfunc.C: use frontends for LaTeX and VC logs
15986
15987 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * LaTeX.h: yet another std:: that Allan forgot.
15990
15991         * Variables.C (set): renamed from isset(), because this clashes
15992         with some HP-UX macros (grr).
15993
15994 2001-02-06  Allan Rae  <rae@lyx.org>
15995
15996         * LaTeX.h: Another bug fix.  Missing std:: this time.
15997
15998 2001-02-04  Allan Rae  <rae@lyx.org>
15999
16000         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16001         floats problem. I've left it commented out because it's not quite
16002         correct.  It should also test that the current object is a table or
16003         figure inset.  But I haven't gotten around to figuring out how to do
16004         that.  I *think* it'll be something like: "table" == inset.type()
16005
16006         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16007         bool.
16008
16009 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16010
16011         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16012         all the citation/databases/styles in the auxilary file.
16013         (run): Rerun latex if there was a babel language error.
16014
16015 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16016
16017         * text.C (Backspace): Preserve the font when changing newline char
16018         with a space.
16019         (BreakParagraph): If the cursor is before a space, delete the space.
16020
16021         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16022
16023 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16024
16025         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16026         new argument (code).
16027         (ChangeCitationsIfUnique): New method.
16028
16029         * paragraph.C (GetPositionOfInset): Handle bibkey.
16030
16031 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16032
16033         * BufferView_pimpl.h: change type of Position::par_pos to
16034         LyXParagraph::size_type.
16035
16036 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16037
16038         * BufferView_pimpl.C (savePosition, restorePosition): Write
16039         messages to minibuffer.
16040
16041 2001-01-28  José Matos  <jamatos@fep.up.pt>
16042
16043         * buffer.C (makeDocBookFile): adds support for document language.
16044         A silly restriction on the name of LatexCommand types where removed.
16045         Added support for CDATA sections, allows to chars unescaped, used
16046         among others in code, to avoid escape < and >.
16047
16048 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16049
16050         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16051         saved positions instrad of a stack. Furthermore, a position is
16052         stored using paragraph id/paragraph position.
16053
16054         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16055         Remove LFUN_REF_BACK.
16056
16057 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16058
16059         * converter.C (dvipdfm_options): New method.
16060
16061 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16062
16063         * vspace.C (isValidLength): Fix for empty input string.
16064
16065 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * LyXAction.C (init): change description of LFUN_FIGURE to
16068         "Insert Graphics"
16069
16070 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16071
16072         * LaTeX.C: add using directive
16073
16074 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * MenuBackend.C (expand): Fix the sorting of the formats.
16077
16078 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16079
16080         * lyx_main.C: tiny error message fix
16081
16082 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16083
16084         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16085         calling fl_initialize(). This fixes the problem with ',' as
16086         decimal separator in text files.
16087
16088 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * trans.C (process): Fix the keymap bug.
16091
16092 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * LaTeX.C (scanAuxFiles): New method. Provides support for
16095         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16096         (scanLogFile) Scan for "run BibTeX" messages.
16097
16098         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16099         OT1 font encoding. Also, load the aecompl package if the ae
16100         package is loaded.
16101
16102         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16103
16104 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * texrow.C (increasePos): turn two error messages into debug
16107         messages.
16108
16109 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * LaTeX.C (scanAux): Handle the \@input macro.
16112         (runBibTeX): Use scanAux().
16113
16114         * language.C (latex_options_): New field.
16115
16116         * LaTeXFeatures.C (getMacros): Add language macros.
16117
16118         * buffer.C (makeLaTeXFile): Small fix.
16119
16120 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16123
16124         * text2.C: add a using directive.
16125
16126 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16127
16128         * BufferView2.C:
16129         * lyx_gui_misc.h:
16130         * lyxfr1.C:
16131         * lyxfunc.C: kill LyXBell.
16132
16133 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16134
16135         * text.C (IsBoundary): Remove the error message
16136
16137         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16138
16139         * lyxrc.C (setDefaults): Correct initialization value for
16140         font_norm_type.
16141
16142 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16143
16144         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16145         gotoError().
16146
16147         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16148         and GotoNextNote().
16149
16150         * src/LyXAction.C: Added reference-next.
16151
16152         * text.C (InsertChar): Use contains instead of strchr.
16153
16154         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16155
16156 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16157
16158         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16159         alignment commands (when needed).
16160
16161         * text.C (InsertChar): Add ':' to number separator chars.