]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b00f2352248368fae16f0250ac1368324bcb2b17
[lyx.git] / src / ChangeLog
1 2004-10-24  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C: remove using statement for stack.
4
5 2004-10-23  José Matos  <jamatos@lyx.org>
6
7         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
8         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
9         docbook. The new scheme is recursive and makes use of iterators, the
10         same as latex export works.
11         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
12         directly with the paragraph contents. This code was moved up to
13         output_docbook.C (docbookParagraphs).
14         * sgml.C (openTag, closeTag): removed unneeded newlines.
15         (closeEnvTags) removed.
16
17 2003-10-23  André Pönitz  <poenitz@gmx.net>
18
19         * undo.C (textUndoOrRedo):
20         * dociterator.C (asDocIterator): work around crash
21
22         * cursor.C (getStatus): replace ASSERT by more verbose error message
23           and manual correction of the problem. Should increase stability
24           while providing more sensible information.
25
26 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
29
30         * bufferlist.C (previous, next): new methods
31
32         * lfuns.h: 
33         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
34
35 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
36
37         * buffer.C (makeDocBookFile): add dsssl stylesheet control
38         entities to preamble.
39
40 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
41
42         * messages.C (Pimpl): strip off translation context information
43
44 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
47         the cursor is correct (bug 1694)
48
49 2004-10-13  José Matos  <jamatos@lyx.org>
50
51         * output_docbook.C (docbookParagraphs): fix closing tags in the
52         end of the document. 
53
54 2004-10-09  José Matos  <jamatos@lyx.org>
55
56         * buffer.C: format up to 237.
57         * bufferparams.C (write): use tostr to convert booleans to strings.
58         
59 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
62
63 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * LaTeX.C: implement use of babel language in xindy.
66
67 2004-10-05  José Matos  <jamatos@lyx.org>
68
69         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
70         Add new translators to help reading and writing the lyx file.
71
72 2004-10-05  José Matos  <jamatos@lyx.org>
73
74         * ParagraphParameters.C (read):
75         * text.C (readParToken): replace nexToken by more appropriate lex
76         methods.
77
78 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
79
80         * LaTeX.C (runMakeIndex):
81         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
82         (usually 'makeindex') configurable.
83
84         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
85         with a variable rather than with a number.
86
87 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * output_latex.C (TeXOnePar): make sure font setting is the first
90         thing that gets output (and the last at the end). Should fix bug
91         1404.
92
93 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
94
95         * pch.h: use proper signal include
96
97         * LaTeX.h: Use preferred calling of Boost.Signal
98         * buffer.h: ditto
99
100 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
101
102         * pch.h: dont include <boost/function/function0.hpp>
103
104         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
105
106         * paragraph_pimpl.h: remove usage of ShareContainer
107
108         * paragraph_pimpl.C: remove initialization of ShareContainer.
109
110 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         Fix bug #1666
113
114         * BufferView.C (putSelectionAt): change the semantics when
115         backwards == true: now, this just swaps cursor and anchor wrt the
116         forward case
117
118         * BufferView.h (putSelectionAt): add some documentation
119
120         * lyxfind.C (findBackwards): rewrite using while(). In particular,
121         make sure backwardChar is done at least once (to avoid getting
122         stuck)
123         (findNextChange): use putSelectionAt in the forward direction
124         (operator()): use Paragraph::isWord
125
126 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
127
128         * Spacing.C (set): c_str fix
129
130 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * lyx_cb.C (Reconfigure): quote the name of configure script in
133         case it contains spaces
134
135 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
136
137         * client: new dir
138
139         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
140         (BOOST_LIBS): use top_buildir when looking for the file
141
142 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
143
144         * pch.h: do not use include boost/format.hpp, multiple symbols
145                 will result (gcc bug)
146
147
148 2004-08-23  José Matos  <jamatos@lyx.org>
149
150         * bufferparams.C (readToken): fix reading of the author field.
151
152 2004-08-20  José Matos  <jamatos@lyx.org>
153
154         * lyxrc.C: remove support/translator.h inclusion since it is not used.
155
156 2004-08-20  José Matos  <jamatos@lyx.org>
157
158         * lyxlex.[Ch] (findToken): remove function.
159
160         * ParagraphParameters.C (findToken):
161         * bufferparams.C (findToken): replace call for previous function
162         with local copy. This local function has one more argument, the
163         read string argument.
164
165 2004-08-16  José Matos  <jamatos@lyx.org>
166
167         * ParagraphParameters.C (write):
168         * Spacing.C (writeFile):
169         * bufferparams.C (writeLaTeX):
170         * lyx_cb.C (Reconfigure):
171         * paragraph.C (write):
172         * tabular.C (write): remove unnecessary space at end of line.
173
174
175 2004-08-16  José Matos  <jamatos@lyx.org>
176
177         * text.C (readParagraph): remove debug message.
178
179 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
182         crash
183
184         * output_plaintext.C (asciiParagraph): set depth correctly
185
186         * outputparams.h: add member depth
187
188         * paragraph_funcs.C (ownerPar): remove.
189
190         * text2.C (setCounter): remove first_pit; comment out some
191         non-working code that uses ownerPar
192
193         * BufferView.C (getParentLanguage): remove. Not used anymore, and
194         uses ownerPar
195
196 2004-08-16  José Matos  <jamatos@lyx.org>
197
198         * text.C (readParToken, readParagraph, read): report all unknown tokens.
199         For the same level of importance use the same chanel to report problems.
200         (read): add code to deal with \begin_body and \end_body.
201
202
203 2004-08-15  José Matos  <jamatos@lyx.org>
204
205         * lyxlex.C (getString): fix comment, buffer::readBody is now
206         buffer:readDocument.
207
208         * tex-strings.C (string_papersize): Default -> default,
209         Custom -> custom, for consistency with other options.
210
211 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
212
213         * pch.h: new file
214
215         * Makefile.am: support pch
216
217 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * text.C (readParToken): remove the static LyXFont variable and
220         pass it as a parameter instead. This fixes a nasty bug where an
221         inset will be inserted with a bad font in some situations
222         (readParagraph): adapt
223
224         * text2.C (setCounter): reduce number of calls to pars_[pit]
225
226         * text.C (singleWidth): add an assert, fix a test
227
228         * rowpainter.C (paintText): reduce number of calls to singleWidth
229
230         * paragraph.C (isHfill):
231         (isNewline): ws only
232
233 2004-08-14  André Pönitz  <poenitz@gmx.net>
234
235         * text.C:
236         * text2.C:
237         * rowpainter.C:
238         * lyxtext.h (several functions): use a Paragraph & argument
239         instead of par_type
240
241 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * metricsinfo.h: add a new field ltr_pos to PainterInfo
244
245         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
246
247         * text.C (singleWidth): remove useless test
248
249 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * tabular.h: remove bogus comments
252
253         * tabular.C (getDescentOfRow):
254         (isPartOfMultiColumn): add assertions
255
256         * lyxlength.C (inPixels): remove #warning
257
258 2004-08-14  André Pönitz  <poenitz@gmx.net>
259
260         * paragraph.h: inline getChar()
261
262         * BufferView.h: remove unused declarations
263
264 2004-08-14  José Matos  <jamatos@lyx.org>
265
266         * Buffer.[Ch] (readDocument): new name for old readBody.
267         * Buffer.C: new file format, new keywords: \begin_document,
268         \begin_header, \begin_body, \end_body.
269
270         * bufferparams.C (readToken): replace all calls to lex.nextToken
271         by lex.next(). Do the same to eatLine except where really needed.
272
273         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
274         line when writing to the lyx file.
275
276         * output_plaintext.C (asciiParagraph): fix Bibliography style
277         handling.
278
279         * text.C (read): fix end of file handling.
280
281 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * MenuBackend.C (Menu::operator[]): new method to access
284         individual menu items
285         (Menu::hasFunc): new method. search for an item that corresponds
286         to a given func
287         (MenuBackend::specialMenu): new method
288         (MenuBackend::expand): if a special menu has been set, skip
289         entries whose func() appears in this menu
290
291 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
292
293         * text3.C: use Debug::DEBUG a bit more
294
295         * text.C (leftMargin): try to simplify a tiny bit change var x to
296         l_margin. Dont output the wide margins always.
297         (rightMargin): no margin in inner texts
298
299         * rowpainter.h (nestMargin): new func
300         (changebarMargin): new func
301         (rightMargin): new func
302
303         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
304         now functions.
305         (paintLast): ditto
306
307         * factory.C (createInset): modify setDrawFrame
308
309         * cursor.C: use Debug::DEBUG a bit more
310
311 2004-08-14  André Pönitz  <poenitz@gmx.net>
312
313         * coordcache.[Ch]:
314         * Makefile.am: new files to accomodate an 'external' (x,y)-position
315         cache for all insets in (at least partially) visible (top-level)
316         paragraphs.
317
318         * BufferView_pimpl.C: reset external coord cache before every update.
319         This means the coord cache only contains valid entries.
320
321 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
322
323         bug 1096
324         * BufferView_pimpl.C (getInsetByCode): move function out of class
325         and change in to a template in anon namespace. Also fix to do what
326         suits us better.
327
328 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
329
330         bug 1305
331         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
332         of char
333         (breakParagraph): rename par to par_offset and use a local
334         reference. Add code to keep the language over a rebreak.
335         (breakParagraphConservative): rename par to par_offset, use a
336         local reference
337         (mergeParagraph): ditto
338         (outerHook): ditto
339         (isFirstInSequence): ditto
340         (outerFont): rename pit to par_offset
341
342         * paragraph.C: ws change
343         * paragraph.h: ditto
344         * text3.C: ditto
345         * text.C: ditto
346
347 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
350         treatment for ']'
351
352         * paragraph.C (simpleTeXOnePar): when we have a \item with
353         optional argument, enclose the argument with curly brackets (in
354         case it contains a closing square bracket)
355
356         * text2.C (editXY):
357         * text2.C (editXY):
358         * text3.C (checkInsetHit): constify
359
360 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
363         documents (bug 1629)
364
365 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         Fix toggling of collapsable insets with the mouse (bug 1558)
368
369         * lyxfunc.C (dispatch): adapt to LCursor changes
370
371         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
372         make sure that dispatch is not invoked twice
373
374         * cursor.C (needsUpdate): new method
375         (dispatch): return void
376         (result): new method, to access the DispatchResult of the cursor.
377
378 2004-08-13  José Matos  <jamatos@lyx.org>
379
380         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
381
382 2004-08-13  André Pönitz  <poenitz@gmx.net>
383
384         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
385
386         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
387           multiple cells
388
389 2004-08-12  André Pönitz  <poenitz@gmx.net>
390
391         * text3.C: take out the 'cursor right' form insertInset and only
392         do it in those places when it is really needed. Fixes crash on
393         C-m...
394
395 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
398
399         * BufferView_pimpl.C (setBuffer): initialize the current font of
400         the underlying LyXText
401
402 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * kbsequence.C (print): use UI native formatting for menu
405         shortcuts
406
407         * text.C (insertChar): call Paragraph::insertChar with a font
408         argument (cosmetic)
409
410         * paragraph.C (insertInset, insertChar): the version that takes a
411         LyXFont argument is now a wrapper around the other one (the
412         opposite used to be true).
413
414         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
415         argument. Font setting is done in Paragraph now.
416
417 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * outputparams.h: add new members intitle and lang.
420
421         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
422         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
423
424 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
425
426         * text3.C (dispatch): remove special handling of button 4 and 5,
427         it is now taken care of in the frontend code.
428
429 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * Spacing.h: add <string> (STLPort compile fix)
432
433 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
434
435         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
436
437 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
438
439         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
440         to bool.
441
442         * converter.C (showMessage): inherit from unary_function, make
443         operator() const.
444
445         * buffer.C (writeFile): initialize retval
446
447         * InsetList.h: rename private variable list to list_
448         * InsetList.[Ch]: adjust accordingly.
449
450 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
451
452         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
453         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
454         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
455         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
456         * ParagraphParameters.C, LaTeXFeatures.C: replace
457         "support/std_sstream.h" with <sstream>
458
459 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
460
461         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
462         * lyxsocket.C (LyXServerSocket): ditto
463         (serverCallback): ditto
464
465 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
466
467         * LaTeXFeatures.C: check release date when loading jurabib.
468
469 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
470
471         * lyxserver.C (startPipe): call register_socket_callback
472         (endPipe): call unregister_socket_callback
473
474 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
475
476         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
477         (LyXServerSocket): register the callback
478         (LyXServerSocket): unregister the callback
479         (fd): delete function
480         (serverCallback): improve error checking and setup the callbacks.
481         (dataCallback): change arg to fd.
482         (writeln): new func (copied fro the client socket) used for server
483         write to client.
484         (LyXDataSocket): simplify
485         (~LyXDataSocket): close ann unregiser callback
486         (server): delete function
487         (fd): delete function
488         (readln): small changes, improve some std::string usage
489         (writeln): constify a bit
490
491 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
494         Qt frontend
495
496 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * BufferView_pimpl.C (setBuffer): set the layout combox value only
499         after it has been populated
500
501 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * text2.C (insertInset): move cursor when inserting inset.
504
505 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * kbmap.C (findbindings): a couple of new methods. returns a
508         container of kb_sequence objects. The real work is done by the
509         private recursive version
510         (printbindings): uses findbindings to print out a bracketed list
511         of bindings (renamed from findbinding).
512
513         * MenuBackend.C (binding): use kb_keymap::findbindings
514
515         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
516
517 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
518
519         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
520
521 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * paragraph.C (isWord): return true on insets that report
524         isLetter().
525
526         * text.C (getWord): use Paragraph::isWord to decide what is in a
527         word and what is not; fix bug 1609.
528
529 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * tex-strings.C: add "none" to string_paperpackages[], fixes
532         off-by-one-error in the paperpackage selection.
533
534         * lyxlex.[Ch]:
535         * tex-strings.[Ch]: char const * string[n]
536         -> char const * const string[]
537
538 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
541         command, return early.
542
543 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
544
545         * debug.h: add DEBUG to enum and fix size of ANY.
546
547         * debug.C: add support for Debug::DEBUG
548         (showTags): cast errorTags.level to unsigned int
549
550         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
551         (redoCurrentBuffer): ditto
552         (updateScrollbar): ditto
553         * cursor.C (dispatch): ditto
554         * text2.C (setLayout): ditto
555         (setFont): ditto
556         (updateCounters): ditto
557         (editXY): ditto
558         (deleteEmptyParagraphMechanism): ditto
559
560 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
563         annotations to cleanup the Makefile slightly.
564
565 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxrc.C: do not set user_email to a default value but use empty
568         instead. The entry used to be translated, which does not work
569         since at the point where lyxrc is constructed there is no
570         translation service available
571
572         * messages.C (getLocaleDir): remove and use directly
573         lyx_localedir() instead
574
575 2004-06-02  Angus Leeming  <leeming@lyx.org>
576
577         Fix crash caused by dereferencing null pointer 'exportdata' in
578         OutputParams by creating a new ExportData variable on the heap,
579         storing it in a boost::shared_ptr.
580         The crash was triggered when generating an Instant Preview
581         of an external inset.
582
583         * Makefile.am: add outputparams.C
584
585         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
586         (c-tor): allocate memory to it.
587
588         * exporter.C (c-tor): associated changes.
589
590 2004-06-01  Angus Leeming  <leeming@lyx.org>
591
592         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
593         contains data before calling isInset(0). (Bug 1513.)
594
595 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * exporter.C (checkOverwrite): new method
598         * exporter.C (copyFile): new method
599         * exporter.C (Export): copy referenced files to the document dir
600         * exporter.[Ch]: new class ExportedFile
601         * exporter.[Ch]: new class ExportData. Contains currently the
602         names of referenced external files
603         * outputparams.h: add exportdata member.
604
605 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
606
607         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
608         version.C-tmp
609
610 2004-05-19  Angus Leeming  <leeming@lyx.org>
611
612         * LaTeXFeatures.C:
613         * ToolbarBackend.C:
614         * bufferparams.C:
615         * lyxfunc.C: small changes due to the introduction of namespace
616         lyx::frontend and the moving of namespace biblio to lyx::biblio.
617
618 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * text3.C (dispatch): supress update when only moving the cursor
621         * cursor.C (selHandle): remove commented code
622
623 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
624
625         * paragraph.C (startTeXParParams): correct column count
626         * CutAndPaste.C (pasteSelection): remove const_cast
627         * output_docbook.C (docbookParagraphs): remove const_cast
628         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
629         const_cast and return ParagraphList::const_iterator
630         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
631         * output_plaintext.C (writeFileAscii): remove const_cast
632         * paragraph.[Ch] (simpleTeXOnePar): make const
633         * paragraph_funcs.C (outerPar): use const iterators
634         * paragraph_pimpl.C (validate): use const iterators
635         * text.C (setHeightOfRow): use const iterators
636
637 2004-05-17  Angus Leeming  <leeming@lyx.org>
638
639         * lfuns.h:
640         * LyXAction.C (init): new LFUN_INSET_REFRESH.
641
642         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
643         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
644         if the citation engine has changed.
645
646 2004-05-14  José Matos  <jamatos@lyx.org>
647
648         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
649         if the textclass does not provide it. Have it different for sgml and
650         xml.
651         support the language of document.
652         * output_docbook.C (docbookParagraphs):
653         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
654         first anchor as the id of the paragraph, remove special case code.
655         * sgml.C (escapeChar): escape only < & >.
656
657 2004-05-14  Angus Leeming  <leeming@lyx.org>
658
659         * bufferparams.h: move biblio::CiteEngine enum here to minimize
660         dependencies on src/frontends/controllers/biblio.h. Define a
661         CiteEngine_enum wrapper class to enable the enum to be forward
662         declared.
663
664 2004-05-12  Angus Leeming  <leeming@lyx.org>
665
666         * buffer.C: up LYX_FORMAT to 234.
667         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
668         use_numerical_citations with a single biblio::CiteEngine cite_engine
669         variable.
670         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
671
672 2004-05-13  José Matos  <jamatos@lyx.org>
673
674         * converter.h:
675         * converter.C (Converter, readFlags): add xml member.
676         * outputparams.h: add XML flavor.
677         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
678
679 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyxfunc.C (dispatch):
682         (getStatus): fix handling of LFUN_SEQUENCE
683
684 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * debug.C (showLevel): do not forget the end-of-line marker
687
688 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * kbmap.C (read): do not stop parsing a bind file when an error
691         occurs (bug 1575)
692
693 2004-04-29  Angus Leeming  <leeming@lyx.org>
694
695         * cursor.C:
696         * factory.C:
697         * pariterator.C:
698         * text2.C: wrap a bunch of #warning statements
699         inside #ifdef WITH_WARNINGS blocks.
700
701 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
702
703         * buffer.C: increment format to 233.
704
705 2004-04-28  Angus Leeming  <leeming@lyx.org>
706
707         * BufferView_pimpl.C:
708         * lyxfunc.C:
709         * text3.C:
710         s/updateToolbar()/updateToolbars()/
711         s/Toolbar.h/Toolbars.h/
712
713 2004-04-28  Angus Leeming  <leeming@lyx.org>
714
715         * BufferView.[Ch] (c-tor):
716         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
717         No longer passes these data to the WorkArea generator.
718
719 2004-04-28  Angus Leeming  <leeming@lyx.org>
720
721         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
722
723 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
724
725         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
726
727 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
728
729         * output_latex.C (TeXEnvironment): make sure that there is a line
730         break before \end{foo} for the last paragraph of a document
731         (TeXOnePar): if the paragraph is at the end of the document (or
732         inset) and the language has to be reset, then make sure that the
733         line break is _before_ the language command, not after (fixes bug
734         1225); also make sure that the language reset command is the first
735         thing after the paragraph (to ensure proper nesting of
736         environments and thus fix bug 1404)
737
738 2004-04-21  John Levon  <levon@movementarian.org>
739
740         * ToolbarBackend.h:
741         * ToolbarBackend.C: make "name" be a programmatic name
742         and a gui_name field.
743
744         * lyxfunc.C: display the minibuffer on M-x
745
746 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
749         (bug 1526)
750
751 2004-04-19  Angus Leeming  <leeming@lyx.org>
752
753         * BufferView_pimpl.C (setBuffer): changed preview interface.
754
755         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
756         possible values.
757
758 2004-04-19  John Levon  <levon@movementarian.org>
759
760         * BufferView_pimpl.C:
761         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
762
763 2004-04-05  Angus Leeming  <leeming@lyx.org>
764
765         * text.C (redoParagraphs): add call to updateCounters(), thereby
766         fixing the missing "Figure #:" label from the caption of a
767         figure float.
768
769 2004-04-13  Angus Leeming  <leeming@lyx.org>
770
771         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
772         cursor is clicked out of an inset.
773
774 2004-04-13  Angus Leeming  <leeming@lyx.org>
775
776         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
777         than an InsetOld one.
778
779 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * format.[Ch]: add editor to Format
782         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
783         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
784
785 2004-04-08  André Pönitz  <poenitz@gmx.net>
786
787         * metricsinfo.h: remove PainterInfo::width member
788
789 2004-04-08  Angus Leeming  <leeming@lyx.org>
790
791         * lyx_sty.C (boldsymbol_def): modify so that it outputs
792         "\providecommand" rather than "\newcommand", thereby preventing
793         clashes with packages that define "\boldsymbol" themselves.
794         Eg, beamer.
795
796 2004-04-08  Angus Leeming  <leeming@lyx.org>
797
798         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
799         thereby squashing an unnecessary warning.
800
801 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
802
803         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
804         setBuffer()
805
806 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * BufferView.C (setCursor): call redoParagraph (some insets could
809         have been opened)
810         (putSelectionAt): remove the 'double update' trick
811
812         * BufferView_pimpl.C (fitCursor): call refreshPar
813         (workAreaDispatch): remove an uneeded update call
814         (dispatch): remove some manual update calls
815
816         * cursor.[Ch]: remove cached_y_, updatePos
817         (selHandle): set noUpdate when appropriate
818
819         * lyxfunc.C (dispatch): track if we need an update
820
821         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
822
823         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
824         (paintSelection): cheap optimization, do not call cursorX when not
825         needed
826         (paintPars): change signature
827         (refreshPar): add
828         (paintText): adjust
829         (paintTextInset): adjust
830
831         * text.C: adjust
832
833 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * lengthcommon.C: compilation fix: remove explicit array size from
836         unit_name[] and friends
837
838 2004-04-05  Angus Leeming  <leeming@lyx.org>
839
840         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
841
842         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
843         present only for the preferences dialog.
844         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
845
846 2004-04-05  Angus Leeming  <leeming@lyx.org>
847
848         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
849         to enable the frontends to export changes to lyxrc correctly.
850
851         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
852
853 2004-04-07  André Pönitz  <poenitz@gmx.net>
854
855         * cursor.[Ch] (selClear, adjust): remove math
856
857         * cursor_slice.C: more agressive assert
858
859         * lyxfunc.C:
860         * BufferView_pimpl.C: rework mouse event dispatch
861
862         * dociterator.C:
863         * paragraph.C:
864         * text2.C:
865         * text3.C: adjust
866
867 2004-04-05  André Pönitz  <poenitz@gmx.net>
868
869         * cursor.[Ch] (valign, halign...): remove unneeded functions
870
871 2004-04-05  Angus Leeming  <leeming@lyx.org>
872
873         * lyxlength.[Ch] (unit_name et al.): const-correct.
874
875 2004-04-05  Angus Leeming  <leeming@lyx.org>
876
877         * BufferView_pimpl.C:
878         * buffer.C:
879         * counters.C:
880         * cursor.C:
881         * lyxfunc.C
882         * paragraph.C:
883         * pariterator.C:
884         * text.C:
885         * text2.C:
886         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
887
888 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * text3.C (getStatus): add LFUN_BEGINNINGBUF
891
892 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
893
894         * lyxfind.C: add a couple of inTexted() tests + other small fixes
895         * BufferView_pimpl.[Ch] (getStatus)
896         * BufferView.[Ch] (getStatus): add
897         * lyxfunc.C (getStatus): move lfuns handled in
898         BufferView::dispatch to te function above
899         * Cursor.C (setSelection): set selection() = true
900
901 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
904
905 2004-03-31  Angus Leeming  <leeming@lyx.org>
906
907         * lyxfunc.C (dispatch): Fall through to the generic
908         Dialogs::show("preamble").
909
910 2004-03-31  Angus Leeming  <leeming@lyx.org>
911
912         * lyxfunc.C (dispatch): Fall through to the generic
913         Dialogs::show("spellchecker").
914
915 2004-03-31  Angus Leeming  <leeming@lyx.org>
916
917         * lyxfunc.C (getStatus, dispatch): changed invocation of the
918         preferences dialog.
919
920 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * BufferView.C
923         * cursor.[Ch]
924         * dociterator.[Ch]:
925         * insetiterator.[Ch]:
926         * lyxfind.C:
927         * lyxfunc.C:
928         * pariterator.[Ch]:
929         * text2.C:
930         * undo.[Ch]: s/DocumentIterator/DocIterator/g
931
932 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * BufferView.C (setCursor, putSelectionAt): call edit to open the
935         insets where we are putting the cursor.
936
937 2004-03-31  Angus Leeming  <leeming@lyx.org>
938
939         * lfuns.h:
940         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
941
942         * lyxrc.[Ch] (read, write): overloaded member functions taking
943         a std::[io]stream arguments.
944
945         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
946
947 2004-03-31  Angus Leeming  <leeming@lyx.org>
948
949         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
950         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
951
952         * lyxtextclass.C (load): if the text class couldn't be loaded, then
953         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
954
955 2004-03-31  Angus Leeming  <leeming@lyx.org>
956
957         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
958         the LFUN_ALL_INSETS_TOGGLE code.
959
960 2004-03-30  Angus Leeming  <leeming@lyx.org>
961
962         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
963         has died. Fall through to the generic Dialogs::show("document").
964
965 2004-03-30  Angus Leeming  <leeming@lyx.org>
966
967         * lfuns.h:
968         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
969         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
970
971         * lyxfunc.C (getStatus, dispatch): define the actions for these
972         lfuns. Little more than a cut and pste job from ControlDocument.C
973
974         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
975
976 2004-03-30  Angus Leeming  <leeming@lyx.org>
977
978         * lfuns.h:
979         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
980         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
981
982         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
983         open/closed state of ollapsable insets. Usage:
984
985         all-inset-toggle <state> <name>, where
986         <state> == "open" || "closed" || "toggle" and
987         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
988
989         * lyxtext.h, text2.C (toggleInset): removed.
990
991         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
992         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
993         now passes LFUN_INSET_TOGGLE to the found inset.
994
995         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
996         is now invoked as "all-insets-toggle toggle branch".
997
998 2004-03-30  Angus Leeming  <leeming@lyx.org>
999
1000         * dociterator.C:
1001         * insetiterator.C:
1002         * pariterator.[Ch]: added/corrected header blurb.
1003
1004 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1005
1006         * dociterator.[Ch]: add an inset_ member
1007         (backwardPos): implemented
1008         (backwardPos, forwardPos): use inset_ when the stack is empty.
1009         (doc_iterator_begin, doc_iterator_end): implemented
1010         * pariterator.[Ch]: adjust, add begin, end
1011         * insetiterator.[Ch]: adjust, add begin, end
1012         * cursor.C:
1013         * document.C:
1014         * BufferView.C:
1015         * BufferView_pimpl.C:
1016         * CutAndPaste.C: adjust
1017
1018 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1019
1020         * buffer.C: increment file format to 232.
1021         * LaTeXFeatures.C: add bibtopic package.
1022         * bufferparams.[Ch]: param \use_bibtopic.
1023
1024         * lyxrc.[Ch]: add lyxrc bibtex_command
1025         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1026
1027         * buffer.C: increment file format to 231.
1028
1029 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * dociterator.C: implement forwardPar
1032         * iterators.[Ch]: remove, replaced by
1033         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1034         * BufferView.C:
1035         * BufferView_pimpl.C:
1036         * CutAndPaste.C:
1037         * buffer.C:
1038         * bufferview_funcs.C:
1039         * cursor.C:
1040         * lyxfind.C
1041         * lyxfunc.C
1042         * paragraph_funcs.C
1043         * toc.C:
1044         * Makefile.am: adjust
1045
1046 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * CutAndPaste.C (pasteSelection): fix 2 crashes
1049         (eraseSelection): fix a crash
1050         * paragraph_funcs.C: remove a warning
1051
1052 2004-03-28  Angus Leeming  <leeming@lyx.org>
1053
1054         * lfuns.h:
1055         * LyXAction.C (init): new LFUN_PRINT.
1056
1057         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1058
1059 2004-03-27  Angus Leeming  <leeming@lyx.org>
1060
1061         * lfuns.h:
1062         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1063
1064         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1065
1066 2004-03-27  Angus Leeming  <leeming@lyx.org>
1067
1068         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1069         insetlist always contains non-null pointers to insets.
1070
1071 2004-03-26  Angus Leeming  <leeming@lyx.org>
1072
1073         * src/BufferView_pimpl.C:
1074         * src/CutAndPaste.C:
1075         * src/buffer.C:
1076         * src/iterators.C:
1077         * src/output_plaintext.C:
1078         * src/outputparams.h:
1079         * src/paragraph_funcs.C:
1080         * src/rowpainter.C:
1081         * src/text.C:
1082         * src/text2.C:
1083         * src/frontends/controllers/ControlErrorList.C:
1084         * src/frontends/gtk/FileDialogPrivate.C:
1085         * src/frontends/gtk/GPainter.C:
1086         * src/frontends/gtk/GToolbar.C:
1087         * src/frontends/qt2/QRef.C:
1088         * src/mathed/math_scriptinset.C: squash compiler warnings.
1089
1090 2004-03-26  Angus Leeming  <leeming@lyx.org>
1091
1092         * ispell.C (LaunchIspell::start):
1093         * lyx_cb.C (AutoSaveBuffer::start):
1094         invoke run(DontWait) rather than runNonBlocking().
1095
1096 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1097
1098         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1099
1100 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * kbsequence.C (print): adjust
1103
1104         * kbmap.C (printKeySym): rename and change signature
1105         (printKey): use LyXKeySym::print()
1106
1107 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1108
1109         * undo.C: add using std::advance to compile for stlport
1110
1111 2004-03-24  Angus Leeming  <leeming@lyx.org>
1112
1113         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1114         it leads to a crash when no buffer is present.
1115
1116 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117             Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * lyxfunc.C (dispatch):
1120         * bufferparams.C (readToken): use the new LColor::setColor
1121
1122         * LColor.[Ch] (setColor): new version that takes two strings as
1123         argument and creates a new color entry if necessary
1124
1125 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1126
1127         * buffer.C (makeLaTeXFile): if the main latex file that is
1128         processed is usually a subdocument of some master, then pretend
1129         for a while that it is actually the master
1130
1131 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1132
1133         * buffer.C (getLabelList):
1134         (getBibkeyList): use getMasterBuffer()
1135         (getMasterBuffer): new method. Returns the main document in the
1136         case where one is using included documents.
1137
1138 2004-03-25  André Pönitz  <poenitz@gmx.net>
1139
1140         * Makefile.am:
1141         * iterators.[Ch]:
1142         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1143
1144         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1145
1146         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1147         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1148
1149         * ParameterStruct.h: merge with ParagraphParameters
1150
1151         * lyxtext.h: remove LyXText::parOffset() and getPar()
1152
1153         * text3.C: Remove all 'manual' update calls. We do now one per user
1154         interaction which is completely sufficient.
1155
1156         * Bidi.C:
1157         * BufferView.[Ch]:
1158         * BufferView_pimpl.C:
1159         * FontIterator.[Ch]:
1160         * MenuBackend.C:
1161         * ParagraphParameters.[Ch]:
1162         * buffer.C:
1163         * buffer.h:
1164         * bufferlist.C:
1165         * cursor.[Ch]:
1166         * cursor_slice.[Ch]:
1167         * dociterator.[Ch]:
1168         * errorlist.[Ch]:
1169         * factory.C:
1170         * lfuns.h:
1171         * lyxfind.C:
1172         * lyxfunc.C:
1173         * output_docbook.[Ch]:
1174         * output_latex.[Ch]:
1175         * output_linuxdoc.[Ch]:
1176         * output_plaintext.[Ch]:
1177         * paragraph.[Ch]:
1178         * paragraph_funcs.[Ch]:
1179         * paragraph_pimpl.[Ch]:
1180         * rowpainter.C:
1181         * tabular.[Ch]:
1182         * text.C:
1183         * text2.C:
1184         * toc.C:
1185         * undo.[Ch]: adjust
1186
1187         * frontends/controllers/ControlDocument.C:
1188         * frontends/controllers/ControlErrorList.C:
1189         * frontends/controllers/ControlSpellchecker.C:
1190         * insets/inset.C:
1191         * insets/inset.h:
1192         * insets/insetbase.h:
1193         * insets/insetbibitem.C:
1194         * insets/insetbox.C:
1195         * insets/insetbranch.C:
1196         * insets/insetcaption.C:
1197         * insets/insetcharstyle.C:
1198         * insets/insetcharstyle.h:
1199         * insets/insetcollapsable.C:
1200         * insets/insetcollapsable.h:
1201         * insets/insetert.C:
1202         * insets/insetfloat.C:
1203         * insets/insetfoot.C:
1204         * insets/insetmarginal.C:
1205         * insets/insetnote.C:
1206         * insets/insetoptarg.C:
1207         * insets/insettabular.C:
1208         * insets/insettext.C:
1209         * insets/insettext.h:
1210         * insets/insetwrap.C:
1211         * mathed/math_mboxinset.C:
1212         * mathed/math_nestinset.C:
1213         * mathed/math_scriptinset.C:
1214         * mathed/math_scriptinset.h:
1215         * support/types.h:
1216
1217 2004-03-24  Angus Leeming  <leeming@lyx.org>
1218
1219         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1220         deal with any child processes that have finished but are waiting to
1221         communicate this fact to the rest of LyX.
1222
1223 2004-03-24  Angus Leeming  <leeming@lyx.org>
1224
1225         64-bit compile fixes.
1226
1227         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1228         (c-tor): pass lyx::pos_types rather than ints.
1229
1230         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1231         lyx::pos_type.
1232
1233         * text.C (Delete): compile fix.
1234         (getPar): ensure that function declaration is the same as that in
1235         the header file.
1236
1237 2004-03-23  Angus Leeming  <leeming@lyx.org>
1238
1239         * ispell.C (LaunchIspell):
1240         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1241         a boost::shred_ptr rather than a std::auto_ptr.
1242
1243 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1246         handle LFUN_FILE_INSERT_*
1247
1248         * lyxrc.C (setDefaults, getDescription, output, read):
1249         * lyxrc.h: remove ps_command
1250
1251 2004-03-22  Angus Leeming  <leeming@lyx.org>
1252
1253         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1254         Ensure that error_handler is processed once only and that all data
1255         is saved before attempting to output any warning messages.
1256
1257         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1258
1259 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1262
1263 2004-03-19  André Pönitz  <poenitz@gmx.net>
1264
1265         * cursor.[Ch] (reset): take main text inset as argument
1266
1267         * BufferView: adjust
1268         * BufferView_pimpl.C: adjust
1269
1270         * paragraph.[Ch]: fix completely broken operator=()
1271
1272 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * LColor.C (getFromLyXName): make sure that the color name is used
1275         as lowercase.
1276
1277 2004-03-17  Angus Leeming  <leeming@lyx.org>
1278
1279         * lfuns.h:
1280         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1281
1282         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1283         dialog and to kill a forked process.
1284
1285 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text2.C (setCursorFromCoordinates): fix font problem
1288
1289 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1290
1291         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1292         bogus "rebuild cursor" code
1293
1294 2004-03-11  André Pönitz  <poenitz@gmx.net>
1295
1296         * buffer.[Ch]: use InsetText instead of LyXText as container for
1297         the main lyx text.
1298
1299         * dociterator.[Ch]: drop the BufferView * member which is not needed
1300         anymore after the change to buffer.C
1301
1302         * paragraph_funcs.C:
1303         * text.C:
1304         * text2.C:
1305         * BufferView.[Ch]:
1306         * BufferView_pimpl.[Ch]:
1307         * cursor.[Ch]:
1308         * cursor_slice.[Ch]: adjust
1309
1310         * text3.C: fix bug in mathDispatch
1311
1312 2004-03-08  André Pönitz  <poenitz@gmx.net>
1313
1314         * undo.[Ch]: use 'StableDocumentIterator' as base for
1315         the Undo struct.
1316
1317 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1318
1319         * LaTeXFeatures.C:
1320         * bufferparams.[Ch]: add jurabib support and param.
1321
1322         * LaTeX.C: add FIXME/comment.
1323
1324 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1325
1326         * buffer.C: increment file format to 230.
1327
1328 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1329
1330         * cursor.C (dispatch): avoid infinite loops
1331
1332 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1333
1334         * rowpainter.C (paintSelection): fix x coordinates
1335
1336 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text.C (rowBreakPoint): fix breaking before displayed insets
1339
1340 2004-03-01  André Pönitz  <poenitz@gmx.net>
1341
1342         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1343
1344         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1345
1346         * Makefile.am:
1347         * BufferView.C:
1348         * BufferView_pimpl.C:
1349         * buffer.C:
1350         * lyxfind.C:
1351         * lyxfunc.C:
1352         * text.C:
1353         * text2.C:
1354         * text3.C: adjust
1355
1356 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * lyxtext.h:
1359         * text.C:
1360         * text2.C:
1361         * rowpainter.C:
1362         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1363         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1364
1365 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * Bidi.[Ch] (computeTables): const correctness
1368         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1369         fill_hfill, fill_label_hfill and x from Row
1370         * lyxtext.h: prepareToPrint returns a RowMetrics
1371         * rowPainter.C: adjust
1372         * text.C (prepareToPrint): use width, not textWidth. adjust
1373         (redoParagraphInternal, cursorX): adjust
1374         * text2.C (getColumnNearX): adjust
1375         (init): put a default value to the top LyXText::width
1376
1377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1380
1381 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * lyxtext.h: add FontIterator class
1384
1385         * text.C (FontIterator, operator*, operator->, operator++): add
1386         (rowBreakPoint, setRowWidth): adjust (fixing a
1387         rebreaking bug)
1388
1389 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1390
1391         * BufferView_pimpl.C (workAreaDispatch): allow also
1392         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1393
1394 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text.C (rowBreakPoint): fix a bug showing with very large insets
1397
1398 2004-02-25  André Pönitz  <poenitz@gmx.net>
1399
1400         * text3.C:
1401         * cursor.[Ch]: move some mathed specific code to mathed
1402
1403 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1404
1405         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1406         use_tempdir in preferences
1407         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1408         tempfile creation
1409         * lyx_main.C: ensure that tempdir is valid
1410         * lyxlex.h: correct typo
1411         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1412         * paragraph.[Ch] (isMultiLingual): make const
1413         * cursor.[Ch] (openable): make const
1414
1415 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1416
1417         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1418
1419 2004-02-20  André Pönitz  <poenitz@gmx.net>
1420
1421         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1422
1423         * cursor.[Ch]: prepare for localized getStatus()
1424
1425         * lyxtext.h:
1426         * tabular.C:
1427         * text.C:
1428         * text2.C:
1429         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1430
1431 2004-02-20  André Pönitz  <poenitz@gmx.net>
1432
1433         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1434
1435 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1436
1437         * text2.C (setCursorFromCoordinates): switch to absolute coords
1438         (cursorUp): adjust
1439         (cursorDown): adjust
1440         * text3.C (dispatch): adjust
1441
1442 2004-02-16  André Pönitz  <poenitz@gmx.net>
1443
1444         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1445           insets/ChangeLog)
1446
1447         * cursor_slice.[Ch]: remove unneeded acessor function
1448
1449         * lyxtext.h: rename rtl() to isRTL()
1450
1451         * rowpainter.C:
1452         * tabular.C:
1453         * text.C:
1454         * text2.C:
1455         * text3.C: adjust
1456
1457 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1458
1459         * rowpainter.C (paintSelection): coord fix
1460
1461 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1462
1463         * Spacing.C: compile fix
1464
1465 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * cursor.C (dispatch): restore current_ before returning
1468
1469 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1470
1471         * text2.C (cursorUp, cursorDown): fix coords
1472         (moveUp): fix crash
1473
1474 2004-02-12  André Pönitz  <poenitz@gmx.net>
1475
1476         * lyxtext.h:
1477         * text.C:
1478         * text2.C:
1479         * text3.C: add LCursor & parameter to most cursor movement functions
1480           remove usage of LyXText::cursorRow() and cursorPar()
1481
1482         * cursor.[Ch]: add textRow() needed members
1483
1484         * BufferView.C:
1485         * BufferView_pimpl.C:
1486         * paragraph.[Ch]:
1487         * BufferView.C:
1488         * BufferView_pimpl.C: adjust
1489
1490 2004-02-11  André Pönitz  <poenitz@gmx.net>
1491
1492         * lyxfunc.C:
1493         * BufferView.[Ch]:
1494         * BufferView_pimpl.C: shift undo/redo handling
1495
1496         * cursor.[Ch]: fix mathed crash
1497
1498         * lyxfind.C:
1499         * lyxtext.h: move selectionAsText to LCursor
1500
1501         * output_latex.C:
1502         * paragraph.C:
1503         * text.C:
1504         * text2.C:
1505         * text3.C: adjust
1506
1507         * rowpainter.C: fix excessive drawing
1508
1509 2004-02-06  André Pönitz  <poenitz@gmx.net>
1510
1511         * BufferView.[Ch]:
1512         * BufferView_pimpl.[Ch]:
1513         * text3.C: move some text specific LFUN handling
1514
1515 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1516
1517         * text3.C (checkInsetHit): adjust coords
1518         * text2.C (getColumnNearX): adjust coords
1519         (edit): adjust coords
1520         * text.C (getRowNearY): add two asserts
1521
1522 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1523
1524         * converter.C:
1525         * format.C: add using std::distance to compile on gcc 2.95/stlport
1526
1527 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1528
1529         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1530
1531 2004-02-04  André Pönitz  <poenitz@gmx.net>
1532
1533         * BufferView.[Ch] (insertInset):
1534         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1535
1536         * text2.C:
1537         * text3.C: adjust
1538
1539 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1542         on the default clause of the switch
1543         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1544         wasn't catched by LCursor::dispatch
1545
1546 2004-02-03  André Pönitz  <poenitz@gmx.net>
1547
1548         * BufferView.C:
1549         * cursor.[Ch]: some additional asserts
1550
1551         * undo.[Ch]: remove LyXText dependency in interface
1552
1553         * lyxfunc.C: adjust
1554
1555         * lyxtext.h (firstPar, lastPar): remove dead functions
1556
1557         * text.C:
1558         * text2.C:
1559         * text3.C:
1560         * paragraph.[Ch]: adjust
1561
1562 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * lyxfind.C (find): fix argument order in call to ::find
1565
1566 2004-02-02  André Pönitz  <poenitz@gmx.net>
1567
1568         * cursor.[Ch]: remove direct access to anchor
1569
1570         * text.C: remove findText() hack
1571
1572 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * iterators.[Ch] (lockPath): remove in favour of...
1575         * BufferView.[Ch] (setCursor): this addition
1576         * BufferView.C (putSelectionAt): adjust
1577         * undo.C (performUndoOrRedo): adjust
1578         * lyxfunc.C (dispatch): adjust
1579
1580 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1581
1582         * iterators.C (lockPath): add a missing slice
1583         * undo.C (performUndoOrRedo): remove redundant positioning code
1584
1585 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1586
1587         * vc-backend.C (scanMaster): ";" -> ';'
1588
1589 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1590
1591         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1592         std::binary_function
1593
1594         * lyxtextclass.C (compare_name): rename to...
1595         (LayoutNamesEqual): ...this
1596
1597         * lyxlex_pimpl.C (compare_tags): inherit from
1598         std::binary_function, put back into anon namespace
1599
1600         * lyxfind.C (MatchString): inherig from std::binary_function
1601         (findChange): use empty() istead of !size()
1602
1603         * format.C (FormatNamesEqual): new functor
1604         (getFormat): use it
1605         (getNumber): use it
1606         (add): use it
1607         (erase): use it
1608         (setViewer): use it
1609
1610         * converter.C (compare_Converter): rename to...
1611         (ConverterEqual): ...this, and fixup a bit.
1612         (getConverter): use it, and make function const
1613         (getNumber): use it, and make function const
1614         (add): use it
1615         (erase): use it:
1616
1617         * bufferlist.C: add using boost::bind
1618
1619         * MenuBackend.C (MenuNamesEqual): new functor
1620         (hasMenu): use it, and make function const
1621         (hasSubmenu): use nested bind to get rid of compare_memfun.
1622
1623 2004-01-30  André Pönitz  <poenitz@gmx.net>
1624
1625         * BufferView_pimpl.C:
1626         * cursor.C:
1627         * cursor.h:
1628         * cursor_slice.[Ch]:
1629         * lyxfunc.C:
1630         * lyxtext.h:
1631         * paragraph_funcs.C:
1632         * paragraph_funcs.h:
1633         * rowpainter.C:
1634         * text.C:
1635         * text2.C:
1636         * text3.C: move some of the edit(x,y) handling to the insets
1637         some coordinate changes.
1638
1639 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1640
1641         * text.C: add using statements for std::advance and std::distance
1642
1643         * paragraph.C: add using statement for std::distance
1644
1645         * lyxfind.C: add using statement for std::advance
1646
1647         * cursor.C (region): remove std:: from swap
1648         (openable): use nucleus in stead of operator->
1649
1650         * BufferView.C: add using statements for std::distance and std::swap
1651
1652 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1653
1654         * iterators.C: Remove the pimple, move the needed structures to
1655         the header file. Create accessor for the positions stack.
1656         (asPosIterator): remove function
1657
1658         * PosIterator.C (PosIterator): move constructors to top of file
1659         (PosIterator): reimplement the constructor taking a ParIterator in
1660         terms of setFrom.
1661         (setFrom): new function
1662         (operator!=): inline it
1663
1664 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1665
1666         * lyxfind.C (replaceAll): use std::advance
1667
1668         * iterators.h: inherit from std::iterator.
1669
1670         * PosIterator.C (advance, distance): remove
1671         * PosIterator.h: interit from std::iterator.
1672
1673 2004-01-26  André Pönitz  <poenitz@gmx.net>
1674
1675         * BufferView.[Ch]:
1676         * BufferView_pimpl.[Ch]:
1677         * InsetList.[Ch]:
1678         * PosIterator.[Ch]:
1679         * buffer.h:
1680         * bufferview_funcs.C:
1681         * cursor.[Ch]:
1682         * cursor_slice.h:
1683         * factory.[Ch]:
1684         * iterators.[Ch]:
1685         * lyxfind.C:
1686         * lyxfunc.C:
1687         * lyxtext.h:
1688         * output_docbook.C:
1689         * output_latex.C:
1690         * output_linuxdoc.C:
1691         * output_plaintext.C:
1692         * paragraph.[Ch]:
1693         * paragraph_funcs.[Ch]:
1694         * paragraph_pimpl.[Ch]:
1695         * rowpainter.C:
1696         * tabular.C:
1697         * tabular.h:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: more IU:  dumps most of the rest of the mathcursor
1701     implementation into cursor.[Ch]; "globalize" a bit of it.
1702
1703 2004-01-25  Angus Leeming  <leeming@lyx.org>
1704
1705         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1706
1707 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1708
1709         * LaTeXFeatures.h: add nice_ and nice() const
1710         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1711
1712 2004-01-20  André Pönitz  <poenitz@gmx.net>
1713
1714         * BufferView.[Ch]:
1715         * BufferView_pimpl.C:
1716         * PosIterator.C:
1717         * bufferview_funcs.C:
1718         * cursor.[Ch]:
1719         * cursor_slice.[Ch]:
1720         * factory.C:
1721         * iterators.C:
1722         * lyx_cb.C:
1723         * lyxfind.C:
1724         * lyxfunc.C:
1725         * lyxtext.h:
1726         * rowpainter.C:
1727         * text.C:
1728         * text2.C:
1729         * text3.C:
1730         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1731           LCursor and mathcursor parts to LCursor and InsetBase.
1732
1733 2004-01-15  André Pönitz  <poenitz@gmx.net>
1734
1735         * cursor_slice.[Ch]: add a few covienience functions
1736
1737         * funcrequest.[Ch]: remove BufferView * member
1738
1739         * BufferView_pimpl.C:
1740         * cursor.C:
1741         * factory.[Ch]:
1742         * lyxfind.[Ch]:
1743         * lyxfunc.C:
1744         * lyxtext.h:
1745         * text3.C:
1746         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1747
1748 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1749
1750         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1751         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1752
1753 2004-01-13  André Pönitz  <poenitz@gmx.net>
1754
1755         * textcursor.[Ch]:
1756         * lyxtext.h: hide cursor and selection anchor behind accessor function
1757
1758         * BufferView.C:
1759         * BufferView_pimpl.[Ch]:
1760         * PosIterator.C:
1761         * bufferview_funcs.C:
1762         * cursor.h:
1763         * lyxfind.C:
1764         * lyxfunc.C:
1765         * text.C:
1766         * text2.C:
1767         * text3.C:
1768         * undo.C: adjust
1769
1770         * cursor.h:
1771         * cursor_slice.[Ch]: some integer type changes for inset unification
1772
1773         * lyxcursor.[hC]: remove, it's CursorSlice now.
1774
1775         * Makefile.am:
1776         * BufferView_pimpl.[Ch]:
1777         * bufferview_funcs.C:
1778         * cursor_slice.C:
1779         * lyxtext.h:
1780         * text.C:
1781         * text2.C:
1782         * text3.C:
1783         * textcursor.[Ch]: adjust
1784
1785 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * text2.C (undoSpan): add and use
1788         * text.C (breakParagraph): use undoSpan (fix bug 578)
1789         * lyxtext.h: adjust
1790
1791 2004-01-08  Angus Leeming  <leeming@lyx.org>
1792
1793         * BufferView_pimpl.C (MenuInsertLyXFile):
1794         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1795         * lyxfunc.C (menuNew, open, doImport):
1796         FileFilterList change to the FileDialog open and save functions.
1797
1798 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1799
1800         * ShareContainer.h: make isEqual and isUnique adaptable
1801
1802         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1803
1804 2004-01-07  Angus Leeming  <leeming@lyx.org>
1805
1806         * LyXAction.C:
1807         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1808
1809         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1810
1811         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1812         functions replacing find, replace and replaceAll.
1813
1814         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1815         LFUN_WORDFIND(FORWARD|BACKWARD).
1816
1817 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * text.C (breakParagraph): remove an outdated #warning
1820
1821 2004-01-07  André Pönitz  <poenitz@gmx.net>
1822
1823         * lyxfind.C: somewhat clearer logic
1824
1825         * text.C: prevent crash in cursorX on unitialized row cache
1826
1827 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1828
1829         * lyxcursor.[Ch] (operator>): add
1830         * textcursor.C (selStart, selEnd): use std::min and std::max
1831
1832 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1833
1834         * Chktex.C: include boost/format.hpp
1835
1836 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1837
1838         * InsetList.C: replace functor MathcIt with adaptable functor
1839         InsetTablePosLess
1840         (insetIterator): modify accordingly
1841
1842         * BranchList.h: move the BranchNamesEqual functor here from...
1843         * BranchList.C: ... to here
1844
1845         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1846         SameName and match.
1847         (add): replace a finding loop with std::find_if.
1848
1849 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1850
1851         * output_docbook.C: moving LatexParam functionality into
1852         .layout files
1853
1854 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1855
1856         * buffer.C: increment format to 229.
1857
1858 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1859
1860         * LaTeXFeatures.C:
1861         * lyx_sty.[Ch]: remove minipageindent_def
1862
1863         * LyXAction.C:
1864         * factory.C:
1865         * lfuns.h:
1866         * lyxfunc.C:
1867         * text3.C: remove LFUN_INSET_MINIPAGE
1868
1869 2003-12-28  Angus Leeming  <leeming@lyx.org>
1870
1871         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1872
1873 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * text2.C (setParagraph): fix off-by-one crash
1876
1877 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * output_docbook.C: header stuff for AGU
1880
1881 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * text2.C (redoCursor): remove
1884         * text.C:
1885         * text3.C:
1886         * BufferView_pimpl.C: remove calls to redoCursor and
1887         setCursor(cursor.par(), cursor.pos()) all around
1888
1889 2003-12-15  Angus Leeming  <leeming@lyx.org>
1890
1891         * buffer.C: up the format to 228.
1892
1893 2003-12-15  André Pönitz  <poenitz@gmx.net>
1894
1895         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1896         slices
1897
1898         * Makefile.am:
1899
1900         * BufferView_pimpl.C:
1901         * cursor.[Ch]:
1902         * lyxcursor.[Ch]:
1903         * rowpainter.[Ch]:
1904         * lyxtext.h:
1905         * text.C:
1906         * text2.C:
1907         * text3.C: adjust
1908
1909 2003-12-15  Angus Leeming  <leeming@lyx.org>
1910
1911         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1912         than getFromGUIName to manipulate the color.
1913
1914 2003-12-14  Angus Leeming  <leeming@lyx.org>
1915
1916         * BranchList.[Ch]: minimize the API.
1917         (Branch::getBranch, getColor): now return a 'const &'.
1918         (Branch::setSelected) now returns a bool set to true if the
1919         selection status changes.
1920         (BranchList::clear, size, getColor, setColor, setSelected,
1921         allBranches, allSelected, separator): removed.
1922         (BranchList::find): new functions, returning the Branch with
1923         the given name.
1924         (BranchList::add, remove): return a bool indicating that
1925         the operation was successful.
1926
1927         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1928         new InsetBranch::isBranchSlected member function.
1929
1930         * LColor.[Ch]: mimimize the API.
1931         (fill): renamed as addColor and made private.
1932         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1933         versions of these functions taking a string arg have been removed.
1934
1935         * bufferparams.C (readToken):
1936         * lyxfunc.C (dispatch):
1937         * lyxrc.C (read): changes due to the altered BranchList and
1938         LColor APIs.
1939
1940         * factory.C (createInset, readInset): changes due to altered
1941         InsetBranch c-tor.
1942
1943 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1944
1945         * factory.C:
1946         * lyxfunc.C: remove insetminipage. "minipage-insert"
1947         now produces a frameless minipage box inset.
1948
1949 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * textcursor.[Ch] (selStart,selEnd): add new methods
1952         remove selection::start, end, use LyXCursor::operator<
1953         * lyxcursor.[Ch] (operator<): add
1954         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1955         * BufferView.[Ch] (unsetXSel): add
1956         * text2.C (clearSelection): use unsetXSel,adjust
1957         * text.C: adjust
1958         * text3.C: adjust
1959         * rowpainter.C: adjust
1960         * bufferview_funcs.C (put_selection_at): adjust
1961
1962 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * BufferView_pimpl.C: small coord. correction
1965
1966 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1969         dragging over the splash screen.
1970
1971 2003-12-11  Angus Leeming  <leeming@lyx.org>
1972
1973         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1974         as it is now handled in LyXText::dispatch.
1975
1976         * text3.C (doInsertInset): remove a level of nesting.
1977
1978 2003-12-11  Angus Leeming  <leeming@lyx.org>
1979
1980         * factory.C (createInset): changes due to the changed interface to
1981         InsetCommandMailer::string2params.
1982
1983 2003-12-10  Angus Leeming  <leeming@lyx.org>
1984
1985         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1986         'dialog-show-new-inset <inset name>'
1987
1988 2003-12-10  Angus Leeming  <leeming@lyx.org>
1989
1990         * buffer.C: up the format to 227.
1991
1992         * factory.C: the box inset is now identified simply by 'Box'.
1993
1994 2003-12-10  Angus Leeming  <leeming@lyx.org>
1995
1996         * buffer.C: up the format to 226.
1997
1998         * factory.C: the note inset is now identified simply by 'Note'.
1999
2000 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2001
2002         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2003         when a pit is enough. Standarize a couple of loops.
2004
2005 2003-12-05  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2008         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2009         data to the re-worked "log" dialog.
2010
2011 2003-12-03  André Pönitz  <poenitz@gmx.net>
2012
2013         * PosIterator.C:
2014         * iterators.C:
2015         * lyxtext.h:
2016         * output_latex.C:
2017         * paragraph_funcs.C:
2018         * text.C:
2019         * text2.C: use Inset::getText instead of Inset::getParagraph
2020
2021 2003-12-03  André Pönitz  <poenitz@gmx.net>
2022
2023         * buffer.[Ch]:
2024         * lyxtext.h:
2025         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2026         InsetText::read() as LyXText::read()
2027
2028 2003-12-02  Angus Leeming  <leeming@lyx.org>
2029
2030         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2031         type. Add a comment in the implementation that the function uses
2032         the stream's bad() function rather than fail() as the std::streams
2033         would do.
2034
2035 2003-12-02  André Pönitz  <poenitz@gmx.net>
2036
2037         * lyxlex.[Ch]: make interface more similar to std::stream
2038
2039         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2040
2041 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2044
2045 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2046
2047         * vspace.[Ch]: remove VSpace::NONE
2048
2049 2003-12-01  André Pönitz  <poenitz@gmx.net>
2050
2051         * buffer.[Ch]:
2052         * lyxtext.h: move ParagraphList member to LyXText
2053         rename LyXText::ownerParagraphs to LyXText::paragraph
2054
2055         * CutAndPaste.C:
2056         * bufferview_funcs.C:
2057         * iterators.[Ch]:
2058         * lyx_cb.C:
2059         * paragraph.C:
2060         * rowpainter.C:
2061         * tabular.C:
2062         * text.C:
2063         * text2.C:
2064         * text3.C: adjust
2065
2066         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2067
2068         * undo.C: fix cursor positioning
2069
2070 2003-12-01  John Levon  <levon@movementarian.org>
2071
2072         * BufferView_pimpl.C: fix a crash on exit with
2073         a buffer open
2074
2075 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2076
2077         * BranchList.C: fix setSelected() method.
2078
2079 2003-11-28  André Pönitz  <poenitz@gmx.net>
2080
2081         * ParagraphParameters.[Ch]:
2082         * ParameterStruct.h: remove space above/below from Paragraph to
2083          InsetVSpace
2084
2085         * BufferView_pimpl.C:
2086         * factory.C:
2087         * lyxfunc.C:
2088         * lyxtext.h:
2089         * output_latex.C:
2090         * paragraph.C:
2091         * paragraph_funcs.C:
2092         * rowpainter.[Ch]:
2093         * text.C:
2094         * text2.C:
2095         * text3.C: adjust
2096
2097 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2098
2099         * factory.C: Syntax change for CharStyles
2100
2101 2003-11-28  André Pönitz  <poenitz@gmx.net>
2102
2103         * BufferView.[Ch]:
2104         * BufferView.[Ch]:
2105         * buffer.[Ch]:
2106         * buffer.[Ch]: move LyXText member
2107
2108 2003-11-28  André Pönitz  <poenitz@gmx.net>
2109
2110         * BufferView.[Ch]: make LyXText * text a private member
2111
2112         * BufferView_pimpl.C:
2113         * cursor.C:
2114         * iterators.C:
2115         * lyx_cb.C:
2116         * lyxfind.C:
2117         * lyxtext.h:
2118         * rowpainter.[Ch]:
2119         * text.C:
2120         * text2.C:
2121         * undo.C: adjust
2122
2123         * output_plaintext.C: cleanup
2124
2125 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2126
2127         * buffer.C:
2128         * lyxtextclass.[Ch]: parametrize SGML document header
2129
2130 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2131
2132         * converter.[Ch]:
2133         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2134         getFlavor().
2135
2136 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * text2.C (setFont): rework using PosIterator (no more recursive)
2139         (setCharFont): no more needed
2140         (setLayout): no more selection cursors fiddling (done by redoCursor)
2141         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2142         destroy remaining ones)
2143
2144 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2145
2146         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2147         * lyxtext.h: ditto
2148         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2149         selection cursors
2150         * lyxfunc.C: adjust
2151         * text3.C: adjust + re-allow multi par depth changes
2152         * textcursor.C: simplify a bit
2153
2154 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2155
2156         * src/buffer.C:
2157         * src/lyxlayout.C:
2158         * src/lyxlayout.h:
2159         * src/lyxtext.h:
2160         * src/output_docbook.C:
2161         * src/output_latex.C:
2162         * src/paragraph.C:
2163         * src/paragraph.h:
2164         * src/sgml.C:
2165         * src/sgml.h:
2166         * src/text2.C: Introducing a number of tags parametrizing various
2167         XML formats that we may want to support
2168
2169 2003-11-25  André Pönitz  <poenitz@gmx.net>
2170
2171         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2172
2173         * lyxtext.h (leftMargin/rightMargin): simplify interface
2174
2175         * rowpainter.C:
2176         * text.C:
2177         * text2.C:
2178         * text3.C: adjust
2179
2180 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2181
2182         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2183         master file to any child files. Fixes bug 546.
2184
2185 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2188
2189 2003-11-24  André Pönitz  <poenitz@gmx.net>
2190
2191         * rowpainter.C: simplification
2192
2193         * text2.C (updateCounters): remove call to redoParagraph on
2194         changed labels as this is far too expensive.
2195
2196 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * converter.C (convert): fix a crash: this function gets
2199         called with buffer == 0 from importer code.
2200
2201 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2202
2203         * text3.C (cursorPrevious): make sure that we do not compare
2204         iterators form different containers.
2205         (cursorNext): ditto
2206
2207         * rowpainter.C (paintSelection): make sure that we do not compare
2208         iterators from different containers.
2209
2210         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2211         iterators from different ParagraphList containers.
2212         [NEXT] ditto
2213
2214         * text2.C (LyXText): change order of initialization slightly
2215         (operator=): new function. copy all variables except cache_par_
2216         (moveUp): make sure that we do not compare iterators from
2217         different ParagraphList constainers.
2218         (moveDown): ditto
2219
2220         * text.C (firstPar): new function
2221         (lastPar): new function
2222         (endPar): new function
2223
2224         * lyxtext.h: move things around and group public functions, public
2225         variables, private functions, private variables
2226
2227 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2228
2229         * factory.C: change call to InsetERT constructor to avoid
2230         additional invocation of method status
2231         * text2.C (toggleInset): remove redundant update() call
2232         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2233         instead of a Bufferview pointer
2234
2235 2003-11-21  André Pönitz  <poenitz@gmx.net>
2236
2237         * rowpainter.C: simplification
2238
2239 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * text3.C (dispatch): make possible to extend a word/row selection
2242         with the mouse
2243
2244 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2245
2246         * lyxtext.h: x0_,y0_ -> xo_,yo_
2247         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2248         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2249         * rowpainter.C (paintRows): paint full paragraphs
2250
2251 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2254         screen coordinates)
2255
2256 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * lyxtext.h: add x0_, y0_
2259         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2260         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2261
2262 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * text2.C (setCursorIntern): move the x_target update here *
2265         * text3.C: change some bv() to true/false in calls to
2266         cursorUp/Down/Right/Left
2267         * cursor.C: use helper function.
2268
2269 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2272         * paragraph_funcs.[Ch]: correct comment
2273         * rowpainter.C: do not paint selections away from bv->cursor()
2274         Fix a long standing selection painting bug.
2275         * text3.C: generalize mouse-selection code to LyXTexts other that
2276         top one
2277         * textcursor.C: do not use y coords if we can use par offsets
2278
2279 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2280
2281         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2282         cursor position after e.g. inset insert)
2283
2284 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * lyxfind.C (replace): adjust to locking removal + some
2287         code simplification
2288
2289 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2292         of the path
2293
2294 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2295
2296         * lyxlayout.[Ch]:
2297         * output_docbook.C: XML sanitation: new layout
2298         parameters InnerTag and CommandDepth
2299
2300 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2301
2302         * BufferView_pimpl.C:
2303         * factory.C:
2304         * text3.C: Fix the insertion and modification of button-style
2305         insets
2306
2307 2003-11-13  André Pönitz  <poenitz@gmx.net>
2308
2309         * InsetList.[Ch]: remove deleteLyXText
2310
2311         * paragraph.[Ch]: cache beginOfBody position
2312
2313         * Bidi.C:
2314         * text.C:
2315         * text2.C:
2316         * text3.C: remove superfluous update() calls
2317
2318         * vspace.C: cleanup
2319
2320 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2323         * BufferView.C (fitLockedInsetCursor): remove
2324         * cursor.[Ch] (getDim): add
2325         * text.C (getRowNearY): add faster version
2326         * text3.C: remove some update calls
2327
2328 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2329
2330         * LaTeXFeatures.C:
2331         * LyXAction.C:
2332         * MenuBackend.C:
2333         * MenuBackend.h:
2334         * dispatchresult.h:
2335         * factory.C:
2336         * lfuns.h:
2337         * lyxfunc.C:
2338         * lyxtextclass.C:
2339         * lyxtextclass.h:
2340         * text3.C: The Character Style /XML short element patch.
2341
2342 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2343
2344         * text3.C:
2345         * factory.C: Small step to solving 'unable to insert some insets'
2346         problem
2347
2348 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2349
2350         * cursor.[Ch] (updatePos): new function for updating the y
2351         position of the tip inset
2352         * bufferview_funcs.C (put_selection_at):
2353         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2354
2355 2003-11-11  André Pönitz  <poenitz@gmx.net>
2356
2357         * text.C: remove big comment on invalid Paragraph pointers as it is
2358         not valid anymore
2359
2360 2003-11-11  André Pönitz  <poenitz@gmx.net>
2361
2362         * text_funcs.[Ch]: merge with ...
2363
2364         * text.C: ... this
2365
2366         * lyxtext.h:
2367         * text2.C:
2368         * text3.C: adjust
2369
2370         * Makefile.am: remove text_funcs.[Ch]
2371
2372 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * cursor.C (getPos): return absolute cached y coord
2375
2376         * BufferView_pimpl.C (fitCursor): new simplistic code
2377         (workAreaDispatch): add a fitCursor call
2378
2379 2003-11-10  André Pönitz  <poenitz@gmx.net>
2380
2381         * BufferView.[Ch]:
2382         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2383
2384 2003-11-10  André Pönitz  <poenitz@gmx.net>
2385
2386         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2387         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2388         indicate that the cursor needs to leave an inset
2389
2390         * lyxtext.h: remove inset locking
2391
2392         * cursor.[Ch]: re-implement functionality provided by inset locking
2393
2394         * BufferView.[Ch]:
2395         * BufferView_pimpl.[Ch]:
2396         * LyXAction.C:
2397         * bufferview_funcs.[Ch]:
2398         * factory.C:
2399         * funcrequest.[Ch]:
2400         * iterators.C:
2401         * lyx_cb.C:
2402         * lyxfind.C:
2403         * lyxfunc.C:
2404         * text.C:
2405         * text2.C:
2406         * text3.C:
2407         * undo.C: adjust
2408
2409 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * PosIterator.[Ch]: replace the stack with a vector, add inset
2412         accesor
2413         * iterators.[C]: adjust
2414
2415 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2416
2417         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2418         replaced
2419         * paragraph_funcs.C (readParToken): put the correct id in the
2420         error item, not the id of the top paragraph
2421
2422 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2425         * bufferview_funcs.C (put_selection_at): use the above
2426
2427 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2428
2429         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2430
2431 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * output_linuxdoc.h:
2434         * output_plaintext.h:
2435         * output.h:
2436         * output_docbook.h: add #include statements
2437
2438 2003-11-05  José Matos  <jamatos@lyx.org>
2439
2440         * output_docbook.[Ch]:
2441         * output_latex.[Ch]:
2442         * output_linuxdoc.[Ch]:
2443         * output_plaintext.[Ch]: New files for output formats.
2444         * output.[Ch]: New file for helper functions.
2445
2446         * buffer.[Ch]:
2447         * paragraph_funcs.[Ch]: output functions moved to new files.
2448
2449         * outputparams.h: rename of latexrunparams.h
2450
2451         * LaTeX.[Ch]:
2452         * buffer.[Ch]:
2453         * bufferlist.[Ch]:
2454         * converter.[Ch]:
2455         * exporter.C:
2456         * paragraph.[Ch]:
2457         * paragraph_funcs.[Ch]:
2458         * paragraph_pimpl.[Ch]:
2459         * tabular.[Ch]: rename ascii to plaintext
2460         and LatexRunParams to OutputParams.
2461
2462 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2463
2464         * iterators.[Ch] (text): require bv argument
2465         * undo.C (recordUndo):
2466         * lyxfunc.C (dispatch):
2467         * bufferview_funcs.C (put_selection_at): adjust
2468
2469 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2470
2471         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2472
2473 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2474
2475         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2476         nestings
2477
2478 2003-11-04  André Pönitz  <poenitz@gmx.net>
2479
2480         * cursor.[Ch]: restructure
2481
2482         * BufferView.[Ch]:
2483         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2484
2485         * iterators.[Ch] (asCursor): remove
2486
2487         * lfuns.h: remove LFUN_INSET_EDIT
2488
2489         * lyxfunc.C:
2490         * tabular.C:
2491         * text.C:
2492         * text2.C:
2493         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2494
2495 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * lyxfind.[Ch]: complete overhaul
2498         * BufferView_pimpl.C:
2499         * lyxfunc.C: adjust
2500         * paragraph.[Ch] (insert): add
2501
2502 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2503
2504         * BufferView.[Ch]:
2505         * lyxtext.h:
2506         * text.C: remove dead spellcheck code
2507
2508 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2509
2510         * dispatchresult.h: add a val setter
2511
2512         * cursor.C (dispatch): use a tempvar for data_[i]
2513
2514 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2515
2516         * PosIterator.[Ch]: compile fix
2517
2518 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2519
2520         * text.C (cursorPar): deactivate the cursor cache
2521
2522 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2523
2524         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2525
2526 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * text3.C (dispatch): adjust for new DisptchResult semantics.
2529
2530         * lyxfunc.C (dispatch): handle update when return from
2531         Cursor::dispatch, adjust for new DispatchResult semantics.
2532
2533         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2534         DispatchResult(true) mean to not update. Add class functions for
2535         setting dispatched and update, as well as reading.
2536
2537         * cursor.C (dispatch): don't handle update here
2538
2539 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2542         * trans_mgr.C: adjust
2543
2544         * paragraph_funcs.C (readParToken): exception safety
2545
2546         * lyxvc.h: store the vcs pointer in a scoped_ptr
2547         * lyxvc.C: adjust
2548
2549         * lyxsocket.C (serverCallback): exception safety
2550
2551         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2552
2553         * ispell.C (clone): make it return a auto_ptr
2554
2555         * factory.C (createInset): exception safety
2556         (readInset): exception safety
2557
2558         * bufferlist.C (newBuffer): exception safety
2559
2560         * Thesaurus.C (Thesaurus): use initialization for aik_
2561
2562         * MenuBackend.C (expandToc): exception safety.
2563
2564 2003-11-03  André Pönitz  <poenitz@gmx.net>
2565
2566         * buffer.C:
2567         * buffer.h:
2568         * bufferview_funcs.C: remove getInsetFromId()
2569
2570         * lyxcursor.[Ch]:
2571         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2572
2573         * lyxfunc.C:
2574         * text2.C:
2575         * text3.C: adjust
2576
2577 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * PosIterator.C (distance, advance): new
2580         * bufferview_funcs.[Ch] (put_selection_at): new
2581         * iterators.[Ch] (lockPath): new
2582
2583 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * iterators.[Ch] (asPosIterator): added
2586         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2587         * PosIterator.[Ch]: added
2588
2589 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2590
2591         * text3.C:
2592         * lyxfunc.C:
2593         * cursor.C (dispatch):
2594         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2595
2596         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2597         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2598         contructor, add a class function dispatched. Remove operator>=
2599
2600 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * debug.C: only use the default constructor for debugstream
2603         (lyxerr) here.
2604
2605         * main.C (main): include debug.h and setup the lyxerr streambuf
2606         here.
2607
2608 2003-10-31  José Matos  <jamatos@lyx.org>
2609
2610         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2611
2612         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2613         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2614         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2615         * paragraph_pimpl.C (simpleTeXSpecialC):
2616         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2617         add LatexRunParams argument.
2618
2619         * exporter.C (Export): change call accordingly.
2620
2621         * latexrunparams.h: add new member to take care of the other backends.
2622 2003-10-30  José Matos  <jamatos@lyx.org>
2623
2624         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2625         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2626         factorise code for paragraph output.
2627         * buffer.[Ch]:
2628         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2629         move functions.
2630
2631 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * text3.C (dispatch):
2634         * lyxfunc.C (dispatch):
2635         * cursor.C (dispatch):
2636         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2637
2638         * dispatchresult.h: make the dispatch_result_t ctor explicit
2639
2640 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * sgml.[Ch]:
2643         * buffer.C: small refactoring of docbook stuff
2644
2645 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2648         meaning.
2649
2650 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2653         operator dispatch_result_t, and operators for == != and >=
2654
2655         * cursor.C (dispatch): adjust for operator dispatch_result_t
2656         removal. comment out call to update
2657
2658         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2659
2660 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * text3.C:
2663         * text2.C:
2664         * text.C:
2665         * lyxtext.h:
2666         * lyxfunc.C:
2667         * cursor.C:
2668         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2669         (dispatch):
2670
2671         * dispatchresult.h: new file, DispatchResult broken out of
2672         insets/insetbase.h
2673
2674         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2675
2676 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2677
2678         * text.C (rowBreakPoint): put a hack inside #if 0
2679
2680 2003-10-28  André Pönitz  <poenitz@gmx.net>
2681
2682         * lyxtext.h:
2683         * metricsinfo.C:
2684         * paragraph_funcs.C:
2685         * rowpainter.C:
2686         * text.C:
2687         * text2.C: general cleanup (lots of small stuff)
2688
2689 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2690
2691         * text2.C (cursorEnd): simple fix to the "end key goes to one
2692         before the end on last row" bug
2693
2694 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * text.C (backspace): fix the "zombie characters"
2697
2698 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2701
2702 2003-10-27  André Pönitz  <poenitz@gmx.net>
2703
2704         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2705
2706         * factory.C: handle new InsetPagebreak, InsetLine
2707
2708         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2709         and move handling into new InsetPagebreak, InsetLine
2710
2711         * BufferView_pimpl.C:
2712         * LyXAction.C:
2713         * ParagraphParameters.C:
2714         * ParameterStruct.h:
2715         * lyxfunc.C:
2716         * lyxtext.h:
2717         * paragraph.C:
2718         * paragraph.h:
2719         * paragraph_funcs.C:
2720         * paragraph_pimpl.C:
2721         * rowpainter.C:
2722         * text.C:
2723         * text2.C:
2724         * text3.C: adjust
2725
2726 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * text.C:
2729         * lyxrow_funcs.[Ch]:
2730         * Bidi.C:
2731         * paragraph.C:
2732         * lyxtext.h:
2733         * rowpainter.C:
2734         * text2.C:
2735         * text3.C: remove lastPos uses in favour of Row::endpos
2736
2737 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * undo.C (performUndoOrRedo): fix two crashes by setting a
2740         cursor by hand and reordering some calls. Use bv->lockInset instead
2741         of inset->edit because the latter loses cursor information
2742
2743 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2746         by Martin
2747         (rowBreakPoint): fix width. change point to point + 1.
2748         Add a missing check.
2749
2750 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2751
2752         * MenuBackend.C:
2753         * lyxfunc.C: fix (at least partly) the problems
2754         with the Nav menu and headers inside branch insets
2755         reported by Kayvan
2756
2757 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2758
2759         * paragraph.C (getChar): add strong asserts
2760
2761         * lyxrow_funcs.C (lastPos): remove hideous hack
2762
2763         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2764         (fill): adjust to that (avoid an infinite loop)
2765
2766 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2769
2770 2003-10-23  André Pönitz  <poenitz@gmx.net>
2771
2772         * RowList_fwd.h: change list<> to vector<> to gain speed
2773         after suggestion from Alfredo
2774
2775 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * lyxtext.h: move the bidi stuff from here...
2778         * text.C: and here
2779         * text2.C: and here
2780         * Bidi.[Ch]: ... to here
2781
2782 2003-10-23  André Pönitz  <poenitz@gmx.net>
2783
2784         * lyxtext.h:
2785         * text.C (isLastRow, isFirstRow): new functions
2786
2787         * paragraph.h: new width cache member
2788
2789         * rowpainter.C: replace RowList::iterator with Row & where possible
2790
2791         * lyxfunc.C: replace several view()->text with a single call
2792
2793         * toc.C: fix 'unused' warning
2794
2795 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2798         when woring with stream::pos_type
2799         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2800
2801 2003-10-22  André Pönitz  <poenitz@gmx.net>
2802
2803         * lyxtext.h:
2804         * text.C: use Row & instead of RowList::iterator
2805
2806         * lyxrow.h: rename end() to endpos()
2807
2808         * rowpainter.C:
2809         * text.C:
2810         * text2.C: adjust
2811
2812 2003-10-22  Angus Leeming  <leeming@lyx.org>
2813
2814         * buffer.[Ch] (fully_loaded): new member function, returning true
2815         only when the file has been loaded fully.
2816         Used to prevent the premature generation of previews and by the
2817         citation inset to prevent computation of the natbib-style label.
2818
2819         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2820         templates are all set up.
2821
2822         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2823
2824 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2825
2826         * text.C: fixed an "oops" in the "is a bit silly"
2827         bug fix
2828
2829 2003-10-21  André Pönitz  <poenitz@gmx.net>
2830
2831         * FuncStatus.[Ch]: small stuff, whitespace
2832
2833         * lyxfont.[Ch]: operator<<() for debug reasons
2834
2835         * lyxfunc.C:
2836         * lyxrow_funcs.C:
2837         * lyxtext.h: whitespace, spelling
2838
2839         * paragraph.C: naming of variables
2840
2841         * text.C:
2842         * text2.C: small stuff
2843
2844
2845 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2846
2847         * text.C: (1) finish off the inset display() work;
2848         (2) fix the "is a bit silly" bug (accessing char
2849         past end of par).
2850
2851 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2852
2853         * text.C: re-introduce display() for insets, fixing the
2854         various bugs (stretch of line above, math inset
2855         positioning, ...)
2856
2857 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2858
2859         * text.C (rightMargin): remove spurious semicolon
2860
2861         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2862         1415)
2863
2864 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2865
2866         * text3.C: fix one crash due to wrong cursor def
2867
2868 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * vc-backend.C (scanMaster): make the regex static
2871
2872         * LaTeX.C (scanAuxFile): make the regexs static
2873
2874         * text3.C (doInsertInset, dispatch, dispatch):
2875         * text2.C (cursorUp, cursorDown):
2876         * text.C (selectNextWordToSpellcheck):
2877         * BufferView_pimpl.C (dispatch):
2878         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2879
2880 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2881
2882         * lyxsocket.C: include <cerrno>
2883
2884 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2885
2886         * lyxfunc.C (dispatch): remove textcache stuff
2887
2888         * bufferlist.C (release): remove textcache stuff
2889         (closeAll): ditto
2890
2891         * TextCache.C: delete file
2892         * TextCache.h: delete file
2893
2894         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2895
2896         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2897         delete of the bv_->text.
2898         (resizeCurrentBuffer): remove texcache stuff
2899         (workAreaResize): ditto
2900
2901 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2904         action.
2905
2906 2003-10-16  André Pönitz  <poenitz@gmx.net>
2907
2908         * lyxrow.[Ch]:
2909         * paragraph.h:
2910         * rowpainter.C:
2911         * text.C:
2912         * text2.C:
2913         * text3.C: speed up by storing y positions per paragraph plus per-row
2914         offset instead of having a 'full' y position in the row.
2915
2916 2003-10-15  André Pönitz  <poenitz@gmx.net>
2917
2918         * iterators.[Ch]:
2919         * iterators.[Ch]:
2920         * undo.[Ch]: make undo aware of inner insets
2921
2922 2003-10-14  Angus Leeming  <leeming@lyx.org>
2923
2924         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2925         static member functions LyX::ref() and LyX::cref.
2926         (lastfiles): new accessor functions for the new lastfiles_ member var.
2927         (addLyXView, views_): add a new LyXView to the list of views_.
2928         (updateInset): loop over all LyXViews to call their own updateInset
2929         member function, returning a pointer to the Buffer owning the inset.
2930
2931         * BufferView_pimpl.C (loadLyXFile):
2932         * MenuBackend.C (expandLastfiles):
2933         * bufferlist.C (MenuWrite, QuitLyX):
2934         lastfiles is no longer a global variable.
2935         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2936
2937         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2938         static function. Access through LyX::cref().emergencyCleanup().
2939
2940 2003-10-14  André Pönitz  <poenitz@gmx.net>
2941
2942         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2943
2944         * undo.[Ch]: restoring part of 'undo in insets'
2945
2946         * Makefile.am:
2947         * undo_funcs.[Ch]: merge with undo.[Ch]
2948
2949         * tabular.C: small cleansing stuff
2950
2951 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * paragraph_funcs.C (readParToken): report unknown insets as error
2954         boxes. Use the outer paragraph as location (also for unknown
2955         tokens).
2956
2957         * factory.C (readInset): do not abort on reading an unknown inset.
2958         Eat it and return 0.
2959
2960 2003-10-13  Angus Leeming  <leeming@lyx.org>
2961
2962         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2963
2964         * lyxrc.C: displayTranslator is now a function,
2965         declared in GraphicsTypes.h.
2966
2967 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2968
2969         * format.C: new placeholder $$a to pass the socket address.
2970
2971         * bufferlist.[Ch]: new function getBufferFromTmp.
2972
2973         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2974           files in the temporary dir.
2975
2976 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2977
2978         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2979
2980         * Makefile.am: add lyxsocket.[Ch].
2981
2982         * lyx_main.C (error_handler): handle SIGPIPE.
2983
2984 2003-10-13  André Pönitz  <poenitz@gmx.net>
2985
2986         * BufferView_pimpl.C:
2987         * lyxtext.h:
2988         * text.C:
2989         * text2.C:
2990         * text3.C:
2991         * undo_funcs.[Ch]: use paroffset_type instead of
2992           ParagraphList::iterators to prevent multiple conversion
2993           (and get a more robust interface)
2994
2995 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2998         * lyxtext.h: ditto
2999         * text3.C (dispatch): ditto
3000
3001 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3004         move the onlyfile, use onlyfile instead of foundfile in a couple
3005         of places.
3006
3007         * DepTable.C (update): flush the error stream a bit more
3008
3009 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * lyxserver.C (callback): adjust
3012
3013         * lyxfunc.C (getStatus): add a missing brace in commented code
3014         (ensureBufferClean): reindent
3015         (dispatch): delete version taking a string
3016
3017 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * LaTeX.C (deplog): move found file handlig from here...
3020         (handleFoundFile): .. to new function here.
3021         (deplog): make sure to discover several files mentioned on the
3022         same log line.
3023
3024 2003-10-10  André Pönitz  <poenitz@gmx.net>
3025
3026         * lyxfunc.C:
3027         * lyxtext.h:
3028         * tabular.C:
3029         * text.C:
3030         * text2.C:
3031         * text3.C: fix some of the tabular crashes
3032
3033 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3034
3035         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3036
3037         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3038
3039 2003-10-09  André Pönitz  <poenitz@gmx.net>
3040
3041         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3042
3043         * BufferView.C:
3044         * BufferView_pimpl.C:
3045         * bufferview_funcs.C:
3046         * lyx_cb.C:
3047         * lyxcursor.C:
3048         * lyxfind.C:
3049         * lyxfunc.C:
3050         * lyxtext.h:
3051         * text.C:
3052         * text2.C:
3053         * text3.C:
3054         * text_funcs.[Ch]:
3055         * textcursor.[Ch]:
3056         * undo_funcs.C: adjust
3057
3058 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * text2.C (incrementItemDepth): new function, use a backtracking
3061         algorithm to discover the correct item depth.
3062         (resetEnumCounterIfNeeded): new function, use a backtracking
3063         algorithm to discover if counter reset is needed.
3064         (setCounter): use them. Simplify a bit. Add different labels for
3065         different item depths for itemize.
3066
3067         * paragraph.C (Paragraph): remove initialization of enumdepth
3068         (operator=): ditto
3069
3070         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3071         enumerate and itemize. Change the type of itemdepth to signed char.
3072
3073 2003-10-08  André Pönitz  <poenitz@gmx.net>
3074
3075         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3076           thing assignable.
3077         * text.C:
3078         * text2.C: adjust
3079
3080         * tabular.[Ch]: fix crash after 'row-insert'
3081
3082 2003-10-08  Angus Leeming  <leeming@lyx.org>
3083
3084         Fix doxygen warnings.
3085
3086         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3087         Remove CutAndPaste:: prefix from header file declaration.
3088
3089         * LColor.h (fill): remove LColor:: prefix from declaration.
3090
3091         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3092         use lyx::depth_type rather than Paragraph::depth_type so that
3093         header file and .C file match.
3094
3095         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3096
3097         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3098         * aspell.C: \file aspell_local.C -> \file aspell.C
3099         * gettext.C: \file gettext.C -> \file src/gettext.C
3100         * gettext.h: \file gettext.h -> \file src/gettext.h
3101         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3102         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3103         * text.C: \file text.C -> \file src/text.C
3104
3105         * toc.C: move comment so that doxygen is not confused.
3106
3107 2003-10-07  Angus Leeming  <leeming@lyx.org>
3108
3109         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3110
3111 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3112
3113         * aspell.C:
3114         * aspell_local.h: add forgotten std::string's.
3115
3116 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3117
3118         * LaTeXFeatures.C:
3119         * LyXAction.C:
3120         * factory.C:
3121         * lfuns.h:
3122         * lyxfunc.C:
3123         * text3.C: The Box patch. Fancybox support, minipage, parbox
3124
3125 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3126
3127         * CutAndPaste.h:
3128         * DepTable.h:
3129         * FloatList.h:
3130         * LaTeXFeatures.h:
3131         * ParagraphParameters.h:
3132         * TextCache.h:
3133         * Thesaurus.h:
3134         * bufferlist.h:
3135         * exporter.h:
3136         * importer.h:
3137         * lastfiles.h:
3138         * lyxfind.h:
3139         * lyxfont.h:
3140         * lyxlex.h:
3141         * lyxtextclasslist.h:
3142         * messages.h:
3143         * paragraph.h:
3144         * paragraph_pimpl.C:
3145         * textcursor.h: add <string> and other small fixes to make Lars'
3146         std::string patch compile with STLport.
3147
3148 2003-10-06  Angus Leeming  <leeming@lyx.org>
3149
3150         * LColor.h: Add missing #include <string>.
3151
3152 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * All most all file in all subdirs: Make <string> be the prefered
3155         way of getting to std::string, add using declarations.
3156
3157 2003-10-06  André Pönitz  <poenitz@gmx.net>
3158
3159         * metricsinfo.C: initialize LyXFont before changing attribute.
3160         (fixes the 'math in \emph is upright' bug)
3161
3162 2003-10-06  André Pönitz  <poenitz@gmx.net>
3163
3164         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3165
3166 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3167
3168         * graph.C:
3169         * paragraph_pimpl.C: Small fixes to build using STLport
3170
3171 2003-10-02  André Pönitz  <poenitz@gmx.net>
3172
3173         * lyxfunc.C:
3174         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3175
3176 2003-10-01  André Pönitz  <poenitz@gmx.net>
3177
3178         * factory.C: assert early
3179
3180 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * lyx_main.C: remove the global debug object
3183
3184         * debug.h: adjust for new debugstream
3185
3186         * debug.C: adjust for new debugstream and keep the global debug
3187         object here.
3188
3189 2003-09-22  Angus Leeming  <leeming@lyx.org>
3190
3191         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3192         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3193         an incomplete class LyXFont.
3194
3195 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * factory.C: bug fix in branches
3198
3199 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * lyxfunc.C (processKeySym): adjust
3202         (dispatch): adjust
3203         (dispatch): change arg name from ev to func, adjust
3204         (sendDispatchMessage): ditto
3205
3206         * lyx_main.C (defaultKeyBindings): adjust keybindings
3207         (deadKeyBindings): ditto
3208
3209         * kbsequence.C (addkey): return a FuncRequest
3210
3211         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3212
3213         * kbmap.C (bind): take a FuncRequest as arg, adjust
3214         (read): adjust
3215         (lookup): adjust
3216         (defkey): change to take a FuncRequest as arg, adjust
3217         (findbinding): take a FuncRequest as arg, adjust.
3218
3219         * funcrequest.h (operator=): added
3220
3221         * funcrequest.C (FuncRequest): default kb_action changed from
3222         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3223
3224         * buffer.C (dispatch): simplify
3225         (dispatch): adjust to take a FuncRequest as arg, adjust
3226
3227         * boost.C (assertion_failed): change assertion message slightly
3228
3229         * ToolbarBackend.C (read): simplify
3230
3231         * MenuBackend.C (binding): adjust call to findbinding, add a
3232         message if no binding is found.
3233         (read): simplify
3234         (expandToc): correct by adding a empty FuncRequest
3235
3236         * LyXAction.C: include <boost/assert.hpp>
3237         (isPseudoAction): delete function
3238         (LookupFunc): change name to...
3239         (lookupFunc): this. change return type to FuncRequest.
3240         (getActionName): take kb_action as arg, simplify
3241         (funcHasFlag): add an assert, simplify.
3242
3243 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * toc.C (action): return a FuncRequest, simplify
3246
3247         * lyxfunc.C (processKeySym): adjust
3248         (getStatus): delete version that takes an int.
3249         (getStatus): adjust
3250         (dispatch): delete version that takes action as int
3251         (dispatch): adjust
3252         (sendDispatchMessage): simplify and adjust
3253
3254         * funcrequest.C (getArg): take unsigned int as arg
3255
3256         * ToolbarBackend.C (read): adjust
3257         (add): delete version that takes func as a string.
3258         (getIton): take a FuncRequest as arg
3259
3260         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3261         action.
3262
3263         * MenuBackend.C (MenuItem): add a new construct that only takes a
3264         Kind, simplify the constructor use for submenus.
3265         (add): adjust
3266         (expandLastfiles): adjust
3267         (expandDocuments): adjust
3268         (expandFormats): adjust
3269         (expandFloatListInsert): adjust
3270         (expandFloatInsert): adjust
3271         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3272
3273         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3274         Remove class variables lyx_pseudo_map and lyx_arg_map
3275
3276         * LyXAction.C (searchActionArg): delete function
3277         (getPseudoAction): delete function
3278         (retrieveActionArg): delete function
3279         (LookupFunc): make it return kb_action, simplify.
3280         (getActionName): simplify
3281
3282         * factory.C (createInset): fix new bug
3283
3284 2003-09-19  Angus Leeming  <leeming@lyx.org>
3285
3286         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3287         masterFilename_ parameter in the include inset.
3288
3289         * factory.C (createInset): changes due to the changes to InsetInclude.
3290
3291 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3292
3293         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3294
3295 2003-09-18  Angus Leeming  <leeming@lyx.org>
3296
3297         * buffer.C:
3298         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3299         Inset::fillWithBibKeys.
3300         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3301
3302 2003-09-18  Angus Leeming  <leeming@lyx.org>
3303
3304         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3305         variables.
3306         (ctor): pass and store a 'Buffer const &'
3307         (buffer): new member function.
3308
3309         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3310         '*this' to the LaTeXFeatures ctor.
3311
3312 2003-09-18  Angus Leeming  <leeming@lyx.org>
3313
3314         * LColor.h:
3315         * lyxfont.C:
3316         * lyxfont.h:
3317         * lyxtext.h:
3318         * text.C: rename EnumLColor as LColor_color.
3319
3320 2003-09-18  Angus Leeming  <leeming@lyx.org>
3321
3322         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3323         remove #include "insets/insetbase.h" from cursor.h.
3324
3325 2003-09-18  Angus Leeming  <leeming@lyx.org>
3326
3327         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3328         InsetOld_code to remove #include "inset.h".
3329
3330         * iterators.C: add #include "insets/inset.h"
3331
3332 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3333
3334         * BufferView.C: remove more locking stuff that apparently doesn't
3335         do anything sensible.
3336
3337 2003-09-16  André Pönitz  <poenitz@gmx.net>
3338
3339         * paragraph.[Ch]:
3340         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3341           performance boost.
3342
3343 2003-09-16  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3346
3347         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3348         arg/return type.
3349
3350         * paragraph.h: remove #include "lyxfont.h". Forward declare
3351         LyXFont_size.
3352
3353 2003-09-16  Angus Leeming  <leeming@lyx.org>
3354
3355         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3356         of support/textutils.h.
3357         (isWord): move the contents of support/textutils.h's IsWordChar here.
3358
3359         * buffer.C:
3360         * lyxfind.C:
3361         * rowpainter.C:
3362         * text.C:
3363         * text2.C: add #include "paragraph.h".
3364
3365         * rowpainter.C:
3366         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3367
3368 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * main.C:
3371         * lyx_main.C:
3372         * lyx_cb.C:
3373         * buffer.C:
3374         * LaTeX.C: use namespace alias for lyx::support::os
3375
3376 2003-09-16  Angus Leeming  <leeming@lyx.org>
3377
3378         * bufferparams.C:
3379         * bufferview_funcs.C:
3380         * factory.C:
3381         * lyxfunc.C:
3382         * paragraph_pimpl.C:
3383         * rowpainter.C:
3384         * text.C: add #include "LColor.h".
3385
3386 2003-09-16  Angus Leeming  <leeming@lyx.org>
3387
3388         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3389         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3390         return LyXFont &.
3391         Store the FontBits::color variable as an int rather than as an
3392         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3393         file.
3394
3395         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3396         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3397         string calls together.
3398
3399         * lyxrc.C: add #include "LColor.h".
3400
3401 2003-09-15  Angus Leeming  <leeming@lyx.org>
3402
3403         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3404         a cow_ptr.
3405
3406 2003-09-15  Angus Leeming  <leeming@lyx.org>
3407
3408         * LColor.h: add an EnumLColor wrapper for LColor::color.
3409
3410         * lyxfont.[Ch] (color, setColor, realColor):
3411         * lyxtext.h, text.C (backgroundColor):
3412         pass EnumLColor args to/from the functions, rather than LColor::color
3413         ones.
3414
3415         * lyxfont.h:
3416         * lyxtext.h: forward declare EnumLColor.
3417
3418         * lyx_main.C: add #include "LColor.h".
3419
3420 2003-09-15  Angus Leeming  <leeming@lyx.org>
3421
3422         * .cvsignore: add lyx-gtk.
3423
3424 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * Chktex.C
3427         * LaTeX.C
3428         * LaTeXFeatures.C
3429         * ParagraphParameters.C
3430         * Spacing.C
3431         * buffer.C
3432         * bufferparams.C
3433         * bufferview_funcs.C
3434         * chset.C
3435         * counters.C
3436         * funcrequest.C
3437         * lyxfont.C
3438         * lyxgluelength.C
3439         * lyxlength.C
3440         * paragraph.C
3441         * paragraph_funcs.C
3442         * text3.C
3443         * vc-backend.C: remove usage of STRCONV
3444
3445 2003-09-15  Angus Leeming  <leeming@lyx.org>
3446
3447         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3448         explicitly define the color passed to the painter.
3449
3450 2003-09-15  Angus Leeming  <leeming@lyx.org>
3451
3452         * bufferparams.C (BufferParams): reorder member initializers to avoid
3453         compiler warning.
3454
3455 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3456
3457         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3458         * text.C (updateRowPositions): remove an unusual nop
3459
3460 2003-09-12  André Pönitz  <poenitz@gmx.net>
3461
3462         * BufferView_pimpl.C:
3463         * Bullet.C:
3464         * layout.h:
3465         * lyxfunc.C:
3466         * lyxlayout.[Ch]:
3467         * lyxtextclass.C:
3468         * rowpainter.C:
3469         * text.C:
3470         * text2.C:
3471         * Counters.[Ch]: finish the 'automatic counters' job
3472
3473 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3474
3475         * aspell.C: include <boost/assert.cpp> (compile fix)
3476
3477 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3478
3479         * boost.C (assertion_failed): use lyx::support::abort instead of
3480         assert.
3481
3482 2003-09-10  Angus Leeming  <leeming@lyx.org>
3483
3484         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3485         with their _fwd progeny.
3486
3487 2003-09-09  Angus Leeming  <leeming@lyx.org>
3488
3489         134 files throughtout the source tree: replace 'using namespace abc;'
3490         directives with the appropriate 'using abc::xyz;' declarations.
3491
3492 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3493
3494         * boost.C (emergencyCleanup): moved here from LAssert.c
3495         (assertion_failed): new function, called by BOOST_ASSERT
3496
3497         * several files: change Assert to BOOST_ASSERT
3498
3499 2003-09-09  Angus Leeming  <leeming@lyx.org>
3500
3501         * buffer.[Ch]: Add an Impl class and move Buffer's member
3502         variables into it. As a result move several header files out of
3503         buffer.h.
3504
3505         Add header files to lots of .C files all over the tree as a result.
3506
3507 2003-09-09  Angus Leeming  <leeming@lyx.org>
3508
3509         * buffer.[Ch]: make Buffer's member variables private. Add
3510         accessor functions.
3511
3512         Lots of changes all over the tree as a result.
3513
3514 2003-09-08  Angus Leeming  <leeming@lyx.org>
3515
3516         * graph.C: #include <config.h>.
3517
3518 2003-09-08  Angus Leeming  <leeming@lyx.org>
3519
3520         * BranchList.C:
3521         * BufferView.C:
3522         * BufferView_pimpl.C:
3523         * CutAndPaste.C:
3524         * DepTable.C:
3525         * LaTeX.C:
3526         * LaTeXFeatures.C:
3527         * LyXAction.C:
3528         * MenuBackend.C:
3529         * TextCache.C:
3530         * aspell.C:
3531         * buffer.C:
3532         * bufferlist.C:
3533         * changes.C:
3534         * chset.C:
3535         * converter.C:
3536         * counters.C:
3537         * debug.C:
3538         * graph.C:
3539         * ispell.C:
3540         * lyx_cb.C:
3541         * lyxfind.C:
3542         * lyxfunc.C:
3543         * lyxlex_pimpl.C:
3544         * lyxrc.C:
3545         * lyxrow.C:
3546         * paragraph.C:
3547         * rowpainter.C:
3548         * texrow.C:
3549         * text.C:
3550         * text2.C:
3551         * toc.C: remove redundant using directives.
3552
3553 2003-09-07  Angus Leeming  <leeming@lyx.org>
3554
3555         * LaTeXFeatures.h: remove #include "support/types.h".
3556         * ToolbarBackend.h: remove #include <algorithm>.
3557         * changes.h: remove #include <ctime>.
3558         * debug.h: remove #include <iosfwd>.
3559         * graph.h: remove #include "support/std_string.h".
3560         * lyx_main.h: remove #include <csignal>.
3561         * lyxlex_pimpl.h: remove #include <fstream>.
3562         * sgml.h: remove #include <algorithm>, <utility>.
3563         * toc.h: remove #include "support/std_ostream.h".
3564         Add #include <iosfwd>.
3565
3566 2003-09-07  Angus Leeming  <leeming@lyx.org>
3567
3568         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3569
3570         * converter.h: forward declare LatexRunParams.
3571         * encoding.h: remove #include "lyxrc.h".
3572         * lyxtext.h: remove #include "LColor.h".
3573         * lyxtextclass.h: remove #include "support/types.h".
3574         * trans.h: remove #include "tex-accent.h".
3575         * trans_mgr.h: remove #include "tex-accent.h".
3576         * insets/inset.h: remove #include "support/types.h", <vector>.
3577         * insets/insetcollapsable.h: remove #include "LColor.h".
3578         * insets/insetinclude.h: remove #include "dimension.h".
3579         * insets/insetlatexaccent.h: remove #include "dimension.h".
3580         * insets/insetoptarg.h:: remove #include "insettext.h".
3581         * insets/insettext.h: remove #include "dimension.h",
3582         <boost/shared_ptr.hpp>
3583
3584         * insets/renderers.h: add #include "dimension.h".
3585         * insets/updatableinset.h: add #include "support/types.h".
3586
3587         * many .C files: Associated changes.
3588
3589 2003-09-06  Angus Leeming  <leeming@lyx.org>
3590
3591         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3592         one, inside testInvariant.
3593
3594         * PrinterParams.C: new file.
3595         * PrinterParams.[Ch]: move the function bodies out of line.
3596
3597 2003-09-06  Angus Leeming  <leeming@lyx.org>
3598
3599         * ParagraphParameters.h: forward declare ParameterStruct rather than
3600         including its header file.
3601         (depth): moved out-of-line.
3602
3603 2003-09-06  Angus Leeming  <leeming@lyx.org>
3604
3605         * BufferView_pimpl.h:
3606         * kbmap.h:
3607         * kbsequence.h:
3608         * lyxfunc.h: forward declare LyXKeySym rather than
3609         #include "frontends/LyXKeySym.h".
3610
3611         * BufferView_pimpl.C:
3612         * kbmap.C:
3613         * kbsequence.C:
3614         * lyxfunc.C: associated changes.
3615
3616 2003-09-06  Angus Leeming  <leeming@lyx.org>
3617
3618         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3619         As a result, can remove the #include "insets/inset.h" from BufferView.h
3620
3621 2003-09-06  Angus Leeming  <leeming@lyx.org>
3622
3623         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3624         As a result, can remove the #include "insets/inset.h" from BufferView.h
3625
3626 2003-09-06  Angus Leeming  <leeming@lyx.org>
3627
3628         * buffer_funcs.C:
3629         * buffer.h:
3630         * bufferlist.C:
3631         * BufferView.C:
3632         * bufferview_funcs.C:
3633         * BufferView_pimpl.C:
3634         * CutAndPaste.C:
3635         * lyx_cb.C:
3636         * lyxfunc.C:
3637         * paragraph.h:
3638         * ParagraphParameters.C:
3639         * tabular.C:
3640         * text3.C:
3641         * toc.C:
3642         * undo_funcs.C:
3643         * frontends/controllers/ControlDocument.C:
3644         * insets/insetcaption.C: rearrange the #includes into some sort of
3645         coherent order.
3646
3647         * buffer.h: remove #includes ErrorList.h, undo.h
3648
3649 2003-09-06  Angus Leeming  <leeming@lyx.org>
3650
3651         * support/types.h: add a 'depth_type' typedef, used to store the
3652         nesting depth of a paragraph.
3653
3654         * paragraph.h:
3655         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3656         defining explicitly.
3657
3658         * buffer.h:
3659         * paragraph_funcs.h:
3660         * ParagraphParameters.h:
3661         * sgml.h: use lyx::depth_type rather than Paragraph or
3662         ParameterStruct's depth_type.
3663
3664         * buffer.h
3665         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3666
3667         * BufferView.C:
3668         * BufferView_pimpl.C:
3669         * CutAndPaste.C:
3670         * ParagraphParameters.C:
3671         * buffer_funcs.C:
3672         * bufferlist.C:
3673         * bufferview_funcs.C:
3674         * lyx_cb.C:
3675         * lyxfunc.C:
3676         * tabular.C:
3677         * text3.C:
3678         * toc.C:
3679         * undo_funcs.C:
3680         * frontends/LyXView.C:
3681         * frontends/controllers/ControlDocument.C:
3682         * frontends/controllers/ControlErrorList.C:
3683         * insets/insetbibitem.C:
3684         * insets/insetbranch.C:
3685         * insets/insetcaption.C:
3686         * insets/insetcollapsable.C:
3687         * insets/insetenv.C:
3688         * insets/insetert.C:
3689         * insets/insetfloat.C:
3690         * insets/insetfoot.C:
3691         * insets/insetfootlike.C:
3692         * insets/insetnewline.C:
3693         * insets/insetquotes.C:
3694         * insets/insettabular.C:
3695         * insets/insettext.C:
3696         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3697
3698         * frontends/controllers/ControlChanges.C: #include "changes.h".
3699
3700 2003-09-06  Angus Leeming  <leeming@lyx.org>
3701
3702         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3703         than #including paragraph.h.
3704
3705         * ParagraphList.h:
3706         * RowList.h: deleted. Superfluous.
3707
3708         * CutAndPaste.h:
3709         * iterators.h:
3710         * lyxcursor.h:
3711         * lyxtext.h:
3712         * text_funcs.h:
3713         * undo.h:
3714         * undo_funcs.h:
3715         * insets/inset.h:
3716         * insets/insettext.h: use ParagraphList_fwd.h rather than
3717         ParagraphList.h.
3718
3719         * paragraph.h: don't forward declare ParagraphList.
3720
3721         * buffer.h:
3722         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3723         rather than ParagraphList.h. paragraph.h is still needed for the
3724         Paragraph::depth_type parameters.
3725
3726         * textcursor.h: enable it to compile stand-alone in light of the
3727         above changes.
3728
3729         * bufferview_funcs.C:
3730         * iterators.C:
3731         * lyxfunc.C:
3732         * lyxrow_funcs.C:
3733         * paragraph.C:
3734         * rowpainter.C:
3735         * text.C:
3736         * text2.C:
3737         * text3.C:
3738         * text_funcs.C:
3739         * textcursor.C:
3740         * undo.C:
3741         * frontends/controllers/ControlParagraph.C:
3742         * frontends/controllers/ControlTabular.C:
3743         * insets/insetmarginal.C:
3744         * insets/insetminipage.C:
3745         * insets/insetnote.C:
3746         * insets/insetoptarg.C: add header files needed to compile again.
3747
3748 2003-09-06  Angus Leeming  <leeming@lyx.org>
3749
3750         * RowList_fwd.h: new file, forward-declaring Row rather than
3751         #including lyxrow.h.
3752
3753         * lyxrow_funcs.h:
3754         * lyxtext.h:
3755         * paragraph.h:
3756         * insets/insettext.h: use it instead of RowList.h
3757
3758         * bufferview_funcs.C:
3759         * lyxfunc.C:
3760         * lyxrow_funcs.C:
3761         * paragraph.C:
3762         * rowpainter.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C: #include "RowList.h".
3766
3767 2003-09-05  Angus Leeming  <leeming@lyx.org>
3768
3769         * factory.C (createInset):
3770         * vspace.C (c-tor): replace sscanf call with an istringstream.
3771         * ispell.C: re-add missing HP/UX headers.
3772         * lyxserver.C: re-add missing  os2 headers.
3773
3774 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3775
3776         * BranchList.C:
3777         * graph.C:
3778         * ispell.C:
3779         * lastfiles.C:
3780         * lyx_cb.C:
3781         * lyxserver.C:
3782         * texrow.C:
3783         * text3.C: re-add missing system headers, needed for 2.95.2.
3784
3785 2003-09-05  Angus Leeming  <leeming@lyx.org>
3786
3787         Changes most place everywhere due to the removal of using directives
3788         from support/std_sstream.h.
3789
3790 2003-09-05  Angus Leeming  <leeming@lyx.org>
3791
3792         Replace LString.h with support/std_string.h,
3793         Lsstream.h with support/std_sstream.h,
3794         support/LIstream.h with support/std_istream.h,
3795         support/LOstream.h with support/std_ostream.h.
3796
3797         Changes resulting throughout the tree.
3798
3799 2003-09-05  Angus Leeming  <leeming@lyx.org>
3800
3801         * sgml.h: ensure that the header file can be compiled stand-alone.
3802         * *.C: strip out redundant #includes. (320 in total.)
3803
3804 2003-09-04  Angus Leeming  <leeming@lyx.org>
3805
3806         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3807         here (from getPackages).
3808
3809         * debug.[Ch]: add a new EXTERNAL tag.
3810
3811 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3812
3813         * text2.C (cursorEnd): simplify
3814         (setCursor): adjust
3815         (getColumnNearX): adjust
3816
3817         * text.C (computeBidiTables): adjust
3818         (fill): adjust
3819
3820         * rowpainter.C (paintChars): adjust
3821         (paintSelection): adjust
3822         (paintChangeBar): adjust
3823         (paintText): adjust
3824
3825         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3826         lastPos instead.
3827         (numberOfSeparators): adjust
3828
3829 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3830
3831         * LyXAction.C:
3832         * box.[Ch]:
3833         * lfuns.h:
3834         * lyxfunc.C:
3835         * text3.C: Restricts the mouse click functionality
3836         of insets like bibtex, include, toc and floatlist to the visible
3837         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3838         up the dialogs. Cursor has to be in front of the inset (i.e.
3839         start of row) for this to function.
3840
3841 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3842
3843         * bufferview_funcs.C (currentState): output row information
3844
3845 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3846
3847         * bufferview_funcs.C (currentState): output paragraph position
3848
3849 2003-09-04  Angus Leeming  <leeming@lyx.org>
3850
3851         * FloatList.h: move out #include "Floating.h".
3852         * LaTeX.h: move out #include "DepTable.h".
3853         * LyXAction.h: move out #include "funcrequest.h".
3854         * buffer.h: move out #include "author.h", "iterators.h".
3855         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3856         * lyx_main.h: move out #include "errorlist.h".
3857         * lyxfunc.h: move out #include "FuncStatus.h".
3858         * lyxtext: move out #include "lyxcursor.h".
3859         * paragraph_pimpl.h: move out #include "counters.h".
3860
3861 2003-09-03  Angus Leeming  <leeming@lyx.org>
3862
3863         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3864         preamble_snippets list, enabling us to add snippets to the preamble
3865         only if the snippet was not there already.
3866
3867 2003-09-04  Angus Leeming  <leeming@lyx.org>
3868
3869         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3870
3871 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3874         update
3875
3876 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3877
3878         * BranchList.C: point fix, earlier forgotten
3879
3880 2003-09-02  Angus Leeming  <leeming@lyx.org>
3881
3882         * box.C (contains): renamed from 'contained' after a fantastic
3883         amount of hot air.
3884
3885 2003-09-02  John Levon  <levon@movementarian.org>
3886
3887         * BufferView.C:
3888         * lyxcursor.h:
3889         * lyxcursor.C:
3890         * lyxfunc.C:
3891         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3892
3893 2003-09-02  John Levon  <levon@movementarian.org>
3894
3895         * text2.C: simplification of cursorEnd(), including partial
3896         fix for bug 1376
3897
3898 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * buffer.C (readFile): add a space
3901
3902 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3903
3904         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3905
3906 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * buffer.C (readFile): new function, take a filename and a
3909         ParagraphList::iterator
3910         (readFile): adjust
3911         (readFile): adjust, make it private. don't use setStream, make
3912         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3913         always contain the filename.
3914
3915         * BufferView.C (insertLyXFile): simplify and make it work for
3916         gzipped files.
3917
3918 2003-08-30  John Levon  <levon@movementarian.org>
3919
3920         * Makefile.am: fix dist (from Kayvan)
3921
3922 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * most files: change to use const Buffer refs
3925
3926 2003-08-27  André Pönitz  <poenitz@gmx.net>
3927
3928         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3929         on top of ownerPar().
3930
3931 2003-08-27  John Levon  <levon@movementarian.org>
3932
3933         * funcrequest.C: properly initialise POD members
3934
3935 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * lyxtext.h (top_y): move top_y from here
3938         * text.C:
3939         * text2.C:
3940         * text3.C:
3941         * BufferView.[Ch]:
3942         * BufferView_pimpl.[Ch]: to here
3943         * frontends/screen.C:
3944         * insets/insettabular.C:
3945         * insets/insettext.C: adjust
3946         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3947
3948 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * BufferView.[Ch]:
3951         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3952
3953 2003-08-26  André Pönitz  <poenitz@gmx.net>
3954
3955         * paragraph_func.[Ch] (outerPar): new function
3956
3957         * paragraph.C:
3958         * paragraph_funcs.C:
3959         * paragraph_funcs.h:
3960         * paragraph_pimpl.C:
3961         * text2.C: remove Inset::par_owner
3962
3963 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3964
3965         * lyxrow_funcs.C:
3966         * lyxtext.h:
3967         * text.C:
3968         * text2.C: eliminates the needFullRow/display() stuff
3969         altogether, putting the logic in metrics/draw in the insets.
3970
3971 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * text2.C (redoParagraphInternal, redoParagraphs):
3974         * text.C (redoParagraph): add a call to updateRowPositions at the
3975         end of each 'metrics-like' call. Remove all others.
3976         (getRow): remove the 'y-computing' version.
3977         (getRowNearY): do not compute nor return the real y. Solve the
3978         'y < 0' problem and simplify.
3979
3980 2003-08-22  Angus Leeming  <leeming@lyx.org>
3981
3982         * *.[Ch]: clean-up of licence and author blurbs.
3983         Also move config.h out of a few .h files and into a few .C files.
3984
3985 2003-08-22  André Pönitz  <poenitz@gmx.net>
3986
3987         * lyxrow.[Ch]: add x_ and *fill_ members
3988
3989         * lyxtext.h:
3990         * text.C:
3991         * rowpainter.C:
3992         * text2.C: adjust/remove prepareToPrint() calls
3993
3994 2003-08-22  André Pönitz  <poenitz@gmx.net>
3995
3996         * lyxrow.[Ch]: add  end_ member
3997
3998         * lyxrow_funcs.C: use LyXRow::end_
3999
4000         * lyxtext.h (singleWidth): add LyXFont parameter
4001
4002         * rowpainter.C:
4003         * text2.C: adjust LyXText::singleWidth() calls
4004
4005         * text.C (redoParagraph): simplify row breaking logic
4006
4007
4008 2003-08-19  André Pönitz  <poenitz@gmx.net>
4009
4010         * funcrequest.C: initialize button_ member
4011
4012         * text3.C:
4013         * rowpainter.[Ch]: interface consolidation
4014
4015 2003-08-18  André Pönitz  <poenitz@gmx.net>
4016
4017         * BufferView.C:
4018         * BufferView_pimpl.C:
4019         * lyxfind.C:
4020         * paragraph_funcs.C:
4021         * rowpainter.C:
4022         * text3.C: remove LyXScreen::draw() and fitCursor calls
4023
4024         * BranchList.h: remove spurious semicolons
4025
4026         * MenuBackend.C: fix branchlist related crash
4027
4028 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4029
4030         * BranchList.[Ch]:
4031         * InsetList.[Ch]:
4032         * LColor.[Ch]:
4033         * LyXAction.C:
4034         * Makefile.am:
4035         * MenuBackend.[Ch]:
4036         * bufferparams.[Ch]:
4037         * factory.C:
4038         * lfuns.h:
4039         * lyxfunc.C:
4040         * text3.C: implements the 'branch inset'
4041         idea. This allows the output of various versions of a document
4042         from a single source version, selectively outputing or suppressing
4043         output of parts of the text.
4044         This implementation contains a 'branch list editor' in a separate
4045         tab of the document settings dialog. Branches are user definable
4046         and have a "display colour" to distinguish them on-screen.
4047
4048         ColorHandler was somewhat cleaned up.
4049         (1) make possible a dynamically growing LColor list by allowing
4050         the graphic context cache to grow along (vector);
4051         (2) eliminate an IMHO unnecessary step in colour allocation.
4052
4053 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4054
4055         * BufferView_pimpl.C: compile fix
4056
4057 2003-08-15  André Pönitz  <poenitz@gmx.net>
4058
4059         * rowpainter.C: remove extra metrics calls
4060
4061         * lyxtext.h: merge the two constructors into a single one,
4062           pass reference to owner's par list
4063
4064         * BufferView_pimpl.C:
4065         * text.C:
4066         * text2.C: adjust
4067
4068 2003-08-15  André Pönitz  <poenitz@gmx.net>
4069
4070         * lyxrow_funcs.[Ch]:
4071         * lyxtext.h:
4072         * paragraph.h:
4073         * paragraph_funcs.C:
4074         * rowpainter.C:
4075         * text.C:
4076         * text2.C:
4077         * text3.C:
4078         * text_funcs.C: split LyXText::rowlist_ into individual
4079         Paragraph::rows_ chunks
4080
4081         * BufferView.[Ch]:
4082         * BufferView_pimpl.[Ch]:
4083         * lyxfind.C:
4084         * lyxtext.h:
4085         * text3.C: remove toggleSelection()
4086
4087 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4088
4089         * bufferlist.C: beautify two alerts (shorter text of buttons)
4090         * buffer.C: Remove redundant ' ' from message
4091         * tabular.h:
4092         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4093         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4094         rename VALIGN_CENTER to VALIGN_MIDDLE
4095
4096 2003-08-11  André Pönitz  <poenitz@gmx.net>
4097
4098         * lyxtext.h (getPar):
4099         * text.C: new function
4100
4101 2003-08-11  André Pönitz  <poenitz@gmx.net>
4102
4103         * Makefile.am:
4104         * tracer.[Ch]: remove unneeded files
4105
4106         * InsetList.[Ch]: remove resizeInsetsLyXText()
4107
4108         * lyxtext.h:
4109         * text.C:
4110         * text2.C:
4111         * text3.C: merge insertParagraphs() and appendParagraph()
4112         remove breakAgain(), update()
4113
4114         * BufferView_pimpl.[Ch]:
4115         * bufferview_funcs.[Ch]:
4116         * lyxfunc.C:
4117         * paragraph.[Ch]:
4118         * rowpainter.C:
4119         * tabular.C: adjust after text & InsetList changes.
4120
4121 2003-08-08  André Pönitz  <poenitz@gmx.net>
4122
4123         * text.C (insertChar, backspace): replace rowlist fiddling
4124         with rebreak of full par
4125
4126         * lyxtext.h:
4127         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4128         checkParagraph, updateInset): removed
4129
4130 2003-08-07  André Pönitz  <poenitz@gmx.net>
4131
4132         * paragraph.C:
4133         * text3.C: merge some LFUN handlers, remove dead code
4134
4135 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4136
4137         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4138
4139 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * text2.C (DEPM): fix part of bug 1255 and 1256
4142
4143 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4144
4145         * BufferView_pimpl.C (workAreaDispatch): change to use
4146         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4147         that are no mouse related.
4148
4149 2003-08-05  André Pönitz  <poenitz@gmx.net>
4150
4151         * BufferView.[Ch]:
4152         * BufferView_pimpl.[Ch]:
4153         * bufferview_funcs.C:
4154         * text2.C:
4155         * text3.C: rip out "deep update"
4156
4157         * textcursor.[Ch] (last_sel_cursor): remove unused member
4158
4159 2003-08-04  André Pönitz  <poenitz@gmx.net>
4160
4161         * BufferView.[Ch]:
4162         * BufferView_pimpl.[Ch]:
4163         * ParagraphParameters.C:
4164         * bufferview_funcs.C:
4165         * lyx_cb.C:
4166         * lyxfind.C:
4167         * lyxfunc.C:
4168         * text.C:
4169         * text2.C:
4170         * text3.C: replace "complicated" BufferView::update(...) calls with
4171         simpler ones.
4172
4173         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4174
4175 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4176
4177         * Makefile.am (lyx_SOURCES): add paper.h
4178
4179 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4180
4181         * Makefile.am: move things around so that both lyx-qt and
4182         lyx-xforms can be built (according to --with-frontend). Then lyx
4183         is a symbolic link to lyx-[firstfrontend]
4184
4185 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4186
4187         * Always use std::endl with lyxerr
4188
4189 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4190
4191         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4192
4193 2003-08-01  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView.[Ch]:
4196         * BufferView_pimpl.[Ch]:
4197         * lyxfunc.C:
4198         * text3.C: merge BufferView::repaint() and BufferView::update()
4199
4200 2003-08-01  José Matos  <jamatos@lyx.org>
4201
4202         * buffer.[Ch]: file_format is no longer a buffer data element.
4203
4204 2003-08-01  André Pönitz  <poenitz@gmx.net>
4205
4206         * BufferView.C:
4207         * lyxtext.h:
4208         * text.C:
4209         * text2.C: make redoParagraph more independent of current cursor
4210
4211         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4212         * text.C:
4213         * text2.C: remove unneeded members
4214
4215 2003-07-30  André Pönitz  <poenitz@gmx.net>
4216
4217         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4218
4219         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4220           create a single function...
4221
4222         * paragraph_funcs.C (moveItem): ... here.
4223
4224         * text.C:
4225           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4226
4227 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * LColor.[Ch]: Add comment and greyedout logical colors.
4230
4231 2003-07-30  André Pönitz  <poenitz@gmx.net>
4232
4233         * tabular.C: don't use Assert too heavily. This crashes where it
4234           shouldn't
4235
4236 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4239         is disabled (bug 1232)
4240
4241 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4242
4243         * factory.C: limited 'arg' scope
4244
4245 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4246
4247         * factory.C: fixed Note submenu issues
4248
4249 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4250
4251         * factory.C: submenu for Note/Comment/Greyedout
4252
4253 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4254
4255         * lyx_main.C (LyX):
4256         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4257
4258 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * LaTeXFeatures.C:
4261         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4262         greyedout. Patch provided by Jürgen Spitzmüller.
4263
4264 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4265
4266         * kbmap.C (read): fix error message when reading bind files
4267
4268 2003-07-29  Angus Leeming  <leeming@lyx.org>
4269
4270         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4271         certainly does not do what it purports to do. I am doing it, and
4272         us, a favour by killing it.
4273
4274 2003-07-28  José Matos  <jamatos@lyx.org>
4275
4276         * buffer.C (readBody, do_writeFile):
4277         * paragraph.C(readParagraph): \end_document replaces \the_end.
4278
4279 2003-07-29  André Pönitz  <poenitz@gmx.net>
4280
4281         * BufferView.[Ch]:
4282         * BufferView_pimpl.[Ch]:
4283         * lyxfunc.C:
4284         * text2.C:
4285         * text3.C:
4286         * textcursor.[Ch]: remove toggleToggle & Co
4287
4288 2003-07-28  José Matos  <jamatos@fep.up.pt>
4289
4290         * buffer.C (readParagraph):
4291         * params_func (readParToken, readParagraph):
4292         * paragraph.C (write): \layout -> \begin_layout.
4293
4294 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * lyxlex_pimpl.C (setFile): clean up slightly.
4297
4298         * bufferparams.h: add compressed var
4299
4300         * buffer_funcs.C (readFile): adjust for LyXLex change
4301         (newFile): ditto + simplify
4302
4303         * buffer.C (writeFile): handle writing of compressed files
4304
4305         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4306         Check if the file is compressed and set a bufferparm if so.
4307
4308         * Makefile.am (lyx_LDADD): remove explicit -lz
4309
4310 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4311
4312         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4313         makeDocBookFile): put the real LyX version in the first line of
4314         the file
4315
4316         * version.h:
4317         * version.C.in: remove lyx_docversion
4318
4319         * tabular.C (write_attribute): add a template-based version to
4320         write enums properly
4321
4322 2003-07-28  André Pönitz  <poenitz@gmx.net>
4323
4324         * lyxtext.h:
4325         * text.C:
4326         * text2.C:
4327         * text3.C: use doubles again for x-coordinates. They are needed.
4328
4329 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * messages.C (getLocaleDir): use lyx_localedir()
4332
4333         * lyxlex_pimpl.C (setFile): compress stuff
4334
4335         * buffer.C (writeFile): add some compression stuff
4336         (do_writeFile): new func, dont call expliti close... will this
4337         breake anything?
4338
4339         * Makefile.am (lyx_LDADD): add -lz
4340
4341 2003-07-28  José Matos  <jamatos@fep.up.pt>
4342
4343         * buffer.C: increment file format.
4344         * paragraph_funcs (readParagraph, readParToken):
4345         * paragraph.C (readParagraph): add \end_layout.
4346
4347 2003-07-27  Angus Leeming  <leeming@lyx.org>
4348
4349         * Makefile.am: remove special casing for configure-time setting of
4350         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4351
4352         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4353         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4354
4355 2003-07-26  André Pönitz  <poenitz@gmx.net>
4356
4357         * paragraph_func.[Ch]:
4358         * paragraph.C (realizeFont): inline it whereever it is used
4359
4360         * rowpainter.C:
4361         * text.C:
4362         * text2.C:
4363         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4364
4365
4366 2003-07-26  André Pönitz  <poenitz@gmx.net>
4367
4368         *       lyxtext.h:
4369         * text.C:
4370         * text2.C: get rid of LyXText::need_break_row
4371
4372 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * toc.[Ch]: put namespace toc inside namespace lyx
4375
4376         * MenuBackend.C (expandToc2): adjust for lyx::toc
4377         (expandToc): ditto
4378
4379         * lyxfunc.C (dispatch): adjust for lyx::find
4380
4381         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4382         lyx::find instead. Reorganize a bit.
4383         (LyXReplace): rename to replace
4384         (LyXFind): rename to find
4385
4386         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4387         (dispatch): ditto
4388
4389 2003-07-26  André Pönitz  <poenitz@gmx.net>
4390
4391         * text.C (setHeightOfRow): restrict scope of temporary variable
4392
4393         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4394           code (never has been used?)
4395
4396 2003-07-27  Asger Alstrup  <alstrup@local>
4397
4398         * text.C (fill): Optimise algorithm to exploit that we can reuse
4399         the LyXFont for many characters.
4400         (setHeightOfRow): Same thing.
4401         (rowBreakPoint): Same thing.
4402
4403 2003-07-26  Asger Alstrup  <alstrup@local>
4404
4405         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4406
4407         * text.C (singleWidth): Spurious font copying in hot-spot
4408         singleWidth avoided. Reorder tests for arabic for efficiency.
4409
4410         * text.C (fill): handle empty paragraphs better.
4411
4412 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4413
4414         * ispell.C:
4415         * encoding.h: add includes
4416
4417         * lyxrc.C: remove reading of bind files
4418
4419         * lyx_main.C (init): setup bindings and menus only if we have a
4420         gui.
4421
4422         * kbmap.C (read): new method. Do the actual reading of bind
4423         files.
4424
4425         * converter.C (dvipdfm_options):
4426         * bufferparams.C:
4427         * lyxrc.C (read):
4428         (output): adapt PAPER_* enums.
4429
4430         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4431
4432         * bufferparams.h: remove paper-related enums from there
4433
4434         * paper.h: New file. A trivial header file to hold paper-related
4435         enums. It should later expand to contain many paper-related
4436         horrors access.
4437
4438         * lyxrc.C: declare extern displayTranslator
4439
4440 2003-07-27  José Matos  <jamatos@fep.up.pt>
4441
4442         * tabular.[Ch] (linuxdoc): add support for tables and figures
4443         (linuxdoc).
4444
4445 2003-07-27  José Matos  <jamatos@fep.up.pt>
4446
4447         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4448         consistency in both functions.
4449         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4450
4451 2003-07-26  Asger Alstrup  <alstrup@local>
4452
4453         * rowpainter.C (paintRows): Change algorithm to work directly on
4454         the insets rather than asking every character in the document
4455         whether its an inset.
4456
4457 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4458
4459         * buffer.C (openFileWrite): factorize some code
4460
4461 2003-07-26  Angus Leeming  <leeming@lyx.org>
4462
4463         * lyx_cb.C:
4464         * lyx_main.[Ch]: replace occurances of system_tempdir with
4465         os::getTmpDir().
4466
4467 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * rename Inset to InsetOld
4470
4471 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4472
4473         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4474         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4475         which I think is a bit clearer. EDIT is gone, since it was
4476         premature optimisation, and broken for mathed anyway.
4477         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4478         with cursor positioning in insets as well (math insets still do not
4479         work, but that's a different story anyway.) It mysteriously
4480         crashes sometimes with undo in the first paragraph, but I'm fairly
4481         confident that this is a compiler bug.
4482
4483 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * paragraph.C (Paragraph): adjust for new clone return type
4486         (operator==): ditto
4487         (copyIntoMinibuffer): ditto
4488
4489 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4490
4491         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4492         by not having a special case, and always doing a full rebreak of
4493         the document after undo.
4494
4495 2003-07-23  Angus Leeming  <leeming@lyx.org>
4496
4497         * factory.C (createInset): InsetExternal::setParams now takes a
4498         Buffer const * arg.
4499
4500 2003-07-23  Angus Leeming  <leeming@lyx.org>
4501
4502         * factory.C (createInset): changed interface to the external and
4503         graphics mailers' string2params functions.
4504
4505 2003-07-23  Angus Leeming  <leeming@lyx.org>
4506
4507         * factory.C (createInset): pass a
4508         Buffer const * parameter to InsetExternalMailer's string2params.
4509
4510 2003-07-22  John Levon  <levon@movementarian.org>
4511
4512         * Thesaurus.h: include the right aiksaurus header
4513
4514 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4515
4516         * MenuBackend.C (expand): check menu shortcuts unconditionally
4517
4518 2003-07-21  Angus Leeming  <leeming@lyx.org>
4519
4520         * factory.C (createInset): pass a
4521         buffer_path parameter to InsetGraphicsMailer's string2params.
4522
4523 2003-07-21  Angus Leeming  <leeming@lyx.org>
4524
4525         * BufferView_pimpl.C (buffer):
4526         * buffer.C (d-tor):
4527         * lyx_main.C (LyX):
4528         * lyxfunc.C (dispatch):
4529         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4530         rather than the grfx shortcut.
4531
4532 2003-07-21  André Pönitz  <poenitz@gmx.net>
4533
4534         * rowpainter.C: remove unused variables
4535
4536         * tabular_funcs.C:
4537         * tabular_funcs.h: move to tabular.C
4538         * Makefile.am: adjust
4539
4540         * tabular.[Ch]: basic optical cleaning
4541
4542         * author.h: pass references, not values
4543
4544 2003-07-18  André Pönitz  <poenitz@gmx.net>
4545
4546         * lyxtext.h:
4547         * metricsinfo.C:
4548         * metricsinfo.h:
4549         * rowpainter.C:
4550         * text.C:
4551         * text2.C:
4552         * text3.C: two-phase drawing for InsetText and InsetTabular
4553         some float -> int changes.
4554
4555 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * lyx_main.C: fix the fix
4558
4559 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * lyx_main.C: fix a crash in batch mode if no files specified
4562         * converter.C: ws
4563
4564 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * format.[Ch] (papersize): moved to BufferParams
4567         * converter.[Ch] (dvips_options): moved to BufferParams
4568         (dvipdfm_options): moved to anon namespace
4569         * bufferparams.[Ch]: added above functions.
4570
4571 2003-07-17  André Pönitz  <poenitz@gmx.net>
4572
4573         * lyxtext.h:
4574         * rowpainter.C:
4575         * text2.C: don't call inset->update() anymore
4576
4577         * metricsinfo.[Ch]: add convenience constructor
4578
4579 2003-07-16  André Pönitz  <poenitz@gmx.net>
4580
4581         * lyxcursor.[Ch]:
4582         * lyxfunc.[Ch]:
4583         * text.C:
4584         * text2.C: replace the LyXCursor::irow_ member with
4585          on-demand computation of the value
4586
4587 2003-07-16  John Levon  <levon@movementarian.org>
4588
4589         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4590
4591 2003-07-15  André Pönitz  <poenitz@gmx.net>
4592
4593         * text.C:
4594         * text2.C: remove no more needed refresh_row
4595
4596 2003-07-15  André Pönitz  <poenitz@gmx.net>
4597
4598         * lyxtext.h:
4599         * rowpainter.C:
4600         * text2.C:
4601         * text3.C: refresh_status tristate -> need_update bool
4602
4603 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * lyxtext.h (init): remove reinit argument (act as if always true)
4606         * text2.C: adjust to that
4607
4608 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4609
4610         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4611         * text3.C: use it to delete selections in some cases
4612         (bugs 441, 673, 702, 954).
4613
4614 2003-07-14  André Pönitz  <poenitz@gmx.net>
4615
4616         * rowpainter.[Ch]: reduce interface
4617
4618 2003-07-14  André Pönitz  <poenitz@gmx.net>
4619
4620         * BufferView_pimpl.C:
4621         * text2.C: adjust after removing unused BufferView * argument
4622
4623 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * text2.C (init): fix a crash fired on resize
4626
4627 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * buffer.[Ch]: added new closing signal
4630         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4631         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4632         BufferView::Pimpl via the closing the signal
4633
4634 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4635
4636         * buffer.[Ch]: take out all bv-related from buffer
4637         * BufferView.C:
4638         * BufferView_pimpl.[Ch]: connect to new signals
4639         * CutAndPaste.C: removed useless asserts
4640         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4641         * lyxvc.[Ch]:
4642         * vc-backend.[Ch]:
4643         * lyxfunc.C: moved view-related funciontality from vc here
4644         * paragraph.C: removed outdated comments
4645         * text.C: ws
4646
4647 2003-07-10  André Pönitz  <poenitz@gmx.net>
4648
4649         * BufferView_pimpl.C:
4650         * tabular.h:
4651         * tabular_funcs.C:
4652         * text.C:
4653         * text2.C: remove InsetText::InnerCache, clean up consequences
4654
4655 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4656
4657         * ispell.C: fix two typos in error messages
4658
4659 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4660
4661         * Extend Note inset to other forms of annotation like Comment
4662         and Greyedout. Right button click gives dialog.
4663
4664         Files modified or added (+):
4665
4666         * insetnote.[Ch]
4667         * FormNote.[Ch]      +
4668         * ControlNote.[Ch]   +
4669         * form_note.fd       +
4670         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4671         frontends/controllers
4672         * xforms/Dialogs.C
4673         * factory.C
4674
4675 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4676
4677         * aspell.C: add missing namespace lyx::support
4678
4679 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * BufferView.[Ch] (newFile): Add
4682         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4683         * LaTeX.[Ch] (message): added this signal and use it
4684         * buffer.[Ch] (busy, message): added these signals and use them
4685         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4686         * converter.C:
4687         * exporter.C:
4688         * format.C:
4689         * importer.C: use buffer signals instead of direct bv calling
4690         * lyx_cb.[Ch] (ShowMessage): removed
4691         * lyx_main.C:
4692         * lyxfunc.C:
4693         * paragraph_funcs.C:
4694         * text2.C: use buffer signals
4695
4696 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * introduce namespace lyx::graphics
4699
4700 2003-07-02  André Pönitz  <poenitz@gmx.net>
4701
4702         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4703
4704 2003-07-01  André Pönitz  <poenitz@gmx.net>
4705
4706         * text.C:
4707         * text2.C:
4708         * text3.C:
4709         * text_funcs.[Ch]:
4710         * textcursor.h:
4711         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4712           text*.C to text_func.C
4713
4714 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * introduce namespace lyx::support
4717
4718 2003-06-30  André Pönitz  <poenitz@gmx.net>
4719
4720         * Chktex.C:
4721         * funcrequest.C:
4722         * lyxtext.h:
4723         * text.C: re-enable --with-included-string
4724
4725 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * textcursor.C: add <config.h>
4728
4729         * text.C (getWord): remove const from word_location arg
4730
4731         * lyxvc.C (getLogFile): fix const type order
4732
4733         * lyxtext.h: remove const from word_location arg, add arg name
4734
4735         * lyxlayout.h: currect type on labeltype.
4736
4737         * importer.C: correct \file
4738
4739         * converter.C (intToFormat): use std:: on ret val, ws changes
4740
4741         * bufferlist.h: correct \file
4742
4743         * buffer.C (makeLinuxDocFile): fix const type order
4744         (makeDocBookFile): ditto
4745         (fillWithBibKeys): use std:: on stdlib args.
4746
4747         * CutAndPaste.C: fix authors.
4748         (availableSelections): use std:: on return vector
4749
4750 2003-06-27  André Pönitz  <poenitz@gmx.net>
4751
4752         * BufferView_pimpl.C:
4753         * bufferview_funcs.C:
4754         * lyxcursor.C:
4755         * lyxcursor.h:
4756         * lyxfunc.C:
4757         * lyxtext.h:
4758         * rowpainter.C:
4759         * text.C:
4760         * text2.C:
4761         * text3.C: remove LyXCursor::row_ member
4762
4763         * lyxtext.h:
4764         * text.C: rename fullRebreak() to partialRebreak() and implement
4765           a fullRebreak() that really bereks fully
4766
4767         * textcursor.h: new struct for cursor-related data
4768
4769 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4770
4771         * lyx_main.C (LyX): get full path of document loaded on the
4772         command line
4773
4774 2003-06-26  André Pönitz  <poenitz@gmx.net>
4775
4776         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4777           remove unused/broken operator>,<,>=.
4778
4779         *       text.C: remove only use of broken operator<= in an Assert().
4780
4781 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4782
4783         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4784         moved errorlist_.clear to showErrorList
4785
4786 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4787
4788         * converter.C (scanLog, runLaTeX):
4789         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4790         move the bv->showErrorList call to the callers
4791         * lyxfunc.C: i.e. here...
4792         * text2.C: and here
4793         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4794         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4795         namespace, the second to...
4796         * buffer_funcs (BufferFormat, parseErrors): added
4797         * errorlist.C (ErrorList(TeXErrors const &)): removed
4798
4799 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4800
4801         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4802
4803 2003-06-24  "Garst R. Reese" <reese@isn.net>
4804
4805         * debug.C: fix typo
4806
4807 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4808
4809         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4810
4811         * version.C.in: change docversion to 1.4
4812
4813 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * buffer.C: fix a bug just introduced
4816
4817 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * buffer.[Ch]: added the parseError signal and use it, removed
4820         sgmlError
4821         * BufferView.[Ch] (addError): moved to ...
4822         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4823         to the Buffer::parseError signal to catch (guess what) parse errors
4824         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4825
4826 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4829         ability to create a buffer and to return an existing one from
4830         the list. Moved these functions to...
4831         * buffer_funcs.[Ch]: added
4832         * BufferView.[Ch] (loadLyXFile): added
4833         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4834         job removed from bufferlist::loadLyXFile.
4835         * buffer.C (setReadOnly): make it work without view
4836         (i.e added an if (users))
4837
4838 2003-06-19  Angus Leeming  <leeming@lyx.org>
4839
4840         * lfuns.h:
4841         * LyXAction.C (init):
4842         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4843         with LFUN_DIALOG_SHOW <name> <data>.
4844
4845 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4846
4847         * CutAndPaste.C (availableSelections): small compilation fix for
4848         ancient (gcc 2.9x) compilers
4849
4850 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * text3.C (cursorNext): add tmp var
4853
4854         * text2.C (updateCounters): for function calling out of for clause
4855         (replaceSelectionWithString): ditto
4856         (insertStringAsParagraphs): ditto
4857         (getColumnNearX): add tmp var
4858         (setCursorFromCoordinates): add tmp var
4859         (cursorDownParagraph): add tmp var
4860         (deleteEmptyParagraphMechanism): add tmp var
4861
4862         * text.C (insertChar): add tmp var
4863
4864         * rowpainter.C (paintDepthBar): add tmp var
4865
4866         * CutAndPaste.C (availableSelections): potentially check all
4867         paragraphs in a cut to fill the shown strings.
4868
4869 2003-06-18  André Pönitz  <poenitz@gmx.net>
4870
4871         * kbmap.[Ch]: use vector<> instead of list<>
4872
4873 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4874
4875         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4876         pasteSelection with index
4877
4878         * text2.C (pasteSelection): modify, call pasteSelection with index
4879
4880         * paragraph.C (asString): reimplement version with no interval to
4881         call the one with interval.
4882
4883         * lyxtext.h: add index arg to pasteSelection
4884
4885         * MenuBackend.C (MenuItem): handle PasteRecent
4886         (Menu::read::Menutags): add md_pasterecent
4887         (read): handle it
4888         (expandPasteRecent): new function
4889         (expand): use it
4890
4891         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4892
4893         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4894         the limited stack
4895         (availableSelections): new function
4896
4897 2003-06-17  Angus Leeming  <leeming@lyx.org>
4898
4899         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4900
4901 2003-06-17  Angus Leeming  <leeming@lyx.org>
4902
4903         * lfuns.h:
4904         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4905
4906         * lyxfunc.C (dispatch): invoke it.
4907
4908 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4909
4910         * iterators.C (operator++, ParPosition): reintroduce some
4911         const_cast for the benefit of older compilers.
4912
4913 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4914
4915         * text3.C (dispatch): do not modify clipboard when doing
4916         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4917         LFUN_DELETE_SKIP on a selection selection
4918
4919 2003-06-16  André Pönitz  <poenitz@gmx.net>
4920
4921         * BufferView.C:
4922         * buffer.C:
4923         * buffer.h:
4924         * paragraph.C:
4925         * tabular.[Ch]: IU of clone() and getLabelList();
4926
4927 2003-06-13  André Pönitz  <poenitz@gmx.net>
4928
4929         * tabular.h: compactification
4930
4931 2003-06-12  André Pönitz  <poenitz@gmx.net>
4932
4933         * tabular.C:
4934         * tabular.h:
4935         * tabular_funcs.h: some renaming plus whitespace
4936
4937 2003-06-12  André Pönitz  <poenitz@gmx.net>
4938
4939         * BufferView.C:
4940         * BufferView_pimpl.C:
4941         * CutAndPaste.C:
4942         * buffer.C:
4943         * iterators.[Ch]:
4944         * lyxfunc.C:
4945         * text.C:
4946         * toc.C: Return a Paragraph & for ParIterator::operator*()
4947
4948 2003-06-11  John Levon  <levon@movementarian.org>
4949
4950         * lyx_main.C:
4951         * ToolbarBackend.h:
4952         * ToolbarBackend.C: add "Toolbars" section and
4953         put the flags there
4954
4955 2003-06-10  Angus Leeming  <leeming@lyx.org>
4956
4957         * lfuns.h:
4958         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4959
4960         * lyxfunc.C (dispatch): invoke it.
4961
4962 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * main.C: protect <ios> with HAVE_IOS
4965         (main): protect sync_with_stdio with HAVE_IOS
4966
4967 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4968
4969         * text2.C (cutSelection): adjust
4970         (pasteSelection): adjust
4971
4972         * messages.C: handle get of empty string
4973
4974         * main.C (main): use sync_with_stdio(false)
4975
4976         * lyxfunc.C (dispatch): adjust
4977
4978         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4979         (WriteAs): remove unneeded BufferView arg.
4980
4981         * bufferparams.h: use correct types on papersize, papersize2 and
4982         paperpackage.
4983
4984         * bufferparams.C (readToken): adjust for type
4985         (writeLaTeX): add missing cases to switch.
4986
4987         * bufferlist.C (quitWriteBuffer): adjust
4988         (close): adjust
4989
4990         * buffer.C (asciiParagraph): remove some commented code.
4991
4992         * CutAndPaste.C: remove current_view extern variable.
4993         (cutSelection): add BufferParams arg.
4994         (eraseSelection): add BufferParams arg.
4995         (pasteSelection): add Buffer const & arg
4996
4997 2003-06-07  John Levon  <levon@movementarian.org>
4998
4999         * buffer.C:
5000         * paragraph_funcs.C:
5001         * paragraph_pimpl.C:
5002         * text.C:
5003         * text2.C:
5004         * paragraph.h:
5005         * paragraph.C: allow InsetERT to freely space lines,
5006         and some consolidation of code
5007
5008 2003-06-06  José Matos  <jamatos@fep.up.pt>
5009
5010         * buffer.C (makeDocBookFile): fix bug #821
5011
5012 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5015
5016 2003-06-04  Angus Leeming  <leeming@lyx.org>
5017
5018         * buffer.C: bump format to 224.
5019
5020 2003-06-05  André Pönitz  <poenitz@gmx.net>
5021
5022         * text2.C (redoParagraphs): remove two const_cast<>
5023
5024 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5025
5026         * ParagraphList.h: remove last remnants of NO_STD_LIST
5027
5028 2003-06-03  Angus Leeming  <leeming@lyx.org>
5029
5030         * factory.C (createInset): small change to the way InsetExternal's params
5031         are set.
5032
5033 2003-06-04  André Pönitz  <poenitz@gmx.net>
5034
5035         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5036
5037         * paragraph_pimpl.h:
5038         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5039
5040         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5041
5042         * undo_funcs.C: make some simple cases of undo work again
5043
5044 2003-06-03  John Levon  <levon@movementarian.org>
5045
5046         * ispell.C: HPUX doesn't have sys/select.h
5047         (from Albert Chin)
5048
5049 2003-06-03  John Levon  <levon@movementarian.org>
5050
5051         * CutAndPaste.C: update tabular and include inset
5052         buffer references
5053
5054         * buffer.h:
5055         * paragraph.h:
5056         * paragraph.C: remove owningBuffer(), don't pass Buffer
5057         to clone()
5058
5059         * factory.C: insetGraphicsParams changed
5060
5061 2003-06-02  John Levon  <levon@movementarian.org>
5062
5063         * LyXAction.C:
5064         * factory.C:
5065         * lfuns.h:
5066         * lyxfunc.C:
5067         * text3.C: remove insetparent
5068
5069 2003-06-02  John Levon  <levon@movementarian.org>
5070
5071         * buffer.h:
5072         * buffer.C: fix inset_iterator.end(), move out of line
5073         (bug 1149)
5074
5075 2003-06-01  John Levon  <levon@movementarian.org>
5076
5077         * text3.C: use a proper cut/paste when doing inset
5078         insert (from Jürgen Spitzmüller)
5079
5080 2003-06-01  John Levon  <levon@movementarian.org>
5081
5082         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5083
5084 2003-05-30  André Pönitz  <poenitz@gmx.net>
5085
5086         * rowpainter.C: unify second drawing phase
5087
5088 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * trans_mgr.C: remove one case of current_view
5091
5092         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5093
5094         * paragraph_funcs.h: remove paragraph.h include
5095
5096         * paragraph.h: delete NO_STD_LIST stuff
5097
5098         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5099
5100         * buffer.h: remove paragraph.h include
5101
5102         * ParagraphList.C: delete file
5103
5104         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5105
5106         * toc.C (getTocList): adjust
5107
5108         * paragraph_pimpl.C (validate): adjust
5109
5110         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5111
5112         * paragraph.C (Paragraph): adjust
5113         (getPositionOfInset): use const_iterator, adjust
5114         (bibitem): use const_iterator, adjust
5115         (setInsetOwner): adjust
5116
5117         * iterators.C (operator++): adjust
5118
5119         * InsetList.[Ch]: Replace selfmade iterator with standard
5120         vector::iterator also introduce const_iterator. Remove getPos,
5121         getInset and setInset from InsetTable. Adjust accordingly.
5122
5123         * BufferView.C (lockInset): adjust
5124         (ChangeInsets): adjust
5125
5126         * tabular.[Ch]: delete commented same_id functions
5127
5128 2003-05-28  John Levon  <levon@movementarian.org>
5129
5130         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5131
5132 2003-05-28  André Pönitz  <poenitz@gmx.net>
5133
5134         * metricsinfo.[Ch]: remove 'fullredraw' member
5135
5136 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5137
5138         * lyxtextclass.C (operator): remove caching.
5139
5140 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * text3.C: adjust
5143
5144         * text2.C (cursorBottom): adjust
5145         (setCounter): use ParagraphList::find, adjust
5146
5147         * text.C (workWidth): use ParagraphList::find, adjust
5148
5149         * lyxcursor.C (LyXCursor): adjust
5150
5151         * buffer.C (inset_iterator): adjust
5152
5153         * ParagraphList.h: make iterator(value_type) private, make
5154         ParagraphList a friend of iterator.
5155
5156         * ParagraphList.C (find): new function
5157
5158         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5159
5160 2003-05-27  André Pönitz  <poenitz@gmx.net>
5161
5162         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5163
5164 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5165
5166         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5167
5168 2003-05-26  John Levon  <levon@movementarian.org>
5169
5170         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5171
5172 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * remove same_id from function signatures, adjust.
5175
5176 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5179
5180         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5181
5182         * paragraph.C (Paragraph): get rid of same_ids parameter
5183
5184         * ParagraphList.C (insert): adjust
5185         (push_back): adjust
5186
5187 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * paragraph_funcs.C (breakParagraph): adjust
5190         (breakParagraphConservative): adjust
5191
5192         * buffer.C (readParagraph): adjust
5193
5194         * ParagraphList.C (insert): take a reference instead of a pointer
5195         (insert): adjust
5196
5197         * paragraph.[Ch] (id): new function
5198
5199         * bufferlist.C (newFile): adjust
5200
5201         * ParagraphList.C (ParagraphList): adjust
5202         (assign): adjust
5203         (push_back): take a reference instead of a pointer.
5204
5205         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5206
5207         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5208         instead.
5209
5210         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5211         set else use old code.
5212
5213         * ParagraphList.C: remove all NO_NEXT code and only compile this
5214         code of NO_STD_LIST is set.
5215
5216 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * BufferView_pimpl.C:
5219         * TextCache.C:
5220         * TextCache.h:
5221         * bufferlist.C:
5222         * errorlist.h:
5223         * format.C:
5224         * format.h:
5225         * graph.C:
5226         * lyxfunc.C:
5227         * lyxrc.C:
5228         * graphics/GraphicsConverter.C:
5229         * graphics/PreviewLoader.C: header adjustment
5230
5231 2003-05-23  Angus Leeming  <leeming@lyx.org>
5232
5233         * LaTeXFeatures.[Ch] (useBabel): new method.
5234         * bufferparams.C (writeLaTeX): use it.
5235
5236 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * ParagraphList.h (set): remove unused function.
5239
5240 2003-05-23  André Pönitz  <poenitz@gmx.net>
5241
5242         * BufferView.C:
5243         * BufferView_pimpl.C:
5244         * buffer.C:
5245         * buffer.h:
5246         * lyxfunc.C:
5247         * undo_funcs.C: setUndo reworked
5248
5249         * iterators.[Ch]: add access to topmost ParagraphList
5250
5251         * lyxtext.[Ch] (workWidth): add a const
5252
5253 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5254
5255         * texrow.[Ch] (increasePos): remove function
5256         * exporter.C (export): removed unused var and outdated comment
5257
5258 2003-05-23  Angus Leeming  <leeming@lyx.org>
5259
5260         * latexrunparams.h: rename fragile as moving_arg.
5261         * paragraph.C (simpleTeXOnePar): ditto.
5262         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5263
5264 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5267         (createUndo): ditto
5268         (textUndoOrRedo): comment out a currently unused var.
5269
5270         * paragraph.h (NO_NEXT): enable NO_NEXT
5271
5272         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5273
5274         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5275
5276         * exporter.C (Export): adjust for removeAutoInsets removal.
5277
5278         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5279
5280         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5281
5282         * BufferView.[Ch] (removeAutoInsets): delete function
5283
5284 2003-05-22  Angus Leeming  <leeming@lyx.org>
5285
5286         * latexrunparams.h: add a free_spacing variable.
5287
5288         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5289         to pass moving_arg, as the data is stored in runparams.fragile.
5290
5291         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5292         to Inset::latexOptional or to simpleTeXOnePar.
5293
5294         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5295         free_spacing arg to Inset::latexOptional.
5296
5297         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5298         free_spacing arg.
5299
5300 2003-05-22  Angus Leeming  <leeming@lyx.org>
5301
5302         * latexrunparams.h: add fragile and use_babel variables.
5303
5304         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5305         * buffer.C (makeLaTeXFile): store this returned value in
5306         runparams.use_babel, thus passing it to the inset::latex methods.
5307
5308         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5309         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5310
5311         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5312         longer has a fragile arg, as it is stored in runparams.fragile.
5313
5314         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5315         moving_arg parameter as the data is stored in runparams.fragile.
5316
5317         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5318         a fragile parameter as the data is stored in runparams.fragile.
5319
5320 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5323
5324 2003-05-22  Angus Leeming  <leeming@lyx.org>
5325
5326         * latexrunparams.h: add a 'bool nice' which defaults to false.
5327
5328         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5329         now encapsulated within runparams.
5330
5331         * bufferlist.C (updateIncludedTeXfiles):
5332         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5333
5334 2003-05-22  Angus Leeming  <leeming@lyx.org>
5335
5336         * latexrunparams.h: new file containing struct LatexRunParams.
5337         * Makefile.am: add new file.
5338
5339         * LaTeX.[Ch] (c-tor, run):
5340         * buffer.[Ch] (makeLaTeXFile):
5341         * bufferlist.[Ch] (updateIncludedTeXfiles):
5342         * converter.C (convert, scanLog):
5343         * converter.[Ch] (runLaTeX):
5344         * exporter.C (Export):
5345         * paragraph.[Ch] (simpleTeXOnePar):
5346         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5347         * paragraph_funcs.[Ch] (latexParagraphs):
5348         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5349         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5350         pass around a LatexRunParams parameter.
5351
5352 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * paragraph.[Ch]: remove unused constructor
5355
5356         * ParagraphList.C (erase): new function, taking two iterators
5357
5358 2003-05-22  André Pönitz  <poenitz@gmx.net>
5359
5360         * undo_funcs.C: remove duplicated code
5361
5362         * iterator.[Ch]: operator=
5363
5364 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * tabular.C (SetMultiColumn): ws changes
5367
5368         * rowpainter.C (paintFirst): get rid of a ->previous
5369
5370         * lyx_cb.C (getPossibleLabel): parlist simplification
5371
5372         * BufferView.C (ChangeInsets): simplify slightly.
5373
5374 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5375
5376         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5377         * lfuns.h: new LFUN_SPACE
5378         * lyxfunc.C: protected space has a new lfun
5379         * paragraph_funcs.C: read new space insets
5380         * text3.C:
5381         * factory.C: handle new space insets
5382
5383 2003-05-22  André Pönitz  <poenitz@gmx.net>
5384
5385         * BufferView.C:
5386         * BufferView_pimpl.C:
5387         * buffer.[Ch]:
5388         * lyxfunc.C:
5389         * undo_funcs.C: return a ParIterator from getParFromID.
5390
5391         * iterators.[Ch]: add two const's
5392
5393 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * toc.C (getTocList): adjust
5396
5397         * iterators.[Ch]: rework for parlist
5398
5399         * buffer.C (par_iterator_begin): adjust
5400         (par_iterator_end): adjust
5401
5402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5403
5404         * BufferView.C (removeAutoInsets): adjust
5405         (ChangeInsets): adjust
5406
5407 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5408
5409         * text.C (top_y): fix bug 1110
5410
5411 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5412
5413         * errorlist.[Ch]: added
5414         * buffer.C:
5415         * BufferView.[Ch]:
5416         * BufferView_pimpl.C:
5417         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5418         instead
5419
5420 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * Makefile.am: ensure that lyx is relinked upon changes to the
5423         various "convenience" libs.
5424
5425 2003-05-20  Angus Leeming  <leeming@lyx.org>
5426
5427         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5428         files are compiled in alphabetical order again.
5429
5430         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5431
5432 2003-05-19  Angus Leeming  <leeming@lyx.org>
5433
5434         * gettext.[Ch]: remove "char const * _(char const *)".
5435
5436 2003-05-19  André Pönitz  <poenitz@gmx.net>
5437
5438         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5439
5440         * Makefile.am:
5441         * BufferView.C:
5442         * DepTable.h:
5443         * LaTeXFeatures.C:
5444         * buffer.C:
5445         * lyxfont.C:
5446         * lyxlex.h:
5447         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5448
5449 2003-05-19  André Pönitz  <poenitz@gmx.net>
5450
5451         * buffer.C:
5452         * lyxlayout.[Ch]:
5453         * lyxtextclass.[Ch]:
5454         * paragraph.C:
5455         * paragraph_funcs.[Ch]:
5456         * text2.C:
5457         * text3.C: more insetenv work
5458
5459 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5460
5461         * ParagraphParameters.C (params2string): small bug fixed
5462
5463 2003-05-16  André Pönitz  <poenitz@gmx.net>
5464
5465         * debug.C:
5466         * bufferview_funcs.C: patch from Kornel Benko to prevent
5467           crash when _(...) is called twice in a statement
5468
5469 2003-05-16  André Pönitz  <poenitz@gmx.net>
5470
5471         * BufferView.C:
5472         * lyxfunc.C:
5473         * text.C:
5474         * text2.C:
5475         * text3.C:
5476         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5477
5478 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5479
5480         * lyx_main.C (init): remove spurious static_cast
5481
5482 2003-05-14  André Pönitz  <poenitz@gmx.net>
5483
5484         * BufferView.C: fix format string
5485
5486 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * BufferView.[Ch] (insertErrors): removed
5489         * BufferView.[Ch] (showErrorList): added
5490         * buffer.C (runChkTeX):
5491         * converter.C (scanLog): call showErrorList instead of inserterrors
5492
5493 2003-05-13  André Pönitz  <poenitz@gmx.net>
5494
5495         * BufferView_pimpl.C:
5496         * buffer.C:
5497         * bufferview_func.C:
5498         * MenuBackend.C:
5499         * lyxfunc.C:
5500         * lyxrc.C:
5501         * tex-accent.C:
5502         * text3.C:
5503         * toc.C:
5504         * tabular_funcs.h: tostr() from its own header
5505
5506         * ParagraphParameters.C:
5507         * ToolbarBackend.C:
5508         * bufferparams.C:
5509         * format.C:
5510         * lyxlex_pimpl.C:
5511         * text3.C: STRCONV()
5512
5513 2003-05-12  André Pönitz  <poenitz@gmx.net>
5514
5515         * BufferView.C:
5516         * BufferView_pimpl.C:
5517         * CutAndPaste.C:
5518         * LaTeX.C:
5519         * LaTeXFeatures.C:
5520         * ParagraphParameters.C:
5521         * buffer.C:
5522         * bufferlist.C:
5523         * bufferparams.C:
5524         * bufferview_funcs.C:
5525         * converter.C:
5526         * counters.C:
5527         * debug.C:
5528         * exporter.C:
5529         * format.C:
5530         * importer.C:
5531         * lyx_cb.C:
5532         * lyx_main.C:
5533         * lyxfont.C:
5534         * lyxfunc.C:
5535         * lyxvc.C:
5536         * paragraph.C:
5537         * paragraph_funcs.C:
5538         * tabular.C:
5539         * tabular_funcs.C:
5540         * text2.C:
5541         * text3.C:  boost::format -> bformat  all over the place
5542
5543
5544 2003-05-09  André Pönitz  <poenitz@gmx.net>
5545
5546         * LColor.[Ch]: Pimpl the #include <map> away
5547
5548 2003-05-09  John Levon  <levon@movementarian.org>
5549
5550         * bufferlist.C: never remove emergency saves
5551
5552 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * Makefile.am: better lib building
5555
5556 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5559         instead.
5560         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5561         (simpleTeXSpecialChars): adjust
5562         (simpleTeXSpecialChars): adjust
5563         * paragraph.C (simpleTeXOnePar): adjust
5564         * buffer.C (makeLaTeXFile): adjust
5565
5566         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5567
5568         * text2.C (changeDepth): parlist cleanup
5569         (getColumnNearX): ditto
5570
5571         * rowpainter.C (getLabelFont): parlist cleanup
5572
5573         * bufferlist.C (newFile): parlist cleanup
5574
5575         * CutAndPaste.C (eraseSelection): parlist cleanup
5576
5577         * BufferView_pimpl.C (trackChanges): parlist cleanup
5578         (dispatch): ditto
5579
5580         * BufferView.C (lockInset): parlist cleanup.
5581         (ChangeInsets): ditto
5582
5583 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * CutAndPaste.h: Update file header.
5586
5587         * CutAndPaste.C: Update file header.
5588         Store the parts cut out of the Document in a limited_stack.
5589         (copySelection): adjust
5590         (pasteSelection): new function, takes the index in the limited stack.
5591         (nrOfParagraphs): adjust
5592         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5593         simplify error inset insertion.
5594         (checkPastePossible): adjust
5595
5596 2003-05-06  John Levon  <levon@movementarian.org>
5597
5598         * text2.C: don't cast wrap inset to float
5599
5600 2003-05-05  André Pönitz  <poenitz@gmx.net>
5601
5602         * iterator.C:
5603         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5604
5605         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5606           few naked Paragraph *.
5607
5608 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5609
5610         * bufferparams.C: Output warning if a document with missing
5611         TeX document class is loaded
5612         * exporter.C: Disable TeX exports if the document class is missing
5613         * lyxtextclass.C:
5614         * lyxtextclass.h:
5615         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5616         isTeXClassAvailable()
5617
5618 2003-05-03  John Levon  <levon@movementarian.org>
5619
5620         * BufferView.h:
5621         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5622         explicit cursor show/hide
5623
5624         * BufferView_pimpl.h:
5625         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5626         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5627
5628         * lyxfunc.C: hide cursor before dispatching.
5629
5630         * lyx_cb.C:
5631         * lyxfind.C:
5632         * text.C:
5633         * text3.C: remove explicit cursor hides
5634
5635 2003-05-02  André Pönitz  <poenitz@gmx.net>
5636
5637         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5638
5639         * undo_funcs.C:
5640         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5641           linked lists
5642
5643         * text2.C: tiny whitespace
5644
5645 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * undo_funcs.C: almost only ws changes.
5648
5649         * ParagraphList.C (splice): just return if pl is empty.
5650
5651 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * ParagraphList.C (splice): new function.
5654
5655         * CutAndPaste.C (pasteSelection): use it
5656
5657 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * CutAndPaste.C (pasteSelection): remove the last next and
5660         previous from this file.
5661
5662 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * CutAndPaste.C (pasteSelection): more clean up, user proper
5665         ParagraphList functions for pasteing.
5666
5667         * ParagraphList.C (insert): new function, three arg insert
5668
5669 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * ParagraphList.C (insert): new function, three arg insert
5672
5673         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5674         not on paragraphs.
5675
5676 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5679
5680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5683
5684 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5687         (copySelection): clean up a bit.
5688         (pasteSelection): use make_pair
5689
5690         * ParagraphList.C (ParagraphList): implement copy constructor
5691         (operator=): implement, base on copy constructor.
5692         (assign): new func
5693
5694         * paragraph.C (erase): return a bool
5695
5696         * paragraph_pimpl.C (erasePos): remove function, move contents...
5697         (erase): ... here. Return a bool.
5698         (erase): call erase instead of erasePos.
5699
5700 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5701
5702         * ParagraphList.h: define PitPosPair
5703         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5704         ParagraphList, fix a bug on pasting multiple pars
5705         * text2.C: change interface to C&P
5706
5707 2003-04-30  André Pönitz  <poenitz@gmx.net>
5708
5709         * undo_func.C: revert part of yesterday's patch 2
5710
5711 2003-04-30  John Levon  <levon@movementarian.org>
5712
5713         * LColor.C: s/tabular/table/
5714
5715 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * text3.C (dispatch): do not convert iterator -> pointer
5718         * undo_funcs.C (setCursorParUndo): ditto
5719         * text_funcs.C (transposeChars): ditto
5720
5721         * text2.C (setLayout): ws changes only
5722
5723         * text.C (breakParagraph): do not convert iterator -> pointer
5724         (insertChar): ditto
5725         (acceptChange): ditto
5726         (rejectChange): ditto
5727         (changeCase): ditto
5728         (Delete): ditto
5729         (backspace): ditto
5730
5731         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5732         pointer
5733
5734 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * text3.C (gotoInset): YABG (yet another bad getChar)
5737
5738 2003-04-29  André Pönitz  <poenitz@gmx.net>
5739
5740         * paragraph.h: make operator= private unimplemented as long as
5741           it is unusable
5742
5743         * ParagraphList.C: whitespace
5744
5745         * paragraph.[Ch]:
5746         * paragraph_pimpl.[Ch]:
5747         * paragraph_funcs.C:
5748         * CutAndPaste.C:
5749         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5750
5751         * text2.C:
5752           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5753
5754 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5755
5756         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5757         * paragraph.[Ch] (erase):
5758         * paragraph_pimpl.[Ch] (erase): change return type and value
5759         * text2.C (cutSelection): some rework
5760
5761 2003-04-28  John Levon  <levon@movementarian.org>
5762
5763         * bufferlist.C: changes for unsaved changes dialog
5764
5765 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5766
5767         * bufferlist.C (newFile): set language (messages_) for new
5768         documents also.
5769
5770         * buffer.C (readFile): ws changes only.
5771
5772 2003-04-28  André Pönitz  <poenitz@gmx.net>
5773
5774         * undo_funcs.C:
5775         * lyxfunc.C:
5776         * buffer.[Ch]:
5777         * BufferView_pimpl.C:
5778         * BufferView.C: getParFromID related ParagraphList::iterator changes
5779
5780 2003-04-28  André Pönitz  <poenitz@gmx.net>
5781
5782         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5783           Changes
5784
5785 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * messages.C: remove one more localedir class variable.
5788
5789 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * messages.C (getLocaleDir): singleton generation function
5792         (Pimpl): use it.
5793         (Messages): add a default constructor.
5794
5795         * main.C (main): do not setup localedir here, do not call
5796         gettext_init.
5797
5798         * gettext.C (_): use it.
5799         (gettext_init): delete funciton
5800
5801 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * gettext.C (getLyXMessages): new singleton generating function.
5804
5805         * buffer.C (updateDocLang): adjust
5806
5807         * Makefile.am (messages.o): add target
5808         (main.o): remove target
5809
5810 2003-04-27  John Levon  <levon@movementarian.org>
5811
5812         * bufferlist.C:
5813         * lyx_cb.C:
5814         * lyxfunc.C:
5815         * lyxvc.C: specify cancel button in Alert::prompt
5816
5817 2003-04-26  John Levon  <levon@movementarian.org>
5818
5819         * text3.C:
5820         * lyxfunc.C:
5821         * lfuns.h:
5822         * LyXAction.C: add LFUN_INSET_SETTINGS
5823
5824         * lyxfunc.C: don't enable tabular-feature when there's
5825         just any locking inset
5826
5827 2003-04-26  John Levon  <levon@movementarian.org>
5828
5829         * bufferlist.C: re-add Cancel to buffer close question
5830
5831         * lyxfunc.C: fix import UI a bit
5832
5833 2003-04-25  John Levon  <levon@movementarian.org>
5834
5835         * gettext.C: remove the broken asserts for now
5836
5837 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * messages.C: make case where setlocale cannot comply work better.
5840
5841         * buffer.C (updateDocLang): new function
5842         (changeLanguage): use it
5843         (readFile): use it
5844
5845         * text2.C (setCounter): use B_ a bit.
5846
5847         * lyxlayout.C (Read): be sure to trim the label strings.
5848
5849         * messages.C (Messages): fix typo in comment
5850
5851         * buffer.C (readFile): set message_ after file is loaded.
5852         (makeDocBookFile): remove double return
5853         (changeLanguage): reset message_ upon language change.
5854         (B_): new func, use this to get translated buffer strings.
5855
5856         * main.C: add myself and Jean Marc as authors.
5857
5858 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * messages.[hC]: pimplify Messages, and three different pimpls to be
5861         used in different circumstances.
5862
5863         * gettext.[Ch]: change for use with new message code.
5864
5865 2003-04-24 André Pönitz <poenitz@gmx.net>
5866
5867         * factory.C: support for eqref
5868
5869 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * messages.[Ch]: add missing char
5872
5873         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5874
5875         * messages.[Ch]: New files
5876
5877 2003-04-18  John Levon  <levon@movementarian.org>
5878
5879         * BufferView.h:
5880         * BufferView.C:
5881         * BufferView_pimpl.C:
5882         * lfuns.h:
5883         * LyXAction.C:
5884         * lyxtext.h:
5885         * text2.C: remove layout-copy/paste (bug 778)
5886
5887 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5890
5891 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5892
5893         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5894         if they succeed. Act accordingly.
5895
5896 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * text2.C (setCharFont): adjust
5899         (setCounter): adjust
5900         (insertStringAsLines): adjust
5901
5902         * text.C (leftMargin): adjust
5903         (setHeightOfRow): adjust
5904
5905         * rowpainter.C (paintFirst): adjust
5906         (paintLast): adjust
5907
5908         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5909         (outerHook): ditto
5910         (isFirstInSequence): ditto
5911         (getEndLabel): ditto
5912         (outerFont): adjust
5913
5914         * paragraph.C (getParLanguage): comment out some hard stuff.
5915
5916         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5917         (sgmlError): ditto
5918         (simpleDocBookOnePar): ditto
5919         (makeDocBookFile): use ParagraphList::iterator
5920
5921         * CutAndPaste.C (pasteSelection): adjust
5922
5923 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * text2.C (getFont): adjust
5926         (getLayoutFont): adjust
5927         (getLabelFont): adjust
5928
5929         * paragraph_funcs.C (TeXOnePar): adjust
5930
5931         * buffer.C (simpleLinuxDocOnePar): adjust
5932         (simpleDocBookOnePar): adjust
5933
5934         * CutAndPaste.C (pasteSelection): adjust
5935
5936         * BufferView.C (getEncoding): adjust
5937
5938         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5939
5940 2003-04-16  John Levon  <levon@movementarian.org>
5941
5942         * lyxfind.C: use parlist stuff for search/changes
5943
5944 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5947
5948         * text2.C (deleteEmptyParagraphMechanism): adjust
5949
5950         * text2.[Ch] (ownerParagraph): delete func (both of them
5951
5952 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5955
5956 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * ParagraphList.C: prepare for NO_NEXT
5959
5960 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * text2.C (getFont): adjust
5963         (getLayoutFont): adjust
5964         (getLabelFont): adjust
5965
5966         * paragraph.C (getFont): adjust
5967         (getLabelFont): adjust
5968         (getLayoutFont): adjust
5969
5970         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5971
5972 2003-04-15  John Levon  <levon@movementarian.org>
5973
5974         From Angus Leeming
5975
5976         * lyx_main.C: handle Include in .ui files
5977
5978 2003-04-15  John Levon  <levon@movementarian.org>
5979
5980         * MenuBackend.C: make the doc files length shorter
5981
5982         * ToolbarBackend.h:
5983         * ToolbarBackend.C: handle toolbar placement flags,
5984         Minibuffer
5985
5986 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5989         adjust
5990
5991         * paragraph_funcs.C (TeXOnePar): adjust
5992
5993         * paragraph.C (getLabelFont): add outerfont arg, adjust
5994         (getLayoutFont): ditto
5995         (simpleTeXOnePar): adjust
5996
5997         * paragraph_pimpl.C (realizeFont): delete func
5998
5999 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6002         row argument, constify cur argument.
6003
6004 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * text2.C (getFont): adjust
6007         (getLayoutFont): adjust
6008         (getLabelFont): adjust
6009
6010         * paragraph_funcs.C (TeXOnePar): adjust
6011         (outerFont): new func...
6012         (realizeFont): ...moved out from here, changed this to facilitate
6013         transition
6014
6015         * paragraph.C (getFont): take outerfont as arg, adjust
6016         (simpleTeXOnePar): add outerfont arg, adjust
6017
6018         * buffer.C (simpleLinuxDocOnePar): adjust
6019         (simpleDocBookOnePar): adjust
6020
6021         * CutAndPaste.C (pasteSelection): adjust
6022
6023         * BufferView.C (getEncoding): adjust
6024
6025 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * text2.C (setCharFont): adjust
6028         (setCounter): adjust
6029
6030         * text.C (leftMargin): adjust
6031         (setHeightOfRow): adjust
6032
6033         * rowpainter.C (paintFirst): adjust
6034         (paintLast): adjust
6035
6036         * paragraph_pimpl.C (realizeFont): adjust
6037
6038         * paragraph.C (isFirstInSequence): move from here...
6039         * paragraph_funcs.C (isFirstInSequence): ...to here
6040
6041         * paragraph.C (outerHook): move from here...
6042         * paragraph_funcs.C (outerHook): ...to here
6043
6044         * paragraph.C (depthHook): move from here...
6045         * paragraph_funcs.C (depthHook): ...to here
6046
6047         * paragraph.C (getEndLabel): move from here...
6048         * paragraph_funcs.C (getEndLabel): ...to here
6049
6050         * text2.C (realizeFont): move from here...
6051         * paragraph_funcs.C (realizeFont): ...to here
6052
6053 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6056
6057 2003-04-14  Angus Leeming  <leeming@lyx.org>
6058
6059         * LColor.[Ch]: scrap LColor mathcursor.
6060
6061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * lyxlex.[Ch] (text): delete function
6064         * trans.C (Load): adjust
6065         * paragraph_funcs.C (readParToken): adjust
6066
6067 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6070         vector<char> instead of a char[].
6071
6072         * lyxlex_pimpl.C (getString): adjust
6073         (next): adjust
6074         (lex): use getString
6075         (eatLine): adjust
6076         (nextToken): adjust
6077
6078         * lyxlex.C (text): use pimpl_->getString()
6079         (getBool): ditto
6080         (findToken): ditto
6081
6082 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6085         (makeFontEntriesLayoutSpecific): temp var for par.size()
6086         (setLayout): temp var for ownerParagraphs().end()
6087         (fullRebreak): temp var for rows().end()
6088         (selectionAsString): temp var for boost::next(startpit), realize
6089         that the while really is a regular for loop.
6090         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6091         setCursor in one place.
6092         (setParagraph): temp vr for ownerParagraphs().end()
6093         (updateCounters): make the while loop a for loop
6094         (cutSelection): temp var for ownerParagraphs().end()
6095         (updateInset): make the do {} while() a regular for loop
6096         (getCursorX): use temp vars
6097         (setCurrentFont): use temp vars
6098         (getColumnNearX): use temp vars
6099
6100 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * text.C (transformChar): use temp var for getChar
6103         (computeBidiTables): use temp var for row->par()
6104         (fill): move temp vars for row->par() and pit->layout() earlier in
6105         the function.
6106         (labelFill): use temp var for row->par()
6107         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6108         asc and desc, realize that pit never changes and that firstpit is
6109         just a duplicate and not needed. Exchange rit->par() with pit in a
6110         lot of places.
6111         (breakAgain): use a temp var for boost::next(rit)
6112         (breakAgainOneRow): ditto
6113         (breakParagraph): use a temp var for rows().begin()
6114         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6115         (cursorRightOneWord): use temp var for cursor.par() and
6116         cursor.pos(), remove usage of tmpcursor.
6117         (cursorLeftOneWord): use temp var for cursor.par() and
6118         cursor.pos() only set cur at end of function.
6119
6120 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * text.C, text2.C: exchange all usage of Paragraph::next with
6123         boost::next(ParagraphList::iterator)
6124
6125         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6126
6127         * text2.C (cursorTop): simplify implementation
6128         (cursorBottom): ditto
6129         (setParagraph): use ParagraphList::iterator
6130         (setCurrentFont): adjust
6131         (getColumnNearX): adjust
6132         (cursorRight): adjust
6133         (cursorLeft): remove usage of Paragraph::previous
6134         (cursorUpParagraph): ditto
6135         (deleteEmptyParagraphMechanism): slight cleanup
6136
6137         * text.C (isBoundary): take a Paragraph const & instead of a
6138         pointer as arg.
6139         (addressBreakPoint): ditto
6140         (leftMargin): remove usage of Paragraph::previous.
6141         (setHeightOfRow): ditto
6142         (cursorLeftOneWord): ditto
6143         (selectNextWordToSpellcheck): ditto
6144         (Delete): ditto
6145         (backspace): ditto
6146         (breakParagraph): remove one usage of Paragraph::next
6147         (redoParagraph): ditto
6148         (acceptChange): ditto
6149         (insertChar): adjust
6150         (rowBreakPoint): adjust
6151
6152         * bufferview_funcs.C (toggleAndShow): adjust
6153
6154 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6157         methods to access it.
6158         * lyxtext.h:
6159         * text.C: Added updateRowPositions to compute all row positions.
6160         Make top_y and getRowNearY() to use the cached y position
6161
6162 2003-04-11  John Levon  <levon@movementarian.org>
6163
6164         * text.C (rowBreakPoint): reintroduce the labelEnd
6165         checks, code copied from the row fill stuff. Deep voodoo.
6166
6167         * text.C (fill): add a comment and debugging for the
6168         next poor soul.
6169
6170 2003-04-11  John Levon  <levon@movementarian.org>
6171
6172         * text.C: make sure fullrow insets get wrapped to the next line,
6173         even when they're in a manual label
6174
6175 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * text2.C (insertParagraph): make it take ParagraphList::iterator
6178         as arg.
6179         (setLayout): make it return ParagraphList::iterator
6180         (redoParagraphs): ditto
6181         (setCounter): ditto
6182         (checkParagraph): ditto
6183
6184         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6185
6186         * text2.C: adjust several funcs.
6187         (realizeFont): take a ParagraphList::iterator as arg.
6188         (getLayoutFont): ditto
6189         (getLabelFont): ditto
6190         (setCharFont): ditto
6191
6192         * text.C: adjust several funcs.
6193
6194 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6195
6196         * text.C (selectNextWordToSpellcheck): don't accidentally
6197         skip insets
6198
6199 2003-04-10  John Levon  <levon@movementarian.org>
6200
6201         * ToolbarBackend.C (getIcon): special handling for
6202         LFUN_MATH_DELIM
6203
6204 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6205
6206         * text2.C (cursorRight): a getChar assert fixed
6207
6208 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * text2.C (getFont): change to take a ParagraphList::iterator
6211         instead of Paragraph*
6212         Adjust several functions.
6213
6214         * text.C (transformChar): change to take a ParagraphList::iterator
6215         instead of Paragraph*
6216         (singleWidth): ditto
6217         Adjust several functions.
6218
6219         * rowpainter.C: adjust several functions
6220         * rowpainter.h:store a ParagraphList::iterator and not a
6221         Paragraph&.
6222
6223
6224 2003-04-09  John Levon  <levon@movementarian.org>
6225
6226         * lyxfunc.C:
6227         * lfuns.h:
6228         * LyXAction.h:
6229         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6230         and the "help" bits as well
6231
6232 2003-04-09  John Levon  <levon@movementarian.org>
6233
6234         * ToolbarBackend.h:
6235         * ToolbarBackend.C: allow multiple toolbars
6236
6237 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * undo_funcs.C (setCursorParUndo): adjust
6240
6241         * text_funcs.C (transposeChars): adjust
6242
6243         * text3.C (gotoNextInset): adjust
6244         (dispatch): adjust
6245
6246         * text2.C (setLayout): adjust
6247         (changeDepth): adjust
6248         (setFont): adjust
6249         (redoParagraphs): adjust
6250         (selectionAsString): adjust
6251         (setParagraph): adjust
6252         (insertInset): adjust
6253         (cutSelection): adjust
6254         (copySelection): adjust
6255         (pasteSelection): adjust
6256         (insertStringAsLines): adjust
6257         (updateInset): adjust
6258         (setCursor): change to take a ParagraphList::iterator parameter
6259         (setCursorIntern): change to take a ParagraphList::iterator parameter
6260         (setCurrentFont): adjust
6261         (cursorLeft): adjust
6262         (cursorRight): adjust
6263         (deleteEmptyParagraphMechanism): adjust
6264
6265         * text.C (breakParagraph): adjust
6266         (insertChar): adjust
6267         (acceptChange): adjust
6268         (rejectChange): adjust
6269         (selectNextWordToSpellcheck): adjust
6270         (changeCase): adjust
6271         (Delete): adjust
6272         (backspace): adjust
6273
6274         * lyxfind.C (SearchForward): adjust
6275         (SearchBackward): adjust
6276         (nextChange): adjust
6277
6278         * lyxcursor.C (par): adjust
6279
6280         * lyxcursor.h: store a ParagraphList::iterator instead of a
6281         Paragraph*
6282
6283         * lyx_cb.C (getPossibleLabel): adjust
6284
6285         * bufferview_funcs.C (toggleAndShow): adjust
6286
6287         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6288         (dispatch): adjust
6289
6290         * BufferView.C (removeAutoInsets): adjust
6291         (lockedInsetStoreUndo): adjust
6292
6293 2003-04-09  John Levon  <levon@movementarian.org>
6294
6295         * ToolbarBackend.C: try icon without argument
6296         if with argument fails
6297
6298 2003-04-08  John Levon  <levon@movementarian.org>
6299
6300         * ToolbarBackend.h:
6301         * ToolbarBackend.C: add getIcon(), handle tooltip,
6302         and change from "Icon" to "Item".
6303
6304 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * BufferView.C (lockInset): another bad getchar crunched
6307
6308 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6309
6310         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6311         again)
6312
6313 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * lyxfind.C (searchForward, searchBackwards): bug 782
6316
6317 2003-04-07  John Levon  <levon@movementarian.org>
6318
6319         * paragraph.C: remove dead comment
6320
6321         * text.C: remove troublesome depth-fiddling code
6322         in leftMargin() and rightMargin() (bug 1017)
6323
6324         * text.C: fix breaking of rows in nested lists
6325         (bug 1004)
6326
6327         * text2.C (updateCounters): fix up depth values
6328         (bug 1013)
6329
6330 2003-04-07  John Levon  <levon@movementarian.org>
6331
6332         * BufferView_pimpl.C: clear message when doc finishes resizing,
6333         and after a mouse event
6334
6335         * lyxfunc.C: clear message after exiting inset
6336
6337 2003-04-07  John Levon  <levon@movementarian.org>
6338
6339         * bufferview_funcs.C: show math status not outside
6340         status in the statusbar
6341
6342 2003-04-07  John Levon  <levon@movementarian.org>
6343
6344         * lyxfunc.C: note status changed after a depth change
6345
6346 2003-04-04  Angus Leeming  <leeming@lyx.org>
6347
6348         * LaTeX.h: move AuxInfo operator==, != out of line.
6349         Remove LaTeX virtual destructor; nothing derives from it.
6350         Move operator()() out of public area and rename it startscript().
6351         Change protected for private.
6352
6353 2003-04-04  Angus Leeming  <leeming@lyx.org>
6354
6355         * lyxfunc.C:
6356         * text2.C: remove unneeded #includes.
6357
6358 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6359
6360         * text2.C (dEPM): fix the heigth of the next row
6361
6362 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6363
6364         * text.C: squashed an invalid getChar requester + some ws changes
6365
6366 2003-04-03  John Levon  <levon@movementarian.org>
6367
6368         * bufferview_funcs.h:
6369         * bufferview_funcs.C:
6370         * lyxfunc.C:
6371         * lyxtext.h:
6372         * text2.C: make getStatus work for the env depth lfuns
6373
6374 2003-04-03  John Levon  <levon@movementarian.org>
6375
6376         * bufferview_funcs.h:
6377         * bufferview_funcs.C:
6378         * lyxfunc.C:
6379         * lyxtext.h:
6380         * text2.C: parlistize decDepth(), by merging it with incDepth()
6381
6382 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * lyxrow.h: store a ParagraphList::iterator instead of a
6385         Paragraph* and adjust other class functions to suit.
6386
6387         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6388         above.
6389
6390 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6391
6392         * text2.C (setCursor): do not anchor to cursor row for the time being
6393
6394 2003-04-02  John Levon  <levon@movementarian.org>
6395
6396         * LyXAction.C:
6397         * lfuns.h:
6398         * lyx_main.C:
6399         * lyxtext.h:
6400         * text.C:
6401         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6402
6403 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * paragraph.h: make ParagraphList and ParagraphList::iterator
6406         friends of Paragraph.
6407
6408         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6409
6410         * ParagraphList.C: Use the private next_ and previous_ from
6411         Paragraph.
6412
6413 2003-04-01  John Levon  <levon@movementarian.org>
6414
6415         * ToolbarBackend.h:
6416         * ToolbarBackend.C:
6417         * Makefile.am: rename, remove defaults gunk
6418
6419         * MenuBackend.h:
6420         * MenuBackend.C: remove defaults gunk
6421
6422         * Languages.h:
6423         * Languages.C: remove defaults gunk
6424
6425         * lyx_main.h:
6426         * lyx_main.C: error out if files couldn't be found.
6427
6428 2003-04-02  John Levon  <levon@movementarian.org>
6429
6430         * text2.C: make incDepth() use parlist
6431
6432 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * undo_funcs.C (firstUndoParagraph): adjust
6435
6436         * text3.C (gotoInset): adjust
6437         (dispatch): adjust, and rewrite loop.
6438
6439         * text2.C (init): adjust, and rewrite loop.
6440         (redoParagraphs): adjust
6441         (updateInset): adjust, and rewrite loop.
6442         (deleteEmptyParagraphMechanism): adjust
6443
6444         * tabular.C (LyXTabular): adjust
6445         (SetMultiColumn): adjust
6446         (TeXRow): adjust
6447
6448         * lyxtext.[Ch] (ownerParagraph): delete function
6449         (ownerParagraphs): new function returns a ParagraphList.
6450
6451         * BufferView.C (removeAutoInsets): adjust
6452         (insertErrors): adjust
6453         (setCursorFromRow): adjust
6454
6455 2003-04-01  Angus Leeming  <leeming@lyx.org>
6456
6457         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6458         in the frontends.
6459
6460 2003-04-02  John Levon  <levon@movementarian.org>
6461
6462         * lyxtext.h:
6463         * text.C:
6464         * Makefile.am:
6465         * text_funcs.h:
6466         * text_funcs.C: make transposeChars a free function
6467
6468         * lyxrow_funcs.C: remove wrong comment
6469
6470 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * lyxtext.h: adjust
6473         * rowpainter.C: adjust
6474         * text.C: adjust
6475         * text2.C: adjust
6476         * text3.C: adjust
6477
6478         * lyxrow_funcs. [Ch]: new files
6479
6480         * lyxrow.[Ch]: remove next and previous pointers
6481         (next,previous): remove accessor functions
6482         (isParEnd): move to lyxrow_funcs
6483         (lastPos): move to lyxrow_funcs
6484         (nextRowIsAllInset): move to lyxrow_funcs
6485         (lastPrintablePos): move to lyxrow_funcs
6486         (numberOfSeparators): move to lyxrow_funcs
6487         (numberOfHfills): move to lyxrow_funcs
6488         (numberOfLabelHfills): move to lyxrow_funcs
6489         (hfillExpansion): move to lyxrow_funcs
6490
6491         * lyxfunc.C: adjust
6492
6493         * bufferview_funcs.C (toggleAndShow): adjust
6494
6495         * RowList.h: Remove class RowList from file leave just a
6496         std::list<Row>.
6497
6498         * RowList.C: delete file
6499
6500         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6501         and lyxrow_funcs.h
6502
6503 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * text3.C (cursorPrevious): adjust
6506         (cursorNext): adjust
6507         (dispatch): adjust
6508
6509         * text2.C (redoHeightOfParagraph): adjust
6510         (redoDrawingOfParagraph): adjust
6511         (setCursor): adjust
6512
6513         * text.C (breakParagraph): adjust
6514         (insertChar): adjust
6515         (backspace): adjust
6516
6517         * rowpainter.C (RowPainter): adjust
6518         (leftMargin): simplify and adjust
6519         (most rowpainter functions): adjust.
6520
6521         * rowpainter.h: store the row as RowList::iterator not as Row*
6522
6523         * lyxcursor.C (row): taka RowList::iterator as arg
6524         (irow): ditto
6525
6526         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6527         of Row*.
6528
6529 2003-04-01  Angus Leeming  <leeming@lyx.org>
6530
6531         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6532         stuff like bool Bool.
6533
6534 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6537         rewrite a loop
6538
6539 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6542         RowList::iterator.
6543
6544         * lyxtext.h (rows): drop one version and leve a const variant that
6545         returns a RowList::iterator.
6546
6547 2003-03-31  Angus Leeming  <leeming@lyx.org>
6548
6549         * text.C (fill): ensure that the signature is the same as that in the
6550         header file.
6551
6552 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * text2.C (redoParagraphs): adjust
6555         (updateCounters): adjust
6556         (checkParagraph): adjust
6557         (getColumnNearX): adjust and reformat a bit.
6558
6559         * text.C (top_y): adjust
6560         (workWidth): adjust
6561         (leftMargin): adjust
6562         (prepareToPrint): adjust
6563         (getRow): adjust
6564         (getRowNearY): adjust
6565
6566         * lyxtext.h: make rowlist_ mutable.
6567
6568         * RowList.h: add const_iterator
6569         * RowList.C: adjust for RowList::const_iterator.
6570
6571         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6572         adjust.
6573
6574 2003-03-31  John Levon  <levon@movementarian.org>
6575
6576         * lyxrc.h:
6577         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6578
6579         * lyx_main.C: set default fonts from using lyx_gui funcs
6580
6581         * exporter.C: pdf_mode moved from lyxrc
6582
6583         * lyx_cb.C:
6584         * lyxfunc.C: changes from above
6585
6586 2003-03-31  John Levon  <levon@movementarian.org>
6587
6588         * lyx_main.C: fix to the last fix
6589
6590 2003-03-31  John Levon  <levon@movementarian.org>
6591
6592         * bufferlist.C: "Load original" -> "Load Original"
6593
6594         * converter.C:
6595         * exporter.C:
6596         * importer.C:
6597         * lyx_main.C:
6598         * format.C: more Alert cleanups
6599
6600 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * text2.C (removeParagraph): make it take a RowList::iterator as
6603         arg, adjust.
6604         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6605         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6606
6607         * text.C (anchor_row): make it take a RowList::iterator as arg,
6608         adjust.
6609         (computeBidiTables): make it take a const reference to Row instead
6610         of Row pointer, adjust.
6611         (leftMargin): make it take a RowList::iterator as arg, adjust.
6612         (rowBreakPoint): adjust
6613         (breakAgainOneRow): make it take a RowList::iterator as arg,
6614         adjust.
6615         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6616
6617         * bufferview_funcs.C (toggleAndShow): adjust
6618
6619 2003-03-30  John Levon  <levon@movementarian.org>
6620
6621         * Makefile.am:
6622         * BoostFormat.h:
6623         * boost-inst.C: moved to support
6624
6625         * several files: changes as a result
6626
6627 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * text2.C (LyXText): adjust.
6630         (init): adjust
6631         (removeRow): make it take a RowList::iterator as arg, adjust.
6632         (fullRebreak): adjust
6633         (deleteEmptyParagraphMechanism): adjust
6634         (clearPaint): adjust
6635         (postPaint): adjust
6636
6637         * text.C (top_y): adjust
6638         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6639         (breakAgain): make it take a RowList::iterator as arg, adjust.
6640         (breakParagraph): adjust
6641         (insertChar): adjust
6642         (backspace): adjust
6643
6644         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6645         need_break_row, and refresh_row.
6646
6647         * text3.C (dispatch): adjust
6648
6649         * text2.C (checkParagraph): adjust
6650         (setCursor): adjust
6651         (setCursorFromCoordinates): adjust
6652
6653         * text.C (top_y): adjust
6654         (workWidth): adjust
6655         (getRow): make it return a RowList::iterator, adjust
6656         (getRowNearY): make it return a RowList::iterator, adjust
6657
6658         * text2.C (init): adjust
6659         (insertRow): remove function
6660         (insertParagraph): adjust
6661         (redoParagraphs): adjust
6662         (fullRebreak): adjust
6663         (updateCounters): adjust
6664
6665         * text.C (top_y): rewrite to use RowList iterators.
6666         (top_y): adjust
6667         (setHeightOfRow): rewrite to sue RowList iterators.
6668         (appendParagraph): adjust
6669         (breakAgain): adjust
6670         (breakAgainOneRow): adjust
6671         (breakParagraph): adjust
6672         (getRow): adjust
6673         (getRowNearY): adjust, and remove commented code.
6674
6675         * lyxtext.h (firstRow): delete function
6676         (lastRow): delete function
6677         (rows): new function (const and non-const versions.)
6678         (insertRow): delete function
6679
6680         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6681
6682 2003-03-29  John Levon  <levon@movementarian.org>
6683
6684         * BufferView_pimpl.C: always update scrollbar top
6685         because pasting text when we're anchored could mean we
6686         miss an update altogether
6687
6688 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text2.C (init): use rowlist_.end() and not 0.
6691         (insertRow): change to take a RowList::iterator as arg, adjust
6692         for this.
6693         (insertParagraph): change to take a RowList::iterator as arg,
6694         adjust for this.
6695         (redoParagraphs): remove some debug msgs.
6696
6697         * text.C (appendParagraph): change to take a RowList::iterator
6698         arg, adjust for this.
6699         (breakAgain): add an assert
6700         (breakAgainOneRow): ditto
6701
6702 2003-03-29  John Levon  <levon@movementarian.org>
6703
6704         * text2.C: do not clear selection after inc/decDepth
6705         (bug 550)
6706
6707 2003-03-29  John Levon  <levon@movementarian.org>
6708
6709         * BufferView.C:
6710         * buffer.C: fix broken strerrors according to Lars
6711
6712 2003-03-29  John Levon  <levon@movementarian.org>
6713
6714         * converters.C: more Alert cleanups
6715
6716 2003-03-29  John Levon  <levon@movementarian.org>
6717
6718         * bufferview_funcs.C: remove pointless Alert
6719
6720         * buffer.C: fix confusing error message when
6721         a template is chmoded 000
6722
6723 2003-03-29  John Levon  <levon@movementarian.org>
6724
6725         * BufferView.C:
6726         * BufferView.h:
6727         * BufferView_pimpl.C: Alert fixes
6728
6729         * Makefile.am:
6730         * tabular.C:
6731         * tabular-old.C: remove unused table compat reading
6732
6733 2003-03-29  John Levon  <levon@movementarian.org>
6734
6735         * BufferView.C:
6736         * buffer.C:
6737         * lyx_cb.h:
6738         * lyx_cb.C: more Alert cleanups
6739
6740         * lyxfunc.C: don't allow chktex if not latex document
6741
6742 2003-03-29  John Levon  <levon@movementarian.org>
6743
6744         * lyx_cb.C:
6745         * BufferView.C:
6746         * buffer.C: warnings pushed down from support/,
6747         kill err_alert
6748
6749 2003-03-29  John Levon  <levon@movementarian.org>
6750
6751         * lyxfunc.C: safety check for C-r (revert)
6752
6753 2003-03-29  John Levon  <levon@movementarian.org>
6754
6755         * bufferlist.h:
6756         * bufferlist.C: several UI fixes using Alert::prompt.
6757         Fix the pointless looping quit code. Fix stupid revert
6758         behaviour (bug 938)
6759
6760         * lyxvc.h:
6761         * lyxvc.C:
6762         * lyx_cb.C: use Alert::prompt
6763
6764         * lyx_main.C: remove a silly question
6765
6766         * lyxfunc.C: remove a couple of silly questions,
6767         use Alert::prompt
6768
6769 2003-03-28  John Levon  <levon@movementarian.org>
6770
6771         * text2.C: fix bug 974 (End on empty par)
6772
6773 2003-03-28  John Levon  <levon@movementarian.org>
6774
6775         * BufferView_pimpl.C:
6776         * LyXAction.C:
6777         * lfuns.h: remove do-nothing math greek lfuns
6778
6779 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * lyxgluelength.h (isValidGlueLength): add default arg on
6782         parameter 2. Remove default arg from friend in class.
6783
6784         * lyxlength.h (isValidLength): add default arg on parameter 2.
6785         Remove default arg from friend in class.
6786
6787         * text2.C (LyXText): adjust, initialize refresh_row.
6788         (init): adjust
6789         (removeRow): adjust
6790         (insertRow): adjust
6791         (insertParagraph): adjst
6792         (redoParagraphs): adjust
6793         (fullRebreak): adjust
6794         (updateCounters): adjust
6795         (deleteEmptyParagraphMechanism): first attempt at fixing a
6796         crashing bug.
6797
6798         * text.C (top_y): adjust
6799         (setHeightOfRow): adjust
6800         (getRow): adjust
6801         (getRowNearY): adjust
6802
6803         * lyxtext.h: include RowList.h
6804         (~LyXText): not needed anymore, deleted.
6805         (firstRow): modify for RowList
6806         (lastRow): new function
6807         Delete firstrow and lastrow class variables, add a Rowlist
6808         rowlist_ class variable.
6809
6810         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6811         paragraph is empty.
6812
6813         * RowList.C (insert): fix case where it == begin().
6814
6815 2003-03-26  Angus Leeming  <leeming@lyx.org>
6816
6817         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6818         the thesaurus dialog.
6819
6820 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6823
6824         * RowList.[Ch]: new files
6825
6826         * ParagraphList.C (erase): handle the case where it == begin
6827         correctly.
6828
6829 2003-03-25  John Levon  <levon@movementarian.org>
6830
6831         * Makefile.am:
6832         * aspell_local.h:
6833         * aspell.C: add new aspell support
6834
6835         * lyxrc.h:
6836         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6837         have it accessible.
6838
6839 2003-03-25  Angus Leeming  <leeming@lyx.org>
6840
6841         * lfuns.h:
6842         * LyXAction.C (init): new LFUN_INSET_INSERT.
6843
6844         * BufferView_pimpl.C (dispatch): split out part of the
6845         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6846
6847         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6848         LFUN_INSET_APPLY.
6849
6850 2003-03-25  Angus Leeming  <leeming@lyx.org>
6851
6852         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6853
6854 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * text2.C:
6857         * text3.C: remove useless row->height(0)
6858
6859 2003-03-25  John Levon  <levon@movementarian.org>
6860
6861         * lyxtext.h:
6862         * text2.C:
6863         * text3.C: rename the refreshing stuff to better names
6864
6865 2003-03-24  John Levon  <levon@movementarian.org>
6866
6867         * BufferView_pimpl.h:
6868         * BufferView_pimpl.C: update layout choice on a mouse
6869         press/release
6870
6871 2003-03-23  John Levon  <levon@movementarian.org>
6872
6873         * Makefile.am: fix commandtags.h reference
6874
6875 2003-03-22  John Levon  <levon@movementarian.org>
6876
6877         * BufferView_pimpl.C:
6878         * lyxtext.h:
6879         * rowpainter.C:
6880         * rowpainter.h:
6881         * text.C:
6882         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6883
6884 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6885
6886         * lyxtext.h:
6887         * text.C: take the rtl methods out of line
6888
6889 2003-03-21 André Pönitz <poenitz@gmx.net>
6890
6891         * metricsinfo.[Ch]: new files containing structures to be passed around
6892         during the two-phase-drawing...
6893
6894 2003-03-21 André Pönitz <poenitz@gmx.net>
6895
6896         * lyxtextclass.C: read 'environment' tag.
6897
6898 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * text2.C (removeRow): fix bug 964
6901
6902 2003-03-20  John Levon  <levon@movementarian.org>
6903
6904         * rowpainter.C:
6905         * text.C:
6906         * text2.C: paint cleanups. Inset::update() dropped font
6907         parameter
6908
6909 2003-03-19  John Levon  <levon@movementarian.org>
6910
6911         * lyxfunc.C: only fitcursor/markDirty if available()
6912
6913 2003-03-19  John Levon  <levon@movementarian.org>
6914
6915         * commandtags.h: rename to ...
6916
6917         * lfuns.h: ... this, and renumber / cleanup
6918
6919 2003-03-19  John Levon  <levon@movementarian.org>
6920
6921         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6922         fit the cursor after an lfun
6923
6924         * BufferView.h:
6925         * BufferView.C:
6926         * BufferView_pimpl.h:
6927         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6928
6929         * LyXAction.C: layout-character should have ReadOnly
6930
6931         * ParagraphParameters.C:
6932         * buffer.C:
6933         * bufferview_funcs.C:
6934         * lyx_cb.C:
6935         * lyxfind.C:
6936         * lyxtext.h:
6937         * text.C:
6938         * text2.C:
6939         * text3.C:
6940         * undo_funcs.C: changes from above
6941
6942 2003-03-18  John Levon  <levon@movementarian.org>
6943
6944         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6945         remove it from update()
6946
6947         * lyxfunc.C: update layout choice after an lfun
6948
6949         * text3.C: remove extra updateLayoutChoice()s
6950
6951 2003-03-18  John Levon  <levon@movementarian.org>
6952
6953         * text.C: top_y change means full repaint, fix
6954         a drawing bug with cursor movement
6955
6956 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6957
6958         * lyxtext.h:
6959         * text.C:
6960         * text2.C: anchor row on setCursor
6961
6962 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6963
6964         * lyxtext.h: remove almost all mutable keywords
6965         * text.C:
6966         * text2.C:
6967         * text3.C: remove const keywords accordingly
6968
6969 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6972         anon namespace
6973         (TeXEnvironment): ditto
6974         (TeXOnePar): ditto
6975
6976 2003-03-17  John Levon  <levon@movementarian.org>
6977
6978         * text.C (rowBreakPoint): remove attempt to fix displayed
6979         math insets inside a manual label
6980
6981 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * lyxtext.h: remove BufferView* as first arg from almost all class
6984         functions.
6985         * other files: adjust.
6986
6987 2003-03-17  John Levon  <levon@movementarian.org>
6988
6989         * lyxtext.h:
6990         * undo_funcs.C:
6991         * text2.C: more paint cleanups
6992
6993         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6994
6995         * rowpainter.h:
6996         * rowpainter.C: remove "smart" background painting code
6997
6998 2003-03-16  John Levon  <levon@movementarian.org>
6999
7000         * lyxtext.h:
7001         * text.C:
7002         * text2.C:
7003         * text3.C: add helper functions for setting refresh_row/y
7004
7005 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7006
7007         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7008         newline inset which *can* get inserted in the pass_thru layouts.
7009         This is primarily for literate documents.
7010
7011 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7012
7013         * buffer.C: increment LYX_FORMAT to 223
7014
7015 2003-03-14 André Pönitz <poenitz@gmx.net>
7016
7017         * textclass.h: prepare for environment handling, ws changes
7018         * lyxlayout.C: read latexheader and latexfooter tags
7019
7020 2003-03-14  John Levon  <levon@movementarian.org>
7021
7022         * text2.C: rewrite ::status() a bit
7023
7024 2003-03-13  John Levon  <levon@movementarian.org>
7025
7026         * lyxtext.h: add some docs
7027
7028 2003-03-13  John Levon  <levon@movementarian.org>
7029
7030         * lyxtext.h:
7031         * text.C:
7032         * text2.C:
7033         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7034
7035 2003-03-13  John Levon  <levon@movementarian.org>
7036
7037         * text3.C: fix appendix redrawing
7038
7039 2003-03-13  John Levon  <levon@movementarian.org>
7040
7041         * text.C (setHeightOfRow):
7042         * rowpainter.h:
7043         * rowpainter.C: make appendix mark have the text
7044           "Appendix" so the user knows what it is
7045
7046         * LColor.h:
7047         * LColor.C: s/appendixline/appendix/ from above
7048
7049 2003-03-13  John Levon  <levon@movementarian.org>
7050
7051         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7052
7053         * text.C: fix a getChar(pos) bug properly
7054
7055 2003-03-13  Angus Leeming  <leeming@lyx.org>
7056
7057         * commandtags.h:
7058         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7059         Probably only temporary. Let's see how things pan out.
7060
7061         * BufferView.C (unlockInset):
7062         * BufferView_pimpl.C (fitCursor):
7063         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7064
7065         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7066         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7067
7068         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7069         new functions that convert ParagraphParameters to and from a string.
7070
7071         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7072         BufferView::Pimpl's dispatch.
7073         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7074
7075 2003-03-13 André Pönitz <poenitz@gmx.net>
7076
7077         * lyxfunc.C:
7078         * text3.C:
7079         * factory.C: make it aware of InsetEnv
7080
7081 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * text2.C (setCursor): never ask for one past last
7084         (setCursor): add some debugging messages.
7085
7086         * text.C (singleWidth): never ask for one past last
7087         (singleWidth): ditto
7088         (leftMargin): ditto
7089         (rightMargin): ditto
7090         (rowBreakPoint): ditto
7091         (setHeightOfRow): ditto
7092         (prepareToPrint): ditto
7093
7094         * rowpainter.C (paintBackground): never ask for one past last
7095         (paintText): never ask for one past last
7096
7097         * paragraph_pimpl.C (getChar): make the assert stricter, never
7098         allow the one past last pos to be taken
7099
7100         * paragraph.C (getChar): ws changes only
7101
7102         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7103         (numberOfSeparators): ditto
7104         (numberOfHfills): ditto
7105
7106 2003-03-12  John Levon  <levon@movementarian.org>
7107
7108         * author.h:
7109         * author.C:
7110         * bufferparams.h:
7111         * bufferparams.C:
7112         * paragraph_funcs.C: fix per-buffer authorlists
7113
7114 2003-03-12  John Levon  <levon@movementarian.org>
7115
7116         * text.C: fix newline in right address
7117
7118 2003-03-12  Angus Leeming  <leeming@lyx.org>
7119
7120         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7121         duplicate those in LyXFunc::dispatch.
7122
7123         * commandtags.h:
7124         * LyXAction.C:
7125         * ToolbarDefaults.C:
7126         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7127         Add LFUN_FONTFREE_UPDATE.
7128
7129         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7130         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7131
7132         * bufferview_func.[Ch]: several new functions to facilliate
7133         transfer of data to and from the character dialog.
7134
7135 2003-03-12  John Levon  <levon@movementarian.org>
7136
7137         * buffer.C:
7138         * paragraph.h:
7139         * paragraph.C:
7140         * paragraph_funcs.C:
7141         * paragraph_pimpl.C:
7142         * sgml.C:
7143         * tabular.C:
7144         * text.C:
7145         * text3.C: remove META_NEWLINE in favour of an inset
7146
7147         * rowpainter.h:
7148         * rowpainter.C: remove paintNewline (done by inset)
7149
7150 2003-03-12  John Levon  <levon@movementarian.org>
7151
7152         * paragraph_pimpl.C: complain about bad getChar()s
7153         for a while at least
7154
7155 2003-03-12  John Levon  <levon@movementarian.org>
7156
7157         * buffer.h:
7158         * buffer.C: move paragraph read into a separate function,
7159         a little renaming to reflect that.
7160
7161         * bufferparams.h:
7162         * bufferparams.C: remove the author_ids map, not necessary now
7163
7164         * factory.h:
7165         * factory.C: moved Buffer::readInset to here
7166
7167         * paragraph_funcs.h:
7168         * paragraph_funcs.C: readParagraph free function moved from
7169         buffer.C
7170
7171         * tabular.C: name change
7172
7173 2003-03-12  John Levon  <levon@movementarian.org>
7174
7175         * buffer.C:
7176         * ParagraphParameters.C: move par params input to
7177         a read() method
7178
7179         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7180         behave like a normal read from the stream wrt reading
7181         a line vs. a \\token
7182
7183 2003-03-12  John Levon  <levon@movementarian.org>
7184
7185         * paragraph.C:
7186         * ParagraphParameters.h:
7187         * ParagraphParameters.C: move output code to a
7188         ::write() method
7189
7190 2003-03-12  John Levon  <levon@movementarian.org>
7191
7192         * BufferView.C (insertLyXFile):
7193         * buffer.h:
7194         * buffer.C:
7195         * tabular.C: use a parlist iterator for creating the
7196           document.
7197
7198 2003-03-12  John Levon  <levon@movementarian.org>
7199
7200         * buffer.C: make current_change static local not
7201           static file-scope
7202
7203 2003-03-12  John Levon  <levon@movementarian.org>
7204
7205         * buffer.C: fix insertStringAsLines for change tracking
7206
7207 2003-03-12  John Levon  <levon@movementarian.org>
7208
7209         * BufferView.C:
7210         * tabular.C:
7211         * buffer.h:
7212         * buffer.C:
7213         * bufferparams.h:
7214         * bufferparams.C: move author list into params. Rename some
7215           functions. Move the header reading into a separate token
7216           loop. Move the header token reading into BufferParams.
7217
7218 2003-03-12  John Levon  <levon@movementarian.org>
7219
7220         * changes.C: put debug inside lyxerr.debugging() checks
7221
7222 2003-03-11 André Pönitz <poenitz@gmx.net>
7223
7224         * factory.C: make it aware of InsetHFill
7225
7226 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7227
7228         * buffer.C (latexParagraphs): move function from here...
7229         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7230         args.
7231
7232 2003-03-10  Angus Leeming  <leeming@lyx.org>
7233
7234         * LyXAction.C (init): fix bug in poplating array with multiple entries
7235         with the same LFUN (spotted by JMarc).
7236
7237 2003-03-10  John Levon  <levon@movementarian.org>
7238
7239         * text.C:
7240         * text2.C: move getColumnNearX() near its
7241         only call site
7242
7243 2003-03-10  John Levon  <levon@movementarian.org>
7244
7245         * text.C: fix break before a minipage
7246
7247 2003-03-10  John Levon  <levon@movementarian.org>
7248
7249         * text.C: fix the last commit
7250
7251 2003-03-09  John Levon  <levon@movementarian.org>
7252
7253         * lyxtext.h:
7254         * text.C:
7255         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7256         bug 365 (don't break before insets unless needed). Don't
7257         return a value > last under any circumstances.
7258
7259 2003-03-09  Angus Leeming  <leeming@lyx.org>
7260
7261         * BufferView_pimpl.C (trackChanges, dispatch): call
7262         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7263
7264 2003-03-09  Angus Leeming  <leeming@lyx.org>
7265
7266         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7267         than Dialogs::showAboutlyx().
7268
7269 2003-03-09  Angus Leeming  <leeming@lyx.org>
7270
7271         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7272         than Dialogs::showTabularCreate().
7273
7274 2003-03-09  John Levon  <levon@movementarian.org>
7275
7276         * lyxtext.h:
7277         * text.C:
7278         * text2.C: 3rd arg to nextBreakPoint was always the same.
7279           Use references.
7280
7281 2003-03-08  John Levon  <levon@movementarian.org>
7282
7283         * lyxrow.C:
7284         * paragraph.C:
7285         * paragraph.h:
7286         * rowpainter.C:
7287         * text.C:
7288         * text2.C: Remove the "main" bit from the "main body"
7289           notion.
7290
7291 2003-03-08  John Levon  <levon@movementarian.org>
7292
7293         * text.C (leftMargin): The left margin of an empty
7294         manual label paragraph should not include the label width
7295         string length.
7296
7297         * text.C (prepareToPrint): don't attempt to measure hfills
7298         for empty manual label paragraphs - the answer should be 0
7299
7300 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * CutAndPaste.C: remove commented code and reindent.
7303
7304 2003-03-08  John Levon  <levon@movementarian.org>
7305
7306         * lyxfunc.h:
7307         * lyxfunc.C: move reloadBuffer()
7308
7309         * BufferView.h:
7310         * BufferView.C: to here
7311
7312         * lyxvc.C: add comment
7313
7314         * vc-backend.h:
7315         * vc-backend.C: call bv->reload() to avoid
7316           getStatus() check on MENURELOAD
7317
7318 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7319
7320         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7321         to an old format .dep file.
7322
7323 2003-03-07  Angus Leeming  <leeming@lyx.org>
7324
7325         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7326         when the LFUN_MOUSE_RELEASE should have been handled by
7327         inset->localDispatch.
7328
7329 2003-03-07  Angus Leeming  <leeming@lyx.org>
7330
7331         * BufferView_pimpl.C (dispatch):
7332         * LyXAction.C (init):
7333         * ToolbarDefaults.C (init):
7334         * commandtags.h:
7335         * lyxfunc.C (getStatus):
7336         remove LFUN_INSET_GRAPHICS.
7337
7338         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7339
7340 2003-03-07  Angus Leeming  <leeming@lyx.org>
7341
7342         * commandtags.h:
7343         * LyXAction.C (init):
7344         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7345
7346         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7347
7348         * commandtags.h:
7349         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7350
7351         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7352         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7353
7354 2003-03-07  Angus Leeming  <leeming@lyx.org>
7355
7356         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7357         remove "ert".
7358
7359 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * ParagraphList.C (front): new function
7362         (back): implement
7363
7364 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7365
7366         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7367         and top_row_offset_. removed var first_y.
7368         * text.C (top_y):
7369         * text2.C (LyXText, removeRow):
7370         * text3.C:
7371         * BufferView_pimpl.C:
7372         use these methods instead of using first_y
7373
7374 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * text2.C (pasteSelection): adjust for checkPastePossible
7377
7378         * CutAndPaste.C: remove Paragraph * buf and replace with
7379         ParagraphList paragraphs.
7380         (DeleteBuffer): delete
7381         (cutSelection): change the tc type to textclass_type
7382         (copySelection): change the tc type to textclass_type
7383         (copySelection): adjust for ParagraphList
7384         (pasteSelection): change the tc type to textclass_type
7385         (pasteSelection): adjust for Paragraphlist
7386         (nrOfParagraphs): simplify for ParagraphList
7387         (checkPastePossible): simplify for ParagraphList
7388         (checkPastePossible): remove unused arg
7389
7390         * ParagraphList.C (insert): handle the case where there are no
7391         paragraphs yet.
7392
7393         * CutAndPaste.h: make CutAndPaste a namespace.
7394
7395         * text3.C (dispatch): adjust
7396
7397         * text.C (breakParagraph): add a ParagraphList as arg
7398
7399         * paragraph_funcs.C (breakParagraph): change to take a
7400         BufferParams and a ParagraphList as args.
7401         (breakParagraphConservative): ditto
7402         (mergeParagraph): ditto
7403         (TeXDeeper): add a ParagraphList arg
7404         (TeXEnvironment): ditto
7405         (TeXOnePar): ditto
7406
7407         * buffer.C (readLyXformat2): adjust
7408         (insertStringAsLines): adjust
7409         (latexParagraphs): adjust
7410
7411         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7412         (cutSelection): adjust
7413         (pasteSelection): adjust
7414
7415         * BufferView_pimpl.C (insertInset): adjust
7416
7417 2003-03-05  Angus Leeming  <leeming@lyx.org>
7418
7419         * commandtags.h:
7420         * LyXAction.C (init):
7421         * BufferView_pimpl.C (dispatch):
7422         * lyxfunc.C (getStatus):
7423         remove LFUN_CHILD_INSERT.
7424
7425         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7426
7427 2003-03-05  Angus Leeming  <leeming@lyx.org>
7428
7429         * commandtags.h:
7430         * LyXAction.C (init):
7431         * src/factory.C (createInset):
7432         * lyxfunc.C (getStatus):
7433         * text3.C (dispatch):
7434         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7435
7436         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7437
7438 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * ParagraphList.C (insert): handle insert right before end()
7441         (erase): fix cases where it can be first or last paragraph.
7442
7443 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7446         Paragraph::next and Paragraph::previous
7447         (TeXOnePar): ditto
7448
7449         * text.C (breakParagraph): adjust
7450
7451         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7452         BufferParams& as arg.
7453         (breakParagraph): use ParagraphList::insert
7454         (breakParagraphConservative): take a Buffer* instead of a
7455         BufferParams& as arg.
7456         (breakParagraphConservative): use ParagraphList::insert.
7457
7458         * buffer.C (insertStringAsLines): un-const it
7459         (insertStringAsLines): adjust
7460
7461         * ParagraphList.C (insert): new function
7462
7463         * CutAndPaste.C (pasteSelection): adjust
7464
7465         * text.C (backspace): adjust
7466
7467         * tabular.C (SetMultiColumn): adjust
7468
7469         * CutAndPaste.C (cutSelection): adjust
7470         (pasteSelection): adjust
7471
7472         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7473         Buffer const * as arg
7474
7475         * ParagraphList.C (erase): new function
7476         * paragraph_funcs.C (mergeParagraph): use it
7477         (mergeParagraph): make it take a Buffer* instead of a
7478         BufferParams* as arg
7479
7480         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7481         as arg
7482         (breakParagraphConservative): ditto
7483
7484         * paragraph.h: remove the breakParagraph friend
7485
7486         * paragraph.C (eraseIntern): new function
7487         (setChange): new function
7488
7489         * paragraph_funcs.C (mergeParagraph): make it take a
7490         ParagraphList::iterator instead of a Paragraph *, adjust
7491         accordingly.
7492
7493         * paragraph.h: move an #endif so that the change tracking stuff
7494         also works in the NO_NEXT case.
7495
7496 2003-03-04  Angus Leeming  <leeming@lyx.org>
7497
7498         * commandtags.h:
7499         * LyXAction.C: new LFUN_INSET_MODIFY.
7500
7501         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7502         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7503
7504 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * several files: ws changes only
7507
7508         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7509         (TeXEnvironment): ditto
7510         (TeXDeeper): ditto
7511
7512         * buffer.C (makeLaTeXFile): adjust
7513         (latexParagraphs): make it take ParagraphList::iterator as args
7514
7515 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * buffer.C (latexParagraphs): adjust
7518
7519         * paragraph.C (TeXOnePar): move function...
7520         (optArgInset): move function...
7521         (TeXEnvironment): move function...
7522         * paragraph_pimpl.C (TeXDeeper): move function...
7523         * paragraph_funcs.C: ...here
7524
7525         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7526
7527 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * buffer.C (readInset): remove compability code for old Figure and
7530         InsetInfo insets
7531
7532 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * buffer.C: ws changes
7535         (readInset):
7536
7537         * BufferView_pimpl.C: ditto
7538         * author.C: ditto
7539         * buffer.h: ditto
7540         * bufferlist.h: ditto
7541         * changes.h: ditto
7542         * lyxfunc.C: ditto
7543
7544 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7545
7546         * converter.[Ch]: split into itself +
7547         * graph.[Ch]
7548         * format.[Ch]
7549         * Makefile.am: += graph.[Ch] + format.[Ch]
7550         * MenuBackend.C
7551         * buffer.C
7552         * exporter.C
7553         * importer.C
7554         * lyx_main.C
7555         * lyxfunc.C
7556         * lyxrc.C: added #include "format.h"
7557
7558 2003-02-27  Angus Leeming  <leeming@lyx.org>
7559
7560         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7561           a label.
7562
7563         * factory.C (createInset): add "label" to the factory.
7564
7565         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7566           string and do no more.
7567
7568 2003-02-27  Angus Leeming  <leeming@lyx.org>
7569
7570         * commandtags.h:
7571         * LyXAction.C (init):
7572         * factory.C (createInset):
7573         * BufferView_pimpl.C (dispatch):
7574           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7575
7576         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7577
7578         * lyxfunc.C (dispatch):
7579         * text3.C (dispatch): pass name to params2string.
7580
7581 2003-02-26  Angus Leeming  <leeming@lyx.org>
7582
7583         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7584           blocks together.
7585           Rearrange the ~includes. Strip out the unnecessary ones.
7586
7587         * factory.C (createInset): reformat.
7588           create new insets for the various LFUN_XYZ_APPLY lfuns.
7589
7590 2003-02-26  John Levon  <levon@movementarian.org>
7591
7592         * lyxrow.h:
7593         * lyxrow.C: add isParStart,isParEnd helpers
7594
7595         * paragraph.h: make isInserted/DeletedText take refs
7596
7597         * paragraph_funcs.h:
7598         * paragraph_funcs.C: remove #if 0'd code
7599
7600         * lyxtext.h:
7601         * text3.C:
7602         * text2.C:
7603         * text.C: use lyxrow helpers above.
7604           Move draw and paint routines to RowPainter.
7605           Make several methods use refs not pointers.
7606           Make backgroundColor() const.
7607           Add markChangeInDraw(), isInInset().
7608           Merge changeRegionCase into changeCase.
7609           Make workWidth() shouldn't-happen code into an Assert.
7610
7611         * rowpainter.h:
7612         * rowpainter.C: new class for painting a row.
7613
7614         * vspace.h:
7615         * vspace.C: make inPixels take a ref
7616
7617 2003-02-26  Angus Leeming  <leeming@lyx.org>
7618
7619         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7620         LFUN_REF_APPLY.
7621
7622 2003-02-25  John Levon  <levon@movementarian.org>
7623
7624         * ispell.C: give the forked command a more accurate name
7625
7626 2003-02-22  John Levon  <levon@movementarian.org>
7627
7628         * toc.h:
7629         * toc.C: make TocItem store an id not a Paragraph *
7630           (bug #913)
7631
7632 2003-02-21  Angus Leeming  <leeming@lyx.org>
7633
7634         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7635           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7636           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7637           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7638           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7639           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7640
7641         * BufferView_pimpl.C (dispatch):
7642         * LyXAction.C (init):
7643         * factory.C (createInset):
7644         * lyxfunc.C (getStatus, dispatch):
7645         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7646
7647 2003-02-21  Angus Leeming  <leeming@lyx.org>
7648
7649         * BufferView_pimpl.C (MenuInsertLyXFile):
7650         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7651         * lyxfunc.C (menuNew, open, doImport):
7652           no longer pass a LyXView & to fileDlg.
7653
7654 2003-02-21  Angus Leeming  <leeming@lyx.org>
7655
7656         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7657         * LyXAction.C: change, BIBKEY to BIBITEM.
7658         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7659         Change InsetBibKey to InsetBibitem.
7660         Change BIBKEY_CODE to BIBITEM_CODE.
7661         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7662         * factory.C: replace insetbib.h with insetbibitem.h.
7663         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7664         * paragraph.C: replace insetbib.h with insetbibitem.h.
7665         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7666         Change bibkey() to bibitem().
7667         * text.C: remove insetbib.h.
7668         * text2.C: replace insetbib.h with insetbibitem.h.
7669         change bibkey() to bibitem().
7670         * text3.C: remove insetbib.h.
7671         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7672
7673 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7674
7675         * lyxrc.C (output): enclose user email in quotes (in case there are
7676         several words)
7677
7678 2003-02-18  John Levon  <levon@movementarian.org>
7679
7680         * buffer.h: add std::
7681
7682 2003-02-17  John Levon  <levon@movementarian.org>
7683
7684         * SpellBase.h:
7685         * ispell.h:
7686         * ispell.C:
7687         * pspell.h:
7688         * pspell.C: reworking. Especially in ispell, a large
7689           number of clean ups and bug fixes.
7690
7691         * lyxfunc.C: fix revert to behave sensibly
7692
7693 2003-02-17 André Pönitz <poenitz@gmx.net>
7694
7695         * LyXAction.C:
7696         * commandtags.h: new LFUN_INSERT_BIBKEY
7697
7698         * layout.h:
7699         * lyxlayout.C:
7700         * buffer.C:
7701         * factory.C:
7702         * text.C:
7703         * text2.C:
7704         * text3.C:
7705         * paragraph.[Ch]:
7706         * paragraph_func.C: remove special bibkey handling
7707
7708 2003-02-17  John Levon  <levon@movementarian.org>
7709
7710         * text.C (Delete): fix case where delete at the end of
7711           the very first paragraph would not merge the pars
7712
7713 2003-02-17  John Levon  <levon@movementarian.org>
7714
7715         * lyxrow.C: fix lastPrintablePos()
7716
7717 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7718
7719         * bufferparams.C (writeLaTeX): add a std:here
7720
7721         * buffer.C: and remove a using directive there
7722
7723 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * buffer.C (makeLaTeXFile): move the code that generates the
7726           preamble...
7727
7728         * bufferparams.C (writeLaTeX): ... in this new method
7729
7730         * LaTeXFeatures.C (getEncodingSet): make const
7731           (getLanguages): make const
7732
7733         * MenuBackend.C (binding): returns the binding associated to this
7734           action
7735           (add): sets the status of each item by calling getStatus. Adds
7736           some intelligence.
7737           (read): add support for OptSubMenu
7738           (expand): remove extra separator at the end of expanded menu
7739
7740 2003-02-15  John Levon  <levon@movementarian.org>
7741
7742         * BufferView.C:
7743         * BufferView_pimpl.C:
7744         * bufferlist.h:
7745         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7746           inset code that had no actual effect. Remove unneeded status
7747           code.
7748
7749 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7752           in preamble
7753
7754 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7755
7756         * text.C (drawLengthMarker): also draw an arrow marker for
7757           symbolic lengths (medskip...)
7758
7759 2003-02-14  John Levon  <levon@movementarian.org>
7760
7761         * tabular.h:
7762         * tabular.C: better method names
7763
7764 2003-02-14  John Levon  <levon@movementarian.org>
7765
7766         * BufferView_pimpl.C:
7767         * bufferlist.C:
7768         * buffer.C:
7769         * converter.C:
7770         * lyx_cb.C:
7771         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7772           it's a more accurate name. Remove some pointless uses.
7773
7774 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7775
7776         * text2.C (LyXText): change order of initilizers to shut off
7777           warnings
7778
7779 2003-02-14  John Levon  <levon@movementarian.org>
7780
7781         * buffer.C: use ParIterator for getParFromID()
7782
7783         * paragraph.h:
7784         * paragraph.C:
7785         * paragraph_pimpl.h:
7786         * paragraph_pimpl.C: remove unused getParFromID()
7787
7788 2003-02-14  John Levon  <levon@movementarian.org>
7789
7790         * buffer.C: remove some very old #if 0'd parse code
7791
7792 2003-02-13  John Levon  <levon@movementarian.org>
7793
7794         * text.h:
7795         * text.C:
7796         * text2.C: move hfillExpansion(), numberOfSeparators(),
7797           rowLast(), rowLastPrintable(), numberofHfills(),
7798           numberOfLabelHfills() ...
7799
7800         * lyxrow.h:
7801         * lyxrow.C: ... to member functions here.
7802
7803         * paragraph.h:
7804         * paragraph.C:
7805         * lyxtext.h:
7806         * text.C: remove LyXText::beginningOfMainBody(), and call
7807           p->beginningOfMainBody() directly. Move the check for
7808           LABEL_MANUAL into the latter.
7809
7810         * text.h:
7811         * text.C:
7812         * text2.C:
7813         * vspace.C:
7814         * BufferView.h:
7815         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7816
7817         * text.h:
7818         * text.C:
7819         * text2.C:
7820         * text3.C:
7821         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7822           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7823
7824 2003-02-13  John Levon  <levon@movementarian.org>
7825
7826         * CutAndPaste.C: remove debug
7827
7828 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7829
7830         * paragraph.C (asString): remove two unused variables
7831
7832         * lyxtextclass.C (readTitleType):
7833           (Read):
7834           (LyXTextClass): handle new members titletype_ and titlename_
7835
7836         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7837
7838 2003-02-09  John Levon  <levon@movementarian.org>
7839
7840         * buffer.h:
7841         * buffer.C: replace hand-coded list with a map for the dep clean
7842
7843 2003-02-08  John Levon  <levon@movementarian.org>
7844
7845         * LaTeX.C: consolidate code into showRunMessage() helper
7846
7847 2003-02-08  John Levon  <levon@movementarian.org>
7848
7849         * lyxfind.C:
7850         * lyxtext.h:
7851         * text2.C:
7852         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7853           and pass the size in explicitly
7854
7855         * BufferView_pimpl.h:
7856         * BufferView_pimpl.C:
7857         * BufferView.h:
7858         * BufferView.C: add getCurrentChange()
7859
7860         * BufferView_pimpl.h:
7861         * BufferView_pimpl.C: handle change lfuns
7862
7863         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7864           for changes. Mark pasted paragraphs as new.
7865
7866         * support/lyxtime.h:
7867         * support/lyxtime.C:
7868         * DepTable.C: abstract time_t as lyx::time_type
7869
7870         * LColor.h:
7871         * LColor.C: add colours for new text, deleted text, changebars
7872
7873         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7874           package use "usenames" option.
7875
7876         * commandtags.h:
7877         * lyxfunc.C:
7878         * LyXAction.C: add change lfuns
7879
7880         * Makefile.am:
7881         * author.h:
7882         * author.C: author handling
7883
7884         * buffer.h:
7885         * buffer.C: add a per-buffer author list, with first entry as
7886           current author. Handle new .lyx tokens for change tracking. Output
7887           author list to .lyx file. Output dvipost stuff to .tex preamble.
7888           Bump lyx format to 222.
7889
7890         * bufferlist.h:
7891         * bufferlist.C: add setCurrentAuthor() to reset current author details
7892           in all buffers.
7893
7894         * bufferparams.h:
7895         * bufferparams.C: add param for tracking
7896
7897         * bufferview_funcs.C: output change info in minibuffer
7898
7899         * Makefile.am:
7900         * changes.h:
7901         * changes.C: add change-tracking structure
7902
7903         * debug.h:
7904         * debug.C: add CHANGES debug flag
7905
7906         * lyxfind.h:
7907         * lyxfind.C: add code for finding the next change piece
7908
7909         * lyxrc.h:
7910         * lyxrc.C: add user_name and user_email
7911
7912         * lyxrow.h:
7913         * lyxrow.C: add a metric for the top of the text line
7914
7915         * lyxtext.h:
7916         * text.C: implement accept/rejectChange()
7917
7918         * lyxtext.h:
7919         * text.C: paint changebars. Paint new/deleted text in the chosen
7920         colours. Strike through deleted text.
7921
7922         * paragraph.h:
7923         * paragraph.C:
7924         * paragraph_pimpl.h:
7925         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7926           in the current change to the insert functions. Rework erase to
7927           mark text as deleted, adding an eraseIntern() and a range-based
7928           erase(). Implement per-paragraph change lookup and
7929           accept/reject.
7930
7931         * paragraph_funcs.C: Fixup paste for change tracking.
7932
7933         * tabular.C: mark added row/columns as new.
7934
7935         * text.C: fix rowLast() to never return -1. Don't allow
7936           spellchecking of deleted text. Track transpose changes. Don't
7937           allow paragraph break or merge where appropriate.
7938
7939         * text2.C: leave cursor at end of selection after a cut.
7940
7941 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7942
7943         * text.C (getLengthMarkerHeight):
7944         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7945         visible on screen too.
7946
7947 2003-02-07  John Levon  <levon@movementarian.org>
7948
7949         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7950
7951 2003-02-05  Angus Leeming  <leeming@lyx.org>
7952
7953         * lyxserver.C (read_ready): revert my patch of 11 September last year
7954         as it sends PC cpu through the roof. Presumably this means that
7955         the lyxserver will no longer run on an Alpha...
7956
7957 2003-01-30  Angus Leeming  <leeming@lyx.org>
7958
7959         * factory.C (createInset): create an InsetCommandParam of type "index"
7960         and use it to 'do the right thing'.
7961
7962         * text2.C (getStringToIndex): ensure that cursor position is always
7963         reset to the reset_cursor position.
7964
7965 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7966
7967         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7968         disabled.
7969
7970 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7971
7972         * bufferview.C:
7973         * lyxcb.C:
7974         * lyxfunc.C: Output messages with identical spelling, punctuation,
7975         and spaces
7976
7977 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7978
7979         * MenuBackend.C (expandFormats): List only viewable export formats
7980         in "View" menu
7981
7982         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7983         message
7984
7985         * lyxfunc.C (getStatus): Make sure that formats other than
7986         "fax" can also be disabled
7987
7988 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7989
7990         * text3.C (dispatch): put the lfuns that insert insets in 3
7991         groups, and call doInsertInset with appropriate arguments.
7992         (doInsertInset): new function, that creates an inset and inserts
7993         it according to some boolean parameters.
7994
7995 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * buffer.C (readFile): remember to pass on 'par' when calling
7998         readFile recursively.
7999
8000 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8001
8002         * MenuBackend.C (expandFormats): add "..." to import formats.
8003
8004 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8005
8006         * paragraph.C (asString): Remove XForms RTL hacks.
8007
8008 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8009         * buffer.C: fix typo
8010
8011 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * Makefile.am (LIBS): delete var
8014         (lyx_LDADD): add @LIBS@ here instead.
8015
8016 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8017
8018         * Clarify the meaning of "wheel mouse jump"
8019
8020 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8021
8022         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8023         tabular in a float
8024
8025 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8026
8027         * importer.C (Loaders): do not preallocate 3 elements in the
8028         vector, since one ends up with 6 elements otherwise
8029
8030 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8031
8032         * DepTable.C (write): write the file name as last element of the
8033         .dep file (because it may contain spaces)
8034         (read): read info in the right order
8035
8036 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8037
8038         * paragraph_pimpl.C (simpleTeXBlanks):
8039         (simpleTeXSpecialChars):
8040         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8041
8042         * tabular.C (latex): add some missing case statements. Reindent.
8043
8044         * MenuBackend.C (expandToc): remove unused variable.
8045
8046 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8047
8048         * LColor.C:
8049         * LaTeX.C:
8050         * LyXAction.C:
8051         * MenuBackend.C:
8052         * buffer.C:
8053         * exporter.C:
8054         * lyxfunc.C:
8055         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8056         and the like.
8057
8058 2003-01-05  John Levon  <levon@movementarian.org>
8059
8060         * BufferView.h:
8061         * BufferView.C: add getEncoding()
8062
8063         * kbsequence.h:
8064         * kbsequence.C: do not store last keypress
8065
8066         * lyxfunc.h:
8067         * lyxfunc.C: store last keypress here instead. Pass encoding
8068           to getISOEncoded()
8069
8070 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8071
8072         * lyx_main.C (init): remove annoying error message when following
8073         symbolic links (bug #780)
8074
8075 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8076
8077         * text.C (insertChar):
8078         * lyxrc.C (getDescription): remove extra spaces
8079
8080 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8081
8082         * lyxrc.C (getDescription): remove extra spaces
8083
8084 2002-12-20  John Levon  <levon@movementarian.org>
8085
8086         * text3.C: hack fix for page up/down across tall rows
8087
8088 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8089
8090         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8091         not been invoked
8092
8093 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8094
8095         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8096         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8097         thesaurus is not compiled in
8098
8099 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8100
8101         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8102
8103 2002-12-16  Angus Leeming  <leeming@lyx.org>
8104
8105         * lyxrc.[Ch]:
8106         * lyx_main.C (init): remove override_x_deadkeys stuff.
8107
8108 2002-12-12  John Levon  <levon@movementarian.org>
8109
8110         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8111           insert. Only remove shift modifier under strict
8112           circumstances.
8113
8114 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * MenuBackend.C (expandToc): fix crash.
8117
8118 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * MenuBackend.C (expandToc): gettext on float names.
8121
8122 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8123
8124         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8125         implement bool empty() [bug 490]
8126
8127 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8130
8131 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * several files: ws changes
8134
8135 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * text2.C (setCounter): clean up a bit, use boost.format.
8138         (updateCounters): initialize par upon declaration.
8139
8140         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8141         if the layout exists. We do not just store the layout any more.
8142         (SwitchLayoutsBetweenClasses): use boost.format
8143
8144 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8145
8146         * converter.C (convert): if from and to files are the same, use a
8147         temporary files as intermediary
8148
8149 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8150
8151         * commandtags.h:
8152         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8153
8154 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8155
8156         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8157
8158 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * tabular.C (asciiPrintCell): use string(size, char) instead of
8161         explicit loop.
8162
8163         * sgml.C (openTag): fix order of arguments to string constructor
8164         (closeTag): ditto
8165
8166         * lyxfunc.C (dispatch): use boost.format
8167
8168         * lots of files: change "c" -> 'c'
8169
8170 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8171
8172         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8173
8174 2002-11-25  Angus Leeming  <leeming@lyx.org>
8175
8176         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8177
8178         * lyx_main.C (init): compile fix.
8179
8180 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * lyx_cb.C (start): boost.formatify
8183         do not include <iostream>
8184
8185         * lengthcommon.C: ws only
8186
8187         * boost-inst.C,BoostFormat.h: add more explict instantations
8188
8189 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * lots of files: handle USE_BOOST_FORMAT
8192
8193 2002-11-21  John Levon  <levon@movementarian.org>
8194
8195         * pspell.C: fix compile
8196
8197 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8198
8199         * lyxfunc.C (dispatch): use boost::format
8200         (open): ditto
8201         (doImport): ditto
8202
8203         * lyxfont.C (stateText): use boost::format
8204
8205         * lyx_main.C (LyX): use boost::format
8206         (init): ditto
8207         (queryUserLyXDir): ditto
8208         (readRcFile): ditto
8209         (parse_dbg): ditto
8210         (typedef boost::function): use the recommened syntax.
8211
8212         * importer.C (Import): use boost::format
8213
8214         * debug.C (showLevel): use boost::format
8215
8216         * converter.C (view): use boost::format
8217         (convert): ditto
8218         (move): ditto
8219         (scanLog): ditto
8220
8221         * bufferview_funcs.C (currentState): use boost::format
8222
8223         * bufferlist.C (emergencyWrite): use boost::format
8224
8225         * buffer.C (readLyXformat2): use boost::format
8226         (parseSingleLyXformat2Token): ditto
8227
8228         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8229
8230         * LaTeX.C (run): use boost::format
8231
8232         * Chktex.C (scanLogFile): use boost::format
8233
8234         * BufferView_pimpl.C (savePosition): use boost::format
8235         (restorePosition): ditto
8236         (MenuInsertLyXFile): ditto
8237
8238         * BoostFormat.h: help file for explicit instation.
8239
8240 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8241
8242         * tabular.C (latex): Support for block alignment in fixed width
8243         columns.
8244
8245 2002-11-17  John Levon  <levon@movementarian.org>
8246
8247         * BufferView_pimpl.C:
8248         * lyx_cb.C:
8249         * lyxfunc.C: split filedialog into open/save
8250
8251 2002-11-08  Juergen Vigna  <jug@sad.it>
8252
8253         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8254         by my last patch (hopefully).
8255
8256 2002-11-08  John Levon  <levon@movementarian.org>
8257
8258         * iterators.h:
8259         * iterators.C:
8260         * buffer.h:
8261         * buffer.C:
8262         * paragraph.h:
8263         * paragraph.C:
8264         * toc.h:
8265         * toc.C: ParConstIterator, and use it (from Lars)
8266
8267 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8268
8269         * lyxtextclass.[Ch]: revise and add doxygen comments
8270
8271 2002-11-07  John Levon  <levon@movementarian.org>
8272
8273         * text.C: fix progress value for spellchecker
8274
8275         * toc.C: fix navigate menu for insetwrap inside minipage
8276
8277         * paragraph_funcs.C: added FIXME for suspect code
8278
8279 2002-11-07  John Levon  <levon@movementarian.org>
8280
8281         * BufferView_pimpl.C: fix redrawing of insets
8282           on buffer switch
8283
8284 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8285
8286         * text2.C (updateCounters): fix bug 668
8287
8288 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8289
8290         * text3.C (dispatch): Do not make the buffer dirty when moving the
8291         cursor.
8292
8293 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8294
8295         * vc-backend.C: STRCONV
8296         (scanMaster): ditto
8297
8298         * text2.C (setCounter): STRCONV
8299
8300         * paragraph.C (asString): STRCONV
8301
8302         * lyxlength.C (asString): STRCONV
8303         (asLatexString): ditto
8304
8305         * lyxgluelength.C (asString): STRCONV
8306         (asLatexString): ditto
8307
8308         * lyxfunc.C (dispatch): STRCONV
8309         (open): ditto
8310
8311         * lyxfont.C (stateText): STRCONV
8312
8313         * importer.C (Import): STRCONV
8314
8315         * counters.C (labelItem): STRCONV
8316         (numberLabel): ditto
8317         (numberLabel): remove unused ostringstream o
8318
8319         * chset.C: STRCONV
8320         (loadFile): ditto
8321
8322         * bufferview_funcs.C (currentState): STRCONV
8323
8324         * buffer.C (readFile): STRCONV
8325         (asciiParagraph): ditto
8326         (makeLaTeXFile): ditto
8327
8328         * Spacing.C (writeEnvirBegin): STRCONV
8329
8330         * LaTeXFeatures.C (getLanguages): STRCONV
8331         (getPackages): ditto
8332         (getMacros): ditto
8333         (getBabelOptions): ditto
8334         (getTClassPreamble): ditto
8335         (getLyXSGMLEntities): ditto
8336         (getIncludedFiles): ditto
8337
8338         * LaTeX.C: STRCONV
8339         (run): ditto
8340         (scanAuxFile): ditto
8341         (deplog): ditto
8342
8343         * LString.h: add the STRCONV macros
8344
8345         * BufferView_pimpl.C (savePosition): STRCONV
8346         (restorePosition): ditto
8347         (MenuInsertLyXFile): ditto
8348
8349         * vc-backend.C (scanMaster): change from submatch[...] to
8350         submatch.str(...)
8351
8352         * funcrequest.C: include config.h
8353
8354         * factory.C: include config.h
8355
8356         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8357
8358         * box.C: include config.h
8359
8360         * LaTeX.C (scanAuxFile): change from submatch[...] to
8361         submatch.str(...)
8362         (deplog): ditto
8363
8364 2002-10-25  Angus Leeming  <leeming@lyx.org>
8365
8366         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8367
8368         * ispell.[Ch] (setError): new method.
8369         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8370         Use setError() insetead of goto END.
8371
8372         * lyx_cb.C (AutoSave): move out child process into new class
8373         AutoSaveBuffer.
8374
8375 2002-10-30  John Levon  <levon@movementarian.org>
8376
8377         * text3.C: make start appendix undoable
8378
8379 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * lyxlength.C (inPixels): Fix returned value.
8382
8383         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8384         environment.
8385
8386 2002-10-24  Angus Leeming  <leeming@lyx.org>
8387
8388         * lyxgluelength.h: no need to forward declare BufferParams
8389         or BufferView, so don't.
8390
8391 2002-10-21  John Levon  <levon@movementarian.org>
8392
8393         * BufferView.C: menuUndo ->undo, redo
8394
8395         * BufferView.h: document, remove dead, make some methods private
8396
8397         * paragraph_funcs.h:
8398         * paragraph_funcs.C:
8399         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8400
8401         * buffer.h:
8402         * buffer.C:
8403         * sgml.h:
8404         * sgml.C: move sgml open/close tag into sgml.C
8405
8406         * bufferview_funcs.h: unused prototype
8407
8408         * lyxfunc.h:
8409         * lyxfunc.C: remove unused
8410
8411         * lyxtext.h:
8412         * text.C: remove unused
8413
8414 2002-10-21  John Levon  <levon@movementarian.org>
8415
8416         * BufferView.h:
8417         * BufferView.C:
8418         * BufferView_pimpl.h:
8419         * BufferView_pimpl.C: fix mouse wheel handling based on
8420           patch from Darren Freeman
8421
8422 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8425
8426 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8427
8428         * lyxlength.C (inPixels): Fix hanfling of negative length.
8429         Fix LyXLength::MU case.
8430
8431 2002-10-16  John Levon  <levon@movementarian.org>
8432
8433         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8434
8435 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8436
8437         * converter.C (view): add support for $$i (file name) and $$p
8438         (file path) for the viewer command. If $$i is not specified, then
8439         it is appended to the command (for compatibility with old syntax)
8440
8441 2002-10-14  Juergen Vigna  <jug@sad.it>
8442
8443         * undo_funcs.C (textHandleUndo): alter the order in which the
8444         new undopar is added to the LyXText, as we have to set first
8445         the right prev/next and then add it as otherwise the rebuild of
8446         LyXText is not correct. Also reset the cursor to the right paragraph,
8447         with this IMO we could remove the hack in "redoParagraphs()".
8448
8449 2002-10-09  Angus Leeming  <leeming@lyx.org>
8450
8451         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8452         to turn off an optimisation if a new inset is to be inserted.
8453
8454 2002-10-11 André Pönitz <poenitz@gmx.net>
8455
8456         * lyxtext.h: make some functions public to allow access
8457         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8458
8459 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8460
8461         * text3.C (dispatch): when changing layout, avoid an infinite loop
8462         [bug #652]
8463
8464 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8465
8466         * lyxrc.C (read): treat a viewer or converter command of "none" as
8467         if it were empty.
8468
8469         * MenuBackend.C (expandFormats): for an update, also allow the
8470         formats that are not viewable
8471
8472         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8473         script if it is newer than the lyxrc.defaults in user directory
8474
8475 2002-10-07 André Pönitz <poenitz@gmx.net>
8476
8477         * text.C: Vitaly Lipatov's small i18n fix
8478
8479 2002-09-25  Angus Leeming  <leeming@lyx.org>
8480
8481         * ispell.h: doxygen fix.
8482
8483 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8484
8485         * buffer.h (readFile): Add a new argument to the method, to allow
8486         reading of old-format templates.
8487
8488 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8489
8490         * toc.C (getTocList): Get TOC from InsetWrap.
8491
8492 2002-09-16  John Levon  <levon@movementarian.org>
8493
8494         * lyxfunc.C: check tabular for cut/copy too
8495
8496 2002-09-12  John Levon  <levon@movementarian.org>
8497
8498         * LyXAction.C: tidy
8499
8500         * factory.h:
8501         * factory.C: add header
8502
8503         * paragraph_funcs.h:
8504         * paragraph_funcs.C: cleanup
8505
8506 2002-09-11  John Levon  <levon@movementarian.org>
8507
8508         * PrinterParams.h: odd/even default to true
8509
8510 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8511
8512         * PrinterParams.h: update printer parameters for new xforms dialog
8513
8514 2002-09-11  Angus Leeming  <leeming@lyx.org>
8515
8516         * lyxserver.C (read_ready): re-write to make it more transparent
8517         and to make it work in coherent fashion under Tru64 Unix.
8518
8519 2002-09-11  André Pönitz <poenitz@gmx.net>
8520
8521         * commandtags.h:
8522         * LyXAction.C:
8523         * text3.C: implement LFUN_WORDSEL
8524
8525 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8528         make floatlist_ a boost::shared_ptr<FloatList>
8529
8530         * lyxtextclass.C: include FloatList.h
8531         (LyXTextClass): initialize floatlist_
8532         (TextClassTags): add TC_NOFLOAT
8533         (Read): match "nofloat" to TC_NOFLOAT and use it.
8534         (readFloat): modify call to floatlist_
8535         (floats): ditto
8536         (floats): ditto
8537
8538         * FloatList.[Ch] (FloatList): remove commented out float
8539         initialization.
8540         (erase): new function
8541
8542 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8543
8544         * MenuBackend.C (expandToc): fix crash when there is no document
8545         open
8546
8547 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8548
8549         * many files: Add insetwrap.
8550
8551 2002-09-09  John Levon  <levon@movementarian.org>
8552
8553         * text2.C: remove confusing and awkward depth wraparound
8554
8555 2002-09-09  John Levon  <levon@movementarian.org>
8556
8557         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8558
8559         * buffer.h:
8560         * buffer.C: remove getIncludeonlyList()
8561
8562         * paragraph.C:
8563         * lyxfunc.C: remove headers
8564
8565 2002-09-09  Juergen Vigna  <jug@sad.it>
8566
8567         * text.C (getColumnNearX): fix form Michael this is most
8568         probably a cut&paste bug.
8569
8570 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8573
8574         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8575         references, ws changes.
8576
8577         * text2.C (init): update counters after init
8578         (insertParagraph): no need to set counter on idividual paragraphs.
8579         (setCounter): access the counters object in the textclass object
8580         on in the buffer object.
8581         (updateCounters): ditto
8582
8583         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8584         shared_ptr<Counters> to avoid loading counters.h in all
8585         compilation units.
8586         (LyXTextClass): initialize ctrs_
8587         (TextClassTags): add TC_COUNTER, and ...
8588         (Read): use it here.
8589         (CounterTags): new tags
8590         (readCounter): new function
8591         (counters): new funtion
8592         (defaultLayoutName): return a const reference
8593
8594         * counters.C (Counters): remove contructor
8595         (newCounter): remove a couple of unneeded statements.
8596         (newCounter): simplify a bit.
8597         (numberLabel): some small formatting changes.
8598
8599         * buffer.[Ch]: remove all traces of counters, move the Counters
8600         object to the LyXTextClass.
8601
8602 2002-09-06  Alain Castera  <castera@in2p3.fr>
8603
8604         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8605         package to set the horizontal alignment on fixed width columns.
8606
8607         * lyx_sty.C:
8608         * lyx_sty.h: added tabularnewline macro def.
8609
8610         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8611
8612 2002-09-06  John Levon  <levon@movementarian.org>
8613
8614         * LyXAction.C: tooltips for sub/superscript
8615
8616         * MenuBackend.C: a bit more verbose
8617
8618         * lyxfunc.C: tiny clean
8619
8620         * undo_funcs.C: document undo_frozen
8621
8622 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * counters.C (Counters): add missing algorithm counter.
8625
8626         * text2.C (setCounter): lookup the counter with layouts latexname
8627         instead of by section number.
8628         (setCounter): use a hackish way to lookup the correct enum
8629         counter.
8630         a float name->type change
8631         reset enum couners with counter name directly instead of depth value.
8632
8633         * counters.C (Counters): remove the push_backs, change to use the
8634         float type not the float name.
8635         (labelItem): remove unused string, float name->type change
8636
8637         * counters.h: don't include vector, loose the enums and sects vectors
8638
8639 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8642         (Read): add float->TC_FLOAT to textclassTags
8643         (Read): and handle it in the switch
8644         (readFloat): new function
8645
8646         * FloatList.C (FloatList): comment out the hardcoded float
8647         definitions.
8648
8649         * lyxlayout.h: ws change.
8650
8651 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8654
8655 2002-09-03  Angus Leeming  <leeming@lyx.org>
8656
8657         * BufferView_pimpl.h: qualified name is not allowed in member
8658         declaration: WorkArea & Pimpl::workarea() const;
8659
8660         * factory.C: added using std::endl directive.
8661
8662         * text3.C: added using std::find and std::vector directives.
8663
8664 2002-08-29  André Pönitz <poenitz@gmx.net>
8665
8666         * lyxtext.h:
8667         * text2.C: remove unused member number_of_rows
8668
8669         * Makefile.am:
8670         * BufferView2.C: remove file, move contents to...
8671         * BufferView.C: ... here
8672
8673         * BufferView_pimpl.C:
8674         * factory.C: move more inset creation to factory
8675
8676         * vspace.C: avoid direct usage of LyXText, ws changes
8677
8678         * BufferView.[Ch]:
8679                 don't provide direct access to WorkArea, use two simple
8680                 acessors haveSelction() and workHeight() instead
8681
8682
8683 2002-08-29  John Levon  <levon@movementarian.org>
8684
8685         * BufferView_pimpl.C (dispatch): do not continue when
8686           no buffer
8687
8688 2002-08-28  André Pönitz <poenitz@gmx.net>
8689
8690         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8691
8692         * BufferView.h:
8693         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8694
8695 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8696
8697         * buffer.C: increment LYX_FORMAT to 221
8698
8699         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8700         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8701
8702         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8703
8704         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8705
8706 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8707
8708         * factory.C (createInset): use LyXTextClass::floats
8709
8710         * MenuBackend.C (expandFloatListInsert):
8711         (expandFloatInsert):
8712         (expandToc):
8713
8714         * text2.C (setCounter):
8715
8716         * LaTeXFeatures.C (useFloat):
8717         (getFloatDefinitions):
8718
8719         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8720
8721         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8722         floatlist_, with accessor floats().
8723
8724         * FloatList.h: remove global FloatList
8725
8726 2002-08-26  André Pönitz <poenitz@gmx.net>
8727
8728         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8729
8730         * BufferView.h:
8731         * BufferView2.C:
8732         * BufferView_pimpl.C:
8733         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8734
8735 2002-08-25  John Levon  <levon@movementarian.org>
8736
8737         * LyXAction.C: fix margin note description
8738
8739 2002-08-24  John Levon  <levon@movementarian.org>
8740
8741         * buffer.C:
8742         * bufferlist.C:
8743         * bufferview_funcs.C:
8744         * lyxfont.C:
8745         * undo_funcs.C: cleanups
8746
8747         * lyxfunc.C: disable CUT/COPY when no selection
8748
8749 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8750
8751         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8752         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8753
8754         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8755         Add backward compatibility to "mono", "gray" and "no".
8756
8757 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8758
8759         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8760         (and file_format >= 200).
8761
8762 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8765
8766 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8769
8770 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8771
8772         * BufferView_pimpl.C:
8773         * LyXAction.C:
8774         * buffer.C:
8775         * commandtags.h:
8776         * lyxfunc.C:
8777         * paragraph.[Ch]:
8778         * text2.C:
8779         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8780         inset and code to make it  work with the paragraph code. The inset
8781         can be anywhere in the paragraph, but will only do the expected
8782         thing in LaTeX if the layout file contains the parameter line
8783                         OptionalArgs    1
8784         (or more generally, a nonzero value) for that layout.
8785
8786 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * paragraph.h: remove the declaration of undefined counters class
8789         function.
8790
8791 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8792
8793         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8794         Dr. Richard Hawkins.
8795
8796 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8797
8798         * paragraph_funcs.h: remove some unneeded includes
8799
8800         * text.C (backspace): pasteParagraph now in global scipe
8801
8802         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8803         (pasteSelection): ditto
8804
8805         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8806         * paragraph_funcs.C (pasteParagraph): ... here
8807
8808 2002-08-20  André Pönitz <poenitz@gmx.net>
8809
8810         * commandtags.h: new LFUNs for swapping/copying table row/colums
8811
8812         * LyXAction.C:
8813         * lyxfunc.C: support for new lfuns
8814
8815 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * tabular.C:
8818         * buffer.[Ch]: remove NO_COMPABILITY stuff
8819
8820 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8821
8822         * boost.C (throw_exception): new file, with helper function for
8823         boost compiled without exceptions.
8824
8825         * paragraph.h:
8826         * lyxlength.C:
8827         * buffer.C:
8828         * ParameterStruct.h:
8829         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8830
8831         * bufferlist.C (emergencyWriteAll): use boost bind
8832
8833         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8834
8835         * text.C: include paragraph_funcs.h
8836         (breakParagraph): breakParagraph is now in global scope
8837
8838         * paragraph_funcs.[Ch]: new files
8839
8840         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8841         global scope
8842
8843         * buffer.C: include paragraph_funcs.h
8844         (insertStringAsLines): breakParagraph is now in global scope
8845
8846         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8847         paragraph_funcs.C
8848
8849         * CutAndPaste.C: include paragraph_funcs.h
8850         (cutSelection): breakParagraphConservative is now in global scope
8851         (pasteSelection): ditto
8852
8853         * buffer.h: declare oprator== and operator!= for
8854         Buffer::inset_iterator
8855
8856         * bufferlist.C (emergencyWrite): don't use fmt(...)
8857
8858         * text3.C: add using std::endl
8859
8860         * BufferView.C (moveCursorUpdate): remove default arg
8861
8862 2002-08-20  André Pönitz <poenitz@gmx.net>
8863
8864         * buffer.[Ch]: move inline functions to .C
8865
8866         * BufferView2.C:
8867         * BufferView_pimpl.C:
8868         * text.C:
8869         * buffer.[Ch]: use improved inset_iterator
8870
8871         * buffer.C:
8872         * paragraph.[Ch]: write one paragraph at a time
8873
8874 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8877         style if style is not specified.
8878
8879 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * text2.C (setCounter): when searching for right label for a
8882         caption, make sure to recurse to parent insets (so that a caption
8883         in a minipage in a figure float works) (bug #568)
8884
8885 2002-08-20  André Pönitz <poenitz@gmx.net>
8886
8887         * text3.C: new file for LyXText::dispatch() and helpers
8888
8889         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8890
8891         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8892
8893 2002-08-19  André Pönitz <poenitz@gmx.net>
8894
8895         * lyxtext.h:
8896         * text.C: new LyXText::dispatch()
8897
8898         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8899
8900 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8901
8902         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8903
8904         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8905         Hebrew text.
8906
8907 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8908
8909         * Makefile.am: use $(variables) instead of @substitutions@
8910
8911 2002-08-15  André Pönitz <poenitz@gmx.net>
8912
8913         * lyxfunc.C:
8914         * BufferView_pimpl.C: streamlining mathed <-> outer world
8915         interaction
8916
8917         * commandtags.h:
8918         * LyXAction.C: remove unused LFUN_MATH
8919
8920 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8923
8924 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * paragraph.C (Paragraph): reformat a bit
8927         (cutIntoMinibuffer): use builtin InsetList function instad of
8928         doing it manually.
8929         (getInset): ditto
8930
8931         * buffer.C: include boost/bind.hpp, add using std::for_each
8932         (writeFileAscii): use ParagraphList iterators
8933         (validate): use for_each for validate traversal of paragraphs
8934         (getBibkeyList): use ParagraphList iterators
8935         (resizeInsets): use for_each to resizeInsetsLyXText for all
8936         paragraphs.
8937         (getParFromID): use ParagraphList iterators
8938
8939         * BufferView2.C (lockInset): use paragraph list and iterators
8940
8941 2002-08-14  John Levon  <levon@movementarian.org>
8942
8943         * lyxserver.C: remove spurious xforms include
8944
8945 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8948
8949 2002-08-13  André Pönitz <poenitz@gmx.net>
8950
8951         * LyXAction.[Ch]:
8952         * lyxfunc.C: further cleaning
8953
8954 2002-08-13  André Pönitz <poenitz@gmx.net>
8955
8956         * funcrequest.h: new constructor
8957
8958         * funcrequest.C: move stuff here from .h
8959
8960         * Makefile.am:
8961         * BufferView_pimpl.C:
8962         * LyXAction.C:
8963         * toc.C:
8964         * lyxfunc.C: subsequent changes
8965
8966         * lyxfunc.h: new view() member function
8967
8968         * lyxfunc.C: subsequent changes
8969
8970 2002-08-13  Angus Leeming  <leeming@lyx.org>
8971
8972         * BufferView2.C:
8973         * BufferView_pimpl.C:
8974         * buffer.C:
8975         * converter.C:
8976         * importer.C:
8977         * lyxfunc.C:
8978         * lyxvc.C:
8979         * toc.C:
8980         * vc-backend.C:
8981         changes due to the changed LyXView interface that now returns references
8982         to member variables not pointers.
8983
8984 2002-08-13  Angus Leeming  <leeming@lyx.org>
8985
8986         * WordLangTuple (word, lang_code): return references to strings,
8987         not strings.
8988
8989         * BufferView.h:
8990         * SpellBase.h:
8991         * lyxtext.h: forward-declare WordLangTuple.
8992
8993         * BufferView2.C:
8994         * ispell.C:
8995         * pspell.C:
8996         * text.C: #include "WordLangTuple.h".
8997
8998         * lyxtext.h:
8999         * text.C: (selectNextWordToSpellcheck): constify return type.
9000
9001 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9002
9003         * buffer.C:
9004         * buffer.h:
9005         * lyxtext.h:
9006         * paragraph.C:
9007         * paragraph_pimpl.h:
9008         * text.C:
9009         * text2.C:
9010         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9011         suggested by Angus.
9012         Made updateCounter always count from start of buffer, and removed
9013         second argument (par).
9014         Reverted floats number display to '#'. Perhaps I'll try again when the
9015         code base is sanitized a bit.
9016
9017 2002-08-12  Angus Leeming  <leeming@lyx.org>
9018
9019         * buffer.[Ch] (getLabelList): constify.
9020
9021 2002-08-07  André Pönitz <poenitz@gmx.net>
9022
9023         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9024
9025         * funcrequest.h: extension to keep mouse (x,y) position
9026
9027 2002-08-12  Juergen Vigna  <jug@sad.it>
9028
9029         * BufferView2.C (insertErrors): forbid undo when inserting error
9030         insets.
9031
9032         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9033
9034 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9035
9036         * ParagraphList.[Ch]: new files
9037
9038         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9039
9040         * BufferView2.C (lockInset): ParagraphList changes
9041         * toc.C: ditto
9042         * text2.C: ditto
9043         * bufferlist.C: ditto
9044         * buffer.h: ditto
9045         * buffer.C: ditto
9046
9047 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9048
9049         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9050         unused class variable counter_,
9051
9052         * paragraph.[Ch] (getFirstCounter): delete unused function
9053
9054         * counters.C: include LAssert.h
9055         (reset): add a new function with no arg, change other version to
9056         not have def. arg and to not allow empty arg.
9057
9058         * text2.C (setCounter): remove empty arg from call to Counters::reset
9059
9060 2002-08-11  John Levon  <levon@movementarian.org>
9061
9062         * Makefile.am: add WordLangTuple.h
9063
9064 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9067         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9068
9069         * insets/insettext.C: InsetList changes
9070
9071         * graphics/GraphicsSupport.C (operator()): InsetList changes
9072
9073         * toc.C (getTocList): InsetList changes
9074
9075         * paragraph_pimpl.[Ch]: InsetList changes
9076
9077         * paragraph.[Ch]: InsetList changes
9078
9079         * buffer.C (inset_iterator): InsetList changes
9080         (setParagraph): ditto
9081         * buffer.h (inset_iterator): ditto
9082         * iterators.C (operator++): ditto
9083         * iterators.h: ditto
9084
9085         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9086
9087         * InsetList.[Ch]: new files, most InsetList handling moved out of
9088         paragraph.C.
9089
9090         * BufferView2.C (removeAutoInsets): InsetList changes
9091         (lockInset): ditto
9092         (ChangeInsets): ditto
9093
9094 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * paragraph_pimpl.h (empty): new function
9097
9098         * paragraph.[Ch] (empty): new function
9099
9100         * other files: use the new Paragraph::empty function
9101
9102 2002-08-09  John Levon  <levon@movementarian.org>
9103
9104         * lyxtext.h: remove unused refresh_height
9105
9106 2002-08-09  John Levon  <levon@movementarian.org>
9107
9108         * Makefile.am:
9109         * sgml.h:
9110         * sgml.C:
9111         * buffer.C:
9112         * paragraph.h:
9113         * paragraph.C: move sgml char escaping out of paragraph
9114
9115         * paragraph.h:
9116         * paragraph.C: remove id setter
9117
9118         * buffer.C:
9119         * paragraph.C:
9120         * paragraph_pimpl.C: remove dead tex_code_break_column
9121
9122         * bufferview_funcs.C: small cleanup
9123
9124         * lyxfunc.C: remove dead proto
9125
9126         * lyxtext.h: make some stuff private. Remove some dead stuff.
9127
9128         * lyxgluelength.C: make as[LyX]String() readable
9129
9130 2002-08-08  John Levon  <levon@movementarian.org>
9131
9132         * LyXAction.h:
9133         * LyXAction.C:
9134         * MenuBackend.C:
9135         * ToolbarDefaults.C:
9136         * lyxfunc.C:
9137         * lyxrc.C:
9138         * toc.C: lyxaction cleanup
9139
9140 2002-08-08  John Levon  <levon@movementarian.org>
9141
9142         * BufferView2.C: small cleanup
9143
9144         * lyxfind.h:
9145         * lyxfind.C: move unnecessary header into the .C
9146
9147 2002-08-08  John Levon  <levon@movementarian.org>
9148
9149         * funcrequest.h: just tedious nonsense
9150
9151         * lyx_main.h:
9152         * lyx_main.C: cleanups
9153
9154         * buffer.C:
9155         * vspace.C: remove dead header lyx_main.h
9156
9157 2002-08-07  Angus Leeming  <leeming@lyx.org>
9158
9159         * Paragraph.[Ch]:
9160         * paragraph_pimpl.h:
9161         Forward declare class Counters in paragraph.h by moving the ctrs member
9162         variable into Paragraph::Pimpl.
9163         (counters): new method, returning a reference to pimpl_->ctrs.
9164
9165         * text2.C: ensuing changes.
9166
9167 2002-08-07  John Levon  <levon@movementarian.org>
9168
9169         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9170
9171         * BufferView_pimpl.C: announce X selection on double/triple
9172           click
9173
9174         * lyx_main.C: use correct bool in batch dispatch
9175
9176         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9177
9178 2002-08-07  André Pönitz <poenitz@gmx.net>
9179
9180         * funcrequest.h: new class to wrap a kb_action and its argument
9181
9182         * BufferView.[Ch]:
9183         * BufferView_pimpl[Ch]:
9184         * LaTeX.C:
9185         * LyXAction.[Ch]:
9186         * lyxfunc.[Ch]:
9187         * lyxrc.C: subsequent changes
9188
9189
9190 2002-08-07  John Levon  <levon@movementarian.org>
9191
9192         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9193           document options change.
9194
9195 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9196
9197         * counters.[Ch]
9198         * text2.C
9199         * paragraph.[Ch]
9200         * makefile.am: move counters functionality over from
9201         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9202
9203 2002-08-06  John Levon  <levon@movementarian.org>
9204
9205         * WordLangTuple.h: new file for word + language code tuple
9206
9207         * SpellBase.h:
9208         * pspell.h:
9209         * pspell.C:
9210         * ispell.h:
9211         * ispell.C:
9212         * lyxtext.h:
9213         * text.C:
9214         * text2.C:
9215         * BufferView.h:
9216         * BufferView2.C: use WordLangTuple
9217
9218         * layout.h:
9219         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9220
9221 2002-08-06  John Levon  <levon@movementarian.org>
9222
9223         * lyx_main.C: fix cmdline batch handling
9224
9225 2002-08-06  André Pönitz <poenitz@gmx.net>
9226
9227         * lyxrc.C: set default for show_banner to true
9228
9229 2002-08-06  John Levon  <levon@movementarian.org>
9230
9231         * pspell.C: fix a crash, and allow new aspell to work
9232
9233 2002-08-06  John Levon  <levon@movementarian.org>
9234
9235         * lyxfunc.C:
9236         * kbmap.C: small cleanup
9237
9238         * vspace.h:
9239         * vspace.C: add const
9240
9241 2002-08-05  John Levon  <levon@movementarian.org>
9242
9243         * LyXAction.C: back to tabular-insert
9244
9245 2002-08-04  John Levon  <levon@movementarian.org>
9246
9247         * BufferView.h:
9248         * BufferView.C: cosmetic change
9249
9250         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9251
9252         * bufferlist.C:
9253         * buffer.h:
9254         * buffer.C:
9255         * lyxcb.h:
9256         * lyxcb.C:
9257         * lyxserver.C:
9258         * lyxvc.C:
9259         * vc-backend.C:
9260         * BufferView2.C: purge all "Lyx" not "LyX" strings
9261
9262         * lyxcursor.h:
9263         * lyxcursor.C: attempt to add some documentation
9264
9265         * lyxfunc.C:
9266         * commandtags.h:
9267         * LyXAction.C:
9268         * ToolbarDefaults.C:
9269         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9270           merge with LFUN_TABULAR_INSERT
9271
9272         * Makefile.am:
9273         * SpellBase.h:
9274         * ispell.h:
9275         * ispell.C:
9276         * pspell.h:
9277         * pspell.C: split up i/pspell implementations into separate
9278           files, many cleanups
9279
9280         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9281
9282         * text2.C: some cleanup
9283
9284         * lyxfunc.C: don't check for isp_command == "none" any more, it
9285           didn't make any sense
9286
9287 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9288
9289         * counters.[Ch]
9290         * text2.C
9291         * paragraph.[Ch]
9292         * makefile.am: move counters functionality over
9293         from text2.C/paragraph.[Ch] to counters.[Ch], and
9294         make proper C++.
9295 2002-08-02  John Levon  <levon@movementarian.org>
9296
9297         * buffer.C: s/lyxconvert/lyx2lyx/
9298
9299 2002-08-02  Angus Leeming  <leeming@lyx.org>
9300
9301         * lyxlex.C: revert John's change as it breaks reading of the user
9302         preamble.
9303
9304 2002-08-02  Angus Leeming  <leeming@lyx.org>
9305
9306         * importer.C (Import):
9307         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9308         changes due to LyXView::view() now returning a boost::shared_ptr.
9309
9310 2002-08-02  John Levon  <levon@movementarian.org>
9311
9312         * lyxlex.C: small cleanup
9313
9314 2002-08-02  John Levon  <levon@movementarian.org>
9315
9316         * text2.C (status): small cleanup, no logic change
9317
9318 2002-08-01  John Levon  <levon@movementarian.org>
9319
9320         * buffer.h:
9321         * buffer.C (writeFile): don't output alerts, caller
9322           handles this
9323
9324         * bufferlist.C:
9325         * lyx_cb.C: from above
9326
9327         * lyxfunc.C: allow to open non-existent files
9328
9329 2002-07-31  John Levon  <levon@movementarian.org>
9330
9331         * lyxserver.C: don't let incidental errors get
9332           in the way (errno)
9333
9334 2002-07-30  John Levon  <levon@movementarian.org>
9335
9336         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9337
9338 2002-07-30  John Levon  <levon@movementarian.org>
9339
9340         * lyxserver.h:
9341         * lyxserver.C: remove I/O callback too
9342
9343 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9344
9345         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9346         log.
9347
9348 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * many files: strip,frontStrip -> trim,ltrim,rtrim
9351
9352 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * PrinterParams.h: remove extern containsOnly, and include
9355         support/lstrings.h instead.
9356
9357         * LaTeX.C (scanAuxFile): modify because of strip changes
9358         (deplog): ditto
9359         * buffer.C (makeLaTeXFile): ditto
9360         * bufferparams.C (writeFile): ditt
9361         * lyxfont.C (stateText): ditto
9362         * lyxserver.C (read_ready): ditto
9363         * vc-backend.C (scanMaster): ditto
9364
9365         * BufferView_pimpl.h: ws changes
9366
9367         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9368
9369 2002-07-26  André Pönitz <poenitz@gmx.net>
9370
9371         * kb_sequence.C: remove unnedred usings
9372
9373 2002-07-26  Juergen Vigna  <jug@sad.it>
9374
9375         * lyxfind.C (LyXReplace): we have to check better if the returned
9376         text is not of theLockingInset()->getLockingInset().
9377
9378 2002-07-25  Juergen Vigna  <jug@sad.it>
9379
9380         * lyxfind.C (LyXReplace): don't replace if we don't get the
9381         right LyXText.
9382
9383         * undo_funcs.C (createUndo): remove debugging code.
9384
9385 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9386
9387         * buffer.C (parseSingleLyXformat2Token): Use default placement
9388         when reading old floats.
9389
9390         * FloatList.C (FloatList): Change the default placement of figure
9391         and tables to "tbp".
9392
9393 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9394
9395         * MenuBackend.C: using std::max
9396
9397 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * MenuBackend.C (expandToc):
9400         (expandToc2): code moved from xforms menu frontend. It is now
9401         generic and TOCs are transparent to menu frontends.
9402
9403 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9404
9405         * toc.C (getTocList): protect against buf=0
9406
9407         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9408         Menu as first parameter. Now, this calls itself recursively to
9409         expand a whole tree (this will be useful for TOC handling)
9410         (expandFloatInsert): remove 'wide' version of floats
9411
9412         * MenuBackend.h (submenuname): returns the name of the submenu.
9413         (submenu): returns the submenu itself, provided it has been
9414         created by MenuBackend::expand
9415
9416 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9417
9418         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9419         insets which have noFontChange == true. (bug #172)
9420
9421 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9422
9423         * BufferView_pimpl.C: add connection objects and use them...
9424         (Pimpl): here.
9425
9426 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * MenuBackend.C (expandLastfiles):
9429         (expandDocuments):
9430         (expandFormats):
9431         (expandFloatListInsert):
9432         (expandFloatInsert):
9433         (expand): split expand in parts
9434
9435 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * lyx_gui.C: use lyx_gui::exit()
9438
9439 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * LyXAction.C: show the failing pseudo action
9442
9443 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9444
9445         * buffer.C (readFile): Run the lyxconvert script in order to read
9446         old files.
9447
9448 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * LyXAction.C:
9451         * commandtags.h:
9452         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9453
9454 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * LyXAction.C:
9457         * commandtags.h:
9458         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9459
9460 2002-07-22  Herbert Voss  <voss@lyx.org>
9461
9462         * lengthcommon.C:
9463         * lyxlength.[Ch]: add support for the vertical lengths
9464
9465 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * toc.[Ch]: std:: fixes
9468
9469 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9470
9471         * lyxrc.C: do not include lyx_main.h
9472
9473         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9474         for layouts
9475
9476         * lyxrc.C:
9477         * encoding.C:
9478         * bufferlist.C:
9479         * BufferView2.C: include "lyxlex.h"
9480
9481         * tabular.h:
9482         * bufferparams.h: do not #include "lyxlex.h"
9483
9484         * lyxtextclasslist.C (Add): remove method
9485         (classlist): renamed to classlist_
9486
9487         * paragraph_pimpl.C:
9488         * paragraph.C:
9489         * text2.C:
9490         * CutAndPaste.C:
9491         * bufferview_funcs.C:
9492         * bufferlist.C:
9493         * text.C:
9494         * LaTeXFeatures.C:
9495         * buffer.C:
9496         * toc.C (getTocList): use BufferParams::getLyXTextClass
9497
9498         * toc.C (getTocList): use InsetFloat::addToToc
9499
9500         * toc.[Ch]: new files, containing helper functions to handle table
9501         of contents
9502
9503         * lyxfunc.C (dispatch): no need to remove spaces around command
9504         given as a string
9505         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9506         first command of the sequence; it is not very clever, but I do not
9507         have a better idea, actually
9508
9509         * LyXAction.C (LookupFunc): make sure to remove space at the
9510         beginning and end of the command
9511
9512 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * MenuBackend.C (getMenubar): new method: return the menubar of
9515         this menu set
9516         (read): treat differently reading of menu and menubar (in
9517         particular, the menubar has no name now)
9518         (Menu::menubar): remove
9519
9520         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9521         saving is finished
9522
9523 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9524
9525         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9526         a bibitem inset in a RTL paragraph.
9527
9528 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * paragraph_pimpl.C: constify
9531
9532         * BufferView_pimpl.C:
9533         * LaTeX.C:
9534         * lyxfunc.C: fix dispatch in a nicer way
9535
9536 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * lyxfunc.C (dispatch):
9539         * BufferView_pimpl.C:
9540         * BufferView_pimpl.h:
9541         * BufferView.C:
9542         * BufferView.h: rename Dispatch() to dispatch()
9543
9544         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9545
9546         * lyxlayout.C (Read): honor DependsOn tag
9547
9548         * lyxlayout.[Ch] (depends_on): new method
9549
9550         * version.C.in: update lyx_docversion
9551
9552         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9553
9554         * paragraph.C (validate): remove from here...
9555         * paragraph_pimpl.C (validate): ... and move here
9556         (isTextAt): make it const
9557
9558         * buffer.C (getLists): ws cleanup
9559
9560 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9561
9562         * language.C (read): Use iso8859-1 encoding in latex_lang
9563         (this prevents LyX from crashing when using iso10646-1 encoding).
9564
9565 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * text2.C (toggleInset): if cursor is inside an inset, close the
9568         inset and leave cursor _after_ it
9569
9570 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * lyxfunc.C: move minibuffer completion handling out of here
9573
9574 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * BufferView_pimpl.C:
9577         * LaTeX.C: fix dispatch calls
9578
9579 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9580
9581         * text.C (drawChars): Fix Arabic text rendering.
9582
9583 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * LyXAction.C:
9586         * commandtags.h:
9587         * lyxfunc.C: remove message-push/pop
9588
9589         * lyxserver.C:
9590         * lyxfunc.h:
9591         * lyxfunc.C: rationalise some code by removing verboseDispatch
9592           in favour of a bool argument to dispatch()
9593
9594 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * lyx_main.C (init): make sure to read symlinks as absolute paths
9597
9598 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9599
9600         * lyxfunc.h:
9601         * lyxfunc.C: no need for commandshortcut to be a member
9602
9603 2002-07-15  André Pönitz <poenitz@gmx.net>
9604
9605         * converter.C: add support for $$s (scripts from lib/scripts dir)
9606         * lyx_main.C: white space
9607
9608 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * bufferlist.C:
9611         * lyxrc.h:
9612         * lyxrc.C: remove second exit confirmation
9613
9614 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * BufferView.h:
9617         * BufferView.C:
9618         * BufferView2.C:
9619         * BufferView_pimpl.h:
9620         * BufferView_pimpl.C:
9621         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9622
9623 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * MenuBackend.C (expand): add numeric shortcuts to document menu
9626
9627         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9628
9629 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * lyxfont.C (setLyXFamily):
9632         (setLyXSeries):
9633         (setLyXShape):
9634         (setLyXSize):
9635         (setLyXMisc):
9636         (lyxRead):
9637         * debug.C (value):
9638         * buffer.C (asciiParagraph): use ascii_lowercase
9639
9640 2002-07-15  Mike Fabian  <mfabian@suse.de>
9641
9642         * lyxlex_pimpl.C (search_kw):
9643         * lyxlex.C (getLongString):
9644         * converter.h (operator<):
9645         * converter.C (operator<):
9646         * buffer.C (parseSingleLyXformat2Token):
9647         (asciiParagraph):
9648         * ToolbarDefaults.C (read):
9649         * MenuBackend.C (checkShortcuts):
9650         (read):
9651         * LColor.C (getFromGUIName):
9652         (getFromLyXName): use the compare_ascii_no_case instead of
9653         compare_no_case, because in turkish, 'i' is not the lowercase
9654         version of 'I', and thus turkish locale breaks parsing of tags.
9655
9656 2002-07-16  Angus Leeming  <leeming@lyx.org>
9657
9658         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9659         now takes a Buffer const & argument.
9660
9661 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * BufferView.C (resize): check there's a buffer to resize
9664
9665 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * lyxfunc.C: remove dead code
9668
9669         * lyxserver.h:
9670         * lyxserver.C: use lyx_guii::set_read_callback
9671
9672 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9673
9674         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9675         an inset in a RTL paragraph.
9676
9677 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * lyxfunc.C: repaint after a font size update
9680
9681 2002-07-15  André Pönitz <poenitz@gmx.net>
9682
9683         * lyxlength.C: inBP should be able to return negative values
9684
9685 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * lyxfunc.C: use lyx_gui::update_fonts()
9688
9689 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * lyxfunc.C: use lyx_gui::update_color()
9692
9693 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * bufferlist.C:
9696         * lyxfunc.h:
9697         * lyxfunc.C:
9698         * lyxrc.h:
9699         * lyxrc.C: remove file->new asks for name option, and let
9700           buffer-new take an argument
9701
9702 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * BufferView_pimpl.C: remove unneeded extra repaint()
9705
9706 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * LyXAction.C: allow command-sequence with NoBuffer
9709
9710         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9711
9712 2002-07-10  Angus Leeming  <leeming@lyx.org>
9713
9714         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9715
9716 2002-07-09  Angus Leeming  <leeming@lyx.org>
9717
9718         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9719
9720 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * lengthcommon.h: whitespace
9723
9724         * lyxfunc.C: update scrollbar after goto paragraph
9725
9726         * lyxtext.h: factor out page break drawing, and fix it so
9727           page break/added space paints as selected nicely
9728
9729 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * BufferView_pimpl.C: add FIXMEs, clean up a little
9732
9733 2002-07-09  André Pönitz <poenitz@gmx.net>
9734
9735         * lyxfont.[Ch]: support for wasy symbols
9736
9737 2002-07-08  André Pönitz <poenitz@gmx.net>
9738
9739         * BufferView_pimpl.C: apply John's patch for #93.
9740
9741 2002-07-05  Angus Leeming  <leeming@lyx.org>
9742
9743         * BufferView_pimpl.C (buffer): generate previews if desired.
9744
9745         * LColor.h: add "preview" to the color enum.
9746
9747         * LColor.C (LColor): add a corresponding entry to the items array.
9748
9749         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9750         with this buffer.
9751
9752 2002-07-05  Angus Leeming  <leeming@lyx.org>
9753
9754         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9755         The body of the code is now in the method that is passed an ostream &
9756         rather than a file name.
9757         Pass an additional only_preamble parameter, useful for the forthcoming
9758         preview stuff.
9759
9760 2002-07-03  André Pönitz <poenitz@gmx.net>
9761
9762         * lyxfunc.C: simplify getStatus() a bit for math stuff
9763
9764 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9767
9768 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * text.C (changeRegionCase): do not change case of all the
9771         document when region ends at paragraph end (bug #461)
9772
9773 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * paragraph.C (startTeXParParams):
9776         (endTeXParParams): add \protect when necessary
9777
9778 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * BufferView_pimpl.C (workAreaExpose): remove warning
9781
9782 2002-06-27  Angus Leeming  <leeming@lyx.org>
9783
9784         * Makefile.am: add lyxlayout_ptr_fwd.h.
9785
9786 2002-06-26  André Pönitz <poenitz@gmx.net>
9787
9788         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9789
9790 2002-06-25  Angus Leeming  <leeming@lyx.org>
9791
9792         * lyxfunc.C (dispatch): Comment out the call to
9793         grfx::GCache::changeDisplay. The method no longer exists now that the
9794         pixmap generation part of the graphics loader has been moved into
9795         InsetGraphics.
9796
9797 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9798
9799         * text2.C: layout as layout
9800
9801         * text.C: layout as layout
9802
9803         * tabular.C (OldFormatRead): layout as layout
9804
9805         * paragraph_pimpl.C (TeXDeeper): layout as layout
9806         (realizeFont): layout as layout
9807
9808         * paragraph.C (writeFile): layout as layout
9809         (validate): layout as layout
9810         (getFont): layout as layout
9811         (getLabelFont): layout as layout
9812         (getLayoutFont): layout as layout
9813         (breakParagraph): layout as layout
9814         (stripLeadingSpaces): layout as layout
9815         (getEndLabel): layout as layout
9816         (getMaxDepthAfter): layout as layout
9817         (applyLayout): layout as layout
9818         (TeXOnePar): layout as layout
9819         (simpleTeXOnePar): layout as layout
9820         (TeXEnvironment): layout as layout
9821         (layout): layout as layout
9822         (layout): layout as layout
9823
9824         * lyxtextclass.C (compare_name): new functor to work with
9825         shared_ptr, layout as layout
9826         (Read): layout as layout
9827         (hasLayout): layout as layout
9828         (operator): layout as layout
9829         (delete_layout): layout as layout
9830         (defaultLayout): layout as layout
9831
9832         * lyxlayout_ptr_fwd.h: new file
9833
9834         * lyxlayout.C (Read): layout as layout
9835
9836         * lyx_cb.C (MenuInsertLabel): layout as layout
9837
9838         * bufferlist.C (newFile): layout as layout
9839
9840         * buffer.C (readLyXformat2): layout as layout
9841         (parseSingleLyXformat2Token): layout as layout
9842         (insertStringAsLines): layout as layout
9843         (asciiParagraph): layout as layout
9844         (latexParagraphs): layout as layout
9845         (makeLinuxDocFile): layout as layout
9846         (simpleLinuxDocOnePar): layout as layout
9847         (makeDocBookFile): layout as layout
9848         (simpleDocBookOnePar): layout as layout
9849         (getLists): layout as layout
9850
9851         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9852
9853         * CutAndPaste.C (cutSelection): layout as layout
9854         (pasteSelection): layout as layout
9855         (SwitchLayoutsBetweenClasses): layout as layout
9856
9857         * BufferView_pimpl.C (Dispatch): layout as layout
9858         (smartQuote): layout as layout
9859
9860         * BufferView2.C (unlockInset): layout as layout
9861
9862 2002-06-24  André Pönitz <poenitz@gmx.net>
9863
9864         * lyxfunc.C: fix #487
9865
9866 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9867
9868         * lyxrc.h:
9869         * lyxrc.C:
9870         * lyxfunc.C: remove display_shortcuts, show_banner
9871
9872 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * Buffer_pimpl.C: oops, update on resize
9875
9876 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * buffer.C:
9879         * converter.C:
9880         * exporter.C:
9881         * lyxfunc.C:
9882         * BufferView.h:
9883         * BufferView.C: use repaint()
9884
9885         * BufferView_pimpl.h:
9886         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9887           as it's a clearer description. Remove superfluous
9888           redraws.
9889
9890 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * text.C: fix bug 488. Not ideal, but getting
9893           getWord() to work properly for the insets that
9894           matter is more difficult ...
9895
9896 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * BufferView_pimpl.C:
9899         * LyXAction.C:
9900         * commandtags.h:
9901         * lyxfunc.C: remove the six million index lyxfuncs to just
9902           one, and DTRT (bug 458)
9903
9904 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * BufferView.h:
9907         * BufferView.C:
9908         * BufferView_pimpl.h:
9909         * BufferView_pimpl.C: clean up resize() stuff,
9910           and unnecessary updateScreen()s
9911
9912 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView.h:
9915         * BufferView.C:
9916         * BufferView_pimpl.h:
9917         * BufferView_pimpl.C:
9918         * lyxfind.h:
9919         * lyxfind.C:
9920         * minibuffer.C: remove focus management of workarea,
9921           not needed. Use screen's greyOut()
9922
9923 2002-06-17  Herbert Voss  <voss@lyx.org>
9924
9925         * converter.C: (convert) do not post a message, when converting
9926         fails, let the calling function decide what to do in this case
9927
9928 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9929
9930         * lyxfunc.C: tidy up a little
9931
9932 2002-06-16    <alstrup@diku.dk>
9933
9934         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9935         Got rid of FORMS_H_LOCATION include. Now we are
9936         GUII.
9937
9938 2002-06-15  LyX Development team  <lyx@rilke>
9939
9940         * buffer.[Ch] (sgmlOpenTag):
9941         (sgmlCloseTag): Added support for avoiding pernicious mixed
9942         content. Return number of lines written.
9943
9944         (makeLinuxDocFile):
9945         (makeDocBookFile): Fixed calls to sgml*Tag.
9946         Simple white space clean.
9947
9948         (simpleDocBookOnePar): Simple white space clean.
9949
9950         * tabular.[Ch] (docBook): Renamed to docbook and got another
9951         argument to related with the pernicious mixed content.
9952
9953         (docbookRow): Fixed calls for docbook inset method.
9954
9955 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9956
9957         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9958         so it's X11 independent.
9959
9960         * kb*.[Ch]: ditto.
9961
9962         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9963
9964 2002-06-15  Lyx Development team  <lyx@electronia>
9965
9966         * intl.h: Renamed getTrans to getTransManager.
9967
9968 2002-06-14  Angus Leeming  <leeming@lyx.org>
9969
9970         * Makefile.am: nuke forgotten stl_string_fwd.h.
9971
9972 2002-06-12  Angus Leeming  <leeming@lyx.org>
9973
9974         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9975
9976 2002-06-13  Angus Leeming  <leeming@lyx.org>
9977
9978         * LaTeX.C:
9979         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9980
9981 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9982
9983         * kbmap.C (getiso): add support for cyrillic and greek
9984
9985 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * BufferView.h:
9988         * BufferView.C:
9989         * BufferView_pimpl.h:
9990         * BufferView_pimpl.C: move bogus scrolling logic
9991           to xforms
9992
9993 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * lyxfunc.C:
9996         * BufferView_pimpl.C: view->resize() change
9997
9998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * BufferView_pimpl.C: topCursorVisible
10001           prototype change
10002
10003 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * Makefile.am:
10006         * lyx_gui.h:
10007         * lyx_gui.C: move to frontends/
10008
10009         * main.C:
10010         * lyx_main.h:
10011         * lyx_main.C: changes from above
10012
10013 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * intl.C:
10016         * intl.h:
10017         * kbmap.C:
10018         * kbsequence.C:
10019         * lyx_cb.C:
10020         * lyx_main.C: minor tidy
10021
10022 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * BufferView_pimpl.h:
10025         * BufferView_pimpl.C:
10026         * BufferView.h:
10027         * BufferView.C: make painter() const,
10028           remove dead code
10029
10030         * BufferView2.C: use screen() accessor
10031
10032         * lyx_main.h:
10033         * lyx_main.C: some minor cleanup
10034
10035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * BufferView_pimpl.h:
10038         * BufferView_pimpl.C: remove enter/leaveView,
10039           use workHeight()
10040
10041 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10042
10043         * BufferView.h:
10044         * BufferView.C:
10045         * BufferView2.C:
10046         * BufferView_pimpl.h:
10047         * BufferView_pimpl.C: only construct screen once,
10048           rename
10049
10050         * lyxrc.C: remove pointless comment
10051
10052 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10053
10054         * BufferView.h:
10055         * BufferView.C: remove active() and belowMouse()
10056
10057         * BufferView_pimpl.h:
10058         * BufferView_pimpl.C: use workarea() not workarea_,
10059           and make it use a scoped_ptr instead
10060
10061 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * lyx_gui.C: add debug message on BadWindow
10064
10065 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10066
10067         * sp_spell.C: fdopen is not part of the C++ standard.
10068
10069         * paragraph.C (InsetIterator): use >= instead of ==
10070
10071 2002-06-07  Angus Leeming  <leeming@lyx.org>
10072
10073         Fixes needed to compile with Compaq cxx 6.5.
10074         * BufferView_pimpl.C:
10075         * DepTable.C:
10076         * buffer.C:
10077         * converter.C:
10078         * encoding.C:
10079         * lyx_gui.C:
10080         * lyx_main.C:
10081         * lyxtextclasslist.C:
10082         * minibuffer.C:
10083         * sp_spell.C:
10084         * tabular_funcs.C:
10085         * vc-backend.C:
10086         all c-library variables have been moved into namespace std. Wrap
10087         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10088
10089         * lyxlength.C:
10090         * tabular-old.C:
10091         * tabular.C:
10092         Add a using std::abs declaration.
10093
10094         * kbmap.h (modifier_pair):
10095         * paragraph.h (InsetTable, InsetList):
10096         * lyxfont.h (FontBits):
10097         type definition made public.
10098
10099         * bufferlist.C (emergencyWriteAll): the compiler complains that
10100         there is more than one possible lyx::class_fun template to choose from.
10101         I re-named the void specialisation as lyx::void_class_fun.
10102
10103         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10104
10105         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10106         the compiler is is unable to find tostr in write_attribute.
10107
10108 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * buffer.C (sgmlError): hide #warning
10111
10112 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * xtl/*: get rid of xtl, which is not in use anyway
10115
10116         * LyXAction.C (init):
10117         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10118         were unimplemented xtl experimentation
10119
10120 2002-06-04  André Pönitz <poenitz@gmx.net>
10121
10122         * lyxfunc.C: disable array operation on simple formulae
10123
10124 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10125
10126         * converter.C: constify a bit
10127
10128 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * lyx_gui.C: check xforms version correctly
10131
10132 2002-04-30  Herbert Voss  <voss@lyx.org>
10133
10134         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10135         "keep" option
10136
10137 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10140           attempt to register it with a VCS)
10141
10142 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10143
10144         * lyx_main.C (init): honor variables LYX_DIR_13x and
10145         LYX_USERDIR_13x
10146
10147 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * buffer.h:
10150         * buffer.C:
10151         * lyx_main.C: fix a crash on bad command line,
10152           and give a useful exit status on error
10153
10154         * lyxfunc.C (doImport): allow -i lyx to work
10155
10156 2002-03-30  André Pönitz <poenitz@gmx.net>
10157
10158         * lyxfunc.C: mathed font changes
10159
10160 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * LaTeX.C:
10163         * importer.h:
10164         * importer.C:
10165         * lyx_sty.h:
10166         * lyx_sty.C:
10167         * lyxlex.C:
10168         * lyxrow.h:
10169         * lyxtext.h:
10170         * paragraph.h:
10171         * paragraph.C:
10172         * texrow.h:
10173         * texrow.C:
10174         * text.C:
10175         * trans_mgr.h: srcdocs, and some minor cleanups
10176
10177 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10178
10179         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10180         call getFont all the time)
10181
10182 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * switch from SigC signals to boost::signals
10185
10186 2002-05-29  André Pönitz <poenitz@gmx.net>
10187
10188         * paragraph_pimpl.C (getChar): don't call size() too often...
10189
10190 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * paragraph_pimpl.C (insertChar): do not try to update tables when
10193         appending (pos == size())
10194
10195         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10196         in order to reduce drastically the number of comparisons needed to
10197         parse a large document
10198
10199 2002-05-29  André Pönitz <poenitz@gmx.net>
10200
10201         * text.C:
10202         * text2.C:
10203         * lyxtextclass.C:
10204         * sp_pspell.h:
10205         * textclasslist.[Ch]:
10206         * sp_ispell.h: whitespace change
10207
10208 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10211         lyxaction directly now.
10212
10213 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * trans.C:
10216         * lyxfont.C:
10217         * lyxvc.C: remove unused headers
10218
10219 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * Makefile.am:
10222         * buffer.h:
10223         * undostack.h:
10224         * undostack.C:
10225         * undo_funcs.h:
10226         * undo_funcs.C: some cleanups. Use shared_ptr
10227           and a template for the undo stacks.
10228
10229 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * BufferView_pimpl.h:
10232         * BufferView_pimpl.C:
10233         * kbmap.h:
10234         * kbmap.C:
10235         * kbsequence.h:
10236         * kbsequence.C:
10237         * lyxfunc.h:
10238         * lyxfunc.C:
10239         * text2.C: use key_state/mouse_state
10240
10241 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10244         and LSubstring
10245
10246         * chset.C: change include order
10247         (loadFile): use boost regex and get rid of LRegex and LSubstring
10248
10249         * Makefile.am (BOOST_LIBS): new variable
10250         (lyx_LDADD): use it
10251
10252         * LaTeX.C: change include order.
10253         (scanAuxFile): use boost regex and get rid of LRegex and
10254         LSubstring
10255         (deplog): ditto
10256
10257 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * ColorHandler.h:
10260         * ColorHandler.C:
10261         * FontInfo.h:
10262         * FontInfo.C: moved to frontends/xforms/
10263
10264         * FontLoader.h:
10265         * FontLoader.C: moved into frontends for GUIIzation
10266
10267         * Makefile.am:
10268         * lyx_gui.C:
10269         * lyxfont.C:
10270         * lyxfunc.C: changes from above
10271
10272 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * LColor.C: remove spurious X include
10275
10276         * BufferView_pimpl.C:
10277         * Makefile.am:
10278         * font.h:
10279         * font.C:
10280         * text.C:
10281         * text2.C: move font metrics to frontends/
10282
10283 2002-05-24  Juergen Vigna  <jug@sad.it>
10284
10285         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10286         setting the undo_cursor.
10287
10288         * ParagraphParameters.h: include local includes first.
10289
10290 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * BufferView_pimpl.C:
10293         * BufferView_pimpl.h:
10294         * Makefile.am:
10295         * WorkArea.h:
10296         * WorkArea.C:
10297         * screen.C: move WorkArea into frontends/
10298
10299         * lyxscreen.h:
10300         * screen.C:
10301         * text.C:
10302         * BufferView.C:
10303         * BufferView2.C: move LyXScreen into frontends/
10304
10305         * lyxlookup.h:
10306         * lyxlookup.C:
10307         * lyx_gui.C: move lyxlookup into frontends/xforms/
10308
10309 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * BufferView2.C:
10312         * BufferView_pimpl.C:
10313         * FontLoader.C:
10314         * LyXView.h:
10315         * LyXView.C:
10316         * Makefile.am:
10317         * WorkArea.C:
10318         * XFormsView.h:
10319         * XFormsView.C:
10320         * buffer.C:
10321         * bufferlist.C:
10322         * bufferview_funcs.C:
10323         * converter.C:
10324         * importer.C:
10325         * lyx_cb.C:
10326         * lyx_gui.C:
10327         * lyx_main.C:
10328         * lyx_find.C:
10329         * lyxfunc.C:
10330         * lyxvc.C:
10331         * minibuffer.C:
10332         * text.C:
10333         * text2.C:
10334         * trans.C:
10335         * vc-backend.C: move LyX/XFormsView into frontends/
10336
10337 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * Makefile.am:
10340         * PainterBase.C:
10341         * PainterBase.h:
10342         * Painter.C:
10343         * Painter.h:
10344         * WorkArea.C:
10345         * WorkArea.h:
10346         * screen.C:
10347         * tabular.C:
10348         * text.C:
10349         * text2.C: move Painter to frontends/
10350
10351 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10352
10353         * buffer.C: comment out some some code that depend upon lyx_format
10354         < 220
10355
10356         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10357         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10358
10359         * buffer.h (NO_COMPABILITY): turn off compability
10360
10361         * ColorHandler.C: include scoped_array.hpp
10362
10363         * font.C: Use more specific smart_ptr header.
10364         * Painter.C: ditto
10365         * gettext.C: ditto
10366         * ShareContainer.h: ditto
10367         * lyx_main.h: ditto
10368         * kbmap.h: ditto
10369         * FontInfo.h: ditto
10370         * BufferView_pimpl.h: ditto
10371         * ColorHandler.h: ditto
10372
10373         * kbmap.C (defkey): change call to shared_ptr::reset
10374
10375 2002-05-21  Juergen Vigna  <jug@sad.it>
10376
10377         * buffer.C (insertErtContents): fix to insert ert asis if it is
10378         non empty. Skip it completely if it contains only whitespaces.
10379
10380 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * BufferView_pimpl.C:
10383         * BufferView2.C: clear selection on paste (bug 393)
10384
10385 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * DepTable.C: include ctime
10388
10389 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10390
10391         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10392
10393 2002-05-14  Juergen Vigna  <jug@sad.it>
10394
10395         * text.C (breakParagraph): fixed function to honor the keepempty
10396         layout in the right maner and also to permit the right breaking
10397         algorithm on empty or non empyt keepempty paragraphs.
10398
10399         * paragraph.C (breakParagraph): we have to check also if the par
10400         is really empty (!size()) for isempty otherwise we do the wrong
10401         paragraph break.
10402
10403 2002-05-10  Juergen Vigna  <jug@sad.it>
10404
10405         * buffer.[Ch] : The following are only changes to the ert
10406         compatibility read reading old LaTeX layout and font stuff and
10407         convert it to ERTInsets.
10408
10409         * buffer.h: added isErtInset().
10410
10411         * buffer.C (struct ErtComp): add a fromlayout bool to check
10412         if we're inside a LaTeX layout.
10413         (isErtInset): new helper function.
10414         (insertErtContents): look for other ert insets before this one
10415         and insert the contents there, so that we don't have subsequent
10416         ERT insets with nothing between them. This way we create only one
10417         inset with multiple paragraphs. Also check if we don't insert only
10418         spaces ' ' as they are ignored anyway afterwards in the .tex file
10419         so if we have only spaces we will ignore this latex part in the
10420         new file.
10421         (parseSingleLyXformat2Token \\layout): better compatibility when
10422         reading layout-latex stuff.
10423         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10424         language tag.
10425         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10426         stuff after reading the inset only get the information back from
10427         the stack.
10428
10429 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10430
10431         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10432
10433         * LaTeXFeatures.C (getBabelOptions): New method.
10434
10435 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10436
10437         * BufferView_pimpl.C (Dispatch): work around missing argument for
10438         'layout'
10439
10440 2002-05-08  Juergen Vigna  <jug@sad.it>
10441
10442         * text.C (leftMargin): handle paragraph leftindent.
10443
10444         * paragraph.C (writeFile): write the new \\leftindent tag.
10445         (validate): handle leftindent code.
10446         (TeXEnvironment): handle paragraphleftindent code again.
10447
10448         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10449
10450         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10451         for paragrap_extra indent code and new token \\leftindent.
10452         (latexParagraphs): handle the leftindent as environment.
10453
10454         * ParameterStruct.h: added leftindent support.
10455
10456         * ParagraphParameters.C (leftIndent): added support functions for
10457         the paragraph left indent.
10458
10459         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10460         more appropriate.
10461
10462 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10465         inside insetERT.
10466
10467         * text.C (computeBidiTables): No bidi in insetERT.
10468
10469         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10470         in RTL documents.
10471
10472 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * version.C.in: pre 5
10475
10476 2002-05-02  José Matos  <jamatos@fep.up.pt>
10477         * buffer.C (makeDocBookFile): white space changes, add newline to
10478         command styles.
10479         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10480
10481         * tabular.C (docBook): fix typo.
10482
10483 2002-05-03  Juergen Vigna  <jug@sad.it>
10484
10485         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10486         change in LyXText as we can not be sure it was not freed.
10487         (drawOneRow): remove unused code.
10488
10489         * text.C (drawInset): redo the calculation of the need_break_row as
10490         it could have a row which was already freed.
10491         (draw): look at the return value of drawInset and return false if
10492         it also returned false.
10493         (paintRowText): look at the return value of draw and return false if
10494         it also returned false.
10495
10496         * lyxtext.h: added bool return type to drawInset() and draw() so that
10497         if we have a change in the row so that the rowbreak has to be redone
10498         we abort drawing as it will be called again.
10499
10500 2002-05-02  Juergen Vigna  <jug@sad.it>
10501
10502         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10503         a change in the maintext also if we're inside an inset.
10504         (Dispatch): set the cursor again after a break line and after the
10505         screen has been updated as it could be we're in a different row.
10506
10507         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10508         to set the cursor behind the pargraph with > size().
10509         (setCursor): check also for the same paragraph when checking where
10510         to put the cursor if we have a NFR inset.
10511
10512         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10513         parts of layout read further up as it still was in the wrong
10514         position.
10515
10516 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * screen.C (drawFromTo): change sine fullRebreak always return
10519         true.
10520
10521         * buffer.C (parseSingleLyXformat2Token): reindent some
10522
10523         * BufferView_pimpl.C (update): change since fullRebreak always
10524         return true.
10525         (Dispatch): git rid of the last hardcoded "Standard"s.
10526
10527 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * text2.[Ch] (fullRebreak): make it return void now that we always
10530         returned true.
10531
10532 2002-04-30  Juergen Vigna  <jug@sad.it>
10533
10534         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10535         ert compatibility check for "latex" layout.
10536
10537 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10538
10539         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10540         minipages: use col% instead of p%, and also use the current font.
10541         (makeLaTeXFile): Fix use babel condition.
10542         (parseSingleLyXformat2Token): Correct font when reading old floats.
10543
10544 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10547         inserting list of floats.
10548
10549 2002-04-25  Herbert Voss  <voss@lyx.org>
10550
10551         * MenuBackend.C (expand): don't add the graphics extensions to the
10552         export menu
10553
10554 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10557         non-existing layout, do not complain if it was the default layout
10558         of the original class (bug #342)
10559
10560 2002-04-24  Juergen Vigna  <jug@sad.it>
10561
10562         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10563         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10564
10565 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10566
10567         * buffer.C (getBibkeyList): If using \bibliography, return the
10568         option field with the reference itself. Enables us to provide natbib
10569         support when using \bibliography.
10570
10571 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10572
10573         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10574
10575         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10576         natbib is provided by the LaTeX class.
10577
10578 2002-04-23  Juergen Vigna  <jug@sad.it>
10579
10580         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10581         Wakeup functions.
10582
10583         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10584
10585 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10588
10589         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10590         ensuremath around textordmasculine, textordfeminine and
10591         textdegree.
10592
10593 2002-04-19  Juergen Vigna  <jug@sad.it>
10594
10595         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10596         reinitializing the buffer otherwise row-dimensions may be wrong.
10597         (update): reset also the selection cursors if they do exits otherwise
10598         their x/y positions may be wrong.
10599
10600         * text2.C (cursorDown): don't enter the inset if we came from a row
10601         above and are one row over the inset.
10602
10603         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10604         really leaving an inset.
10605
10606 2002-04-18  Juergen Vigna  <jug@sad.it>
10607
10608         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10609         of the selected paragraph does not have the selected layout also if
10610         the last one had!
10611
10612         * text2.C (setLayout): fixed bug which did not change last selected
10613         paragraph.
10614
10615         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10616         changed the read and substituted \\end_float with \\end_inset!
10617
10618         * BufferView_pimpl.C (cursorPrevious):
10619         (cursorNext): fixed to make it work with rows heigher than the work
10620         area without moving the cursor only the draw of the row.
10621         (workAreaMotionNotify): fix jumping over high rows.
10622
10623 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10624
10625         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10626         Ressler.
10627
10628 2002-04-16  Juergen Vigna  <jug@sad.it>
10629
10630         * text2.C (setCursor): set also the irow().
10631         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10632         (cursorUp):
10633         (cursorDown): support for locking an inset if the x_fix value goes
10634         inside it. That way I can transverse insets too with cursor up/down.
10635
10636         * lyxrow.h: added irow helper function same as other (i) functions.
10637
10638         * BufferView_pimpl.C (cursorPrevious):
10639         (cursorNext): fixed for insets!
10640
10641 2002-04-15  Juergen Vigna  <jug@sad.it>
10642
10643         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10644         position otherwise it is wrong in some cases.
10645
10646         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10647         inside the inset before the call.
10648
10649 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10650
10651         * buffer.[Ch] (getBibkeyList): make it const.
10652
10653 2002-04-12  Juergen Vigna  <jug@sad.it>
10654
10655         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10656
10657         * text2.C (getCursorX): new helper function
10658         (setCursor): compute also ix_
10659         (setCursorFromCoordinates): set also ix.
10660
10661         * lyxcursor.h: added ix_ and helper functions.
10662
10663         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10664
10665         * buffer.C (insertStringAsLines): dont break paragraph if the this
10666         paragraph is inside an inset which does not permit it!
10667
10668         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10669         also with no chars on this paragraph.
10670         (paintRowText): only paint stuff if it's inside the workarea!
10671
10672         * paragraph.C (breakParagraph): honor keepempty flag and break the
10673         paragraph always below not above.
10674
10675         * BufferView2.C (unlockInset): update the paragraph layout on inset
10676         unlock as we changed paragraph in such a case.
10677
10678         * lyxfind.C (LyXFind): clear the former selection if not found!
10679
10680         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10681         again called in insertChar().
10682
10683         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10684         an inset which uses the whole row!
10685         (rightMargin): ditto.
10686         (insertChar): force a rebreak if we inserted an inset!
10687
10688 2002-03-28  Herbert Voss  <voss@lyx.org>
10689
10690         * lyxlength.[Ch]: add inBP() to get the right PS-point
10691         units (BigPoint). With inPixels we have rounding errors
10692
10693 2002-04-11  Juergen Vigna  <jug@sad.it>
10694
10695         * text2.C (setCursorFromCoordinates): set iy to the right value.
10696         (setCursor): add check if row->previous exists!
10697
10698         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10699         an old float_type as this was the case in the old code!
10700
10701         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10702
10703         * BufferView2.C (showLockedInsetCursor): use iy
10704         (fitLockedInsetCursor): ditto
10705
10706         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10707         locked insets as there we have the right value now.
10708
10709         * lyxcursor.C: added iy_ variable and iy functions to set to the
10710         baseline of cursor-y of the locked inset.
10711
10712         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10713         (setCursor): fixed for insets which need a full row.
10714
10715         * text.C (rowLastPrintable): don't ignore the last space when before
10716         an inset which needs a full row.
10717         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10718         as last character of a row when before a inset which needs a full row.
10719
10720 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * version.C.in: update date
10723
10724         * text2.C (fullRebreak): try to always return true and see what
10725         happens...
10726
10727 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * MenuBackend.C (expand): use Floating::listName
10730
10731         * FloatList.C (FloatList): add listName argument to the built-in
10732         floats
10733
10734         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10735         text associated with the float.
10736
10737 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10740
10741 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * ShareContainer.h: add a couple of missing typenames.
10744
10745 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * lyxrc.C (getDescription): use _() correctly rather than N_().
10748
10749 2002-03-28  Herbert Voss  <voss@lyx.org>
10750
10751         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10752         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10753
10754 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10757         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10758
10759 2002-03-29  Juergen Vigna  <jug@sad.it>
10760
10761         * lyxfunc.C (dispatch): add a missing fitCursor call.
10762
10763         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10764         it was scrolled by a cursor move, so return the bool status.
10765
10766         * BufferView.C (fitCursor): return the bool flag also to the outside
10767         world as this is needed.
10768
10769         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10770
10771         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10772         call the edit() as it is not needed (and wrong) IMO.
10773         (workAreaButtonPress): set the screen_first variable before evt.
10774         unlock the inset as this may change screen_first and then we have
10775         a wrong y position for the click!
10776
10777 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * MenuBackend.C (expand): another translation that I missed
10780
10781 2002-03-28  Juergen Vigna  <jug@sad.it>
10782
10783         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10784
10785         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10786
10787 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10790
10791         * MenuBackend.C (expand): fix export/view/update when there is no
10792         document open.
10793
10794 2002-03-27  Herbert Voss  <voss@lyx.org>
10795
10796         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10797         and text%
10798
10799 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * bufferview_funcs.C (currentState): only show paragraph number
10802         for is DEVEL_VERSION is set.
10803
10804         * lyxfunc.C (dispatch): put warning in INFO channel
10805
10806         * MenuBackend.C (expand): translate the name of floats
10807
10808         * FloatList.C (FloatList): mark the float names for translation
10809
10810         * converter.C (convert): use LibScriptSearch
10811
10812 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * MenuBackend.C (defaults): fix default menu (we might as well get
10815         rid of it...)
10816
10817 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10820         directory.
10821
10822 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * lyxvc.C: reorder includes.
10825
10826 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10829           properly
10830
10831 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * CutAndPaste.C: change layouts earlier on paste
10834           to avoid crashing when calling getFont()
10835
10836 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10837
10838         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10839         irritating #error.
10840
10841 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * WorkArea.C: remove 'Pending' debug message.
10844
10845         * most files: ws cleanup
10846
10847         * buffer.[Ch]: ws changes
10848
10849         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10850
10851 2002-03-21  Juergen Vigna  <jug@sad.it>
10852
10853         * tabular.C (SetMultiColumn): collapse also the contents of the
10854         cells and set the last border right. Added a Buffer const * param.
10855
10856 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10859         linking or not.
10860
10861 2002-03-19  Juergen Vigna  <jug@sad.it>
10862
10863         * text2.C (clearSelection): reset also xsel_cache.
10864
10865         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10866         where it needs to be called (John tells us to do so too :)
10867         (selectionLost): reset sel_cache.
10868
10869         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10870
10871 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * text2.C (setCursorIntern): put debuging code in INSETS channel
10874
10875 2002-03-19  André Pönitz <poenitz@gmx.net>
10876
10877         * lyxfunc.C: tiny whitespace change
10878
10879 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10880
10881         * ToolbarDefaults.C (init):
10882         * LyXAction.C (init):
10883         * commandtags.h:
10884         * BufferView_pimpl.C (Dispatch):
10885         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10886
10887 2002-03-19  Allan Rae  <rae@lyx.org>
10888
10889         * exporter.C (Export): removeAutoInsets before doing anything else.
10890         While I've just introduced a dependency on BufferView this really is
10891         the best place to clean the buffer otherwise you need to cleanup in
10892         a dozen places before calling export or cleanup in a dozen functions
10893         that export calls.
10894
10895         * converter.C (runLaTeX):
10896         (scanLog): Better handling of removeAutoInsets and screen updates.
10897
10898         * lyxfunc.C (dispatch): small whitespace changes
10899
10900 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10901
10902         * WorkArea.C (C_WorkAreaEvent): return a value.
10903         (event_cb): return 1 if we handled the event, 0 otherwise.
10904
10905         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10906
10907 2002-03-18  Juergen Vigna  <jug@sad.it>
10908
10909         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10910         (GetAdditionalWidth): ditto.
10911         (RightLine): ditto.
10912         (LeftLine): ditto.
10913
10914         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10915         inset if we're there actually (probably not used right now but this
10916         is the direction to go for unifying code).
10917         (paste): disable code to clear the selection.
10918
10919         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10920         inside an InsetText and move the check further up as it is in the
10921         wrong place.
10922
10923         * text2.C (pasteSelection): set a selection over the pasted text.
10924
10925 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10926
10927         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10928         and libgraphics to build on Cygwin.
10929
10930 2002-03-15  Juergen Vigna  <jug@sad.it>
10931
10932         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10933         inserting an Inset into the paragraph. I know this is not the best
10934         fix but we already use current_view in CutAndPaste so we will remove
10935         all of it's using at the same time.
10936
10937         * buffer.C (sgmlError): deactivated function till it is rewritten in
10938         the right mode, now it can create problems.
10939
10940         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10941         before accessing it.
10942
10943 2002-03-14  Juergen Vigna  <jug@sad.it>
10944
10945         * undo_funcs.C (textHandleUndo): do the right thing when updating
10946         the inset after the undo/redo.
10947
10948         * text2.C (setCursor): just some testcode for #44 not ready yet.
10949
10950         * undo_funcs.C (textHandleUndo): set the next() and previous()
10951         pointers of the paragraph to 0 before deleting otherwise we have
10952         problems with the Paragraph::[destructor].
10953
10954         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10955         on a paragraph insertion.
10956
10957 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10958
10959         * buffer.C (asciiParagraph): use += operator for char append to
10960         string.
10961
10962         * paragraph.C (getFontSettings): compare >= not just >
10963         (highestFontInRange): ditto
10964         (setFont): ditto
10965
10966 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * paragraph.C: change several algorithm to be more appripriate for
10969         the problem domain. This is lookip in FontList and in the InsetList.
10970
10971 2002-03-13  André Pönitz <poenitz@gmx.net>
10972
10973         * commandtags.h:
10974         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10975
10976 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * commandtags.h:
10979         * LyXAction.C:
10980         * lyxfunc.C:
10981         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10982
10983 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * Painter.C (display): anon helper function, adjust code for this
10986         change.
10987         (pixmap): remove function.
10988
10989         * Painter.h: remove private display variable.
10990
10991         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10992
10993 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10994
10995         * WorkArea.[Ch]: remove figinset_canvas cruft.
10996
10997 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10998
10999         * lyxtextclass.C (operator): add one item cache optimization.
11000
11001         * bufferlist.h: doxy changes
11002
11003         * bufferlist.C: ws changes
11004
11005         * DepTable.[Ch] (ext_exist): place const in the right spot.
11006
11007         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11008         call resizeInsets.
11009         (workAreaExpose): call resizeInsets when the with BufferView changes.
11010         (Dispatch): adjust for protectedBlank removal
11011         (specialChar): call updateInset if the insert went ok.
11012
11013         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11014         specialChar instead.
11015
11016         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11017
11018         * BufferView.h: doxy change
11019
11020         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11021
11022         * lyxtextclass.C (operator[]): remove non-const version
11023         (defaultLayout): remove non-const version
11024
11025 2002-03-12  Juergen Vigna  <jug@sad.it>
11026
11027         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11028         did resize the LyXText too.
11029
11030         * buffer.C (readLyXformat2): set layout information on newly allocated
11031         paragraphs.
11032
11033         * tabular.C (OldFormatRead): set layout information on the paragraph.
11034
11035 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11036
11037         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11038
11039 2002-03-11  Juergen Vigna  <jug@sad.it>
11040
11041         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11042         plainly wrong.
11043         (resizeCurrentBuffer): force also the insets to resize themselfes.
11044         (moveCursorUpdate): fixed up for InsetText.
11045
11046 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11047
11048         * commandtags.h:
11049         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11050         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11051         value of Dialogs::tooltipsEnabled().
11052         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11053
11054 2002-03-08  Juergen Vigna  <jug@sad.it>
11055
11056         * BufferView_pimpl.C (updateInset): update inset inside inset also
11057         if it isn't inside theLockingInset().
11058
11059 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * buffer.C (asciiParagraph): redo some of the word and line length
11062         handling.
11063         (getLists): look for Caption instead of caption.
11064
11065 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * buffer.C (Buffer): initialize niceFile to true
11068         (makeLaTeXFile):
11069         (makeLinuxDocFile):
11070         (makeDocBookFile): make sure niceFile is true on exit
11071
11072 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11073
11074         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11075
11076 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * LyXSendto.C: remove.
11079         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11080         * lyx_gui.C: remove now-redundant comment.
11081         * ColorHandler.h: remove forward declaration of class WorkArea.
11082         * lyxfunc.C: remove #include "WorkArea.h".
11083
11084 2002-03-07  Juergen Vigna  <jug@sad.it>
11085
11086         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11087         got moved away with the DEPM and also set the inset_owner always
11088         right which before could have been omitted.
11089
11090 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11091
11092         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11093         wanted layout is not found.
11094
11095 2002-03-07  Juergen Vigna  <jug@sad.it>
11096
11097         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11098
11099 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11100
11101         * paragraph.C (breakParagraph): use default layout not layout of
11102         prev paragraph.
11103         (Paragraph): clear ParagraphParameters.
11104
11105 2002-03-06  Juergen Vigna  <jug@sad.it>
11106
11107         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11108         otherwise it would not be a valid lenght. Fixed a special case in
11109         the minipage compatibility read where we end the document with a
11110         minipage.
11111
11112         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11113         was set as it could be 0 for InsetTexts first entry.
11114
11115 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * paragraph.C (writeFile): if layout is empty write out
11118         defaultLayoutName().
11119
11120         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11121         file without named layout we set layout to defaultLayoutName().
11122
11123 2002-03-06  Juergen Vigna  <jug@sad.it>
11124
11125         * CutAndPaste.C (copySelection): set layout for new paragraph.
11126
11127         * text.C (prepareToPrint): leave ERT inset left aligned
11128         (leftMargin): don't indent paragraphs inside ERT insets
11129
11130 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11131
11132         * paragraph.C (breakParagraph): dont call clear do the work manually
11133
11134         * paragraph.[Ch] (clear): remove function
11135
11136 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * paragraph.C (Paragraph): dont call clear, the work has already
11139         been done.
11140
11141         * lyxtextclass.C (operator): assert if n is empty
11142
11143         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11144         work manually instead.
11145
11146 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * BufferView_pimpl.C: protect selectionLost against text == 0
11149
11150 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * text.C (breakParagraph): fix a setting layout to '0' problem.
11153
11154 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11155
11156         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11157         final location of file, for the included files, and graphics.
11158
11159 2002-03-05  Juergen Vigna  <jug@sad.it>
11160
11161         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11162
11163 2002-03-04  Juergen Vigna  <jug@sad.it>
11164
11165         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11166
11167         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11168         last column of multicolumn cells.
11169         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11170
11171 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11172
11173         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11174         file if it doesn't go to a temporary file.
11175
11176         * buffer.C (sgmlOpenTag):
11177         (sgmlCloseTag):  remove extra newline insertion.
11178
11179 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * text.C (getRowNearY): comment out debug msg
11182
11183 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * text2.C: first -> first_y
11186
11187         * text.C (getRowNearY): add some attemts at a possible
11188         optimization, not working.
11189
11190         * tabular.[Ch]: add BufferParams to several function so that newly
11191         created paragraph can be initialized to he default layotu for the
11192         buffers textclass.
11193
11194         * tabular-old.C (ReadOld): add buf->params to call of Init
11195
11196         * screen.C: rename text->first to text->first_y
11197
11198         * paragraph.C (breakParagraph): always set layout in the broken
11199         paragraph
11200
11201         * lyxtextclass.C (Read): remove lowercase
11202         (hasLayout): ditto
11203         (operator): ditto
11204         (delete_layout): ditto
11205
11206         * lyxtext.h: rename first -> first_y
11207
11208         * lyxlayout.C (Read): remove lowercase
11209         (name): ditto
11210         (setName): ditto
11211         (obsoleted_by): ditto
11212
11213         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11214
11215         * buffer.C (insertErtContents): add params are to InsetERT
11216         (parseSingleLyXformat2Token): add code to check if a paragraphs
11217         layout really exist.
11218         (parseSingleLyXformat2Token): add params to several inset
11219         constructors
11220         (asciiParagraph): remove lowercase, do the layout comparisons with
11221         no_case
11222
11223         * BufferView_pimpl.C (cursorNext): first -> first_y
11224         (resizeCurrentBuffer): first -> first_y
11225         (updateScrollbar): first -> first_y
11226         (scrollCB): first -> first_y
11227         (workAreaMotionNotify): first -> first_y
11228         (workAreaButtonPress): first -> first_y
11229         (checkInsetHit): first -> first_y
11230         (cursorPrevious): first -> first_y
11231         (cursorNext): first -> first_y
11232         (Dispatch): add buffer_->params to severl inset contructors
11233
11234 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11235
11236         * lyxlayout.C (Read): remove some debug info that I forgot.
11237
11238         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11239         clean up the code slightly.
11240         (makeLinuxDocFile): ditto
11241         (makeDocBookFile): ditto
11242
11243         * text2.C: layout as string
11244
11245         * text.C: layout as string
11246
11247         * paragraph_pimpl.C: layout as string
11248
11249         * paragraph.[Ch]: layout as string
11250
11251         * lyxtextclasslist.[Ch]: layout as string
11252
11253         * lyxtextclass.[Ch]: layout as string
11254
11255         * lyxtext.h: layout as string
11256
11257         * lyxlayout.[Ch]: layout as string
11258
11259         * lyx_cb.C: layout as string
11260
11261         * bufferview_funcs.C: layout as string
11262
11263         * bufferparams.C: layout as string
11264
11265         * buffer.C: layout as string
11266
11267         * LyXView.[Ch]: layout as string
11268
11269         * LaTeXFeatures.[Ch]: layout as string
11270
11271         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11272
11273         * BufferView_pimpl.C: change current_layout to string, remove
11274         lyx::layout_type.
11275         (Dispatch):
11276         (smartQuote):
11277         (insertInset):
11278         (workAreaButtonRelease): layout as string
11279
11280         * BufferView2.C (unlockInset): adjust
11281
11282         * vspace.C (asLatexCommand): use an explict temp variable.
11283
11284 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * Makefile.am: use FRONTEND_*
11287
11288 2002-03-01  Juergen Vigna  <jug@sad.it>
11289
11290         * tabular.C (SetWidthOfMulticolCell): changed to something better
11291         I hope but still work in progress.
11292         (recalculateMulticolumnsOfColumn): renamed function from
11293         recalculateMulticolCells as it is more appropriate now.
11294         (SetWidthOfCell): calculate multicols better.
11295
11296 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11299
11300         * lyxfunc.C (processKeySym): print sequence also if it is
11301         `deleted' (complete)
11302
11303         * kbsequence.C (print): print sequence even if it is deleted
11304         (complete would be a better word, actually).
11305
11306         * lyxfunc.C (dispatch): print complete options after a prefix key
11307
11308         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11309
11310 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11311
11312         * text2.C (setCharFont): eliminate setCharFont code duplication.
11313
11314 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11315
11316         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11317         LFUN_TABULAR_FEATURE (bug #177)
11318
11319 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * Makefile.am: remove figure.h
11322
11323 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * Bufferview_pimpl.C:
11326         * CutAndPasteC:
11327         * LaTeX.C:
11328         * LyXSendto.C:
11329         * buffer.C:
11330         * bufferlist.C:
11331         * converter.C:
11332         * language.C:
11333         * lyxfunc.C:
11334         * lyxvc.C:
11335         * paragraph.C:
11336         * text.C:
11337         * text2.C: remove #include "lyx_gui_misc.h".
11338
11339         * LaTeX.C: added #include <cstdio>
11340
11341 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11344         that the paragraph following this one can have.
11345
11346         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11347
11348         * vspace.C (asLatexCommand): fix bogus gcc warning
11349
11350         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11351
11352 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11353
11354         * text2.C (setLayout): get rid of redundant code
11355
11356 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11357
11358         * text2.C (incDepth): make sure depth cannot be increased beyond
11359         reasonable values.
11360
11361 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11364         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11365
11366         * PainterBase.h (image):
11367         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11368         a LyXImage const *.
11369
11370 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * BufferView.C:
11373         * BufferView.h:
11374         * BufferView_pimpl.C:
11375         * BufferView_pimpl.h:
11376         * LaTeXFeatures.C:
11377         * LyXAction.C:
11378         * LyXView.C:
11379         * Makefile.am:
11380         * UpdateList.h:
11381         * UpdateList.C:
11382         * buffer.C:
11383         * figure.h:
11384         * figureForm.C:
11385         * figureForm.h:
11386         * figure_form.C:
11387         * figure_form.h:
11388         * lyx_cb.C:
11389         * lyx_gui.C:
11390         * lyx_gui_misc.C:
11391         * lyxfunc.C:
11392         * sp_base.h:
11393         * sp_ispell.h:
11394         * sp_pspell.h:
11395         * sp_spell.C: remove fig inset, and the crap house of
11396           cards that follows it
11397
11398 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * Makefile.am:
11401         * lyxserver.C:
11402         * os2_defines.h:
11403         * os2_errortable.h:
11404         * nt_defines.h: move .h into support/
11405
11406         * vms_defines.h: remove
11407
11408         * WorkArea.C: add space in debug output
11409
11410         * text2.C:
11411         * paragraph.C:
11412         * buffer.C: add WITH_WARNINGS
11413
11414         * vc-backend.h:
11415         * vc-backend.C:
11416         * bufferlist.C: s/retrive/retrieve/, add docs
11417
11418         * vspace.h:
11419         * vspace.C:
11420         * kbmap.h:
11421         * lyxlength.h:
11422         * lyxgluelength.h:
11423         * length_common.h:
11424         * chset.h:
11425         * chset.C: add docs
11426
11427         * lyxgui.C: add ID to X error handler
11428
11429         * lyxtestclass.c: fix typo
11430
11431 2002-02-26  Juergen Vigna  <jug@sad.it>
11432
11433         * tabular_funcs.C (write_attribute): changed so that some default
11434         attributes are not written at all.
11435         (getTokenValue): set default values before trying to read the
11436         value so we have the return value always set as default if we don't
11437         find the token we search for.
11438
11439         * tabular.C (Write): write bools as bools not as strings!
11440
11441 2002-02-22  Juergen Vigna  <jug@sad.it>
11442
11443         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11444         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11445
11446         * text.C (leftMargin): don't add an indent for paragraphs inside
11447         tabular cells (fix #208).
11448
11449 2002-02-21  José Matos  <jamatos@fep.up.pt>
11450
11451         * tabular.C (docBook): fixed support for long tables.
11452
11453 2002-02-20  Juergen Vigna  <jug@sad.it>
11454
11455         * text2.C (getFont): get the drawing font of the Inset if this
11456         paragraph is inside an inset (only important for InsetERT for now).
11457
11458         * buffer.C (insertErtContents): use new lanugage params in ERT
11459         constructor.
11460
11461         * CutAndPaste.C: commenting out seemingly uneeded code.
11462
11463 2002-02-19  Allan Rae  <rae@lyx.org>
11464
11465         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11466         Iterators might be simple to use but they also get invalidated.
11467         (removeAutoInsets): renamed saved cursor tracking variables and added
11468         some comments to clarify what everything does.
11469
11470 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * Chktex.C:
11473         * LaTeX.C:
11474         * LyXSendto.C:
11475         * converter.C:
11476         * lyx_cb.C:
11477         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11478         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11479
11480         * lyxfunc.C:
11481         * vc-backend.h: remove #include "support/syscall.h"
11482
11483         * LaTeX.C:
11484         * LyXSendto.C:
11485         * converter.C: rearrange #includes in Lars' approved fashion.
11486
11487         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11488         forward declare class Timeout in the header file.
11489
11490         * XFormsView.C: changes due to the above.
11491
11492         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11493         similar to LyXView.
11494
11495         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11496         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11497
11498 2002-02-18  José Matos  <jamatos@fep.up.pt>
11499
11500         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11501         insets contents.
11502
11503 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11504
11505         * a lot of small ws changes
11506         * add a lot of using std::XXX
11507         * use std construcs some places where approp.
11508         * use some exisint stuff from lyxfunctional where approp.
11509         * Make file changes to use partial linking (lets test this now...)
11510
11511 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11512
11513         * Chktex.C:
11514         * buffer.C:
11515         remove #include "support/syscontr.h" as it's redundant. Always has been.
11516
11517         * Chktex.C:
11518         * LaTeX.C:
11519         * LyXSendto.C:
11520         * converter.C:
11521         * lyx_cb.C:
11522         * vc-backend.C:
11523         change Systemcalls::System to Systemcalls::Wait and
11524         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11525         No change of functionality, just reflects the stripped down Systemcalls
11526         class.
11527
11528 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11529
11530         * debug.[Ch]: add a GRAPHICS type to the enum.
11531
11532 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11535
11536         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11537         there is an inset.
11538
11539 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11542         match the changes below.
11543
11544         * text2.C (toggleInset): if there is not editable inset at cursor
11545         position, try to see if cursor is _inside_ a collapsable inset
11546         and close it.
11547
11548 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11551         document menu has a nice checkbox
11552
11553 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * lyxlength.C (asLatexString): change PW to output as percent of
11556         \textwidth.
11557
11558         * lengthcommon.C: change '%' to 't%'
11559
11560         * lyxfunc.C (dispatch): a few comments from Martin
11561
11562 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * WorkArea.h:
11565         * WorkArea.C:
11566         * BufferView_pimpl.h:
11567         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11568           the X selection.
11569
11570 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * vspace.C (inPixels): fix compiler warning
11573
11574 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * lyxfunc.C (getStatus): fix status message for disabled commands.
11577
11578 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * BufferView_pimpl.C: fix crash on close buffer
11581         during selection (#227)
11582
11583 2002-01-27  Herbert Voss  <voss@lyx.org>
11584
11585         * buffer.C: link old Figure to new graphic inset
11586
11587 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11588
11589         * FontLoader.C (getFontinfo): Change the latex font names in order
11590         to match the names of type1inst.
11591
11592 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11595
11596         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11597         (extchanged): ditto
11598         (ext_exist): ditto
11599         (remove_files_with_extension): ditto
11600         (remove_file): ditto
11601         (write): ditto
11602
11603         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11604         document is smaller than the work area height. Do not initialize
11605         static variables to 0.
11606
11607 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11610
11611         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11612         LFUN_LAYOUT_PARAGRAPHS.
11613
11614         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11615         tabular. It is possible to provide a possible cell, which will
11616         typically be the actcell from the corresponding insettabular
11617
11618         * lyxfunc.C (getStatus): small cleanup; disable
11619         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11620         true
11621
11622 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11623
11624         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11625
11626         * paragraph.C (startTeXParParams):
11627         (endTeXParParams): new methods. The LaTeX code to
11628         start/end paragraph formatting
11629         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11630         empty (fixes bug #200)
11631
11632         * vspace.C (inPixels): adapt to the change below
11633         (inPixels): [later] more cleanups (remove unused variables)
11634
11635         * lyxlength.C (inPixels): change to use a width and a height as
11636         parameter.
11637
11638 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11641         Replaced with \paperwidth
11642
11643         * DepTable.C (insert): add std:: qualifier
11644
11645 2002-01-18  Allan Rae  <rae@lyx.org>
11646
11647         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11648         updated also?
11649
11650         * text.C (drawInset): Turned out I didn't know enough about how
11651         rebreaking worked.  This fixes most of the redraw problems.  I see
11652         an occasional cursor trail when a line is broken now and the cursor
11653         placement can seem out by a few pixels also after a rebreak.
11654
11655 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * buffer.C (parseSingleLyXformat2Token): update because minipage
11658         width is now a LyXLength
11659
11660         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11661
11662         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11663         math insets
11664
11665 2002-01-17  Juergen Vigna  <jug@sad.it>
11666
11667         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11668
11669         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11670         is set correctly and the inset is updated correctly.
11671
11672 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11675         the beginning of the loop.
11676
11677 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * lyxrc.C: improve help for use_scalable_fonts
11680
11681 2002-01-17  Allan Rae  <rae@lyx.org>
11682
11683         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11684
11685 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11686
11687         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11688         make sure to set their inset_owner to the right value (bug #171)
11689
11690 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11691
11692         * DepTable.h
11693         * DepTable.C: Implement mtime checking to reduce time spent doing
11694         CRCs.
11695
11696 2002-01-16  Juergen Vigna  <jug@sad.it>
11697
11698         * tabular.C (GetAdditionalHeight): one of error fixed.
11699
11700         * lyxrc.C (output): small fix in writing use_pspell.
11701
11702 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11703
11704         * sp_base.h: #include LString.h
11705
11706 2002-01-16  Allan Rae  <rae@lyx.org>
11707
11708         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11709         Can someone check this please?
11710
11711         * text.C (drawInset): It was possible that p.row would be removed by
11712         breakAgainOneRow upsetting a few other settings.  There may be another
11713         small tweak possible by setting need_break_row = 0 when p.row has been
11714         removed but I don't know enough about the logic here.
11715
11716 2002-01-15  Allan Rae  <rae@lyx.org>
11717
11718         * text.C (insertChar): removed conditional truism.
11719
11720         * BufferView2.C (removeAutoInsets): More tweaks.
11721         cur_par_prev could be a stray pointer.  Check for trailing empty line
11722         in case last line was cur_par and only had an error inset on it.
11723
11724 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11727         absolute
11728
11729         * vc-backend.C (most methods):
11730         * exporter.C (Export):
11731         * converter.C (convert):
11732         (runLaTeX):
11733         * LyXSendto.C (SendtoApplyCB):
11734         * lyxfunc.C (dispatch):
11735         (menuNew):
11736         (open):
11737         (doImport):
11738         * lyx_cb.C (AutoSave):
11739         (InsertAsciiFile):
11740         * BufferView_pimpl.C (MenuInsertLyXFile):
11741         * buffer.C (runChktex): use Buffer::filePath().
11742
11743         * buffer.h: rename filename to filename_; rename filepath to
11744         filepath_ and make it private
11745         (filePath): new method
11746
11747         * buffer.C (writeFile): use fileName()
11748         (getLatexName):
11749
11750         * lyx_main.C (init): fix starting  of LyX when the binary is a
11751         link from so,ewhere else.
11752
11753         * minibuffer.C: include <cctype> for isprint
11754
11755 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11756
11757         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11758         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11759         name clash with InsetCollapsable's width function.
11760
11761 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * lastfiles.C: include <iterator>
11764
11765 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11766
11767         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11768         std::count.
11769
11770         * buffer.C (makeLaTeXFile): ditto.
11771         Also make loop operation more transparent.
11772
11773 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11774
11775         * ToolbarDefaults.C: remove trailing comma closing namespace.
11776
11777         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11778
11779         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11780         as in WorkArea.
11781
11782         * trans.C (Load): comment out unused variable, allowed.
11783
11784 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * minibuffer.[Ch] (append_char): new method to recieve input from the
11787         drop-down completion browser. If a key was pressed, then recieve this
11788         char and append it to the existing string.
11789         (peek_event): modify the positioning data passed to the completion
11790         browser so that it can be placed above the minibuffer rather than below.
11791 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * LyXAction.C (init): alloe error-next for readonly documents.
11794
11795         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11796         count.
11797
11798 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * bufferlist.C (readFile): create the buffer _after_ checking that
11801         the file exists.
11802
11803         * lyxfunc.C (verboseDispatch): fix handling of arguments
11804
11805         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11806
11807         * lyxrc.C: use string::erase() instead of initializing to "".
11808
11809
11810 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * BufferView_pimpl.h:
11813         * BufferView_pimpl.C:
11814         * WorkArea.h:
11815         * WorkArea.C:
11816         * text2.C: tell X when we have made a selection for copying
11817
11818 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * BufferView_pimpl.C (MenuInsertLyXFile):
11821         * lyxfunc.C (menuNew):
11822         (open):
11823         (doImport): add shortcuts to directory buttons
11824
11825         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11826         open a float)
11827
11828         * lyxfunc.C (setStatusMessage):
11829         (getStatusMessage): new methods
11830         (getStatus):use setStatusMessage instead of setErrorMessage
11831         (dispatch): when function is disabled, set error message here
11832         [instead of in getStatus previously]
11833
11834         * BufferView_pimpl.C (workAreaButtonRelease): update
11835         toolbar/menubar here too.
11836
11837 2002-01-13  Allan Rae  <rae@lyx.org>
11838
11839         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11840         Now seems indestructible.  Remaining task is to audit all other
11841         code affected by deleteEmptyParagraphMechanism.  One small quirk
11842         left is that an empty document with an error in the preamble can
11843         be made to report an error but no error box appears.  I don't know
11844         where it goes.
11845         (removeAutoInsets): Improved comments.
11846
11847 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * Thesaurus.h:
11850         * Thesaurus.C: update for Aiksaurus 0.14
11851
11852 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * text2.C (firstParagraph): removed member function, all uses
11855         replaces with ownerParagraph
11856         (redoParagraphs): here
11857         (updateInset): here
11858         (toggleAppendix): here
11859         * BufferView2.C (insertErrors): here
11860         (setCursorFromRow): here
11861
11862 2002-01-13  Allan Rae  <rae@lyx.org>
11863
11864         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11865         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11866         There is still a way to segfault this although you may have to do this
11867         multiple times: Have an InsetERT with an unknown command in it.
11868         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11869         <down-arrow>, <Enter> again, View->DVI, BANG!
11870
11871         * text2.C (setCursor):
11872         (deleteEmptyParagraphMechanism):
11873         * lyxtext.h (setCursor):
11874         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11875         Making use of the return value may help fix other bugs.
11876
11877 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11880
11881         * LyXView.C (updateMenubar): call MenuBar::update here
11882         (updateToolbar): but not here
11883         (showState): do not update toolbar/menubar
11884
11885         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11886         should need to care about that.
11887
11888         * lyxfunc.C (verboseDispatch): simplify a bit
11889         (getStatus): have a version which takes a pseudoaction, and
11890         another which requires a (kb_action,string).
11891
11892         * LyXAction.C (retrieveActionArg): make it work also when action
11893         is not a pseudo-action.
11894         (getActionName): simplify a bit
11895         (helpText):
11896
11897 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * lyxfunc.C (verboseDispatch): new families of methods with
11900         several ways to specify a command and a bool to indicate whether
11901         the command name and shortcut should be displayed in minibuffer
11902         (eventually, we could extend that to a finer bitmask like
11903         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11904         (dispatch): the pristine dispatch command which just, well,
11905         dispatchs! Note it still sets its result to minibuffer; I'm not
11906         sure we want that.
11907
11908         * lyxfunc.h: remove setHintMessage
11909
11910         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11911
11912 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * BufferView_pimpl.C (specialChar): delete new inset if we have
11915         not been able to insert it.
11916
11917         * kbmap.C: revert to using int instead of kb_action, since all we
11918         are dealing with is pseudo-actions.
11919
11920         * LyXAction.C (searchActionArg): change to return int instead of
11921         kb_action, since the result is a pseudoaction.
11922
11923 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11924
11925         * buffer.C (insertErtContents): Fix (partially) the font bug.
11926
11927 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11930         as the other one is broken on my machine!
11931
11932 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11933
11934         * commandtags.h:
11935         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11936
11937 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11938
11939         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11940         reflect their actual use. Provide compatibility code for older lyxrc
11941         files.
11942
11943         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11944         FL_NORMAL_STYLE.
11945         change names of popup font variables in line with the changes to lyxrc.C
11946
11947 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11948
11949         * buffer.C (asciiParagraph): avoid outputing a word twice after
11950         an inset.
11951
11952         * lyxrc.C (getDescription): document that document_path and
11953         template_path can be empty.
11954
11955 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11956
11957         * LaTeXFeatures.C (getMacros):
11958         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11959
11960         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11961
11962         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11963         getPackages.
11964         (getPackages): rename feature "floats" to "float". Use an array to
11965         iterate over 'simple' features (i.e. just a \usepackage). Add
11966         handling of "amsmath" (renamed from "amsstyle").
11967
11968 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11969
11970         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11971         features list.
11972
11973 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11976         FuncStaus::FuncStatus & FuncStaus::some_method().
11977
11978 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11979
11980         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11981         of the func_satus stuff. Edited and massaged in various ways by
11982         JMarc.
11983
11984         * lyxfunc.C (getStatus): use FuncStatus
11985
11986 2002-01-08  Juergen Vigna  <jug@sad.it>
11987
11988         * text.C (nextBreakPoint): use function Inset::isChar().
11989
11990         * paragraph.C (TeXOnePar): use function
11991         Inset::forceDefaultParagraphs.
11992
11993         * buffer.C (latexParagraphs): use function
11994         Inset::forceDefaultParagraphs.
11995
11996 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11997
11998         * lyx_gui.C (init): set the style of the menu popups to
11999         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12000
12001 2002-01-07  Juergen Vigna  <jug@sad.it>
12002
12003         * text.C (setHeightOfRow): small fix
12004         (prepareToPrint): don't look at alignment if we don't have the place
12005         for doing it.
12006
12007 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * box.C: New file. Move the Box methods and functions out of box.h,
12010         following Lars' suggestion.
12011
12012 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12013
12014         * box.h: #include "support/LOstream.h", needed for inlined function.
12015
12016         * lyxtextclass.C:
12017         * lyxtextclasslist.C: added some using std declarations.
12018
12019 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * box.h: make signed dimensions to allow insets wider than
12022           the screen (bug #162)
12023
12024         * BufferView_pimpl.C: add some insetHit debug
12025
12026 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * vc-backend.C: add FIXME
12029
12030 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * lyxfunc.C (getStatus): enable code for showing math font status
12033         in toolbar/menu.
12034
12035 2002-01-07  Juergen Vigna  <jug@sad.it>
12036
12037         * text.C (nextBreakPoint): removed debug output not needed anymore.
12038
12039 2002-01-06  Juergen Vigna  <jug@sad.it>
12040
12041         * text.C (nextBreakPoint): fixed up this function we had this bug
12042         since ever but now hopefully we break row better.
12043         (insertChar): we have to check if an inset is the next char as it
12044         could now happen that a large inset is causing a break.
12045
12046 2002-01-05  Juergen Vigna  <jug@sad.it>
12047
12048         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12049         if it doesn't like to be drawed.
12050
12051 2002-01-04  Juergen Vigna  <jug@sad.it>
12052
12053         * BufferView2.C (lockInset): forgot to set a cursor.
12054
12055         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12056
12057 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12058
12059         * FormMathsPanel.C:
12060         * FormMathsPanel.h
12061         * MathsSymbols.C:
12062         * form_maths_panel.C:
12063         * form_maths_panel.h:
12064         * form_maths_panel.fd: implemented sub- and super- buttons in math
12065         panel.
12066
12067         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12068         (or ^ space) to be used as in TeX (req'd by André).
12069
12070         * lyxfunc.C: Allow ^ and _ again to be used both as
12071         super/subscript (mathed) and as themselves (in text).
12072
12073 2002-01-03  Allan Rae  <rae@lyx.org>
12074
12075         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12076         "LyX" or the filename of the current buffer if it has one.  This is a
12077         modified form of John Levon's patch.
12078
12079         * XFormsView.C (setWindowTitle): also set icon title.
12080
12081         * LyXView.h (setWindowTitle): signature changed.
12082         * XFormsView.h (setWindowTitle): ditto.
12083
12084 2002-01-02  Juergen Vigna  <jug@sad.it>
12085
12086         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12087
12088 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * screen.C (topCursorVisible): introduce a temp var for
12091         text->cursor.row(), handle the case where this row is null. (kindo
12092         hachish)
12093
12094         * text2.C (setCursor): add a couple of asserts.
12095
12096         * paragraph.h (inset_iterator): add -> operator
12097
12098         * paragraph.[Ch] (autoDeleteInsets): remove member function
12099
12100         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12101         cursor pos correctly and handle inset deletion by itself.
12102         (insertErrors): move iterator declaration out of for expression
12103
12104         * lyxtextclass.C: add <algorithm>
12105
12106         * Makefile.am: added the new files to sources, removed layout.C
12107
12108         * layout.C: removed file
12109
12110         * layout.h: remove LYX_DUMMY_LAYOUT
12111
12112         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12113         layout.
12114
12115         * lyxlayout.[Ch]:
12116         * lyxtextclass.[Ch]:
12117         * lyxtextclasslist.[Ch]: new files
12118
12119         * include order changes to a lot of files, also changes because of
12120         the six new files.
12121
12122 2001-12-27  Juergen Vigna  <jug@sad.it>
12123
12124         * buffer.C (asciiParagraph): more fixes.
12125
12126         * tabular.C (ascii): make ascii export support export of only the
12127         data separated by a column-delimiter.
12128         (ascii): better support for ascii export.
12129
12130         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12131
12132 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * tabular_funcs.C: use a "using std::getline" instead of the
12135         previous fix from Angus (necessary for cxx + lyxstring)
12136
12137 2001-12-24  Juergen Vigna  <jug@sad.it>
12138
12139         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12140
12141         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12142         problems. First check a minipage also if we have some ert-contents
12143         (not only on par->size(), second set the right depth of the paragraph
12144         on the relink to the root-paragraph-list!
12145
12146         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12147         which then did not anymore update the main paragraphs on undo/redo!
12148
12149 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12152         code. Support all font-changing funcs (even those which are not in
12153         menu currently). Support for reporting font settings in
12154         mathed (disabled until Andre provides a function on mathed's side).
12155
12156         * func_status.h (toggle): small helper function to set toggle
12157         state on a flag.
12158
12159 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12160
12161         * tabular_funcs.C: getline -> std::getline
12162
12163 2001-12-21  Juergen Vigna  <jug@sad.it>
12164
12165         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12166         accessed and could be 0 (I couldn't generate this but it seems
12167         Michael could!).
12168
12169 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12172         * tabular_funcs.h: here and include iosfwd
12173
12174 2001-12-20  Juergen Vigna  <jug@sad.it>
12175
12176         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12177         inside inset but undo_par was.
12178
12179 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12180
12181         * Thesaurus.C: always include <config.h> in sources.
12182
12183         * Painter.h:
12184         * lyxlookup.h:
12185         * box.h: do not include <config.h> in header files
12186
12187         * text.C (paintLastRow): remove unused variable
12188
12189         * text.C (transformChar):
12190         (insertChar):
12191         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12192
12193         * Painter.C (text):
12194         * font.C (width): rewrite to use uppercase() instead of
12195         islower/toupper.
12196
12197         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12198
12199 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * lyxfind.C: clean up of find failure position change
12202
12203 2001-12-20  Juergen Vigna  <jug@sad.it>
12204
12205         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12206
12207         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12208         (TeXRow): added to LaTeX a single tabular row.
12209         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12210         (Latex): simplified and finally good LT-h/f support.
12211         (various_functions): just small adaptions for LT-h/f support.
12212
12213         * tabular_funcs.[hC]: added and moved here all not classfunctions
12214         of LyXTabular.
12215
12216 2001-12-19  Juergen Vigna  <jug@sad.it>
12217
12218         * tabular.[Ch]: better support for longtabular options (not finished
12219         yet!)
12220
12221 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * text.C (paintLastRow): use the label font instead of the font of
12224         the last character to compute the size of *_BOX. This makes more
12225         sense and avoids a crash with empty paragraphs.
12226         Use Painter::rectangle to draw EMPTY_BOX.
12227
12228 2001-12-19  Juergen Vigna  <jug@sad.it>
12229
12230         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12231         the paragraphs if the replaced paragraph is not the first one!
12232         Tried to delete not used paragraphs but does not work yet so for
12233         now it's inside #ifdef's and by default off!
12234
12235 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12236
12237         * MenuBackend.C: include "lyx_main.h" instead of declaring
12238         lastfiles (actually was declared as LastFiles* instead of a
12239         scoped_ptr).
12240
12241 2001-12-17  Juergen Vigna  <jug@sad.it>
12242
12243         * tabular.C (AppendColumn): applied John's fix
12244
12245 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * BufferView.h:
12248         * BufferView.C:
12249         * BufferView_pimpl.h:
12250         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12251
12252         * Makefile.am:
12253         * box.h: new start of class for above
12254
12255         * lyxfunc.C: ignore space-only minibuffer dispatches.
12256           Show the command name when it doesn't exist
12257
12258         * minibuffer.C: don't add empty lines to the history
12259
12260         * minibuffer.C: add a space on dropdown completion
12261
12262 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * text.C: fix line above/below drawing in insets
12265
12266 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * lyxlength.C (LyXLength): Initialize private variables.
12269
12270 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12273         when inserting error insets.
12274
12275 2001-12-13  Juergen Vigna  <jug@sad.it>
12276
12277         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12278         actually sometimes the before-paragraph.
12279         (setUndo): don't clear the redostack if we're not actually undoing!
12280
12281 2001-12-06  Juergen Vigna  <jug@sad.it>
12282
12283         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12284         and fixed redoing of main paragraph, so we can use it now ;)
12285
12286         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12287
12288 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12289
12290         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12291         Juergen's request
12292
12293 2001-12-13  André Pönitz <poenitz@gmx.net>
12294
12295         * undostack.[Ch]:
12296         * undo_func.C: minor cleanup
12297
12298 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12299
12300         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12301         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12302         font in urw-fonts package which is marked as -urw-fontspecific and
12303         does not work (incidentally, changing the encoding in the
12304         fonts.dir of this package to -adobe-fontspecific fixes the
12305         problem).
12306
12307         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12308         is a crash when undoing first paragraph (Juergen, please take a
12309         look). THis does not mean the undo fix is wrong, just that it
12310         uncovers problems.
12311
12312         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12313         the (Paragraph*) version when needed instead of duplicating the
12314         code.
12315
12316         * text.C (workWidth): use Inset::parOwner to find out where the
12317         inset has been inserted. This is a huge performance gain for large
12318         documents with lots of insets. If Inset::parOwner is not set, fall
12319         back on the brute force method
12320
12321         * paragraph_pimpl.C (insertInset):
12322         * paragraph.C (Paragraph):
12323         (cutIntoMinibuffer): set parOwner of insets when
12324         inserting/removing them
12325
12326         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12327
12328 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12329
12330         * commandtags.h:
12331         * LyXAction.C:
12332         * lyx_main.C:
12333         * lyxfunc.C:
12334         * mathed/formulabase.C:
12335         * mathed/math_cursor.[Ch]:
12336         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12337
12338
12339 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * lyxlength.[Ch] (operator!=): new function
12342
12343 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12344
12345         * text.C (workWidth): use Inset::parOwner to find out where the
12346         inset has been inserted. This is a huge performance gain for large
12347         documents with lots of insets. If Inset::parOwner is not set, fall
12348         back on the brute force method
12349
12350         * paragraph_pimpl.C (insertInset):
12351         * paragraph.C (Paragraph):
12352         (cutIntoMinibuffer): set parOwner of insets when
12353         inserting/removing them
12354
12355         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12356
12357 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * tabular-old.C (getTokenValue):
12360         * tabular.C (getTokenValue):
12361         (write_attribute): new versions for LyXLength
12362         (everywhere): adjust the use of widths
12363
12364         * tabular.h: change the type of widths from string to LyXLength
12365
12366 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12367
12368         * paragraph.C: fixed missing line number count when exporting
12369         Environments to LaTeX file
12370
12371         * buffer.C: added informational message for checking line numbers.
12372
12373 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12374
12375         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12376         paragraph, do the 'double space' part, but not the 'empty
12377         paragraph' one.
12378
12379         * text.C (workWidth): small optimization
12380         (getLengthMarkerHeight): use minimal size for negative lengths.
12381
12382 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12383
12384         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12385
12386         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12387
12388 2001-12-11  André Pönitz <poenitz@gmx.net>
12389
12390         * FontLoader.C:
12391         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12392
12393 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * text2.C: keep selection on a setFont()
12396
12397 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * lyx_cb.C: another bv->text misuse, from insert label
12400
12401 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * kbsequence.h:
12404         * kbsequence.C: re-instate nmodifier mask
12405
12406 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * lyx_main.h: make lyxGUI private.
12409
12410 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * lyxfind.C: place the cursor correctly on failed search
12413
12414 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12415
12416         * text.C (getLengthMarkerHeight): for small heights, the arrows
12417         are not always on top/bottom of the text
12418         (drawLengthMarker): smaller arrows; take the left margin in
12419         account; draw also vfills.
12420         (paintFirstRow):
12421         (paintLastRow): remove special code for vfill and standard spaces,
12422         since everything is handled in drawLengthMarker now.
12423
12424 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * buffer.C (insertErtContents): try to handle font and language
12427         interaction a bit better.g
12428
12429         * ColorHandler.C (updateColor): change the hash to cover the whole
12430         LColor enum, ws cleanup
12431         (getGCLinepars): ditto
12432         (getGCLinepars): only lookup in the linecache once.
12433
12434 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12435
12436         * iterators.C (operator++): Make the iterator more robust
12437
12438         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12439         (John's patch)
12440         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12441
12442 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * lyxtext.h:
12445         * text.C: better added space drawing
12446
12447 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * LyXView.C:
12450         * BufferView2.C: fix layout combo update on inset unlock
12451
12452 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * Makefile.am: don't compile unused files
12455
12456 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * lyxfunc.C:
12459         * commandtags.h:
12460         * LyXAction.C: remove old LFUN_LAYOUTNO
12461
12462 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * paragraph_pimpl.h:
12465         * paragraph_pimpl.C: isTextAt() doesn't need font param
12466
12467 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12468
12469         * lyxlex.h:
12470         * lyxlex.C: little cleanup
12471
12472 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * BufferView_pimpl.C: fix insertAscii for insets
12475
12476 2001-12-05  Juergen Vigna  <jug@sad.it>
12477
12478         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12479         set the right font on the "multi" paragraph paste!
12480
12481 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12482
12483         * trans_decl.h:
12484         * trans_mgr.[Ch]:
12485         * trans.[Ch]:
12486         * lyxgluelength.C:
12487         * lyxlength.C: remove out-commented code.
12488
12489         * BufferView_pimpl:
12490         * CutAndPaste.C:
12491         * DepTable.C:
12492         * buffer.C:
12493         * chset.C:
12494         * lastfiles.C:
12495         * lyxlex.C:
12496         * lyxlex_pimpl.C:
12497         * lyxserver.C:
12498         * screen.C:
12499         * tabular-old.C:
12500         * tabular.C:
12501         * text.C:
12502         * trans_mgr.C:
12503         * vc-backend.C: change "while(" to "while ("
12504
12505         * lyxlength.[Ch]: add zero function to check if length is zero or
12506         not
12507         * lyxgluelength.C: use it
12508
12509 2001-12-05  Allan Rae  <rae@lyx.org>
12510
12511         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12512         Works for 2.95.3, from what I understand of Garst's reports this should
12513         work for other g++ versions.  We're screwed if the abs(int) definition
12514         changed between bugfix releases of gcc.
12515
12516 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * text.C: fix chapter label offset !
12519
12520 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * lyxtext.h:
12523         * text.C: fix hfill at end of line, clean up
12524
12525 2001-12-04  Juergen Vigna  <jug@sad.it>
12526
12527         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12528         that we force an update of the inset and it's owners if neccessary.
12529
12530 2001-12-03  Juergen Vigna  <jug@sad.it>
12531
12532         * text.C (rowLast): simplified code
12533
12534 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * lyxfunc.C: fix show options on timeout
12537
12538 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * screen.C (topCursorVisible): scroll half a page when the cursor
12541         reached top of bottom of screen
12542
12543 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * minibuffer.C: deactivate on loss of focus
12546
12547 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * vspace.[Ch] (operator!=): add operator.
12550
12551 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * BufferView_pimpl.C: refuse to open an inset when
12554         there's a selection.
12555
12556 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * BufferView_pimpl.C: allow to click on RHS of full row insets
12559
12560 2001-11-30  Juergen Vigna  <jug@sad.it>
12561
12562         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12563         insets for undo reasons.
12564
12565 2001-11-28  André Pönitz <poenitz@gmx.net>
12566
12567         * vspace.[Ch]: cosmetical changes
12568
12569 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * LyXAction.h:
12572         * LyXAction.C:
12573         * lyxfunc.h:
12574         * lyxfunc.C:
12575         * kbmap.h:
12576         * kbmap.C:
12577         * lyxrc.C:
12578         * kbsequence.h:
12579         * kbsequence.C: part re-write of old kb code
12580
12581         * Painter.C:
12582         * WorkArea.C: remove Lgb_bug_find_hack
12583
12584 2001-11-30  José Matos <jamatos@fep.up.pt>
12585
12586         * buffer.C (makeDocBookFile): add a comment to point a hack.
12587         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12588         Fixed a double write of labels.
12589
12590 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12591
12592         * LaTeX.C:
12593         * LaTeX.h Fixed bug in LaTeX class where it would not
12594         re-run latex if no depfiles were changed, but the .dvi was removed.
12595
12596 2001-11-28  André Pönitz <poenitz@gmx.net>
12597
12598         * all the files from the change on 2001/11/26:
12599         use lyx::layout_type instead of LyXTextClass::size_type
12600         use lyx::textclass_type instead of LyXTextClassList::size_type
12601
12602 2001-11-29  Juergen Vigna  <jug@sad.it>
12603
12604         * text.C: added support for paragraph::isFreeSpacing()
12605
12606         * buffer.C: same as above
12607
12608         * paragraph.h: inserted isFreeSpacing() function to enable
12609         FreeSpacing inside InsetERT.
12610
12611         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12612         of the paragraph's in the cut/copy buffer to 0!
12613
12614         * text2.C (removeRow): remove the assert as it can!
12615
12616         * lyxtext.h: added helper function firstRow returning firstrow and
12617         made firstrow private again.
12618
12619         * BufferView2.C (lockInset): don't relock if we're already locked!
12620
12621         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12622         the only paragraph.
12623         (removeRow): added Assert::(firstrow)
12624
12625         * debug.C: forgot to add INSETTEXT here.
12626
12627 2001-11-28  Juergen Vigna  <jug@sad.it>
12628
12629         * sp_spell.C (initialize): changed error text to more general
12630         spellchecker command use (not only ispell!)
12631
12632         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12633
12634         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12635
12636 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * vspace.C: initialise lyxgluelength on failure
12639
12640 2001-11-28  Allan Rae  <rae@lyx.org>
12641
12642         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12643         declaration & definition that looks like a function declaration.
12644
12645 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * BufferView2.C (copy):
12648         (copyEnvironment): do not clear the selection when doing a copy.
12649
12650         * text.C (paintFirstRow): compilation fix
12651
12652 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12653
12654         * tabular.C (Latex): correct line count when writing latex.
12655
12656 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * paragraph_pimpl.h:
12659         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12660           bug a bit
12661
12662 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * text.C:
12665         * LColor.h:
12666         * LColor.C: change vfillline->added_space
12667
12668         * text.C: add markers and text for added space
12669
12670         * vspace.C: fix comment
12671
12672 2001-11-28  André Pönitz <poenitz@gmx.net>
12673
12674         * paragraph.C: whitespace changes
12675         * all the other files from the change on 2001/11/26:
12676         change *::pos_type into lyx::pos_type
12677
12678 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12679
12680         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12681         language of the document when inserting error insets.
12682
12683 2001-11-26  André Pönitz <poenitz@gmx.net>
12684
12685         * BufferView_pimpl.[Ch]:
12686         *       CutAndPaste.C:
12687         * buffer.[Ch]:
12688         * lyxcursor.[Ch]:
12689         * lyxfind.C:
12690         * lyxfunc.C:
12691         * lyxrow.[Ch]:
12692         * paragraph.[Ch]:
12693         * paragraph_pimpl.[Ch]:
12694         * sp_spell.C:
12695         * text.C:
12696         * text2.C: reduce header dependencies, introduce type for positions
12697
12698 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * <various>: change to use Alert.h
12701
12702 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12703
12704         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12705         when encountering an unknown token.
12706         (readLyXformat2): Show an error message if there were unknown tokens.
12707
12708 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView2.C:
12711         * BufferView_pimpl.C:
12712         * buffer.C:
12713         * paragraph.h:
12714         * text.C:
12715         * text2.C: use par->isInset()
12716
12717 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * paragraph_pimpl.h:
12720         * paragraph_pimpl.C: cleanup
12721
12722 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * text2.C (removeRow):
12725         * text.C (setHeightOfRow): remove useless (and costly) call to
12726         getRow.
12727
12728 2001-11-20  Allan Rae  <rae@lyx.org>
12729
12730         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12731         Now need Inset*::checkInsertChar() to return true for appropriate
12732         cases so that the characters in the minibuffer will actually be
12733         inserted.
12734
12735 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * text.C: change the order of the includes.
12738         (workWidth): initialize it at once.
12739         (workWidth): make maxw unsigned
12740         (setHeightOfRow): remove unused variable (inset)
12741         (selectSelectedWord): remove unused variable (inset)
12742         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12743
12744 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12747         server is not running.
12748         (openConnection):
12749         (closeConnection): add debug info when server is disabled.
12750
12751         * ColorHandler.C (getGCForeground): send debug message to GUI
12752         channel.
12753
12754         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12755
12756         * kbmap.C (bind): modify because return conventions of
12757         kb_sequence::parse have changed.
12758
12759         * kbsequence.C (parse): only ignore spaces and not any stupid
12760         control character. This avoids tests like s[i] <= ' ', which are
12761         guaranteed to fail with 8bit characters and signed chars.
12762         Change return code to string::npos when there have been no error
12763         (0 was a bad idea when error is at first character)
12764
12765 2001-11-14  José Matos  <jamatos@fep.up.pt>
12766
12767         * buffer.h:
12768         * buffer.C (simpleDocBookOnePar): removed unused argument.
12769
12770 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12773         insets which are part of a word. Paragraph::isLetter takes care of
12774         that now. Use Paragraph::isInset to identify insets.
12775         (selectSelectedWord): do not test for hyphenation break.
12776
12777         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12778         that protected spaces are considered as spaces.
12779
12780         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12781         Inset::isLetter.
12782
12783 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12784
12785         * lyxserver.h:
12786         * lyxserver.C: fix it. and small cleanup.
12787
12788 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * BufferView_pimpl.C: use inline helpers
12791
12792         * LaTeXFeatures.h:
12793         * LaTeXFeatures.C: fix typos
12794
12795         * Spacing.h:
12796         * Spacing.C: move spacing_string into class
12797
12798         * ToolbarDefaults.C: move stuff into namespace anon
12799
12800         * layout.h: update enum
12801
12802         * lyxfunc.C: use better debug
12803
12804         * minibuffer.h: fix typo
12805
12806         * debug.h:
12807         * debug.C:
12808         * WorkArea.C: add and use Debug::WORKAREA
12809
12810         * lyxtext.h:
12811         * text.C:
12812         * text2.C: code re-organisation, inline helpers
12813
12814 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12815
12816         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12817         std::vector.empty().
12818
12819 2001-11-09  Allan Rae  <rae@lyx.org>
12820
12821         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12822         '\n's after tables.  Tabular and ERT inset work now makes this no
12823         longer necessary.
12824
12825 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * minibuffer.h:
12828         * minibuffer.C: fix crash, improve drop-down completion
12829
12830 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * lyxserver.h:
12833         * lyxserver.C: invalidate fd's when doing endPipe()
12834
12835 2001-11-08  José Matos  <jamatos@fep.up.pt>
12836
12837         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12838         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12839
12840         * paragraph.h:
12841         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12842
12843 2001-11-07  José Matos  <jamatos@fep.up.pt>
12844
12845         * buffer.h:
12846         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12847         const qualifier.
12848
12849         * buffer.C (sgmlOpenTag):
12850         * buffer.C (sgmlCloseTag): removed debug info.
12851
12852         * buffer.h (sgmlOpenTag):
12853         * buffer.h (sgmlCloseTag): made public.
12854
12855 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * buffer.C (saveParamsAsDefaults):
12858         * lyx_cb.C (MenuLayoutSave): remove
12859
12860         * LyXAction.C (init):
12861         * commandtags.h:
12862         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12863
12864 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12865
12866         * buffer.C (setPaperStuff): removed from here...
12867
12868         * bufferparams.C (setPaperStuff): ... and moved there.
12869
12870 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * minibuffer.h:
12873         * minibuffer.C:
12874         * XFormsView.C: add support for drop-down completion
12875
12876 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12877
12878         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12879         commands.
12880
12881 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12882
12883         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12884         disabled.
12885
12886 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * lyx_main.C: change ref to known bugs
12889
12890 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12891
12892         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12893         to work around older babel problems.
12894
12895 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12896
12897         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12898
12899 2001-10-24  Juergen Vigna  <jug@sad.it>
12900
12901         * tabular-old.C (ReadOld): below variable changes reflected.
12902
12903         * tabular.[Ch]: added ltType struct for longtable header/footer
12904         defines and changed all instances where they are used. Added
12905         future support for double top/bottom rows.
12906
12907 2001-10-24  José Matos  <jamatos@fep.up.pt>
12908
12909         * buffer.h (docbookHandleCaption):
12910         * buffer.C (docbookHandleCaption): removed unused function.
12911         (makeDocBookFile): moved docbook supported version to v4.1.
12912
12913 2001-10-24  José Matos  <jamatos@fep.up.pt>
12914
12915         * tabular.h:
12916         * tabular.C (docbookRow): new function to export docbook code of a row.
12917         (DocBook): now honors the longtable flags.
12918
12919 2001-10-23  José Matos  <jamatos@fep.up.pt>
12920
12921         * LaTeXFeatures.h:
12922         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12923         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12924
12925         * buffer.C (makeLinuxDocFile):
12926         (makeDocBookFile): reworked the preamble, more clean, and with
12927         support for lyx defined entities. Changed the document declaration
12928         to be more XML friendly.
12929
12930         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12931         if we need to output XML that should be done with a filter.
12932
12933 2001-10-22  Juergen Vigna  <jug@sad.it>
12934
12935         * sp_pspell.h (class PSpell): add alive function needed in the
12936         controller to see if the spellchecker could be started.
12937
12938 2001-10-22  Juergen Vigna  <jug@sad.it>
12939
12940         * buffer.C (insertStringAsLines): modify the font for inserting
12941         chars in certain conditions by calling checkInsertChar(font).
12942
12943 2001-10-19  Juergen Vigna  <jug@sad.it>
12944
12945         * text.C (workWidth): use getRow instead of wrong algorithm.
12946         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12947
12948 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * lyxserver.h:
12951         * lyxserver.C:
12952         * lyx_main.h:
12953         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12954
12955 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * text.C (workWidth): do not search for the exact row when
12958         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12959         optimization for big documents.
12960
12961 2001-10-18  Juergen Vigna  <jug@sad.it>
12962
12963         * text.C (workWidth): new function with added Inset * parameter.
12964
12965 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12968
12969         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12970         change return type of getColumnNearX.
12971
12972
12973         * text.C (changeRegionCase): use uppercase/lowercase instead of
12974         toupper/tolower.
12975         (leftMargin):
12976         (rightMargin): simplify code by factoring out the uses of
12977         textclasslist.
12978         (labelFill):
12979         (numberOfHfills):
12980         (setHeightOfRow):
12981         (appendParagraph): use Paragraph::size_type
12982
12983 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * vspace.C (asLatexString): add a missing break
12986
12987 2001-10-15  Herbert Voss  <voss@perce.de>
12988
12989         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12990
12991 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12994         is not available.
12995
12996 2001-10-10  André Pönitz <poenitz@gmx.net>
12997
12998         * lyxfunc.C: removed greek_kb_flag.
12999
13000 2001-10-10  Herbert Voss  <voss@perce.de>
13001
13002         * lyx_main.C: delete global string help_lyxdir.
13003
13004 2001-10-09  Herbert Voss  <voss@perce.de>
13005
13006         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13007
13008         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13009
13010         * lyx_main.C: added global string help_lyxdir.
13011
13012         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13013
13014 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13015
13016         * lyxrc.C (set_font_norm_type): support iso8859-4
13017
13018 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13019
13020         * LaTeX.C (deplog): add another regex for MikTeX
13021
13022 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13023
13024         * lyxrc.C (set_font_norm_type): support iso8859-3
13025
13026 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13027
13028         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13029
13030         * LaTeXFeatures.C: remove special case of french and index
13031
13032         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13033         before \begin{document}). This solves several incompatibilities.
13034
13035 2001-10-03  Garst Reese  <reese@isn.net>
13036
13037         * lyx_cb.C: change CheckTex error msg.
13038
13039 2001-10-03  José Matos  <jamatos@fep.up.pt>
13040
13041         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13042
13043 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13044
13045         * .cvsignore: update
13046
13047         * lyx_main.C (commandLineVersionInfo): use new style version info.
13048
13049         * buffer.C (writeFile):
13050         (makeLaTeXFile):
13051         (makeLinuxDocFile):
13052         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13053
13054         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13055
13056         * version.h: update to use stuff in version.C
13057
13058         * version.C.in: new file. Contains version information determined
13059         at compile time. This is a merging of version.h and
13060         version_info.h.in.
13061
13062 2001-10-03  Juergen Vigna  <jug@sad.it>
13063
13064         * BufferView_pimpl.C (update): don't change "dirty" status in
13065         updateInset call.
13066
13067 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * WorkArea.C (c-tor): re-position version string slightly.
13070
13071 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13072
13073         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13074         revert to previous code.
13075
13076         WorkArea.[Ch]: (show, destroySplash): methods removed.
13077
13078         WorkArea.C: rework code so that it's an amalgam of the codes before and
13079         after the splash screen was moved to WorkArea.
13080
13081 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * lyxrc.C (read):
13084         * vspace.C (inPixels):
13085         (lyx_advance):
13086         * kbmap.C (bind):
13087         * buffer.C (insertStringAsLines):
13088         (asciiParagraph): fix types to be large enough
13089
13090         * lyxlex_pimpl.h: change member status from short to int
13091
13092         * layout.h: fix type of endlabeltype
13093
13094         * kbmap.C (bind):
13095         * kbsequence.C (parse): change return type to string::size_type
13096
13097         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13098         variable
13099
13100         * Bullet.C (bulletSize):
13101         (bulletEntry): do not use short ints as parameters
13102
13103         * BufferView2.C (insertLyXFile): change a char to an int.
13104
13105         * WorkArea.C (WorkArea): remove unneeded floats in computation
13106
13107 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13110
13111         * paragraph.C (asString): Do not ignore newline/hfill chars when
13112         copying to the clipboard.
13113
13114 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13115
13116         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13117         after a multi-line inset.
13118
13119 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13120
13121         * paragraph.C (validate): Set NeedLyXFootnoteCode
13122
13123 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13126         and decrease-error to decrease.
13127
13128 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13129
13130         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13131         it more readable (should be equivalent)
13132
13133 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13134
13135         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13136
13137 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13138
13139         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13140         of a cursor (row, etc.) after a character has been deleted
13141         (deleteEmptyParagraphMechanism): call the method above on _all_
13142         cursors held by the LyXText when a double space has been
13143         detected/deleted.
13144
13145 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13146
13147         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13148         pixmap.
13149         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13150
13151         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13152         background. Use greyOut() and the new show() methods to toggle between
13153         the foreground and background. Add code to remove the splash after
13154         its initial showing.
13155
13156         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13157         (create_forms): no longer call Dialogs::showSplash.
13158
13159 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13160
13161         * .cvsignore: add version_info.h
13162
13163 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * version_info.h.in: new file
13166
13167         * Makefile.am: add version_info.h.in
13168
13169         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13170         version_info.h instead of VERSION_INFO
13171
13172 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13175         The ERT inset now returns string().
13176
13177 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13178
13179         * lyxtext.h, text.C (selectNextWord): renamed as
13180         selectNextWordToSpellcheck.
13181
13182         * text.C (selectNextWordToSpellcheck): Modified to not select
13183         words inside an ERT inset.
13184
13185 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * lyx_cb.C (MenuLayoutSave): change a bit the question
13188
13189         * sp_base.h: include <sys/types.h>
13190
13191 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13194
13195 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13196
13197         * several files: fix typos in user-visible strings
13198
13199 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * text2.C (pasteSelection): do not set the selection, since it
13202         will be cleared later. Actually, the intent was to fix the way the
13203         selection was set, but I figured rmoving the code was just as good.
13204
13205 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13206
13207         * FontLoader.C (available): Check if font is available without
13208         loading the font.
13209
13210 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13211
13212         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13213
13214 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * lyxrc.[Ch]: added display_graphics variable and associated code.
13217
13218 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * bufferparams.C (hasClassDefaults): new method. Returns true if
13221         the buffer parameters correspond to known class defaults
13222
13223 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * XFormsView.C (show): set minimum size to the main window.
13226
13227 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * text2.C (copySelection):
13230         (cutSelection):
13231         * lyxfind.C (LyXReplace):
13232         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13233         LyXText::selectionAsString.
13234
13235         * paragraph.C (asString): add "label" argument to the second form
13236
13237         * text2.C (selectionAsString): add "label" argument and pass it to
13238         Paragraph::asString.
13239
13240 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * lyx_main.C (commandLineHelp): remove version information
13243
13244 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13245
13246         * lyx_main.C: add -version commandline option
13247
13248 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * paragraph.h: make the optional constructor arg required instead.
13251         some modifications to other files because of this.
13252
13253         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13254
13255         * lyxserver.C (C_LyXComm_callback): make it static
13256
13257         * lyx_main.C (error_handler): make it static
13258
13259         * lyx_gui.C (LyX_XErrHandler): make it static
13260
13261         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13262
13263         * WorkArea.C: make the extern "C" methods static.
13264
13265         * Makefile.am (lyx_LDADD): simplify
13266
13267 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13270         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13271
13272         * LyXAction.C (init):
13273         * lyxfunc.C (dispatch): associated code removal.
13274
13275 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13276
13277         * lyxfont.h (isSymbolFont): shut off warning
13278
13279         * text.C (setHeightOfRow):
13280         (getVisibleRow): fix crash with empty paragraphs which have a
13281         bottom line
13282
13283 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13284
13285         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13286         code.
13287
13288 2001-09-04  José Matos  <jamatos@fep.up.pt>
13289         * buffer.C
13290         * buffer.h
13291         * tabular.C (docbook): rename docBook method to docbook.
13292
13293 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13294
13295         * Makefile.am: add dependencies to main.o.
13296
13297 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * FontLoader.C (available): Return false if !lyxrc.use_gui
13300
13301 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13302
13303         * FontInfo.C (query):
13304         * converter.C (view):
13305         * importer.C (Import):
13306         * exporter.C (Export): Can not -> cannot.
13307
13308 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * BufferView_pimpl.C: allow to create index inset even if
13311           string is empty
13312
13313 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * buffer.C (getLists): replace boost::tie code with an explicit pair
13316         as boost::tie can break some compilers.
13317
13318         * iterators.h: Added a std:: declaration to the return type of
13319         ParIterator::size.
13320
13321 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13324           case.
13325
13326 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13327
13328         * iterators.[Ch]: New files. Provide paragraph iterators.
13329
13330         * buffer.C (changeLanguage): Use paragraph iterators.
13331         (isMultiLingual): ditto
13332
13333         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13334
13335 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * FontLoader.C: Support for cmr font.
13338
13339 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13342         (available): New method.
13343
13344         * FontInfo.C (getFontname): Use scalable fonts even when
13345         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13346         found.
13347
13348 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * converter.C (Formats::view): reverted! Incorrect fix.
13351
13352 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13353
13354         * converter.C (Formats::view): only output the -paper option
13355         if the dvi viewer is xdvi, thereby fixing bug #233429.
13356
13357 2001-08-23  Herbert Voss  <voss@perce>
13358
13359         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13360
13361 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13362
13363         * Spacing.h (Spacing): Set space to Default on in the default
13364         constructor.
13365
13366 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * vc-backend.h (RCS::versionString): add RCS to version
13369         (CVS::versionString): add CVS to version
13370
13371         * vc-backend.C (scanMaster): do not add CVS to version.
13372         (scanMaster): do not add RCS to version
13373
13374         * lyxvc.C (versionString): new method
13375
13376         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13377
13378 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * Spacing.C (set): initialize fval
13381
13382 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13383
13384         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13385         " or \.
13386
13387 2001-08-16  Juergen Vigna  <jug@sad.it>
13388
13389         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13390
13391 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * BufferView_pimpl.C:
13394         * figureForm.C:
13395         * lyxtext.h:
13396         * text2.C: setParagraph takes linespacing now
13397
13398 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * LyxAction.C: add internal LFUN_CITATION_INSERT
13401
13402         * LyXView.C: actually apply fix
13403
13404         * bufferlist.C: fix open non-existent file
13405
13406         * lyxfind.C: fix indentation
13407
13408         * lyxfunc.C: remove unneeded assert, fix typo
13409
13410 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13411
13412         * MenuBackend.C: use "Floatname List"
13413
13414 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13415
13416         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13417         when converting LaTeX layout to insetERT.
13418         Generate a non-collapsed float when reading old float
13419
13420 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13421
13422         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13423         ERT insets.
13424
13425 2001-08-13  Juergen Vigna  <jug@sad.it>
13426
13427         * text.C (fill): return 0 instead of 20 as this seems to be the more
13428         correct value.
13429
13430 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13431
13432         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13433         lyxrc.font_norm.
13434
13435 2001-08-13  Juergen Vigna  <jug@sad.it>
13436
13437         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13438         casesensitive off.
13439         (SearchBackward): comment out the unlocking of the inset_owner this
13440         should not be needed!
13441
13442 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * Many files: Remove inherit_language, and add latex_language
13445
13446         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13447         collapsible insets.
13448
13449 2001-08-10  Juergen Vigna  <jug@sad.it>
13450
13451         * text.C (prepareToPrint): fixed hfill-width in draw!
13452
13453         * BufferView2.C (selectLastWord): save the selection cursor as this
13454         now is cleared in the function LyXText::clearSelection!
13455
13456 2001-08-08  Juergen Vigna  <jug@sad.it>
13457
13458         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13459         BACKSPACE type functions.
13460
13461         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13462         is only cutted from the document but not put in the cut-buffer, where
13463         still the old stuff should be.
13464
13465         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13466
13467         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13468
13469         * tabular.C (SetWidthOfCell): fixed special case where the width
13470         was not updated!
13471         (LeftLine): handle '|' in align_special.
13472         (RightLine): ditto
13473         (LeftAlreadyDrawed): ditto
13474         (SetWidthOfCell): ditto
13475
13476 2001-08-07  Juergen Vigna  <jug@sad.it>
13477
13478         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13479
13480 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13483         * lyxlex.[hC]: ditto
13484
13485 2001-08-06  Juergen Vigna  <jug@sad.it>
13486
13487         * text.C (getVisibleRow): fix up row clearing a bit.
13488
13489 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * minibuffer.C: make sure the X server sees the changes in the input.
13492
13493 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * paragraph.C (getFont): split into...
13496         (getLabelFont): this
13497         (getLayoutFont): and this
13498         * paragraph_pimpl.C (realizeFont): calling this
13499
13500         * text2.C (getFont): split into...
13501         (getLayoutFont): this
13502         (getLabelFont): and this
13503         (realizeFont): all three calling this
13504
13505         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13506         files where used.
13507
13508 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13511
13512 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13513
13514         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13515         layouts from the Quote inset insertion.
13516
13517 2001-08-03  Juergen Vigna  <jug@sad.it>
13518
13519         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13520
13521         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13522         only if status not is already CHANGED_IN_DRAW (second level).
13523
13524         * text.C (draw): don't set the need_break_row when inside an
13525         InsetText LyXText.
13526
13527 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * buffer.C (parseSingleLyXformat2Token): handle more latex
13530         conversion cases.
13531
13532         * bufferview_funcs.[hC]: change function names to
13533         begin with small char, adjust other files.
13534
13535 2001-08-02  André Pönitz <poenitz@gmx.net>
13536
13537         * lyxfunc.C:
13538         BufferView_pimpl.C: remove broken special code for math-greek
13539
13540 2001-08-02  Juergen Vigna  <jug@sad.it>
13541
13542         * BufferView_pimpl.C (update): redone this function so that we
13543         update the text again if there was a CHANGE_IN_DRAW.
13544
13545         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13546         (drawFromTo): added a new internal bool which is used by draw() and
13547         redraw() function.
13548         (general): some cursor drawing problems fixed.
13549
13550 2001-08-01  Juergen Vigna  <jug@sad.it>
13551
13552         * lyxfind.C (LyXFind): fixed
13553         (SearchForward): ditto
13554         (SearchBackward): ditto
13555
13556         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13557         spurius drawing of the cursor in the main area.
13558
13559         * text2.C (status): small fix which could lead to a segfault!
13560         (clearSelection): remove unneeded BufferView param.
13561
13562 2001-08-01  André Pönitz <poenitz@gmx.net>
13563
13564         * lyxfunc.C: small change due to changed mathed interface
13565
13566 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13569
13570 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyxfunc.c: fail gracefully if file doesn't exist
13573
13574         * LyXSendto.C:
13575         * buffer.C:
13576         * lyxfunc.C:
13577         * BufferView_pimpl.C: IsDirWriteable() proto changed
13578
13579         * LyXView.C: fix updateWindowTitle() to store the last title
13580
13581 2001-07-31  Juergen Vigna  <jug@sad.it>
13582
13583         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13584         the font (wrong since using of Paragraph::highestFontInRange).
13585
13586         * paragraph.C (highestFontInRange): added a default_size parameter.
13587
13588         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13589         (setHeightOfRow): reformat
13590
13591 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * converter.[hC] + affected files: move to (inital-char)lowercase
13594         function names.
13595
13596         * ParagraphParameters.C (ParagraphParameters): remove commented code
13597
13598         * PainterBase.[Ch]: remove commented code
13599
13600         * LaTeXFeatures.h: add "bool floats" for float.sty
13601
13602         * LaTeXFeatures.C (LaTeXFeatures): init floats
13603         (require): handle float
13604         (getPackages): do it with floats
13605
13606 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * BufferView_pimpl.C (Dispatch): improve handling of
13609         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13610
13611         * commandtags.h: #include lyxfont.h here temporarily to avoid
13612         keybinding bug.
13613
13614         * bufferlist.h: include LString.h here.
13615
13616 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * text2.C (getStringToIndex): new method.
13619
13620 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13621
13622         * *: Reduced header file dependencies all over.
13623
13624 2001-07-30  Baruch Even  <baruch@lyx.org>
13625
13626         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13627
13628 2001-07-29  Baruch Even  <baruch@lyx.org>
13629
13630         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13631
13632 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * ParameterStruct.h (endif): add a default constructor to make
13635         sure that all variables is initialized.
13636
13637         * ParagraphParameters.C (ParagraphParameters): adjust
13638
13639 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13642         index; also, check that there is something to index, and that it
13643         does not span over several paragraphs.
13644         (doubleClick): use WHOLE_WORD_STRICT for double click.
13645
13646         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13647
13648         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13649         scheme.
13650
13651 2001-07-26  Baruch Even  <baruch@lyx.org>
13652
13653         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13654         an InsetFig figure, backwards compatible reading of old figure code.
13655
13656 2001-07-27  Juergen Vigna  <jug@sad.it>
13657
13658         * text2.C: font.realize function adaption.
13659
13660         * text.C (draw): add a warnings lyxerr text if needed.
13661
13662         * layout.C: font.realize function adaption.
13663
13664         * language.C: add inherit_language and implement it's handlings
13665
13666         * bufferview_funcs.C (StyleReset): remove language parameter from
13667         font creation (should be language_inherit now).
13668
13669         * bufferparams.C (writeFile): handle ignore_language.
13670
13671         * paragraph.C (getFontSettings): the language has to be resolved
13672         otherwise we have problems in LyXFont!
13673
13674         * lyxfont.C (lyxWriteChanges): added document_language parameter
13675         (update): removed unneeded language parameter
13676
13677         * paragraph.C (validate): fixed wrong output of color-package when
13678         using interface colors for certain fonts in certain environments,
13679         which should not seen as that on the final output.
13680
13681 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * BufferView_pimpl.C:
13684         * Thesaurus.h:
13685         * Thesaurus.C:
13686         * Makefile.am:
13687         * commandtags.h:
13688         * LyXAction.C: add thesaurus support
13689
13690         * lyxfind.h:
13691         * lyxfind.C: add "once" parameter, for thesaurus, to not
13692           move to the next match
13693
13694 2001-07-26  Juergen Vigna  <jug@sad.it>
13695
13696         * lyxfont.C (realize): honor ignore_language too!
13697         (resolved): ditto.
13698
13699         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13700
13701         * text.C (draw): one place more for ignore_language to not draw
13702         itself!
13703
13704 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13707
13708 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13711         the minipage conversion problem.
13712
13713 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13716         insert an inset.
13717
13718 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * BufferView.h: don't forward declare WorkArea
13721
13722         * BufferView.C: don't include WorkArea.h
13723
13724 2001-07-25  André Pönitz <poenitz@gmx.net>
13725
13726         * commandtags.h:
13727         * LyXAction.C:
13728         * lyxfunc.C:  new LFUN 'math-space'
13729
13730         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13731
13732 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * text2.C (toggleInset): call open/close
13735
13736 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * lyxfunc.C (dispatch): add debug for the disabled case
13739
13740         * font.C (buttonText): make similar to rectText
13741
13742         * buffer.C (readInset): comment out parsing of insetlist and
13743         insttheorem
13744
13745         * PainterBase.C (rectText): small correction
13746
13747         * BufferView_pimpl.C: comment out insettheorem and insetlist
13748         * LyXAction.C: ditto
13749         * commandtags.h: ditto
13750
13751 2001-07-24  Juergen Vigna  <jug@sad.it>
13752
13753         * text.C (draw): honor the ignore_language.
13754
13755         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13756
13757 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13760         char inset.
13761
13762 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13763
13764         * lyxtext.h: remove unused (and unimplemented) methods
13765
13766 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13767
13768         * text.C (getVisibleRow): honor background color
13769
13770         * PainterBase.h:
13771         * Painter.h: remove default color argument for fillRectangle
13772
13773         * text.C (backgroundColor): new method
13774
13775 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13776
13777         * text.C (getVisibleRow): adjust
13778
13779         * font.[Ch] (rectText): new method, metrics
13780         (buttonText): new method, metrics
13781
13782         * PainterBase.[hC]: make rectText and buttonText always draw and take
13783         fewer paramteres.
13784
13785 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13786
13787         * ToolbarDefaults.C (read):
13788         * MenuBackend.C (read): allow escaping in all strings
13789
13790         * BufferView_pimpl.C (insertAndEditInset): new method.
13791         (Dispatch): use insertAndEditInset whenever appropriate.
13792
13793         * BufferView_pimpl.C (insertNote): removed
13794
13795         * BufferView_pimpl.C (smartQuote): new method, moved from
13796         BufferView; if an insetquote cannot be inserted, insert a '"'
13797         character instead.
13798
13799         * BufferView2.C: remove insertCorrectQuote();
13800
13801         * lyxfunc.C (getStatus): Add support for all remaingin
13802         inset-insert lfuns.
13803
13804         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13805
13806         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13807         command (necessary to pass " as parameter of self-insert.
13808
13809         * text.C (selectWordWhenUnderCursor):
13810         (selectWord): add word_location parameter
13811         (selectWordWhenUnderCursor): same + remove special code for word
13812         boundary.
13813         (selectNextWord): use kind() to guess type of insetspecialchar,
13814         not latex().
13815
13816         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13817         (insertErtContents): create ert insets as collapsed.
13818         (readInset): better compatibility code for Info inset.
13819
13820 2001-07-20  Juergen Vigna  <jug@sad.it>
13821
13822         * lyxfunc.C (dispatch): use always LyXFind now!
13823
13824         * text2.C (init): add a reinit flag so that the LyXText can be
13825         reinited instead of deleted and reallocated (used in InsetText).
13826
13827         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13828
13829         * text.C: ditto
13830
13831         * text2.C: ditto
13832
13833 2001-07-18  Juergen Vigna  <jug@sad.it>
13834
13835         * text.C (selectNextWord): handle insets inside inset by calling
13836         always the bv->text functions so that we can go up the_locking_inset!
13837
13838         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13839         in strange locations when inside an inset!
13840
13841         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13842         handling to include insets.
13843
13844         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13845
13846 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13847
13848         * LyXAction.C (init):
13849         * commandtags.h:
13850         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13851         LIGATURE_BREAK, since the name is so stupid.
13852
13853 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13854
13855         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13856         InsetInfos.
13857
13858         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13859
13860         * sp_form.[Ch]: remove.
13861
13862         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13863
13864         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13865         InsetInfo.
13866
13867         * src/buffer.C (readInset): ditto.
13868
13869 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13870
13871         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13872         menuSeparator(), endOfSentenceDot(), ldots() and
13873         hyphenationPoint(), which are therefore removed.
13874         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13875
13876         * LyXAction.C (init):
13877         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13878
13879         * paragraph.C (getWord): removed.
13880
13881         * BufferView_pimpl.C (Dispatch): use last word or selection for
13882         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13883
13884         * lyx_main.C (queryUserLyXDir): do not ask before creating
13885         user_dir, except if it has been named explicitely.
13886
13887 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13890         a document of zero size.
13891
13892 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13895         approriately in the c-tor and in require().
13896         (getPackages): output the appropriate LaTeX for natbib support.
13897
13898         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13899         variables "use_natbib" and "use_numerical_citations" when reading the
13900         LyX file.
13901         (readInset): read the various natbib cite commands.
13902         (validate): white-space change.
13903
13904         * bufferparams.[Ch]: new variables "bool use_natbib" and
13905         "bool use_numerical_citations".
13906         (writeFile): output them in the LyX file.
13907
13908 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13909
13910         * lyxfunc.C (getStatus): add support for all the inset insertion
13911         commands.
13912
13913         * text2.C (insertInset):
13914         * paragraph.C (insetAllowed):
13915         * BufferView_pimpl.C (insertInset): update to take in account the
13916         renaming of insertInsetAllowed
13917
13918         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13919
13920         * text2.C (getInset): new method. returns inset at cursor position.
13921
13922         * BufferView_pimpl.C (Dispatch): changes because of this.
13923
13924         * LyXAction.C (init): rename open-stuff to inset-toggle.
13925
13926         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13927
13928         * text2.C (toggleInset): renamed from openStuff; use
13929         Inset::open().
13930
13931 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13932
13933         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13934
13935         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13936
13937 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * buffer.C (readLyXformat2): Add filename to the error dialog
13940
13941 2001-07-18  Juergen Vigna  <jug@sad.it>
13942
13943         * tabular.C (GetCellNumber): put an assert here instead of the check!
13944
13945 2001-07-17  Juergen Vigna  <jug@sad.it>
13946
13947         * BufferView_pimpl.C (toggleSelection): adapted too.
13948
13949         * text.C (selectNextWord): adapted for use with insets.
13950         (selectSelectedWord): ditto
13951
13952 2001-07-17  Juergen Vigna  <jug@sad.it>
13953
13954         * sp_spell.C (PSpell): fix initialitation order.
13955
13956 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * paragraph.C: spacing
13959
13960 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13961
13962         * sp_spell.C: repair language selection for pspell
13963
13964 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13965
13966         * lyxfunc.h: change more methods to begin with lower char.
13967
13968 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13969
13970         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13971         for unknown layouts.
13972
13973 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13974
13975         * buffer.C (readLyXformat2): Generate an error dialog if there are
13976         unknown layouts.
13977
13978 2001-07-16  Juergen Vigna  <jug@sad.it>
13979
13980         * sp_spell.C: always compile ISpell part.
13981
13982         * lyxrc.C: added use_pspell entry and it's handling.
13983
13984 2001-07-13  Juergen Vigna  <jug@sad.it>
13985
13986         * sp_spell.C: removed double includes.
13987
13988 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13989
13990         Consistent use of Lsstream.h:
13991         * Lsstream.h: added using std::stringstream for consistencies sake.
13992
13993         * buffer.C: removed using std::stringstream
13994
13995         * lyxfont.C (stateText):
13996         * paragraph.C (asString):
13997         * text.C (selectNextWord, selectSelectedWord):
13998         * text2.C (setCounter):
13999         * vspace.C (asString, asLatexString):
14000         std::ostringstream -> ostringstream.
14001
14002 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14003
14004         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14005         * commandtags.h: add LFUN_HELP_ABOUTLYX
14006         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14007
14008 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14009
14010         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14011         cursorToggle()
14012         * lyx_gui_misc.C: remove spellchecker
14013         * lyxfunc.C: showSpellchecker
14014         * sp_base.h: added
14015         * sp_ispell.h: added
14016         * sp_pspell.h: added
14017         * sp_spell.C: added
14018         * sp_form.[Ch]: removed
14019         * spellchecker.[Ch]: removed
14020
14021 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14022
14023         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14024         is set.
14025         (simpleTeXSpecialChars): Simply print the input character without
14026         any special translation if pass_thru is set.
14027
14028         * layout.h: Added bool pass_thru to layout class for being able to
14029         implement pass through of a paragraph for Literate Programming.
14030
14031         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14032         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14033         * layout.C (Read): add "passthru" to list of layout tags and add
14034         code to set the pass_thru boolean when it is read.
14035
14036 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14037
14038         * trans_decl.h: remove allowed from KmodInfo
14039
14040         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14041         remove allowed code
14042         (Load): adjust
14043
14044         * paragraph_pimpl.C (erase): use boost::prior
14045
14046         * Painter.C (text): use data() instead of c_str() when length is
14047         also provided.
14048         * WorkArea.C (putClipboard): ditto
14049         * font.h (width): ditto
14050
14051         * BufferView2.C: use it-> instead of (*it). for iterators
14052         * texrow.C: ditto
14053         * paragraph_pimpl.C: ditto
14054         * paragraph.C: ditto
14055         * minibuffer.C: ditto
14056         * language.C: ditto
14057         * kbmap.C: ditto
14058         * encoding.C: ditto
14059         * counters.C: ditto
14060         * converter.C: ditto
14061         * chset.C: ditto
14062         * Variables.C: ditto
14063         * TextCache.C: ditto
14064         * MenuBackend.C: ditto
14065         * LyXAction.C: ditto
14066         * LColor.C: ditto
14067         * FloatList.C: ditto
14068         * DepTable.C: ditto
14069         * ColorHandler.C (LyXColorHandler): ditto
14070
14071 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14074
14075         * text2.C (openStuff): reintroduce this method (which had been
14076         nuked in NEW_INSETS frenzy).
14077
14078         * lyxfunc.C (Dispatch): when an action has not been handled, use
14079         its name in the error message, not its number.
14080
14081         * paragraph.C (inInset): change method name to begin with lowercase.
14082
14083         * undo_funcs.C:
14084         * text2.C: updates because of this.
14085
14086 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * ToolbarDefaults.C (add): add spaces in error message
14089
14090 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14091
14092         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14093         (readLyXformat2): rename return_par to first_par, use lyxlex's
14094         pushToken and remove the manual push handling.
14095         (parseSingleLyXformat2Token): add another ert comp. variable:
14096         in_tabular, rename return_par to first_par. handle newlines better
14097
14098 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14101
14102 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * text2.C (getParFromID): removed
14105
14106         * buffer.C (getParFromID): new method moved form lyxtext.
14107         * BufferView2.C (insertErrors): adjust
14108         (setCursorFromRow): adjust
14109         * BufferView_pimpl.C (restorePosition): adjust
14110         * lyxfunc.C (Dispatch): adjust
14111         * undo_funcs.C (textUndo): adjust
14112         (textRedo): adjust
14113         (textHandleUndo): adjust
14114         (textHandleUndo): adjust
14115
14116 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * buffer.C: up' the LYX_FORMAT
14119
14120         * lyxfont.h: turn NO_LATEX on as default
14121
14122         * buffer.C (insertErtContents): new methods of tex style compability.
14123         (parseSingleLyXformat2Token): use it several places.
14124         * tabular.C (OldFormatRead): and here
14125
14126 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14127
14128         * text2.C: remove some commented code.
14129         reindent file.
14130
14131         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14132         * trans.C: changes because of the above.
14133
14134 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * text2.C (setCounter): Fix counters bug with bibliography layout.
14137
14138 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14139
14140         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14141         own member functions
14142         (simpleTeXSpecialChars): ditto
14143
14144 2001-07-06  Juergen Vigna  <jug@sad.it>
14145
14146         * a lot of files: changed the access to LyXText::status and the
14147         call of undo-functions.
14148
14149         * undo.[Ch]: added a inset_id to the undo informations.
14150
14151         * undo_funcs.[Ch]: added and moved here all undo functions.
14152
14153         * lyxtext.h: give the status enum a weight, made status_ a private
14154         variable and made accessor functions for it, removed the whole bunch
14155         of undo-functions as they are now in their own file, make some
14156         functions publically available. Added function ownerParagraph with
14157         int parameter.
14158
14159         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14160         made InInset() a const function, added getParFromID() function.
14161
14162         * buffer.[Ch]: added const version for inset_iterator functions,
14163         added getInsetFromID() function.
14164
14165         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14166         changed undo functions for new version.
14167
14168 2001-07-05  Juergen Vigna  <jug@sad.it>
14169
14170         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14171         unknow mechanism does not call the proper constructor but only this
14172         one also if I request the other!?
14173
14174 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14175
14176         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14177
14178         * text2.C (LyXText): use initialization lists.
14179
14180         * lyxtext.h (Selection): initialize set_ and mark_
14181         (init): remove method
14182
14183 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14184
14185         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14186
14187 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * screen.[Ch]: change method names to begin with lowercase
14190
14191         * BufferView_pimpl.C (updateScrollbar): simplify further and
14192         hopefully make it a bit faster.
14193
14194 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14197         calling directly xforms functions.
14198
14199         * Painter.C (Painter):
14200         * lyx_cb.C (MenuWrite):
14201         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14202         fl_display.
14203
14204         * lyx_gui.C: remove bogus guiruntime extern declaration.
14205
14206 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14209         in NEW_INSETS
14210         (redoDrawingOfParagraph): ditto
14211         (redoParagraphs): ditto
14212         (cutSelection): don't create a object for CutAndPaste use the
14213         static method directly
14214         (pasteSelection): ditto
14215
14216         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14217         LyXview (+ rename)
14218
14219 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * modifications to some other files because of this.
14222
14223         * Makefile.am (lyx_SOURCES): add XFormsView
14224
14225         * XFormsView.[Ch]: new files
14226
14227         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14228         the main window. Move the gui dependent stuff to XFormsView
14229
14230 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * tabular.C (GetCellInset): update cur_cell also in the row/col
14233         version of this function.
14234
14235         * lyxfunc.C: no need to include figure_form.h here.
14236
14237         * FontLoader.h:
14238         * lyxfunc.h:
14239         * lyxscreen.h:
14240         * text2.C:
14241         * lyxvc.C: no need to include forms.h here.
14242
14243 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14246
14247         * lyxfunc.C (Dispatch):
14248         * Spacing.C (set):
14249         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14250         constructor argument.
14251
14252 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * paragraph.C (Paragraph): dont't clear, and just set layout.
14255         (makeSameLayout): use params's copy contructor.
14256
14257         * ParagraphParameters.[Ch] (makeSame): delete method
14258
14259 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * Variables.[Ch]: fix indentation, rename set to isSet
14262
14263 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * lyxfunc.C (Dispatch): fix typo
14266
14267 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14270         upper_bound.
14271
14272         * bufferlist.C: include assert.h for emergencyWrite().
14273
14274 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14275
14276         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14277           give up at last (bug #425202) !
14278
14279 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * lyx_gui_misc.C:
14282         * sp_form.h:
14283         * sp_form.C:
14284         * spellchecker.h:
14285         * spellchecker.C: strip spellchecker options and bring up
14286           preferences tab instead
14287
14288 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14291         the istringstream constructor
14292
14293 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * paragraph.C (getLayout): fix return value
14296
14297         * paragraph.h: do not declare getLayout as inline.
14298
14299         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14300
14301 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * lyxcursor.h (operator<): new func
14304         (operator>): new func
14305         (operator>=): new func
14306         (operator<=): new func
14307
14308         * text.C (changeCase): use selection.start and selection.end
14309         (changeRegionCase): require from to be <= to. Require par to be a
14310         valid paragraph.
14311
14312         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14313
14314 2001-06-27  Juergen Vigna  <jug@sad.it>
14315
14316         * text.C (cursorLeftOneWord): changed to return the cursor and added
14317         overlay with BufferView * parameter which calls this one.
14318         (getWord): added
14319         (selectWord): use new getWord function.
14320         (changeCase): renamed from changeWordCase as and extended to work
14321         also on selections.
14322
14323         * lyxtext.h: added enum word_location
14324
14325         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14326         changeCase as this operates now also on selections.
14327
14328 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14329
14330         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14331
14332         * many files: send debug output to Debug::INFO instead of
14333         Debug::ANY.
14334
14335         * converter.C (View):
14336         (Convert):
14337         (Move): send debug output to Debug::FILES instead of console.
14338
14339 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14340
14341         * lyxfunc.C (getStatus): use func_status
14342
14343         * func_status.h: new header, describing the results of
14344         LyXFunc::getStatus;
14345
14346         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14347         LFUN_MATH_HALIGN.
14348
14349 2001-06-25  The LyX Project  <jug@sad.it>
14350
14351         * buffer.C (sgmlOpenTag):
14352         (sgmlCloseTag):
14353         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14354
14355 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14356
14357         * text2.C: remove some dead code
14358
14359         * tabular.C (GetCellInset): store the last cell checked (gotten)
14360
14361         * tabular.h: add the helper for the speedup
14362
14363         * lyxtext.h: remove some dead code
14364
14365 2001-06-26  The LyX Project  <Asger>
14366
14367         * paragraph.C: Change export to LaTeX of alignment to
14368         \begin{center} and family for better roundtrip work with reLyX.
14369
14370         * Tune the math drawing a bit.
14371
14372 2001-06-25  The LyX Project  <Asger>
14373
14374         * LColor.C (LColor): New color for math background. New color
14375         for buttons.
14376
14377 2001-06-25  The LyX Project  <jug@sad.it>
14378
14379         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14380
14381         * lyxfunc.C (Open):
14382         * bufferlist.C (newFile): do not restrict to files ending with
14383         .lyx
14384
14385         * BufferView_pimpl.C (MenuInsertLyXFile):
14386
14387 2001-06-24  The LyX Project  <jug@sad.it>
14388
14389         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14390         of compare_no_case
14391
14392 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * lyxtext.h: rename most methods to begin with a small char.
14395         Lots of changes because of this.
14396
14397         * paragraph.C (Paragraph): do not call fitToSize
14398         (erase): call Pimpl::erase
14399         (insertChar): call Pimpl::insertChar
14400         (insertInset): call Pipl::insertInset
14401         (breakParagraph): do not call fitToSize
14402         (breakParagraphConservative): do not call fitToSize
14403         (fitToSize): remove method
14404
14405         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14406
14407 2001-06-24  The LyX Project  <Asger>
14408
14409         * Fix Qt compilation^2
14410
14411 2001-06-24  The LyX Project  <jug@sad.it>
14412
14413         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14414         depthHook(getDepth()-1).
14415
14416         * paragraph.h:
14417         * ParagraphParameters.h:
14418         * ParameterStruct.h: change type of depth to unsigned int ==
14419         depth_type. Many adaptations to other files before of that.
14420
14421 2001-06-24  The LyX Project  <Asger>
14422
14423         * Fix Qt compilation.
14424
14425 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * paragraph.h: renamed several methods to begin with small letter.
14428         several changes to many parts of the code because of this.
14429
14430 2001-06-23  The LyX Project  <jug@sad.it>
14431
14432         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14433         rewritten to discard all double spaces when KeepEmpty is off
14434         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14435         to only handle newlines but not fiddle with spaces and friends.
14436
14437         * lyxfunc.C (MenuNew): when doing 'new from template', use
14438         template_path as default directory
14439
14440 2001-06-23  The LyX Project  <Asger>
14441
14442         * Clean-up of header file includes all over
14443         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14444
14445 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * paragraph.h: renamed from lyxparagraph.h
14448
14449 2001-06-23  Asger  <lyx@violet.home.sad.it>
14450
14451         * Buffer.h: Removed Buffer::resize
14452         * BufferList.h: Removed BufferList::resize
14453         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14454         the document lazily when we change the width, or the font settings.
14455
14456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14459
14460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14461
14462         * buffer.h: remove out of date comment
14463
14464 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * lyxscreen.h:
14467         * screen.C: fix "theoretical" GC leak
14468
14469 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * LaTeX.C (scanAuxFile):
14472         (deplog): remove trailing \r when reading stream (useful under
14473         win32)
14474
14475 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14478         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14479         and BufferView::theLockingInset(Inset*), so should use them and not
14480         access bv_->text->the_locking_inset directly.
14481
14482         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14483
14484 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * Makefile.am:
14487         * tex-defs.h: remove old unused file
14488
14489 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * BufferView_pimpl.C: fix typo, remove minibuffer message
14492           when buffer has loaded
14493
14494 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14495
14496         * lyxfunc.C (Dispatch): use stringstream
14497         (MenuNew): use stringstream
14498         (Open): use stringstream
14499
14500         * importer.C (Import): use stringstream
14501
14502         * bufferview_funcs.C (CurrentState): use stringstream
14503
14504         * LaTeX.C (run): use stringstream
14505
14506         * BufferView_pimpl.C (savePosition): use stringstream
14507         (restorePosition): use stringstream
14508         (MenuInsertLyXFile): use stringstream
14509
14510 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * BufferView.C:
14513         * Bullet.C:
14514         * ColorHandler.C:
14515         * FontInfo.C:
14516         * FontLoader.C:
14517         * LColor.C:
14518         * LaTeXFeatures.C:
14519         * Painter.C:
14520         * gettext.C:
14521         * lyx_gui_misc.C:
14522         * lyxserver.C:
14523         * vspace.C: removed // -*- C++ -*- as first line.
14524
14525         * lyxfind.h:
14526         * version.h: added // -*- C++ -*- as first line.
14527
14528 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14531
14532         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14533         of string
14534
14535 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14538         of floats.
14539
14540 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14541
14542         * gettext.C: include LString.h even when --disable-nls is on.
14543
14544 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14545
14546         * converter.h (Get): changed argument type from int to
14547         FormatList::size_type to avoid unnecessary conversion.
14548
14549         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14550         before using it.
14551
14552 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14553
14554         * gettext.h: include LString.h even when --disable-nls is on.
14555
14556 2001-06-07  Juergen Vigna  <jug@sad.it>
14557
14558         * text.C (BreakAgain): subst spaces with tabs.
14559
14560         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14561         (resizeInsetsLyXText): set force on resizeLyXText.
14562
14563 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * gettext.h (gettext_init):
14566         (locale_init): use a real definition instead of a macro
14567
14568 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * Bufferview_pimpl.C:
14571         * LColor.h:
14572         * LColor.C: further lcolor tidies
14573
14574 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * BufferView_pimpl.C (updateScrollbar): simplify.
14577
14578         * BufferView2.C: don't include insets/insetinfo.h, change
14579         prototype for insertInset and call the Pimpl version. let
14580         updateInset call Pimpl version.
14581
14582         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14583         gotoInset to BufferView::Pimpl
14584
14585 2001-06-01  Juergen Vigna  <jug@sad.it>
14586
14587         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14588         inside a LockingInset (is the update needed at all?).
14589
14590 2001-05-31  Juergen Vigna  <jug@sad.it>
14591
14592         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14593         here not the old one otherwise how should we compare it afterwards
14594         if it's the same!
14595
14596 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14597
14598         * lyxfont.C:
14599         * tabular.C:
14600         * tabular-old.C:
14601         * FontInfo.C: bring C functions into global namespace when
14602         necessary
14603
14604 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14605
14606         * LString.h: make sure config.h has been loaded before LString.h.
14607
14608         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14609         (one for each char read by EatLine!).
14610
14611         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14612         variables.
14613
14614 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14615
14616         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14617         to the same as the par we break from
14618
14619 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14622
14623         * MenuBackend.C (expand): also create menu entries for wide
14624         versions of the floats.
14625
14626         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14627
14628         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14629
14630         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14631         frontends/Makefile.am
14632
14633         * text2.C: adjust
14634         * text.C: adjust
14635
14636
14637         * tabular.C (getTokenValue): add std::
14638
14639         * tabular-old.C (getTokenValue): add std::
14640         (getTokenValue): ditto
14641         (getTokenValue): ditto
14642
14643         * screen.C (ToggleSelection): adjust
14644
14645         * lyxtext.h: put selection cursors inside a Selection struct.
14646
14647         * lyxfunc.C (moveCursorUpdate): adjust
14648
14649         * lyxfont.C (latexWriteStartChanges): add std::
14650
14651         * lyxfind.C: adjust
14652
14653         * font.h: delete with(char const *, LyXFont const &)
14654
14655         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14656
14657         * FontInfo.C (getFontname): add std::
14658
14659         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14660         (workAreaButtonPress): adjust
14661         (tripleClick): adjust
14662         (update): adjust
14663         (moveCursorUpdate): adjust
14664         (Dispatch): adjust
14665
14666         * BufferView2.C (gotoInset): adjust
14667
14668 2001-05-30  Juergen Vigna  <jug@sad.it>
14669
14670         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14671         to check pspell I add this as default as I now have new pspell
14672         libraries and they seem to use this.
14673
14674 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14675
14676         * text2.C (CutSelection): make the cursor valid before the call to
14677         ClearSelection.
14678
14679 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14682         relied on 0 terminated strings and other horrors. Bug found due to
14683         the new assert in lyxstring!
14684
14685         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14686         KP_ keys.
14687
14688 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14691         to latinkeys.bind.
14692
14693         * lyxfunc.C (processKeySym): change method of getting to the
14694         self-insert char.
14695
14696         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14697         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14698         * BufferView_pimpl.[Ch]: here as private methods.
14699
14700 2001-05-28  Juergen Vigna  <jug@sad.it>
14701
14702         * text.C (SetHeightOfRow): added the update() call again as it is
14703         needed to initialize inset dimensions!
14704
14705 2001-05-16  Juergen Vigna  <jug@sad.it>
14706
14707         * text2.C (SetCharFont): Add new function with BufferView * and
14708         bool toggleall parameters for setting insets internal fonts.
14709         (SetFont): Freeze the undo as we may change fonts in Insets and
14710         all this change should be inside only one Undo!
14711
14712         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14713         setting font's in insets as for them we have the SetFont function!
14714
14715 2001-05-15  Juergen Vigna  <jug@sad.it>
14716
14717         * text2.C (ClearSelection): to be sure we REALLY don't have any
14718         selection anymore!
14719
14720         * tabular.C (TeXCellPreamble): fixed the left border problem for
14721         multicolumn cells.
14722
14723 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14724
14725         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14726         dependancy file
14727
14728 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14729
14730         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14731         LFUN_BREAKPARAGRAPH.
14732
14733         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14734         help test to "internal only", similar for LFUN_INSERT_URL
14735
14736         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14737         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14738         auto_region_delete and deadkeys.
14739
14740 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14741
14742         * LColor.h:
14743         * LColor.C: remove some dead entries, tidy a little
14744
14745 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14748         commented code.
14749         (Dispatch): implement LFUN_ESCAPE
14750
14751         * commandtags.h: add LFUN_ESCAPE
14752
14753         * LyXAction.C (init): add entry for LFUN_ESCAPE
14754
14755         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14756         Remove commented code.
14757         (insertNote): moved here
14758         (open_new_inset): moved here
14759
14760         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14761         BufferView_pimpl
14762
14763 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14764
14765         * kbmap.C (findbinding): clean it up and make it work correctly.
14766
14767         * lyx_main.C (init): do not pass argc and argv as parameters
14768
14769 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14770
14771         * buffer.C: fix path for OS/2 & Win32
14772
14773         * lyx_gui.C:
14774         * lyx_main:
14775         * lyx_main.C: Added os:: class.
14776
14777         * os2_defines.h: update
14778
14779 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14782         better by trying again with reduced state.
14783
14784 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * lyxrc.C (read): print error about invalid key sequence only when
14787         debugging (because not all latinX keysyms are known to some X
14788         servers)
14789
14790         * kbsequence.C (getiso): add a few std:: qualifiers
14791         (getiso): comment out extra return statement.
14792
14793 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14796         handling.
14797         (Dispatch): enhance the accent inset a bit. (not perfect)
14798
14799 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14802
14803 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * bufferlist.C (emergencyWrite): fix assert() call
14806
14807 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14808
14809         * text.C (InsertChar): Added trivial patch to only send the "you
14810         can not do multiple spaces this way" message once during a
14811         session.
14812
14813 2001-05-08  Baruch Even  <baruch@lyx.org>
14814
14815         * Makefile.am: Changed order of libraries to get LyX to link properly
14816         with the gnome frontend.
14817
14818 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * LaTeXFeatures.h: add a std:: qualifier
14821
14822 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * paragraph.C (String): use stringstream
14825
14826 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * paragraph.C (writeFile): remove footflag arg
14829
14830         * buffer.C (makeLaTeXFile): use stringstream
14831         (latexParagraphs): remove footnot gurba
14832
14833         * LaTeXFeatures.C (getPackages): use stringstream
14834         (getMacros): likewise
14835         (getTClassPreamble): likewise
14836         (getFloatDefinitions): new method
14837
14838         * paragraph.C (writeFile): reindent
14839         (Erase): reindent
14840
14841         * WorkArea.h: revert the xpos + etc changes.
14842
14843         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14844
14845         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14846
14847         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14848         (pasteSelection): likewise
14849         * text2.C (CreateUndo): likewise
14850
14851 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * minibuffer.C (peek_event): temporarily reduce the functionality
14854         of the minibuffer (to allow args on lfuns)
14855
14856         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14857         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14858
14859         * buffer.C (readInset): add compability reading of old float
14860         lists, add reading of new style float list.
14861         (readInset): avoid reevaluation of inscmd.getCmdName()
14862         (getLists): reindent
14863
14864         * MenuBackend.C (MenuItem): implement parsing of
14865         md_floatlistinsert and md_floatinsert.
14866         (expand::LastFiles): move initalizaton of iterators out of loop,
14867         avoid reevaluation.
14868         (expand::Documents): introduce typdedef vector<string> Strings,
14869         and use it.
14870         (expand::ExportFormats): introduce typedef vector<Format const *>
14871         Formats, and use it.
14872         (expand): implement FloatListInsert and FloatInsert.
14873
14874         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14875         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14876         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14877
14878         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14879         handling.
14880         (Dispatch::LFUN_FLOAT_LIST): implement
14881
14882 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14883
14884         * LaTeX.C (run): Fix problem with --export code.
14885
14886 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14887
14888         * BufferView.[Ch] (workarea): removed.
14889         (getClipboard) new method; wrapper for workarea()->getClipboard()
14890
14891         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14892         bug.
14893
14894         * WorkArea.h (width, height, xpos, ypos): These methods all
14895         returned the dimensions of the work_area sub-area of WorkArea,
14896         resulting in a position error if the WorkArea were resized. Now
14897         return the dimensions of the entire WorkArea.
14898
14899         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14900
14901 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14902
14903         * LaTeX.C (deplog): correct the syntax of regex reg1
14904
14905 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * undo.C: remove !NEW_INSETS cruft
14908
14909 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * text2.C: remove !NEW_INSETS cruft
14912
14913         * text.C: remove !NEW_INSETS cruft
14914
14915         * tabular.C: remove !NEW_INSETS cruft
14916
14917         * spellchecker.C: remove !NEW_INSETS cruft
14918
14919         * lyxtext.h: remove !NEW_INSETS cruft
14920
14921         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14922
14923         * lyxfunc.C: remove !NEW_INSETS cruft
14924
14925         * lyxfind.C: remove !NEW_INSETS cruft
14926
14927         * lyx_cb.C: remove !NEW_INSETS cruft
14928
14929         * figureForm.C: remove  !NEW_INSETS cruft
14930
14931         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14932
14933         * buffer.[Ch]: remove !NEW_INSETS cruft
14934
14935         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14936
14937         * CutAndPaste.C: remove !NEW_INSETS cruft
14938
14939         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14940
14941         * BufferView2.C: remove !NEW_INSETS cruft
14942
14943         * BufferView.h: remove !NEW_INSETS cruft
14944
14945 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * Lsstream.h: include LString.h before the sstream headers to
14948         fix problem with gcc 2.95.3 and lyxstring
14949
14950 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14951
14952         * lyx_main.C: add using directives when needed for C functions
14953         declared in std:: namespace.
14954
14955 2001-04-27  Juergen Vigna  <jug@sad.it>
14956
14957         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14958         (SetHeightOfRow): comment out the update call should not be needed!
14959
14960 2001-04-13  Juergen Vigna  <jug@sad.it>
14961
14962         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14963         (LyXTabular): tried to minimize operator= operations (and realized
14964         hopfully Lars wish).
14965
14966 2001-04-27  Juergen Vigna  <jug@sad.it>
14967
14968         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14969
14970 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14973
14974         * buffer.C (readInset): hack to make listof algorithm work
14975
14976         * BufferView_pimpl.C: hack to make listof algorithm work
14977
14978 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * LyXAction.C: removed all !NEW_INSETS cruft
14981         (init): moved lfun_item in method
14982
14983         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14984
14985 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14986
14987         * BufferView2.C (theLockingInset): white space.
14988
14989 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14990
14991         * minibuffer.C: include <iostream>
14992
14993         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14994
14995         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14996
14997         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14998
14999         * text.[Ch] (TransposeChars): new method
15000
15001 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * call message directly through LyXView instead of through LyXFunc
15004         * BufferView2.C: adjust
15005         * BufferView_pimpl.C: adjust
15006         * FontLoader.C: adjust
15007         * buffer.C: adjust
15008         * bufferview_funcs.C: adjust
15009         * converter.C: adjust
15010         * figureForm.C: adjust
15011         * importer.C: adjust
15012         * lyx_cb.C: adjust
15013         * lyx_gui_misc.C: adjust
15014         * lyxfunc.C: adjust
15015         * lyxvc.C: adjust
15016         * text2.C: adjust
15017         + more files in subdirs
15018
15019         * lyxparagraph.h (size): move up int file
15020         (GetLayout): ditto
15021
15022         * adjust all uses of Assert to lyx::Assert.
15023
15024         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15025         lyxfunctional in namespace lyx
15026         * layout.C (hasLayout): ditto
15027         (GetLayout): ditto
15028         (GetLayout): ditto
15029         (delete_layout): ditto
15030         (NumberOfClass): ditto
15031         * converter.C (GetFormat): ditto
15032         (GetNumber): ditto
15033         (Add): ditto
15034         (Delete): ditto
15035         (SetViewer): ditto
15036         * bufferlist.C (getFileNames): ditto
15037         (emergencyWriteAll): ditto
15038         (exists): ditto
15039         (getBuffer): ditto
15040         * MenuBackend.C (hasSubmenu): ditto
15041         (hasMenu): ditto
15042         (getMenu): ditto
15043         * BufferView_pimpl.C (getInsetByCode): ditto
15044
15045 2001-04-18  Juergen Vigna  <jug@sad.it>
15046
15047         * vspace.C (asLatexString): fixed the 100% problem.
15048
15049 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * lyxfunc.C (Dispatch):
15052         * minibuffer.C:
15053         * minibuffer.h: add a few std:: qualifiers
15054
15055 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * minibuffer.[Ch]: reimplement so that commands is initiated and
15058         run from lyxfunc, simplified som handling, and made the completion
15059         and history code for complete. wip.
15060
15061         * lyxfunc.C (processKeySym): call message
15062         (miniDispatch): new temporary method
15063         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15064         (LFUN_MESSAGE): implement
15065         (LFUN_MESSAGE_PUSH): implement
15066         (LFUN_MESSAGE_POP): implement
15067         (initMiniBuffer): the initial/defualt minibuffer message.
15068
15069         * lyxfont.[Ch]: inline some more getters
15070
15071         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15072
15073         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15074
15075         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15076         (AutoSave): use LFUN_MESSAGE
15077         (Reconfigure): ditto
15078
15079         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15080
15081         * figureForm.C: use LFUN_MESSAGE
15082
15083         * converter.C (runLaTeX): use LFUN_MESSAGE
15084
15085         * bufferview_funcs.C: use LFUN_MESSAGE
15086         (Melt): ditto
15087         (changeDepth): ditto
15088
15089         * bufferparams.h: use boost::
15090
15091         * bufferlist.h: inherit privately from noncopyable
15092
15093         * bufferlist.C (loadLyXFile): remove some commented code.
15094
15095         * buffer.C (runChktex): use LFUN_MESSAGE
15096
15097         * ShareContainer.h: inherit privately from noncopyable
15098
15099         * ParagraphParameters.[hC] (depth): inline it.
15100
15101         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15102         methods.
15103         (message): new method
15104         (messagePush): ditto
15105         (messagePop): ditto
15106         (show): init minibuffer
15107         (showState): direct call
15108
15109         * LaTeX.[Ch]: inherit privately from noncopyable
15110         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15111         instead of WriteStatus.
15112
15113         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15114
15115         * BufferView_pimpl.C (buffer): don't init minibuffer
15116         (workAreaButtonPress): use LFUN_MESSAGE
15117         (workAreaButtonRelease): ditto
15118         (savePosition): ditto
15119         (restorePosition): ditto
15120         (MenuInsertLyXFile): ditto
15121         (workAreaExpose): don't init minibuffer
15122         (update): remove commented code, simplify
15123
15124         * BufferView2.C (openStuff): use LFUN_MESSAGE
15125         (toggleFloat): ditto
15126         (menuUndo): ditto
15127         (menuRedo): ditto
15128         (copyEnvironment): ditto
15129         (pasteEnvironment): ditto
15130         (copy): ditto
15131         (cut): ditto
15132         (paste): ditto
15133         (gotoInset): ditto
15134         (updateInset): remove some commented code
15135
15136         * lastfiles.h: inherit privately from noncopyable
15137         * layout.h: ditto
15138         * lyx_gui.h: ditto
15139         * lyx_main.h: ditto
15140         * lyxlex.h: ditto
15141         * lyxlex_pimpl.h: ditto
15142
15143         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15144         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15145         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15146
15147         * LyXAction.h: inherit privately from noncopyable, add methods
15148         func_begin, func_end, returning iterators to the func map.
15149
15150         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15151         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15152         (func_begin): new method
15153         (func_end): new method
15154
15155         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15156         and not)
15157         (copySelection): ditto
15158         (pasteSelection): ditto
15159
15160         * BufferView.C: whitespace change
15161         * BufferView.h: inherit privately from noncopyable
15162
15163 2001-04-16  Allan Rae  <rae@lyx.org>
15164
15165         * tabular-old.C (l_getline):
15166         * spellchecker.C (sc_check_word):
15167         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15168         an unrecognised preprocessor directive.  So ensure they're wrapped.
15169
15170 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15171
15172         * src/exporter.C (Export): Give an error message when path to file
15173         contains spaces.
15174
15175 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * LaTeX.C (deplog): Always check that foundfile exists.
15178
15179 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15180
15181         * lyx_main.h:
15182         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15183
15184 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * tabular.[Ch] (getLabelList): implement new method
15187
15188         * minibuffer.h: comment ouf setTiimer
15189
15190         * minibuffer.C (ExecutingCB): constify res
15191         (peek_event): constify s
15192         (Set): constify ntext
15193         (Init): constify nicename
15194
15195         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15196
15197         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15198         (savePosition): use two params to Minibuffer::Set
15199         (restorePosition): ditto
15200
15201 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * lyx_main.C: include language.h
15204
15205         * Makefile.am (lyx_main.o): add language.h
15206
15207 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * exporter.C:
15210         * paragraph.C:
15211         * screen.C:
15212         * tabular.C:
15213         * CutAndPaste.C: include gettext.h
15214
15215         * lyxfont.h: remove old hack with ON and OFF.
15216
15217         * lyxparagraph.h:
15218         * lyxfont.h: do not include language.h...
15219
15220         * BufferView2.C:
15221         * LaTeXFeatures.C:
15222         * Painter.C:
15223         * bufferview_funcs.C:
15224         * font.C:
15225         * lyxfont.C:
15226         * text.C:
15227         * text2.C:
15228         * trans_mgr.C:
15229         * paragraph.C: ... but do it here instead
15230
15231 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15234
15235         * tabular.C: small reformat
15236
15237         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15238         NEW_INSETS version
15239         (GetChar): ditto
15240         (BreakParagraph): ditto
15241         (SetOnlyLayout): ditto
15242         (SetLayout): ditto
15243
15244         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15245         with one arg less.
15246
15247         * lastfiles.C: removed most using decl, add std:: where needed
15248
15249         * buffer.C: ws changes
15250
15251         * MenuBackend.C (class compare_format): put into anon namespace
15252         (expand): constify label, names, action, action2
15253         (expand):
15254
15255         * text.C (SingleWidth): constify font
15256         (IsBoundary): constify rtl2
15257         (GetVisibleRow): constify ww
15258
15259         * LaTeX.C (deplog): constify logfile
15260
15261         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15262         start_x, end_x
15263         (workAreaExpose): constify widthChange, heightChange
15264
15265         * lyxrow.C (par): moved
15266         (height): moved
15267         (next): moved
15268         * lyxrow.h: as inlines here
15269
15270         * lyxfont.h (shape): moved from lyxfont.C
15271         (emph): moved from lyxfont.C
15272
15273         * lyxfont.C (LyXFont): use initialization list for all
15274         constructors
15275         (shape): move to lyxfont.h as inline
15276         (emph): move to lyxfont.h as inline
15277
15278
15279 2001-04-04  Juergen Vigna  <jug@sad.it>
15280
15281         * vspace.C: had to include stdio.h for use of sscanf
15282
15283 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15284
15285         * BufferView.h:
15286         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15287         independent of xforms.
15288
15289 2001-04-02  Juergen Vigna  <jug@sad.it>
15290
15291         * spellchecker.C: fixed namespace placing!
15292
15293 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15294
15295         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15296         the LyXParagraph * is 0.
15297
15298 2001-03-29  Juergen Vigna  <jug@sad.it>
15299
15300         * vspace.C: added support for %, c%, p%, l%.
15301         (stringFromUnit): added helper function.
15302         (asLatexString): changed to give right results for the %-values.
15303
15304         * buffer.C: convert the widthp in a width%.
15305
15306 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15307
15308         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15309         figureForm.[Ch].
15310
15311         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15312         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15313
15314         * lyx_cb.[Ch]: see above.
15315
15316         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15317         form1.[Ch].
15318
15319         * form1.[Ch]:
15320         * lyx.[Ch]: replaced by figure_form.[Ch].
15321
15322         * lyx_gui.C:
15323         * lyx_gui_misc.C:
15324         * lyxfunc.C: changed headers associated with above changes.
15325
15326 2001-03-27  Juergen Vigna  <jug@sad.it>
15327
15328         * BufferView_pimpl.C: set the temporary cursor right!
15329
15330 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15331
15332         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15333
15334 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15335
15336         * LString.h: removed "using std::getline"!
15337
15338         * BufferView_pimpl.C (Dispatch): changes due to changes in
15339         InsetInclude::Params.
15340
15341         * buffer.C (tag_name): removed redundant break statements as they were
15342         producing lots of warnings with my compiler.
15343
15344 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15345
15346         * LString.h: add "using std::getline" when using the real <string>.
15347
15348 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15349
15350         * buffer.C: removed bitset usage.
15351         PAR_TAG moved to an anonymous name space.
15352         (tag_name): new funtion, also in the anonymous namespace.
15353         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15354         (makeDocBookFile): clean code. Completed transition from string arrays
15355         to string vectors.
15356         (SimpleDocBookOnePar): code clean.
15357
15358 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15359
15360         * tabular.C: add some comments.
15361
15362 2001-03-22  Juergen Vigna  <jug@sad.it>
15363
15364         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15365         compatibility read a bit and fixed bug with minipage in different
15366         depth.
15367
15368 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15369
15370         * buffer.C (pop_tag): removed.
15371         (push_tag): removed.
15372         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15373         array replaced with vector. Added support for CDATA sections.
15374         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15375         at any nest level.
15376         (makeDocBookFile): XML conformant declaration of CDATA section,
15377         fixed bug related to <emphasis> in the first paragraph char.
15378         (sgmlOpenTag): exclude empty tags.
15379         (sgmlCloseTag): ditto.
15380
15381         * buffer.h (pop_tag): removed.
15382         (push_tag): removed.
15383
15384 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15385
15386         * language.h (Languages): added size_type and size().
15387
15388 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15389
15390         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15391         response on compability reading of minipages. One probliem is that
15392         the old usage of minipages was «flertydig»
15393
15394         * several files here and in subdirs: don't use static at file
15395         scope use anon namespaces instead.
15396
15397 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15398
15399         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15400         LaTeX output. This is necessary for Literate document
15401         processing.
15402
15403 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15404
15405         * buffer.C: insert hfill when needed.
15406
15407         * tabular.C (l_getline): use string::erase, small whitespace change.
15408
15409         * BufferView_pimpl.C: try the anon namespace.
15410         * WorkArea.C: ditto
15411
15412 2001-03-16  Juergen Vigna  <jug@sad.it>
15413
15414         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15415         otherwise it won't open options-dialogs.
15416
15417         * buffer.C: honor pextraWidth(p) on converting minipages.
15418
15419         * tabular.C (l_getline): changed the functions to strip trailing \r.
15420
15421 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15422
15423         * BufferView_pimpl.C:
15424         * minibuffer..C: added "using SigC::slot" declaration.
15425
15426 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15427
15428         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15429
15430         * text2.C: ditto
15431
15432         * text.C: ditto
15433
15434         * paragraph.C: ditto
15435
15436         * lyxtext.h: NO_PEXTRA
15437
15438         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15439
15440         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15441         * ParameterStruct.h: ditto
15442         * ParagraphParameters.h: ditto
15443         * lyxparagraph.h: ditto
15444
15445 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15446
15447         * buffer.C: add compability for minipage alignment.
15448         (latexParagraphs): remove unwanted pextra check.
15449
15450         * several files: remove CXX_WORKING_NAMESPACES
15451
15452         * buffer.C (pop_tag): tie is in namespace boost
15453
15454         * BufferView.h: noncopyable is in namespace boost
15455         * lyxlex.h: ditto
15456         * lyx_main.h: ditto
15457         * lyx_gui.h: ditto
15458         * layout.h: ditto
15459         * lastfiles.h: ditto
15460         * bufferlist.h: ditto
15461         * ShareContainer.h: ditto
15462         * LyXView.h: ditto
15463         * LyXAction.h: ditto
15464         * LaTeX.h: ditto
15465
15466 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15467
15468         * Merging changes from BRANCH_MVC back into HEAD.
15469
15470         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15471
15472 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15473
15474         * BufferView_pimpl.C: change from intl.C
15475
15476         * combox.h:
15477         * combox.C:
15478         * Makefile.am: move combox.*
15479
15480         * form1.h:
15481         * form1.C:
15482         * lyx_gui.C:
15483         * intl.h:
15484         * intl.C: remove dialog (covered by prefs)
15485
15486 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15487
15488         * lyxfunc.C (Dispatch): removed redundant break statement.
15489
15490 2001-03-14  Juergen Vigna  <jug@sad.it>
15491
15492         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15493
15494 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15495
15496         * buffer.C: add hack to fix compability reading of minipages.
15497
15498 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15499
15500         * buffer.C (getLists): Cleanup.
15501
15502 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * lyxfont.C (update): don't honor toggleall on font size.
15505
15506 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * bmtable.c:
15509         * bmtable.h:
15510         * Makefile.am: moved to frontends/xforms/
15511
15512         * lyx_gui_misc.C:
15513         * lyxfunc.C:
15514         * BufferView_pimpl.C: changes for moved mathpanel
15515
15516 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * gettext.h: fix gettext_init() in --disable-nls
15519
15520 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15521
15522         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15523
15524 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15525
15526         * lyx.C:
15527         * lyx.h: strip external form
15528
15529 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * BufferView_pimpl.C: add comment, destroySplash()
15532
15533 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15534
15535         * BufferView_pimpl.C:
15536         * LyXAction.C:
15537         * buffer.C:
15538         * commandtags.h:
15539         * lyxfunc.C: use re-worked insetinclude
15540
15541 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15542
15543         * buffer.C: add using std::stringstream.
15544
15545         * lyx_cb.C: readd using std::ios.
15546
15547         * buffer.C: add using std::map.
15548
15549         * BufferView_pimpl.C: add using std::vector.
15550
15551         * ShareContainer.h: add std:: to swap.
15552
15553         * buffer.h: add some typedefs
15554         * buffer.C (getLists): use them
15555         (getLists): renamed from getTocList.
15556         add a counter for the different float types and use it in the
15557         generated string.
15558         (getLists): use the same counter for the NEW_INSETS and the "non"
15559         NEW_INSETS
15560
15561         * lyx_cb.h: remove unused items, includes, using etc.
15562
15563         * ShareContainer.h: remove some commented code, add more comments
15564         and "documentation".
15565
15566 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15567
15568         * buffer.C (getTocList): make the list also when NEW_INSETS is
15569         defined.
15570
15571         * buffer.h: remove TocType
15572
15573         * buffer.C (getTocList): change to return a map<string,
15574         vector<TocItem> >, implement for dynamic number of list.
15575
15576         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15577         * text2.C (PasteSelection): adjust
15578         * CutAndPaste.C (pasteSelection): adjust
15579
15580         * FloatList.C (FloatList): update from the new_insets branch.
15581         * Floating.[Ch]: ditto
15582         * LaTeXFeatures.C: ditto
15583         * buffer.C: ditto
15584         * lyxlex_pimpl.C: ditto
15585
15586         * paragraph.C (Last): remove when NEW_INSETS is defined.
15587
15588         * other file: changes because of the above.
15589
15590 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15591
15592         * lyxparagraph.h: rename next to next_, previous to previous_,
15593         make them private for NEW_INSETS. Rename Next() to next(),
15594         Previous() to previous().
15595
15596         * other files: changes because of the above.
15597
15598 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15599
15600         * BufferView.h:
15601         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15602         problem.
15603
15604 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15605
15606         * main.C (main): pass lyx_localedir to gettext_init().
15607
15608         * gettext.h: remove locale_init and gettext_init macros
15609
15610         * gettext.C (locale_init): new function
15611         (gettext_init): new function
15612
15613         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15614         setlocale().
15615
15616 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15617
15618         * Moved credits to frontends:
15619         * credits.[Ch]: removed
15620         * credits_form.[Ch]: removed
15621         * lyx_gui_misc.C: remove credits stuff
15622         * Makefile.am:
15623
15624 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15625
15626         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15627
15628         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15629         unneeded destructor.
15630
15631         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15632         a standalone pointer again.
15633
15634         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15635
15636 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15637
15638         * Makefile.am:
15639         * filedlg.h:
15640         * filedlg.C:
15641         * LyXAction.C:
15642         * ToolbarDefaults.C:
15643         * bufferlist.C:
15644         * commandtags.h:
15645         * form1.C:
15646         * form1.h:
15647         * lyx_cb.C:
15648         * lyx_cb.h:
15649         * lyxfunc.h:
15650         * lyxfunc.C:
15651         * BufferView_pimpl.C: use new file dialog in GUII
15652
15653         * lyx_cb.h:
15654         * lyx_cb.C: remove LayoutsCB to Toolbar
15655
15656 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15657
15658         * ShareContainer.h (get): add std:: qualifier
15659
15660 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * ShareContainer.h: define a proper ShareContainer::value_type
15663         type (and use typename to please compaq cxx)
15664
15665 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15666
15667         * lyxparagraph.h: move serveral local vars to
15668         ParameterStruct/ParagraphParameters., use ShareContainer in
15669         FontTable., make vars in FontTable private and add getter and
15670         setter.
15671
15672         * paragraph.C: changes because of the above.
15673
15674         * lyxfont.h: remove copy constructor and copy assignment. (the
15675         default ones is ok), move number inside FontBits. move inlines to
15676         lyxfont.C
15677
15678         * lyxfont.C: add number to initializaton of statics, move several
15679         inlines here. constify several local vars. some whitespace
15680         cleanup. Dont hide outerscope variables.
15681
15682         * Spacing.h: add two new constructors to match the set methods.
15683
15684         * ShareContainer.h: new file, will perhaps be moved to support
15685
15686         * ParameterStruct.h: new file
15687
15688         * ParagraphParameters.h: new file
15689
15690         * ParagraphParameters.C: new file
15691
15692         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15693         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15694
15695         * BufferView_pimpl.C: ParagraphParameter changes.
15696         * buffer.C: Likewise.
15697         * bufferview_funcs.C: Likewise.
15698         * text.C: Likewise.
15699         * text2.C: Likewise.
15700
15701 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyxfind.C (LyXReplace): do not redefine default argument in
15704         implementation.
15705         (IsStringInText): ditto
15706         (SearchForward): ditto
15707         (SearchBackward): ditto
15708
15709 2001-03-06  Juergen Vigna  <jug@sad.it>
15710
15711         * lyxfind.C (IsStringInText): put parentes around expressions.
15712
15713 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15714
15715         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15716
15717 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15718
15719         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15720
15721         * stl_string_fwd.h: add comment
15722
15723         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15724
15725         * tabular.h:
15726         * tabular.C: remove unused DocBook methods
15727
15728         * intl.C:
15729         * language.C:
15730         * paragraph.C:
15731         * buffer.C:
15732         killed DO_USE_DEFAULT_LANGUAGE
15733
15734 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * lyx_gui.C: do not include language.h.
15737
15738         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15739         arguments in function implementation.
15740
15741 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15742
15743         * BufferView_pimpl.C: add <ctime>
15744
15745 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15746
15747         * BufferView_pimpl.C: add using std::find_if
15748
15749 2001-02-27  José Matos  <jamatos@fep.up.pt>
15750
15751         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15752         by OnlyPath.
15753
15754 2001-02-11  José Matos  <jamatos@fep.up.pt>
15755
15756         * buffer.C (makeDocBookFile): command styles now have a parameter as
15757         "title" by default.
15758
15759 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15760
15761         * layout_forms.[Ch]: removed
15762         * lyx_cb.[Ch]: out character
15763         * lyx_gui.C: out character
15764         * lyx_gui_misc.C: out character
15765         * bufferview_funcs.C: : out character,
15766         added toggleall as parameter in ToggleAndShow
15767
15768 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15769
15770         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15771
15772         * text2.C (SetCurrentFont): Disable number property at boundary.
15773
15774 2001-02-26  Juergen Vigna  <jug@sad.it>
15775
15776         * lyxfunc.C (getStatus): added a string argument override function so
15777         that this is correctly called from LyXFunc::Dispatch if it contains a
15778         do_not_use_argument which is used!
15779         (Dispatch): added check for "custom" export and call appropriate func.
15780
15781 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * lyxrc.C: Add language_command_local, language_use_babel and
15784         language_global_options.
15785
15786         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15787
15788         * buffer.C (makeLaTeXFile): Use language_use_babel and
15789         language_global_options.
15790
15791 2001-02-23  Juergen Vigna  <jug@sad.it>
15792
15793         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15794         which works with LyXText and putted it inside BufferView. Here now we
15795         only call for that part the BufferView::Dispatch() function.
15796
15797         * BufferView.C (Dispatch): added.
15798
15799         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15800         functions which needs to use a LyXText over from LyXFunc.
15801         (MenuInsertLyXFile): added
15802         (getInsetByCode): added
15803         (moveCursorUpdate): added
15804         (static TEXT): added
15805
15806 2001-02-22  Juergen Vigna  <jug@sad.it>
15807
15808         * BufferView_pimpl.C (update): call a status update to see if LyXText
15809         needs it.
15810
15811 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15812
15813         * vc-backend.C (revert): implement for CVS
15814         (getLog): implement for CVS
15815
15816 2001-02-20  Juergen Vigna  <jug@sad.it>
15817
15818         * text2.C (ClearSelection): added BufferView param for inset_owner call
15819
15820         * lyxfunc.C (TEXT): added this function and use it instead of
15821         directly owner->view()-text of getLyXText().
15822
15823 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15824
15825         * src/layout_forms.C: out preamble
15826         * src/layout_forms.h: out preamble
15827         * src/lyx_cb.C: out preamble
15828         * src/lyx_cb.h: out preamble
15829         * src/lyx_gui.C: out preamble
15830         * src/lyx_gui_misc.C: out preamble
15831         * src/lyxfunc.C: connect with guii preamble
15832
15833 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15834
15835         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15836
15837 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15838
15839         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15840         whether to run bibtex.
15841
15842 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15845
15846 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15847
15848         * Makefile.am (lyx_SOURCES): removed bibforms.h
15849
15850         * vspace.h: doxygen
15851
15852         * text.C (GetVisibleRow): make several local vars const
15853
15854         * tabular.C: small cleanup.
15855
15856         * lyxserver.C (callback): use compare instead of strncmp
15857
15858         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15859         inlines to after class or to paragraph.C
15860
15861         * lyxfont.h: remove friend operator!=
15862
15863         * converter.h: move friend bool operator< to non friend and after
15864         class def.
15865
15866         * combox.h: small cleanup
15867
15868         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15869         to inlines after class def.
15870
15871         * buffer.C (pop_tag): use string operations instead of strcmp
15872
15873         * bmtable.c: doxygen, small cleanup
15874
15875         * LaTeX.h: remove friend operator==
15876
15877 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15878
15879         * screen.C:
15880         * lyxrc.[Ch]:
15881         * lyxfunc.C:
15882         * lyxfont.[Ch]:
15883         * lyx_cb.C:
15884         * intl.[Ch]:
15885         * commandtags.h:
15886         * buffer.C:
15887         * WorkArea.[Ch]:
15888         * LyXAction.C:
15889         * BufferView_pimpl.C:
15890         * BufferView.[Ch]: remove cruft
15891
15892 2001-02-14  Juergen Vigna  <jug@sad.it>
15893
15894         * lyxfunc.C: removed #if 0 unused code
15895
15896         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15897
15898         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15899
15900         * text2.C (SetSelection): added a BufferView * parameter
15901
15902 2001-02-13  Juergen Vigna  <jug@sad.it>
15903
15904         * lyxfunc.C (Dispatch): fixed protected blank problem.
15905         * BufferView2.C (protectedBlank): added LyxText * parameter.
15906
15907         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15908         (AppendColumn): same as above for column_info.
15909
15910         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15911         (moveCursorUpdate): use a LyXText param for support of InsetText.
15912
15913         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15914         (tripleClick): ditto
15915
15916         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15917
15918         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15919
15920         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15921
15922         * text2.C (SetSelection): set correct update status if inset_owner
15923         (ToggleFree): ditto
15924
15925 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15926
15927         * tabular.C: remove some commented code.
15928
15929 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15930
15931         * BufferView_pimpl.C: call hideSplash()
15932
15933         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15934
15935         * include_form.h:
15936         * bibforms.h: remove
15937
15938         * lyxfunc.C:
15939         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15940           add LFUN_CHILD_CREATE
15941
15942         * counters.h: fix tiny typo
15943
15944         * lyx_cb.C:
15945         * lyx.h:
15946         * lyx_gui.C:
15947         * lyx.C: move splash to frontends/xforms/
15948
15949         * lyx_gui_misc.C: move Include and Bibform to frontends
15950
15951         * lyxvc.h: clarify comment
15952
15953         * vspace.C: tiny housekeeping
15954
15955 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15956
15957         * text.C (PrepareToPrint): RTL Fix.
15958
15959         * paragraph.C (GetUChar): New method.
15960         (String):  Use GetUChar.
15961
15962         * buffer.C (asciiParagraph): Use GetUChar.
15963
15964 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15965
15966         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15967
15968 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15969
15970         * buffer.h:
15971         * buffer.C: rename to getLogName(), handle
15972           build log / latex log nicely
15973
15974 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15975
15976         * MenuBackend.C:
15977         * MenuBackend.h: remove support for reference menuitem type.
15978
15979 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15980
15981         * BufferView_pimpl.C: housekeeping
15982         * BufferView_pimpl.h:
15983         * LyXView.h:
15984         * Makefile.am:
15985         * Timeout.C:
15986         * Timeout.h:
15987         * minibuffer.h: move Timeout GUI-I
15988
15989 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15990
15991         * lyxrc.C (read): Update converters data-structures.
15992
15993 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15994
15995         * LaTeX.h (operator!=): add operator != for Aux_Info
15996
15997 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15998
15999         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16000
16001         * LaTeXLog.C: deleted, useful code moved to Buffer
16002
16003         * buffer.h:
16004         * buffer.C: new function getLatexLogName()
16005
16006         * lyx_gui_misc.C:
16007         * lyx_gui.C:
16008         * lyxvc.C:
16009         * lyxvc.h:
16010         * lyxfunc.C: use frontends for LaTeX and VC logs
16011
16012 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * LaTeX.h: yet another std:: that Allan forgot.
16015
16016         * Variables.C (set): renamed from isset(), because this clashes
16017         with some HP-UX macros (grr).
16018
16019 2001-02-06  Allan Rae  <rae@lyx.org>
16020
16021         * LaTeX.h: Another bug fix.  Missing std:: this time.
16022
16023 2001-02-04  Allan Rae  <rae@lyx.org>
16024
16025         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16026         floats problem. I've left it commented out because it's not quite
16027         correct.  It should also test that the current object is a table or
16028         figure inset.  But I haven't gotten around to figuring out how to do
16029         that.  I *think* it'll be something like: "table" == inset.type()
16030
16031         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16032         bool.
16033
16034 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16037         all the citation/databases/styles in the auxilary file.
16038         (run): Rerun latex if there was a babel language error.
16039
16040 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * text.C (Backspace): Preserve the font when changing newline char
16043         with a space.
16044         (BreakParagraph): If the cursor is before a space, delete the space.
16045
16046         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16047
16048 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16049
16050         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16051         new argument (code).
16052         (ChangeCitationsIfUnique): New method.
16053
16054         * paragraph.C (GetPositionOfInset): Handle bibkey.
16055
16056 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16057
16058         * BufferView_pimpl.h: change type of Position::par_pos to
16059         LyXParagraph::size_type.
16060
16061 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16062
16063         * BufferView_pimpl.C (savePosition, restorePosition): Write
16064         messages to minibuffer.
16065
16066 2001-01-28  José Matos  <jamatos@fep.up.pt>
16067
16068         * buffer.C (makeDocBookFile): adds support for document language.
16069         A silly restriction on the name of LatexCommand types where removed.
16070         Added support for CDATA sections, allows to chars unescaped, used
16071         among others in code, to avoid escape < and >.
16072
16073 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16074
16075         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16076         saved positions instrad of a stack. Furthermore, a position is
16077         stored using paragraph id/paragraph position.
16078
16079         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16080         Remove LFUN_REF_BACK.
16081
16082 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16083
16084         * converter.C (dvipdfm_options): New method.
16085
16086 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16087
16088         * vspace.C (isValidLength): Fix for empty input string.
16089
16090 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * LyXAction.C (init): change description of LFUN_FIGURE to
16093         "Insert Graphics"
16094
16095 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16096
16097         * LaTeX.C: add using directive
16098
16099 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16100
16101         * MenuBackend.C (expand): Fix the sorting of the formats.
16102
16103 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16104
16105         * lyx_main.C: tiny error message fix
16106
16107 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16110         calling fl_initialize(). This fixes the problem with ',' as
16111         decimal separator in text files.
16112
16113 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16114
16115         * trans.C (process): Fix the keymap bug.
16116
16117 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * LaTeX.C (scanAuxFiles): New method. Provides support for
16120         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16121         (scanLogFile) Scan for "run BibTeX" messages.
16122
16123         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16124         OT1 font encoding. Also, load the aecompl package if the ae
16125         package is loaded.
16126
16127         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16128
16129 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * texrow.C (increasePos): turn two error messages into debug
16132         messages.
16133
16134 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16135
16136         * LaTeX.C (scanAux): Handle the \@input macro.
16137         (runBibTeX): Use scanAux().
16138
16139         * language.C (latex_options_): New field.
16140
16141         * LaTeXFeatures.C (getMacros): Add language macros.
16142
16143         * buffer.C (makeLaTeXFile): Small fix.
16144
16145 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16146
16147         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16148
16149         * text2.C: add a using directive.
16150
16151 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16152
16153         * BufferView2.C:
16154         * lyx_gui_misc.h:
16155         * lyxfr1.C:
16156         * lyxfunc.C: kill LyXBell.
16157
16158 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16159
16160         * text.C (IsBoundary): Remove the error message
16161
16162         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16163
16164         * lyxrc.C (setDefaults): Correct initialization value for
16165         font_norm_type.
16166
16167 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16168
16169         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16170         gotoError().
16171
16172         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16173         and GotoNextNote().
16174
16175         * src/LyXAction.C: Added reference-next.
16176
16177         * text.C (InsertChar): Use contains instead of strchr.
16178
16179         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16180
16181 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16182
16183         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16184         alignment commands (when needed).
16185
16186         * text.C (InsertChar): Add ':' to number separator chars.