]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3a43219c9952583211f0e170f5b766c562d19818
[lyx.git] / src / ChangeLog
1
2 2003-10-23  André Pönitz  <poenitz@gmx.net>
3
4         * undo.C (textUndoOrRedo):
5         * dociterator.C (asDocIterator): work around crash
6
7         * cursor.C (getStatus): replace ASSERT by more verbose error message
8           and manual correction of the problem. Should increase stability
9           while providing more sensible information.
10
11 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
14
15         * bufferlist.C (previous, next): new methods
16
17         * lfuns.h: 
18         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
19
20 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
21
22         * buffer.C (makeDocBookFile): add dsssl stylesheet control
23         entities to preamble.
24
25 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
26
27         * messages.C (Pimpl): strip off translation context information
28
29 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
32         the cursor is correct (bug 1694)
33
34 2004-10-13  José Matos  <jamatos@lyx.org>
35
36         * output_docbook.C (docbookParagraphs): fix closing tags in the
37         end of the document. 
38
39 2004-10-09  José Matos  <jamatos@lyx.org>
40
41         * buffer.C: format up to 237.
42         * bufferparams.C (write): use tostr to convert booleans to strings.
43         
44 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
47
48 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * LaTeX.C: implement use of babel language in xindy.
51
52 2004-10-05  José Matos  <jamatos@lyx.org>
53
54         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
55         Add new translators to help reading and writing the lyx file.
56
57 2004-10-05  José Matos  <jamatos@lyx.org>
58
59         * ParagraphParameters.C (read):
60         * text.C (readParToken): replace nexToken by more appropriate lex
61         methods.
62
63 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
64
65         * LaTeX.C (runMakeIndex):
66         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
67         (usually 'makeindex') configurable.
68
69         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
70         with a variable rather than with a number.
71
72 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * output_latex.C (TeXOnePar): make sure font setting is the first
75         thing that gets output (and the last at the end). Should fix bug
76         1404.
77
78 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
79
80         * pch.h: use proper signal include
81
82         * LaTeX.h: Use preferred calling of Boost.Signal
83         * buffer.h: ditto
84
85 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * pch.h: dont include <boost/function/function0.hpp>
88
89         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
90
91         * paragraph_pimpl.h: remove usage of ShareContainer
92
93         * paragraph_pimpl.C: remove initialization of ShareContainer.
94
95 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         Fix bug #1666
98
99         * BufferView.C (putSelectionAt): change the semantics when
100         backwards == true: now, this just swaps cursor and anchor wrt the
101         forward case
102
103         * BufferView.h (putSelectionAt): add some documentation
104
105         * lyxfind.C (findBackwards): rewrite using while(). In particular,
106         make sure backwardChar is done at least once (to avoid getting
107         stuck)
108         (findNextChange): use putSelectionAt in the forward direction
109         (operator()): use Paragraph::isWord
110
111 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
112
113         * Spacing.C (set): c_str fix
114
115 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * lyx_cb.C (Reconfigure): quote the name of configure script in
118         case it contains spaces
119
120 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * client: new dir
123
124         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
125         (BOOST_LIBS): use top_buildir when looking for the file
126
127 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * pch.h: do not use include boost/format.hpp, multiple symbols
130                 will result (gcc bug)
131
132
133 2004-08-23  José Matos  <jamatos@lyx.org>
134
135         * bufferparams.C (readToken): fix reading of the author field.
136
137 2004-08-20  José Matos  <jamatos@lyx.org>
138
139         * lyxrc.C: remove support/translator.h inclusion since it is not used.
140
141 2004-08-20  José Matos  <jamatos@lyx.org>
142
143         * lyxlex.[Ch] (findToken): remove function.
144
145         * ParagraphParameters.C (findToken):
146         * bufferparams.C (findToken): replace call for previous function
147         with local copy. This local function has one more argument, the
148         read string argument.
149
150 2004-08-16  José Matos  <jamatos@lyx.org>
151
152         * ParagraphParameters.C (write):
153         * Spacing.C (writeFile):
154         * bufferparams.C (writeLaTeX):
155         * lyx_cb.C (Reconfigure):
156         * paragraph.C (write):
157         * tabular.C (write): remove unnecessary space at end of line.
158
159
160 2004-08-16  José Matos  <jamatos@lyx.org>
161
162         * text.C (readParagraph): remove debug message.
163
164 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
167         crash
168
169         * output_plaintext.C (asciiParagraph): set depth correctly
170
171         * outputparams.h: add member depth
172
173         * paragraph_funcs.C (ownerPar): remove.
174
175         * text2.C (setCounter): remove first_pit; comment out some
176         non-working code that uses ownerPar
177
178         * BufferView.C (getParentLanguage): remove. Not used anymore, and
179         uses ownerPar
180
181 2004-08-16  José Matos  <jamatos@lyx.org>
182
183         * text.C (readParToken, readParagraph, read): report all unknown tokens.
184         For the same level of importance use the same chanel to report problems.
185         (read): add code to deal with \begin_body and \end_body.
186
187
188 2004-08-15  José Matos  <jamatos@lyx.org>
189
190         * lyxlex.C (getString): fix comment, buffer::readBody is now
191         buffer:readDocument.
192
193         * tex-strings.C (string_papersize): Default -> default,
194         Custom -> custom, for consistency with other options.
195
196 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * pch.h: new file
199
200         * Makefile.am: support pch
201
202 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * text.C (readParToken): remove the static LyXFont variable and
205         pass it as a parameter instead. This fixes a nasty bug where an
206         inset will be inserted with a bad font in some situations
207         (readParagraph): adapt
208
209         * text2.C (setCounter): reduce number of calls to pars_[pit]
210
211         * text.C (singleWidth): add an assert, fix a test
212
213         * rowpainter.C (paintText): reduce number of calls to singleWidth
214
215         * paragraph.C (isHfill):
216         (isNewline): ws only
217
218 2004-08-14  André Pönitz  <poenitz@gmx.net>
219
220         * text.C:
221         * text2.C:
222         * rowpainter.C:
223         * lyxtext.h (several functions): use a Paragraph & argument
224         instead of par_type
225
226 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * metricsinfo.h: add a new field ltr_pos to PainterInfo
229
230         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
231
232         * text.C (singleWidth): remove useless test
233
234 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
235
236         * tabular.h: remove bogus comments
237
238         * tabular.C (getDescentOfRow):
239         (isPartOfMultiColumn): add assertions
240
241         * lyxlength.C (inPixels): remove #warning
242
243 2004-08-14  André Pönitz  <poenitz@gmx.net>
244
245         * paragraph.h: inline getChar()
246
247         * BufferView.h: remove unused declarations
248
249 2004-08-14  José Matos  <jamatos@lyx.org>
250
251         * Buffer.[Ch] (readDocument): new name for old readBody.
252         * Buffer.C: new file format, new keywords: \begin_document,
253         \begin_header, \begin_body, \end_body.
254
255         * bufferparams.C (readToken): replace all calls to lex.nextToken
256         by lex.next(). Do the same to eatLine except where really needed.
257
258         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
259         line when writing to the lyx file.
260
261         * output_plaintext.C (asciiParagraph): fix Bibliography style
262         handling.
263
264         * text.C (read): fix end of file handling.
265
266 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * MenuBackend.C (Menu::operator[]): new method to access
269         individual menu items
270         (Menu::hasFunc): new method. search for an item that corresponds
271         to a given func
272         (MenuBackend::specialMenu): new method
273         (MenuBackend::expand): if a special menu has been set, skip
274         entries whose func() appears in this menu
275
276 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
277
278         * text3.C: use Debug::DEBUG a bit more
279
280         * text.C (leftMargin): try to simplify a tiny bit change var x to
281         l_margin. Dont output the wide margins always.
282         (rightMargin): no margin in inner texts
283
284         * rowpainter.h (nestMargin): new func
285         (changebarMargin): new func
286         (rightMargin): new func
287
288         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
289         now functions.
290         (paintLast): ditto
291
292         * factory.C (createInset): modify setDrawFrame
293
294         * cursor.C: use Debug::DEBUG a bit more
295
296 2004-08-14  André Pönitz  <poenitz@gmx.net>
297
298         * coordcache.[Ch]:
299         * Makefile.am: new files to accomodate an 'external' (x,y)-position
300         cache for all insets in (at least partially) visible (top-level)
301         paragraphs.
302
303         * BufferView_pimpl.C: reset external coord cache before every update.
304         This means the coord cache only contains valid entries.
305
306 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
307
308         bug 1096
309         * BufferView_pimpl.C (getInsetByCode): move function out of class
310         and change in to a template in anon namespace. Also fix to do what
311         suits us better.
312
313 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
314
315         bug 1305
316         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
317         of char
318         (breakParagraph): rename par to par_offset and use a local
319         reference. Add code to keep the language over a rebreak.
320         (breakParagraphConservative): rename par to par_offset, use a
321         local reference
322         (mergeParagraph): ditto
323         (outerHook): ditto
324         (isFirstInSequence): ditto
325         (outerFont): rename pit to par_offset
326
327         * paragraph.C: ws change
328         * paragraph.h: ditto
329         * text3.C: ditto
330         * text.C: ditto
331
332 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
335         treatment for ']'
336
337         * paragraph.C (simpleTeXOnePar): when we have a \item with
338         optional argument, enclose the argument with curly brackets (in
339         case it contains a closing square bracket)
340
341         * text2.C (editXY):
342         * text2.C (editXY):
343         * text3.C (checkInsetHit): constify
344
345 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
348         documents (bug 1629)
349
350 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         Fix toggling of collapsable insets with the mouse (bug 1558)
353
354         * lyxfunc.C (dispatch): adapt to LCursor changes
355
356         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
357         make sure that dispatch is not invoked twice
358
359         * cursor.C (needsUpdate): new method
360         (dispatch): return void
361         (result): new method, to access the DispatchResult of the cursor.
362
363 2004-08-13  José Matos  <jamatos@lyx.org>
364
365         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
366
367 2004-08-13  André Pönitz  <poenitz@gmx.net>
368
369         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
370
371         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
372           multiple cells
373
374 2004-08-12  André Pönitz  <poenitz@gmx.net>
375
376         * text3.C: take out the 'cursor right' form insertInset and only
377         do it in those places when it is really needed. Fixes crash on
378         C-m...
379
380 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
383
384         * BufferView_pimpl.C (setBuffer): initialize the current font of
385         the underlying LyXText
386
387 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * kbsequence.C (print): use UI native formatting for menu
390         shortcuts
391
392         * text.C (insertChar): call Paragraph::insertChar with a font
393         argument (cosmetic)
394
395         * paragraph.C (insertInset, insertChar): the version that takes a
396         LyXFont argument is now a wrapper around the other one (the
397         opposite used to be true).
398
399         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
400         argument. Font setting is done in Paragraph now.
401
402 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * outputparams.h: add new members intitle and lang.
405
406         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
407         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
408
409 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * text3.C (dispatch): remove special handling of button 4 and 5,
412         it is now taken care of in the frontend code.
413
414 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
415
416         * Spacing.h: add <string> (STLPort compile fix)
417
418 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
419
420         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
421
422 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
423
424         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
425         to bool.
426
427         * converter.C (showMessage): inherit from unary_function, make
428         operator() const.
429
430         * buffer.C (writeFile): initialize retval
431
432         * InsetList.h: rename private variable list to list_
433         * InsetList.[Ch]: adjust accordingly.
434
435 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
436
437         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
438         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
439         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
440         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
441         * ParagraphParameters.C, LaTeXFeatures.C: replace
442         "support/std_sstream.h" with <sstream>
443
444 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
445
446         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
447         * lyxsocket.C (LyXServerSocket): ditto
448         (serverCallback): ditto
449
450 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
451
452         * LaTeXFeatures.C: check release date when loading jurabib.
453
454 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
455
456         * lyxserver.C (startPipe): call register_socket_callback
457         (endPipe): call unregister_socket_callback
458
459 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
460
461         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
462         (LyXServerSocket): register the callback
463         (LyXServerSocket): unregister the callback
464         (fd): delete function
465         (serverCallback): improve error checking and setup the callbacks.
466         (dataCallback): change arg to fd.
467         (writeln): new func (copied fro the client socket) used for server
468         write to client.
469         (LyXDataSocket): simplify
470         (~LyXDataSocket): close ann unregiser callback
471         (server): delete function
472         (fd): delete function
473         (readln): small changes, improve some std::string usage
474         (writeln): constify a bit
475
476 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
479         Qt frontend
480
481 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * BufferView_pimpl.C (setBuffer): set the layout combox value only
484         after it has been populated
485
486 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * text2.C (insertInset): move cursor when inserting inset.
489
490 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * kbmap.C (findbindings): a couple of new methods. returns a
493         container of kb_sequence objects. The real work is done by the
494         private recursive version
495         (printbindings): uses findbindings to print out a bracketed list
496         of bindings (renamed from findbinding).
497
498         * MenuBackend.C (binding): use kb_keymap::findbindings
499
500         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
501
502 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
503
504         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
505
506 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * paragraph.C (isWord): return true on insets that report
509         isLetter().
510
511         * text.C (getWord): use Paragraph::isWord to decide what is in a
512         word and what is not; fix bug 1609.
513
514 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * tex-strings.C: add "none" to string_paperpackages[], fixes
517         off-by-one-error in the paperpackage selection.
518
519         * lyxlex.[Ch]:
520         * tex-strings.[Ch]: char const * string[n]
521         -> char const * const string[]
522
523 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
526         command, return early.
527
528 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
529
530         * debug.h: add DEBUG to enum and fix size of ANY.
531
532         * debug.C: add support for Debug::DEBUG
533         (showTags): cast errorTags.level to unsigned int
534
535         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
536         (redoCurrentBuffer): ditto
537         (updateScrollbar): ditto
538         * cursor.C (dispatch): ditto
539         * text2.C (setLayout): ditto
540         (setFont): ditto
541         (updateCounters): ditto
542         (editXY): ditto
543         (deleteEmptyParagraphMechanism): ditto
544
545 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
548         annotations to cleanup the Makefile slightly.
549
550 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * lyxrc.C: do not set user_email to a default value but use empty
553         instead. The entry used to be translated, which does not work
554         since at the point where lyxrc is constructed there is no
555         translation service available
556
557         * messages.C (getLocaleDir): remove and use directly
558         lyx_localedir() instead
559
560 2004-06-02  Angus Leeming  <leeming@lyx.org>
561
562         Fix crash caused by dereferencing null pointer 'exportdata' in
563         OutputParams by creating a new ExportData variable on the heap,
564         storing it in a boost::shared_ptr.
565         The crash was triggered when generating an Instant Preview
566         of an external inset.
567
568         * Makefile.am: add outputparams.C
569
570         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
571         (c-tor): allocate memory to it.
572
573         * exporter.C (c-tor): associated changes.
574
575 2004-06-01  Angus Leeming  <leeming@lyx.org>
576
577         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
578         contains data before calling isInset(0). (Bug 1513.)
579
580 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
581
582         * exporter.C (checkOverwrite): new method
583         * exporter.C (copyFile): new method
584         * exporter.C (Export): copy referenced files to the document dir
585         * exporter.[Ch]: new class ExportedFile
586         * exporter.[Ch]: new class ExportData. Contains currently the
587         names of referenced external files
588         * outputparams.h: add exportdata member.
589
590 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
593         version.C-tmp
594
595 2004-05-19  Angus Leeming  <leeming@lyx.org>
596
597         * LaTeXFeatures.C:
598         * ToolbarBackend.C:
599         * bufferparams.C:
600         * lyxfunc.C: small changes due to the introduction of namespace
601         lyx::frontend and the moving of namespace biblio to lyx::biblio.
602
603 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
604
605         * text3.C (dispatch): supress update when only moving the cursor
606         * cursor.C (selHandle): remove commented code
607
608 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
609
610         * paragraph.C (startTeXParParams): correct column count
611         * CutAndPaste.C (pasteSelection): remove const_cast
612         * output_docbook.C (docbookParagraphs): remove const_cast
613         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
614         const_cast and return ParagraphList::const_iterator
615         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
616         * output_plaintext.C (writeFileAscii): remove const_cast
617         * paragraph.[Ch] (simpleTeXOnePar): make const
618         * paragraph_funcs.C (outerPar): use const iterators
619         * paragraph_pimpl.C (validate): use const iterators
620         * text.C (setHeightOfRow): use const iterators
621
622 2004-05-17  Angus Leeming  <leeming@lyx.org>
623
624         * lfuns.h:
625         * LyXAction.C (init): new LFUN_INSET_REFRESH.
626
627         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
628         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
629         if the citation engine has changed.
630
631 2004-05-14  José Matos  <jamatos@lyx.org>
632
633         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
634         if the textclass does not provide it. Have it different for sgml and
635         xml.
636         support the language of document.
637         * output_docbook.C (docbookParagraphs):
638         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
639         first anchor as the id of the paragraph, remove special case code.
640         * sgml.C (escapeChar): escape only < & >.
641
642 2004-05-14  Angus Leeming  <leeming@lyx.org>
643
644         * bufferparams.h: move biblio::CiteEngine enum here to minimize
645         dependencies on src/frontends/controllers/biblio.h. Define a
646         CiteEngine_enum wrapper class to enable the enum to be forward
647         declared.
648
649 2004-05-12  Angus Leeming  <leeming@lyx.org>
650
651         * buffer.C: up LYX_FORMAT to 234.
652         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
653         use_numerical_citations with a single biblio::CiteEngine cite_engine
654         variable.
655         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
656
657 2004-05-13  José Matos  <jamatos@lyx.org>
658
659         * converter.h:
660         * converter.C (Converter, readFlags): add xml member.
661         * outputparams.h: add XML flavor.
662         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
663
664 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * lyxfunc.C (dispatch):
667         (getStatus): fix handling of LFUN_SEQUENCE
668
669 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * debug.C (showLevel): do not forget the end-of-line marker
672
673 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * kbmap.C (read): do not stop parsing a bind file when an error
676         occurs (bug 1575)
677
678 2004-04-29  Angus Leeming  <leeming@lyx.org>
679
680         * cursor.C:
681         * factory.C:
682         * pariterator.C:
683         * text2.C: wrap a bunch of #warning statements
684         inside #ifdef WITH_WARNINGS blocks.
685
686 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * buffer.C: increment format to 233.
689
690 2004-04-28  Angus Leeming  <leeming@lyx.org>
691
692         * BufferView_pimpl.C:
693         * lyxfunc.C:
694         * text3.C:
695         s/updateToolbar()/updateToolbars()/
696         s/Toolbar.h/Toolbars.h/
697
698 2004-04-28  Angus Leeming  <leeming@lyx.org>
699
700         * BufferView.[Ch] (c-tor):
701         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
702         No longer passes these data to the WorkArea generator.
703
704 2004-04-28  Angus Leeming  <leeming@lyx.org>
705
706         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
707
708 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
711
712 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * output_latex.C (TeXEnvironment): make sure that there is a line
715         break before \end{foo} for the last paragraph of a document
716         (TeXOnePar): if the paragraph is at the end of the document (or
717         inset) and the language has to be reset, then make sure that the
718         line break is _before_ the language command, not after (fixes bug
719         1225); also make sure that the language reset command is the first
720         thing after the paragraph (to ensure proper nesting of
721         environments and thus fix bug 1404)
722
723 2004-04-21  John Levon  <levon@movementarian.org>
724
725         * ToolbarBackend.h:
726         * ToolbarBackend.C: make "name" be a programmatic name
727         and a gui_name field.
728
729         * lyxfunc.C: display the minibuffer on M-x
730
731 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
734         (bug 1526)
735
736 2004-04-19  Angus Leeming  <leeming@lyx.org>
737
738         * BufferView_pimpl.C (setBuffer): changed preview interface.
739
740         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
741         possible values.
742
743 2004-04-19  John Levon  <levon@movementarian.org>
744
745         * BufferView_pimpl.C:
746         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
747
748 2004-04-05  Angus Leeming  <leeming@lyx.org>
749
750         * text.C (redoParagraphs): add call to updateCounters(), thereby
751         fixing the missing "Figure #:" label from the caption of a
752         figure float.
753
754 2004-04-13  Angus Leeming  <leeming@lyx.org>
755
756         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
757         cursor is clicked out of an inset.
758
759 2004-04-13  Angus Leeming  <leeming@lyx.org>
760
761         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
762         than an InsetOld one.
763
764 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
765
766         * format.[Ch]: add editor to Format
767         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
768         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
769
770 2004-04-08  André Pönitz  <poenitz@gmx.net>
771
772         * metricsinfo.h: remove PainterInfo::width member
773
774 2004-04-08  Angus Leeming  <leeming@lyx.org>
775
776         * lyx_sty.C (boldsymbol_def): modify so that it outputs
777         "\providecommand" rather than "\newcommand", thereby preventing
778         clashes with packages that define "\boldsymbol" themselves.
779         Eg, beamer.
780
781 2004-04-08  Angus Leeming  <leeming@lyx.org>
782
783         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
784         thereby squashing an unnecessary warning.
785
786 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
787
788         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
789         setBuffer()
790
791 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * BufferView.C (setCursor): call redoParagraph (some insets could
794         have been opened)
795         (putSelectionAt): remove the 'double update' trick
796
797         * BufferView_pimpl.C (fitCursor): call refreshPar
798         (workAreaDispatch): remove an uneeded update call
799         (dispatch): remove some manual update calls
800
801         * cursor.[Ch]: remove cached_y_, updatePos
802         (selHandle): set noUpdate when appropriate
803
804         * lyxfunc.C (dispatch): track if we need an update
805
806         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
807
808         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
809         (paintSelection): cheap optimization, do not call cursorX when not
810         needed
811         (paintPars): change signature
812         (refreshPar): add
813         (paintText): adjust
814         (paintTextInset): adjust
815
816         * text.C: adjust
817
818 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * lengthcommon.C: compilation fix: remove explicit array size from
821         unit_name[] and friends
822
823 2004-04-05  Angus Leeming  <leeming@lyx.org>
824
825         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
826
827         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
828         present only for the preferences dialog.
829         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
830
831 2004-04-05  Angus Leeming  <leeming@lyx.org>
832
833         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
834         to enable the frontends to export changes to lyxrc correctly.
835
836         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
837
838 2004-04-07  André Pönitz  <poenitz@gmx.net>
839
840         * cursor.[Ch] (selClear, adjust): remove math
841
842         * cursor_slice.C: more agressive assert
843
844         * lyxfunc.C:
845         * BufferView_pimpl.C: rework mouse event dispatch
846
847         * dociterator.C:
848         * paragraph.C:
849         * text2.C:
850         * text3.C: adjust
851
852 2004-04-05  André Pönitz  <poenitz@gmx.net>
853
854         * cursor.[Ch] (valign, halign...): remove unneeded functions
855
856 2004-04-05  Angus Leeming  <leeming@lyx.org>
857
858         * lyxlength.[Ch] (unit_name et al.): const-correct.
859
860 2004-04-05  Angus Leeming  <leeming@lyx.org>
861
862         * BufferView_pimpl.C:
863         * buffer.C:
864         * counters.C:
865         * cursor.C:
866         * lyxfunc.C
867         * paragraph.C:
868         * pariterator.C:
869         * text.C:
870         * text2.C:
871         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
872
873 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * text3.C (getStatus): add LFUN_BEGINNINGBUF
876
877 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * lyxfind.C: add a couple of inTexted() tests + other small fixes
880         * BufferView_pimpl.[Ch] (getStatus)
881         * BufferView.[Ch] (getStatus): add
882         * lyxfunc.C (getStatus): move lfuns handled in
883         BufferView::dispatch to te function above
884         * Cursor.C (setSelection): set selection() = true
885
886 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
887
888         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
889
890 2004-03-31  Angus Leeming  <leeming@lyx.org>
891
892         * lyxfunc.C (dispatch): Fall through to the generic
893         Dialogs::show("preamble").
894
895 2004-03-31  Angus Leeming  <leeming@lyx.org>
896
897         * lyxfunc.C (dispatch): Fall through to the generic
898         Dialogs::show("spellchecker").
899
900 2004-03-31  Angus Leeming  <leeming@lyx.org>
901
902         * lyxfunc.C (getStatus, dispatch): changed invocation of the
903         preferences dialog.
904
905 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * BufferView.C
908         * cursor.[Ch]
909         * dociterator.[Ch]:
910         * insetiterator.[Ch]:
911         * lyxfind.C:
912         * lyxfunc.C:
913         * pariterator.[Ch]:
914         * text2.C:
915         * undo.[Ch]: s/DocumentIterator/DocIterator/g
916
917 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * BufferView.C (setCursor, putSelectionAt): call edit to open the
920         insets where we are putting the cursor.
921
922 2004-03-31  Angus Leeming  <leeming@lyx.org>
923
924         * lfuns.h:
925         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
926
927         * lyxrc.[Ch] (read, write): overloaded member functions taking
928         a std::[io]stream arguments.
929
930         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
931
932 2004-03-31  Angus Leeming  <leeming@lyx.org>
933
934         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
935         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
936
937         * lyxtextclass.C (load): if the text class couldn't be loaded, then
938         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
939
940 2004-03-31  Angus Leeming  <leeming@lyx.org>
941
942         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
943         the LFUN_ALL_INSETS_TOGGLE code.
944
945 2004-03-30  Angus Leeming  <leeming@lyx.org>
946
947         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
948         has died. Fall through to the generic Dialogs::show("document").
949
950 2004-03-30  Angus Leeming  <leeming@lyx.org>
951
952         * lfuns.h:
953         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
954         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
955
956         * lyxfunc.C (getStatus, dispatch): define the actions for these
957         lfuns. Little more than a cut and pste job from ControlDocument.C
958
959         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
960
961 2004-03-30  Angus Leeming  <leeming@lyx.org>
962
963         * lfuns.h:
964         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
965         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
966
967         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
968         open/closed state of ollapsable insets. Usage:
969
970         all-inset-toggle <state> <name>, where
971         <state> == "open" || "closed" || "toggle" and
972         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
973
974         * lyxtext.h, text2.C (toggleInset): removed.
975
976         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
977         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
978         now passes LFUN_INSET_TOGGLE to the found inset.
979
980         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
981         is now invoked as "all-insets-toggle toggle branch".
982
983 2004-03-30  Angus Leeming  <leeming@lyx.org>
984
985         * dociterator.C:
986         * insetiterator.C:
987         * pariterator.[Ch]: added/corrected header blurb.
988
989 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
990
991         * dociterator.[Ch]: add an inset_ member
992         (backwardPos): implemented
993         (backwardPos, forwardPos): use inset_ when the stack is empty.
994         (doc_iterator_begin, doc_iterator_end): implemented
995         * pariterator.[Ch]: adjust, add begin, end
996         * insetiterator.[Ch]: adjust, add begin, end
997         * cursor.C:
998         * document.C:
999         * BufferView.C:
1000         * BufferView_pimpl.C:
1001         * CutAndPaste.C: adjust
1002
1003 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1004
1005         * buffer.C: increment file format to 232.
1006         * LaTeXFeatures.C: add bibtopic package.
1007         * bufferparams.[Ch]: param \use_bibtopic.
1008
1009         * lyxrc.[Ch]: add lyxrc bibtex_command
1010         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1011
1012         * buffer.C: increment file format to 231.
1013
1014 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1015
1016         * dociterator.C: implement forwardPar
1017         * iterators.[Ch]: remove, replaced by
1018         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1019         * BufferView.C:
1020         * BufferView_pimpl.C:
1021         * CutAndPaste.C:
1022         * buffer.C:
1023         * bufferview_funcs.C:
1024         * cursor.C:
1025         * lyxfind.C
1026         * lyxfunc.C
1027         * paragraph_funcs.C
1028         * toc.C:
1029         * Makefile.am: adjust
1030
1031 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1032
1033         * CutAndPaste.C (pasteSelection): fix 2 crashes
1034         (eraseSelection): fix a crash
1035         * paragraph_funcs.C: remove a warning
1036
1037 2004-03-28  Angus Leeming  <leeming@lyx.org>
1038
1039         * lfuns.h:
1040         * LyXAction.C (init): new LFUN_PRINT.
1041
1042         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1043
1044 2004-03-27  Angus Leeming  <leeming@lyx.org>
1045
1046         * lfuns.h:
1047         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1048
1049         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1050
1051 2004-03-27  Angus Leeming  <leeming@lyx.org>
1052
1053         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1054         insetlist always contains non-null pointers to insets.
1055
1056 2004-03-26  Angus Leeming  <leeming@lyx.org>
1057
1058         * src/BufferView_pimpl.C:
1059         * src/CutAndPaste.C:
1060         * src/buffer.C:
1061         * src/iterators.C:
1062         * src/output_plaintext.C:
1063         * src/outputparams.h:
1064         * src/paragraph_funcs.C:
1065         * src/rowpainter.C:
1066         * src/text.C:
1067         * src/text2.C:
1068         * src/frontends/controllers/ControlErrorList.C:
1069         * src/frontends/gtk/FileDialogPrivate.C:
1070         * src/frontends/gtk/GPainter.C:
1071         * src/frontends/gtk/GToolbar.C:
1072         * src/frontends/qt2/QRef.C:
1073         * src/mathed/math_scriptinset.C: squash compiler warnings.
1074
1075 2004-03-26  Angus Leeming  <leeming@lyx.org>
1076
1077         * ispell.C (LaunchIspell::start):
1078         * lyx_cb.C (AutoSaveBuffer::start):
1079         invoke run(DontWait) rather than runNonBlocking().
1080
1081 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1084
1085 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * kbsequence.C (print): adjust
1088
1089         * kbmap.C (printKeySym): rename and change signature
1090         (printKey): use LyXKeySym::print()
1091
1092 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * undo.C: add using std::advance to compile for stlport
1095
1096 2004-03-24  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1099         it leads to a crash when no buffer is present.
1100
1101 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1102             Martin Vermeer  <martin.vermeer@hut.fi>
1103
1104         * lyxfunc.C (dispatch):
1105         * bufferparams.C (readToken): use the new LColor::setColor
1106
1107         * LColor.[Ch] (setColor): new version that takes two strings as
1108         argument and creates a new color entry if necessary
1109
1110 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1111
1112         * buffer.C (makeLaTeXFile): if the main latex file that is
1113         processed is usually a subdocument of some master, then pretend
1114         for a while that it is actually the master
1115
1116 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1117
1118         * buffer.C (getLabelList):
1119         (getBibkeyList): use getMasterBuffer()
1120         (getMasterBuffer): new method. Returns the main document in the
1121         case where one is using included documents.
1122
1123 2004-03-25  André Pönitz  <poenitz@gmx.net>
1124
1125         * Makefile.am:
1126         * iterators.[Ch]:
1127         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1128
1129         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1130
1131         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1132         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1133
1134         * ParameterStruct.h: merge with ParagraphParameters
1135
1136         * lyxtext.h: remove LyXText::parOffset() and getPar()
1137
1138         * text3.C: Remove all 'manual' update calls. We do now one per user
1139         interaction which is completely sufficient.
1140
1141         * Bidi.C:
1142         * BufferView.[Ch]:
1143         * BufferView_pimpl.C:
1144         * FontIterator.[Ch]:
1145         * MenuBackend.C:
1146         * ParagraphParameters.[Ch]:
1147         * buffer.C:
1148         * buffer.h:
1149         * bufferlist.C:
1150         * cursor.[Ch]:
1151         * cursor_slice.[Ch]:
1152         * dociterator.[Ch]:
1153         * errorlist.[Ch]:
1154         * factory.C:
1155         * lfuns.h:
1156         * lyxfind.C:
1157         * lyxfunc.C:
1158         * output_docbook.[Ch]:
1159         * output_latex.[Ch]:
1160         * output_linuxdoc.[Ch]:
1161         * output_plaintext.[Ch]:
1162         * paragraph.[Ch]:
1163         * paragraph_funcs.[Ch]:
1164         * paragraph_pimpl.[Ch]:
1165         * rowpainter.C:
1166         * tabular.[Ch]:
1167         * text.C:
1168         * text2.C:
1169         * toc.C:
1170         * undo.[Ch]: adjust
1171
1172         * frontends/controllers/ControlDocument.C:
1173         * frontends/controllers/ControlErrorList.C:
1174         * frontends/controllers/ControlSpellchecker.C:
1175         * insets/inset.C:
1176         * insets/inset.h:
1177         * insets/insetbase.h:
1178         * insets/insetbibitem.C:
1179         * insets/insetbox.C:
1180         * insets/insetbranch.C:
1181         * insets/insetcaption.C:
1182         * insets/insetcharstyle.C:
1183         * insets/insetcharstyle.h:
1184         * insets/insetcollapsable.C:
1185         * insets/insetcollapsable.h:
1186         * insets/insetert.C:
1187         * insets/insetfloat.C:
1188         * insets/insetfoot.C:
1189         * insets/insetmarginal.C:
1190         * insets/insetnote.C:
1191         * insets/insetoptarg.C:
1192         * insets/insettabular.C:
1193         * insets/insettext.C:
1194         * insets/insettext.h:
1195         * insets/insetwrap.C:
1196         * mathed/math_mboxinset.C:
1197         * mathed/math_nestinset.C:
1198         * mathed/math_scriptinset.C:
1199         * mathed/math_scriptinset.h:
1200         * support/types.h:
1201
1202 2004-03-24  Angus Leeming  <leeming@lyx.org>
1203
1204         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1205         deal with any child processes that have finished but are waiting to
1206         communicate this fact to the rest of LyX.
1207
1208 2004-03-24  Angus Leeming  <leeming@lyx.org>
1209
1210         64-bit compile fixes.
1211
1212         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1213         (c-tor): pass lyx::pos_types rather than ints.
1214
1215         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1216         lyx::pos_type.
1217
1218         * text.C (Delete): compile fix.
1219         (getPar): ensure that function declaration is the same as that in
1220         the header file.
1221
1222 2004-03-23  Angus Leeming  <leeming@lyx.org>
1223
1224         * ispell.C (LaunchIspell):
1225         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1226         a boost::shred_ptr rather than a std::auto_ptr.
1227
1228 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1231         handle LFUN_FILE_INSERT_*
1232
1233         * lyxrc.C (setDefaults, getDescription, output, read):
1234         * lyxrc.h: remove ps_command
1235
1236 2004-03-22  Angus Leeming  <leeming@lyx.org>
1237
1238         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1239         Ensure that error_handler is processed once only and that all data
1240         is saved before attempting to output any warning messages.
1241
1242         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1243
1244 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1245
1246         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1247
1248 2004-03-19  André Pönitz  <poenitz@gmx.net>
1249
1250         * cursor.[Ch] (reset): take main text inset as argument
1251
1252         * BufferView: adjust
1253         * BufferView_pimpl.C: adjust
1254
1255         * paragraph.[Ch]: fix completely broken operator=()
1256
1257 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * LColor.C (getFromLyXName): make sure that the color name is used
1260         as lowercase.
1261
1262 2004-03-17  Angus Leeming  <leeming@lyx.org>
1263
1264         * lfuns.h:
1265         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1266
1267         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1268         dialog and to kill a forked process.
1269
1270 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * text2.C (setCursorFromCoordinates): fix font problem
1273
1274 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1277         bogus "rebuild cursor" code
1278
1279 2004-03-11  André Pönitz  <poenitz@gmx.net>
1280
1281         * buffer.[Ch]: use InsetText instead of LyXText as container for
1282         the main lyx text.
1283
1284         * dociterator.[Ch]: drop the BufferView * member which is not needed
1285         anymore after the change to buffer.C
1286
1287         * paragraph_funcs.C:
1288         * text.C:
1289         * text2.C:
1290         * BufferView.[Ch]:
1291         * BufferView_pimpl.[Ch]:
1292         * cursor.[Ch]:
1293         * cursor_slice.[Ch]: adjust
1294
1295         * text3.C: fix bug in mathDispatch
1296
1297 2004-03-08  André Pönitz  <poenitz@gmx.net>
1298
1299         * undo.[Ch]: use 'StableDocumentIterator' as base for
1300         the Undo struct.
1301
1302 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1303
1304         * LaTeXFeatures.C:
1305         * bufferparams.[Ch]: add jurabib support and param.
1306
1307         * LaTeX.C: add FIXME/comment.
1308
1309 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1310
1311         * buffer.C: increment file format to 230.
1312
1313 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * cursor.C (dispatch): avoid infinite loops
1316
1317 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1318
1319         * rowpainter.C (paintSelection): fix x coordinates
1320
1321 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * text.C (rowBreakPoint): fix breaking before displayed insets
1324
1325 2004-03-01  André Pönitz  <poenitz@gmx.net>
1326
1327         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1328
1329         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1330
1331         * Makefile.am:
1332         * BufferView.C:
1333         * BufferView_pimpl.C:
1334         * buffer.C:
1335         * lyxfind.C:
1336         * lyxfunc.C:
1337         * text.C:
1338         * text2.C:
1339         * text3.C: adjust
1340
1341 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * lyxtext.h:
1344         * text.C:
1345         * text2.C:
1346         * rowpainter.C:
1347         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1348         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1349
1350 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * Bidi.[Ch] (computeTables): const correctness
1353         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1354         fill_hfill, fill_label_hfill and x from Row
1355         * lyxtext.h: prepareToPrint returns a RowMetrics
1356         * rowPainter.C: adjust
1357         * text.C (prepareToPrint): use width, not textWidth. adjust
1358         (redoParagraphInternal, cursorX): adjust
1359         * text2.C (getColumnNearX): adjust
1360         (init): put a default value to the top LyXText::width
1361
1362 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1363
1364         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1365
1366 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1367
1368         * lyxtext.h: add FontIterator class
1369
1370         * text.C (FontIterator, operator*, operator->, operator++): add
1371         (rowBreakPoint, setRowWidth): adjust (fixing a
1372         rebreaking bug)
1373
1374 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1375
1376         * BufferView_pimpl.C (workAreaDispatch): allow also
1377         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1378
1379 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * text.C (rowBreakPoint): fix a bug showing with very large insets
1382
1383 2004-02-25  André Pönitz  <poenitz@gmx.net>
1384
1385         * text3.C:
1386         * cursor.[Ch]: move some mathed specific code to mathed
1387
1388 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1389
1390         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1391         use_tempdir in preferences
1392         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1393         tempfile creation
1394         * lyx_main.C: ensure that tempdir is valid
1395         * lyxlex.h: correct typo
1396         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1397         * paragraph.[Ch] (isMultiLingual): make const
1398         * cursor.[Ch] (openable): make const
1399
1400 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1401
1402         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1403
1404 2004-02-20  André Pönitz  <poenitz@gmx.net>
1405
1406         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1407
1408         * cursor.[Ch]: prepare for localized getStatus()
1409
1410         * lyxtext.h:
1411         * tabular.C:
1412         * text.C:
1413         * text2.C:
1414         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1415
1416 2004-02-20  André Pönitz  <poenitz@gmx.net>
1417
1418         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1419
1420 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * text2.C (setCursorFromCoordinates): switch to absolute coords
1423         (cursorUp): adjust
1424         (cursorDown): adjust
1425         * text3.C (dispatch): adjust
1426
1427 2004-02-16  André Pönitz  <poenitz@gmx.net>
1428
1429         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1430           insets/ChangeLog)
1431
1432         * cursor_slice.[Ch]: remove unneeded acessor function
1433
1434         * lyxtext.h: rename rtl() to isRTL()
1435
1436         * rowpainter.C:
1437         * tabular.C:
1438         * text.C:
1439         * text2.C:
1440         * text3.C: adjust
1441
1442 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * rowpainter.C (paintSelection): coord fix
1445
1446 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1447
1448         * Spacing.C: compile fix
1449
1450 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * cursor.C (dispatch): restore current_ before returning
1453
1454 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1455
1456         * text2.C (cursorUp, cursorDown): fix coords
1457         (moveUp): fix crash
1458
1459 2004-02-12  André Pönitz  <poenitz@gmx.net>
1460
1461         * lyxtext.h:
1462         * text.C:
1463         * text2.C:
1464         * text3.C: add LCursor & parameter to most cursor movement functions
1465           remove usage of LyXText::cursorRow() and cursorPar()
1466
1467         * cursor.[Ch]: add textRow() needed members
1468
1469         * BufferView.C:
1470         * BufferView_pimpl.C:
1471         * paragraph.[Ch]:
1472         * BufferView.C:
1473         * BufferView_pimpl.C: adjust
1474
1475 2004-02-11  André Pönitz  <poenitz@gmx.net>
1476
1477         * lyxfunc.C:
1478         * BufferView.[Ch]:
1479         * BufferView_pimpl.C: shift undo/redo handling
1480
1481         * cursor.[Ch]: fix mathed crash
1482
1483         * lyxfind.C:
1484         * lyxtext.h: move selectionAsText to LCursor
1485
1486         * output_latex.C:
1487         * paragraph.C:
1488         * text.C:
1489         * text2.C:
1490         * text3.C: adjust
1491
1492         * rowpainter.C: fix excessive drawing
1493
1494 2004-02-06  André Pönitz  <poenitz@gmx.net>
1495
1496         * BufferView.[Ch]:
1497         * BufferView_pimpl.[Ch]:
1498         * text3.C: move some text specific LFUN handling
1499
1500 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * text3.C (checkInsetHit): adjust coords
1503         * text2.C (getColumnNearX): adjust coords
1504         (edit): adjust coords
1505         * text.C (getRowNearY): add two asserts
1506
1507 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1508
1509         * converter.C:
1510         * format.C: add using std::distance to compile on gcc 2.95/stlport
1511
1512 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1513
1514         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1515
1516 2004-02-04  André Pönitz  <poenitz@gmx.net>
1517
1518         * BufferView.[Ch] (insertInset):
1519         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1520
1521         * text2.C:
1522         * text3.C: adjust
1523
1524 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1527         on the default clause of the switch
1528         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1529         wasn't catched by LCursor::dispatch
1530
1531 2004-02-03  André Pönitz  <poenitz@gmx.net>
1532
1533         * BufferView.C:
1534         * cursor.[Ch]: some additional asserts
1535
1536         * undo.[Ch]: remove LyXText dependency in interface
1537
1538         * lyxfunc.C: adjust
1539
1540         * lyxtext.h (firstPar, lastPar): remove dead functions
1541
1542         * text.C:
1543         * text2.C:
1544         * text3.C:
1545         * paragraph.[Ch]: adjust
1546
1547 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * lyxfind.C (find): fix argument order in call to ::find
1550
1551 2004-02-02  André Pönitz  <poenitz@gmx.net>
1552
1553         * cursor.[Ch]: remove direct access to anchor
1554
1555         * text.C: remove findText() hack
1556
1557 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * iterators.[Ch] (lockPath): remove in favour of...
1560         * BufferView.[Ch] (setCursor): this addition
1561         * BufferView.C (putSelectionAt): adjust
1562         * undo.C (performUndoOrRedo): adjust
1563         * lyxfunc.C (dispatch): adjust
1564
1565 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * iterators.C (lockPath): add a missing slice
1568         * undo.C (performUndoOrRedo): remove redundant positioning code
1569
1570 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1571
1572         * vc-backend.C (scanMaster): ";" -> ';'
1573
1574 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1575
1576         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1577         std::binary_function
1578
1579         * lyxtextclass.C (compare_name): rename to...
1580         (LayoutNamesEqual): ...this
1581
1582         * lyxlex_pimpl.C (compare_tags): inherit from
1583         std::binary_function, put back into anon namespace
1584
1585         * lyxfind.C (MatchString): inherig from std::binary_function
1586         (findChange): use empty() istead of !size()
1587
1588         * format.C (FormatNamesEqual): new functor
1589         (getFormat): use it
1590         (getNumber): use it
1591         (add): use it
1592         (erase): use it
1593         (setViewer): use it
1594
1595         * converter.C (compare_Converter): rename to...
1596         (ConverterEqual): ...this, and fixup a bit.
1597         (getConverter): use it, and make function const
1598         (getNumber): use it, and make function const
1599         (add): use it
1600         (erase): use it:
1601
1602         * bufferlist.C: add using boost::bind
1603
1604         * MenuBackend.C (MenuNamesEqual): new functor
1605         (hasMenu): use it, and make function const
1606         (hasSubmenu): use nested bind to get rid of compare_memfun.
1607
1608 2004-01-30  André Pönitz  <poenitz@gmx.net>
1609
1610         * BufferView_pimpl.C:
1611         * cursor.C:
1612         * cursor.h:
1613         * cursor_slice.[Ch]:
1614         * lyxfunc.C:
1615         * lyxtext.h:
1616         * paragraph_funcs.C:
1617         * paragraph_funcs.h:
1618         * rowpainter.C:
1619         * text.C:
1620         * text2.C:
1621         * text3.C: move some of the edit(x,y) handling to the insets
1622         some coordinate changes.
1623
1624 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1625
1626         * text.C: add using statements for std::advance and std::distance
1627
1628         * paragraph.C: add using statement for std::distance
1629
1630         * lyxfind.C: add using statement for std::advance
1631
1632         * cursor.C (region): remove std:: from swap
1633         (openable): use nucleus in stead of operator->
1634
1635         * BufferView.C: add using statements for std::distance and std::swap
1636
1637 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1638
1639         * iterators.C: Remove the pimple, move the needed structures to
1640         the header file. Create accessor for the positions stack.
1641         (asPosIterator): remove function
1642
1643         * PosIterator.C (PosIterator): move constructors to top of file
1644         (PosIterator): reimplement the constructor taking a ParIterator in
1645         terms of setFrom.
1646         (setFrom): new function
1647         (operator!=): inline it
1648
1649 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1650
1651         * lyxfind.C (replaceAll): use std::advance
1652
1653         * iterators.h: inherit from std::iterator.
1654
1655         * PosIterator.C (advance, distance): remove
1656         * PosIterator.h: interit from std::iterator.
1657
1658 2004-01-26  André Pönitz  <poenitz@gmx.net>
1659
1660         * BufferView.[Ch]:
1661         * BufferView_pimpl.[Ch]:
1662         * InsetList.[Ch]:
1663         * PosIterator.[Ch]:
1664         * buffer.h:
1665         * bufferview_funcs.C:
1666         * cursor.[Ch]:
1667         * cursor_slice.h:
1668         * factory.[Ch]:
1669         * iterators.[Ch]:
1670         * lyxfind.C:
1671         * lyxfunc.C:
1672         * lyxtext.h:
1673         * output_docbook.C:
1674         * output_latex.C:
1675         * output_linuxdoc.C:
1676         * output_plaintext.C:
1677         * paragraph.[Ch]:
1678         * paragraph_funcs.[Ch]:
1679         * paragraph_pimpl.[Ch]:
1680         * rowpainter.C:
1681         * tabular.C:
1682         * tabular.h:
1683         * text.C:
1684         * text2.C:
1685         * text3.C: more IU:  dumps most of the rest of the mathcursor
1686     implementation into cursor.[Ch]; "globalize" a bit of it.
1687
1688 2004-01-25  Angus Leeming  <leeming@lyx.org>
1689
1690         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1691
1692 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1693
1694         * LaTeXFeatures.h: add nice_ and nice() const
1695         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1696
1697 2004-01-20  André Pönitz  <poenitz@gmx.net>
1698
1699         * BufferView.[Ch]:
1700         * BufferView_pimpl.C:
1701         * PosIterator.C:
1702         * bufferview_funcs.C:
1703         * cursor.[Ch]:
1704         * cursor_slice.[Ch]:
1705         * factory.C:
1706         * iterators.C:
1707         * lyx_cb.C:
1708         * lyxfind.C:
1709         * lyxfunc.C:
1710         * lyxtext.h:
1711         * rowpainter.C:
1712         * text.C:
1713         * text2.C:
1714         * text3.C:
1715         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1716           LCursor and mathcursor parts to LCursor and InsetBase.
1717
1718 2004-01-15  André Pönitz  <poenitz@gmx.net>
1719
1720         * cursor_slice.[Ch]: add a few covienience functions
1721
1722         * funcrequest.[Ch]: remove BufferView * member
1723
1724         * BufferView_pimpl.C:
1725         * cursor.C:
1726         * factory.[Ch]:
1727         * lyxfind.[Ch]:
1728         * lyxfunc.C:
1729         * lyxtext.h:
1730         * text3.C:
1731         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1732
1733 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1734
1735         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1736         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1737
1738 2004-01-13  André Pönitz  <poenitz@gmx.net>
1739
1740         * textcursor.[Ch]:
1741         * lyxtext.h: hide cursor and selection anchor behind accessor function
1742
1743         * BufferView.C:
1744         * BufferView_pimpl.[Ch]:
1745         * PosIterator.C:
1746         * bufferview_funcs.C:
1747         * cursor.h:
1748         * lyxfind.C:
1749         * lyxfunc.C:
1750         * text.C:
1751         * text2.C:
1752         * text3.C:
1753         * undo.C: adjust
1754
1755         * cursor.h:
1756         * cursor_slice.[Ch]: some integer type changes for inset unification
1757
1758         * lyxcursor.[hC]: remove, it's CursorSlice now.
1759
1760         * Makefile.am:
1761         * BufferView_pimpl.[Ch]:
1762         * bufferview_funcs.C:
1763         * cursor_slice.C:
1764         * lyxtext.h:
1765         * text.C:
1766         * text2.C:
1767         * text3.C:
1768         * textcursor.[Ch]: adjust
1769
1770 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1771
1772         * text2.C (undoSpan): add and use
1773         * text.C (breakParagraph): use undoSpan (fix bug 578)
1774         * lyxtext.h: adjust
1775
1776 2004-01-08  Angus Leeming  <leeming@lyx.org>
1777
1778         * BufferView_pimpl.C (MenuInsertLyXFile):
1779         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1780         * lyxfunc.C (menuNew, open, doImport):
1781         FileFilterList change to the FileDialog open and save functions.
1782
1783 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1784
1785         * ShareContainer.h: make isEqual and isUnique adaptable
1786
1787         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1788
1789 2004-01-07  Angus Leeming  <leeming@lyx.org>
1790
1791         * LyXAction.C:
1792         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1793
1794         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1795
1796         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1797         functions replacing find, replace and replaceAll.
1798
1799         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1800         LFUN_WORDFIND(FORWARD|BACKWARD).
1801
1802 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * text.C (breakParagraph): remove an outdated #warning
1805
1806 2004-01-07  André Pönitz  <poenitz@gmx.net>
1807
1808         * lyxfind.C: somewhat clearer logic
1809
1810         * text.C: prevent crash in cursorX on unitialized row cache
1811
1812 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * lyxcursor.[Ch] (operator>): add
1815         * textcursor.C (selStart, selEnd): use std::min and std::max
1816
1817 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1818
1819         * Chktex.C: include boost/format.hpp
1820
1821 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1822
1823         * InsetList.C: replace functor MathcIt with adaptable functor
1824         InsetTablePosLess
1825         (insetIterator): modify accordingly
1826
1827         * BranchList.h: move the BranchNamesEqual functor here from...
1828         * BranchList.C: ... to here
1829
1830         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1831         SameName and match.
1832         (add): replace a finding loop with std::find_if.
1833
1834 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1835
1836         * output_docbook.C: moving LatexParam functionality into
1837         .layout files
1838
1839 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1840
1841         * buffer.C: increment format to 229.
1842
1843 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1844
1845         * LaTeXFeatures.C:
1846         * lyx_sty.[Ch]: remove minipageindent_def
1847
1848         * LyXAction.C:
1849         * factory.C:
1850         * lfuns.h:
1851         * lyxfunc.C:
1852         * text3.C: remove LFUN_INSET_MINIPAGE
1853
1854 2003-12-28  Angus Leeming  <leeming@lyx.org>
1855
1856         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1857
1858 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1859
1860         * text2.C (setParagraph): fix off-by-one crash
1861
1862 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1863
1864         * output_docbook.C: header stuff for AGU
1865
1866 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1867
1868         * text2.C (redoCursor): remove
1869         * text.C:
1870         * text3.C:
1871         * BufferView_pimpl.C: remove calls to redoCursor and
1872         setCursor(cursor.par(), cursor.pos()) all around
1873
1874 2003-12-15  Angus Leeming  <leeming@lyx.org>
1875
1876         * buffer.C: up the format to 228.
1877
1878 2003-12-15  André Pönitz  <poenitz@gmx.net>
1879
1880         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1881         slices
1882
1883         * Makefile.am:
1884
1885         * BufferView_pimpl.C:
1886         * cursor.[Ch]:
1887         * lyxcursor.[Ch]:
1888         * rowpainter.[Ch]:
1889         * lyxtext.h:
1890         * text.C:
1891         * text2.C:
1892         * text3.C: adjust
1893
1894 2003-12-15  Angus Leeming  <leeming@lyx.org>
1895
1896         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1897         than getFromGUIName to manipulate the color.
1898
1899 2003-12-14  Angus Leeming  <leeming@lyx.org>
1900
1901         * BranchList.[Ch]: minimize the API.
1902         (Branch::getBranch, getColor): now return a 'const &'.
1903         (Branch::setSelected) now returns a bool set to true if the
1904         selection status changes.
1905         (BranchList::clear, size, getColor, setColor, setSelected,
1906         allBranches, allSelected, separator): removed.
1907         (BranchList::find): new functions, returning the Branch with
1908         the given name.
1909         (BranchList::add, remove): return a bool indicating that
1910         the operation was successful.
1911
1912         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1913         new InsetBranch::isBranchSlected member function.
1914
1915         * LColor.[Ch]: mimimize the API.
1916         (fill): renamed as addColor and made private.
1917         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1918         versions of these functions taking a string arg have been removed.
1919
1920         * bufferparams.C (readToken):
1921         * lyxfunc.C (dispatch):
1922         * lyxrc.C (read): changes due to the altered BranchList and
1923         LColor APIs.
1924
1925         * factory.C (createInset, readInset): changes due to altered
1926         InsetBranch c-tor.
1927
1928 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1929
1930         * factory.C:
1931         * lyxfunc.C: remove insetminipage. "minipage-insert"
1932         now produces a frameless minipage box inset.
1933
1934 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * textcursor.[Ch] (selStart,selEnd): add new methods
1937         remove selection::start, end, use LyXCursor::operator<
1938         * lyxcursor.[Ch] (operator<): add
1939         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1940         * BufferView.[Ch] (unsetXSel): add
1941         * text2.C (clearSelection): use unsetXSel,adjust
1942         * text.C: adjust
1943         * text3.C: adjust
1944         * rowpainter.C: adjust
1945         * bufferview_funcs.C (put_selection_at): adjust
1946
1947 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * BufferView_pimpl.C: small coord. correction
1950
1951 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1952
1953         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1954         dragging over the splash screen.
1955
1956 2003-12-11  Angus Leeming  <leeming@lyx.org>
1957
1958         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1959         as it is now handled in LyXText::dispatch.
1960
1961         * text3.C (doInsertInset): remove a level of nesting.
1962
1963 2003-12-11  Angus Leeming  <leeming@lyx.org>
1964
1965         * factory.C (createInset): changes due to the changed interface to
1966         InsetCommandMailer::string2params.
1967
1968 2003-12-10  Angus Leeming  <leeming@lyx.org>
1969
1970         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1971         'dialog-show-new-inset <inset name>'
1972
1973 2003-12-10  Angus Leeming  <leeming@lyx.org>
1974
1975         * buffer.C: up the format to 227.
1976
1977         * factory.C: the box inset is now identified simply by 'Box'.
1978
1979 2003-12-10  Angus Leeming  <leeming@lyx.org>
1980
1981         * buffer.C: up the format to 226.
1982
1983         * factory.C: the note inset is now identified simply by 'Note'.
1984
1985 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1986
1987         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1988         when a pit is enough. Standarize a couple of loops.
1989
1990 2003-12-05  Angus Leeming  <leeming@lyx.org>
1991
1992         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1993         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1994         data to the re-worked "log" dialog.
1995
1996 2003-12-03  André Pönitz  <poenitz@gmx.net>
1997
1998         * PosIterator.C:
1999         * iterators.C:
2000         * lyxtext.h:
2001         * output_latex.C:
2002         * paragraph_funcs.C:
2003         * text.C:
2004         * text2.C: use Inset::getText instead of Inset::getParagraph
2005
2006 2003-12-03  André Pönitz  <poenitz@gmx.net>
2007
2008         * buffer.[Ch]:
2009         * lyxtext.h:
2010         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2011         InsetText::read() as LyXText::read()
2012
2013 2003-12-02  Angus Leeming  <leeming@lyx.org>
2014
2015         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2016         type. Add a comment in the implementation that the function uses
2017         the stream's bad() function rather than fail() as the std::streams
2018         would do.
2019
2020 2003-12-02  André Pönitz  <poenitz@gmx.net>
2021
2022         * lyxlex.[Ch]: make interface more similar to std::stream
2023
2024         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2025
2026 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2027
2028         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2029
2030 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2031
2032         * vspace.[Ch]: remove VSpace::NONE
2033
2034 2003-12-01  André Pönitz  <poenitz@gmx.net>
2035
2036         * buffer.[Ch]:
2037         * lyxtext.h: move ParagraphList member to LyXText
2038         rename LyXText::ownerParagraphs to LyXText::paragraph
2039
2040         * CutAndPaste.C:
2041         * bufferview_funcs.C:
2042         * iterators.[Ch]:
2043         * lyx_cb.C:
2044         * paragraph.C:
2045         * rowpainter.C:
2046         * tabular.C:
2047         * text.C:
2048         * text2.C:
2049         * text3.C: adjust
2050
2051         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2052
2053         * undo.C: fix cursor positioning
2054
2055 2003-12-01  John Levon  <levon@movementarian.org>
2056
2057         * BufferView_pimpl.C: fix a crash on exit with
2058         a buffer open
2059
2060 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * BranchList.C: fix setSelected() method.
2063
2064 2003-11-28  André Pönitz  <poenitz@gmx.net>
2065
2066         * ParagraphParameters.[Ch]:
2067         * ParameterStruct.h: remove space above/below from Paragraph to
2068          InsetVSpace
2069
2070         * BufferView_pimpl.C:
2071         * factory.C:
2072         * lyxfunc.C:
2073         * lyxtext.h:
2074         * output_latex.C:
2075         * paragraph.C:
2076         * paragraph_funcs.C:
2077         * rowpainter.[Ch]:
2078         * text.C:
2079         * text2.C:
2080         * text3.C: adjust
2081
2082 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * factory.C: Syntax change for CharStyles
2085
2086 2003-11-28  André Pönitz  <poenitz@gmx.net>
2087
2088         * BufferView.[Ch]:
2089         * BufferView.[Ch]:
2090         * buffer.[Ch]:
2091         * buffer.[Ch]: move LyXText member
2092
2093 2003-11-28  André Pönitz  <poenitz@gmx.net>
2094
2095         * BufferView.[Ch]: make LyXText * text a private member
2096
2097         * BufferView_pimpl.C:
2098         * cursor.C:
2099         * iterators.C:
2100         * lyx_cb.C:
2101         * lyxfind.C:
2102         * lyxtext.h:
2103         * rowpainter.[Ch]:
2104         * text.C:
2105         * text2.C:
2106         * undo.C: adjust
2107
2108         * output_plaintext.C: cleanup
2109
2110 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * buffer.C:
2113         * lyxtextclass.[Ch]: parametrize SGML document header
2114
2115 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2116
2117         * converter.[Ch]:
2118         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2119         getFlavor().
2120
2121 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * text2.C (setFont): rework using PosIterator (no more recursive)
2124         (setCharFont): no more needed
2125         (setLayout): no more selection cursors fiddling (done by redoCursor)
2126         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2127         destroy remaining ones)
2128
2129 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2132         * lyxtext.h: ditto
2133         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2134         selection cursors
2135         * lyxfunc.C: adjust
2136         * text3.C: adjust + re-allow multi par depth changes
2137         * textcursor.C: simplify a bit
2138
2139 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2140
2141         * src/buffer.C:
2142         * src/lyxlayout.C:
2143         * src/lyxlayout.h:
2144         * src/lyxtext.h:
2145         * src/output_docbook.C:
2146         * src/output_latex.C:
2147         * src/paragraph.C:
2148         * src/paragraph.h:
2149         * src/sgml.C:
2150         * src/sgml.h:
2151         * src/text2.C: Introducing a number of tags parametrizing various
2152         XML formats that we may want to support
2153
2154 2003-11-25  André Pönitz  <poenitz@gmx.net>
2155
2156         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2157
2158         * lyxtext.h (leftMargin/rightMargin): simplify interface
2159
2160         * rowpainter.C:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: adjust
2164
2165 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2166
2167         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2168         master file to any child files. Fixes bug 546.
2169
2170 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2173
2174 2003-11-24  André Pönitz  <poenitz@gmx.net>
2175
2176         * rowpainter.C: simplification
2177
2178         * text2.C (updateCounters): remove call to redoParagraph on
2179         changed labels as this is far too expensive.
2180
2181 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * converter.C (convert): fix a crash: this function gets
2184         called with buffer == 0 from importer code.
2185
2186 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2187
2188         * text3.C (cursorPrevious): make sure that we do not compare
2189         iterators form different containers.
2190         (cursorNext): ditto
2191
2192         * rowpainter.C (paintSelection): make sure that we do not compare
2193         iterators from different containers.
2194
2195         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2196         iterators from different ParagraphList containers.
2197         [NEXT] ditto
2198
2199         * text2.C (LyXText): change order of initialization slightly
2200         (operator=): new function. copy all variables except cache_par_
2201         (moveUp): make sure that we do not compare iterators from
2202         different ParagraphList constainers.
2203         (moveDown): ditto
2204
2205         * text.C (firstPar): new function
2206         (lastPar): new function
2207         (endPar): new function
2208
2209         * lyxtext.h: move things around and group public functions, public
2210         variables, private functions, private variables
2211
2212 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2213
2214         * factory.C: change call to InsetERT constructor to avoid
2215         additional invocation of method status
2216         * text2.C (toggleInset): remove redundant update() call
2217         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2218         instead of a Bufferview pointer
2219
2220 2003-11-21  André Pönitz  <poenitz@gmx.net>
2221
2222         * rowpainter.C: simplification
2223
2224 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * text3.C (dispatch): make possible to extend a word/row selection
2227         with the mouse
2228
2229 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * lyxtext.h: x0_,y0_ -> xo_,yo_
2232         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2233         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2234         * rowpainter.C (paintRows): paint full paragraphs
2235
2236 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2239         screen coordinates)
2240
2241 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * lyxtext.h: add x0_, y0_
2244         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2245         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2246
2247 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2248
2249         * text2.C (setCursorIntern): move the x_target update here *
2250         * text3.C: change some bv() to true/false in calls to
2251         cursorUp/Down/Right/Left
2252         * cursor.C: use helper function.
2253
2254 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2257         * paragraph_funcs.[Ch]: correct comment
2258         * rowpainter.C: do not paint selections away from bv->cursor()
2259         Fix a long standing selection painting bug.
2260         * text3.C: generalize mouse-selection code to LyXTexts other that
2261         top one
2262         * textcursor.C: do not use y coords if we can use par offsets
2263
2264 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2267         cursor position after e.g. inset insert)
2268
2269 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * lyxfind.C (replace): adjust to locking removal + some
2272         code simplification
2273
2274 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2275
2276         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2277         of the path
2278
2279 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2280
2281         * lyxlayout.[Ch]:
2282         * output_docbook.C: XML sanitation: new layout
2283         parameters InnerTag and CommandDepth
2284
2285 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2286
2287         * BufferView_pimpl.C:
2288         * factory.C:
2289         * text3.C: Fix the insertion and modification of button-style
2290         insets
2291
2292 2003-11-13  André Pönitz  <poenitz@gmx.net>
2293
2294         * InsetList.[Ch]: remove deleteLyXText
2295
2296         * paragraph.[Ch]: cache beginOfBody position
2297
2298         * Bidi.C:
2299         * text.C:
2300         * text2.C:
2301         * text3.C: remove superfluous update() calls
2302
2303         * vspace.C: cleanup
2304
2305 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2308         * BufferView.C (fitLockedInsetCursor): remove
2309         * cursor.[Ch] (getDim): add
2310         * text.C (getRowNearY): add faster version
2311         * text3.C: remove some update calls
2312
2313 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2314
2315         * LaTeXFeatures.C:
2316         * LyXAction.C:
2317         * MenuBackend.C:
2318         * MenuBackend.h:
2319         * dispatchresult.h:
2320         * factory.C:
2321         * lfuns.h:
2322         * lyxfunc.C:
2323         * lyxtextclass.C:
2324         * lyxtextclass.h:
2325         * text3.C: The Character Style /XML short element patch.
2326
2327 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * text3.C:
2330         * factory.C: Small step to solving 'unable to insert some insets'
2331         problem
2332
2333 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * cursor.[Ch] (updatePos): new function for updating the y
2336         position of the tip inset
2337         * bufferview_funcs.C (put_selection_at):
2338         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2339
2340 2003-11-11  André Pönitz  <poenitz@gmx.net>
2341
2342         * text.C: remove big comment on invalid Paragraph pointers as it is
2343         not valid anymore
2344
2345 2003-11-11  André Pönitz  <poenitz@gmx.net>
2346
2347         * text_funcs.[Ch]: merge with ...
2348
2349         * text.C: ... this
2350
2351         * lyxtext.h:
2352         * text2.C:
2353         * text3.C: adjust
2354
2355         * Makefile.am: remove text_funcs.[Ch]
2356
2357 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2358
2359         * cursor.C (getPos): return absolute cached y coord
2360
2361         * BufferView_pimpl.C (fitCursor): new simplistic code
2362         (workAreaDispatch): add a fitCursor call
2363
2364 2003-11-10  André Pönitz  <poenitz@gmx.net>
2365
2366         * BufferView.[Ch]:
2367         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2368
2369 2003-11-10  André Pönitz  <poenitz@gmx.net>
2370
2371         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2372         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2373         indicate that the cursor needs to leave an inset
2374
2375         * lyxtext.h: remove inset locking
2376
2377         * cursor.[Ch]: re-implement functionality provided by inset locking
2378
2379         * BufferView.[Ch]:
2380         * BufferView_pimpl.[Ch]:
2381         * LyXAction.C:
2382         * bufferview_funcs.[Ch]:
2383         * factory.C:
2384         * funcrequest.[Ch]:
2385         * iterators.C:
2386         * lyx_cb.C:
2387         * lyxfind.C:
2388         * lyxfunc.C:
2389         * text.C:
2390         * text2.C:
2391         * text3.C:
2392         * undo.C: adjust
2393
2394 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2395
2396         * PosIterator.[Ch]: replace the stack with a vector, add inset
2397         accesor
2398         * iterators.[C]: adjust
2399
2400 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2401
2402         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2403         replaced
2404         * paragraph_funcs.C (readParToken): put the correct id in the
2405         error item, not the id of the top paragraph
2406
2407 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2408
2409         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2410         * bufferview_funcs.C (put_selection_at): use the above
2411
2412 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2415
2416 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * output_linuxdoc.h:
2419         * output_plaintext.h:
2420         * output.h:
2421         * output_docbook.h: add #include statements
2422
2423 2003-11-05  José Matos  <jamatos@lyx.org>
2424
2425         * output_docbook.[Ch]:
2426         * output_latex.[Ch]:
2427         * output_linuxdoc.[Ch]:
2428         * output_plaintext.[Ch]: New files for output formats.
2429         * output.[Ch]: New file for helper functions.
2430
2431         * buffer.[Ch]:
2432         * paragraph_funcs.[Ch]: output functions moved to new files.
2433
2434         * outputparams.h: rename of latexrunparams.h
2435
2436         * LaTeX.[Ch]:
2437         * buffer.[Ch]:
2438         * bufferlist.[Ch]:
2439         * converter.[Ch]:
2440         * exporter.C:
2441         * paragraph.[Ch]:
2442         * paragraph_funcs.[Ch]:
2443         * paragraph_pimpl.[Ch]:
2444         * tabular.[Ch]: rename ascii to plaintext
2445         and LatexRunParams to OutputParams.
2446
2447 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * iterators.[Ch] (text): require bv argument
2450         * undo.C (recordUndo):
2451         * lyxfunc.C (dispatch):
2452         * bufferview_funcs.C (put_selection_at): adjust
2453
2454 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2455
2456         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2457
2458 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2459
2460         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2461         nestings
2462
2463 2003-11-04  André Pönitz  <poenitz@gmx.net>
2464
2465         * cursor.[Ch]: restructure
2466
2467         * BufferView.[Ch]:
2468         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2469
2470         * iterators.[Ch] (asCursor): remove
2471
2472         * lfuns.h: remove LFUN_INSET_EDIT
2473
2474         * lyxfunc.C:
2475         * tabular.C:
2476         * text.C:
2477         * text2.C:
2478         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2479
2480 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * lyxfind.[Ch]: complete overhaul
2483         * BufferView_pimpl.C:
2484         * lyxfunc.C: adjust
2485         * paragraph.[Ch] (insert): add
2486
2487 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2488
2489         * BufferView.[Ch]:
2490         * lyxtext.h:
2491         * text.C: remove dead spellcheck code
2492
2493 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * dispatchresult.h: add a val setter
2496
2497         * cursor.C (dispatch): use a tempvar for data_[i]
2498
2499 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2500
2501         * PosIterator.[Ch]: compile fix
2502
2503 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2504
2505         * text.C (cursorPar): deactivate the cursor cache
2506
2507 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2508
2509         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2510
2511 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * text3.C (dispatch): adjust for new DisptchResult semantics.
2514
2515         * lyxfunc.C (dispatch): handle update when return from
2516         Cursor::dispatch, adjust for new DispatchResult semantics.
2517
2518         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2519         DispatchResult(true) mean to not update. Add class functions for
2520         setting dispatched and update, as well as reading.
2521
2522         * cursor.C (dispatch): don't handle update here
2523
2524 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2525
2526         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2527         * trans_mgr.C: adjust
2528
2529         * paragraph_funcs.C (readParToken): exception safety
2530
2531         * lyxvc.h: store the vcs pointer in a scoped_ptr
2532         * lyxvc.C: adjust
2533
2534         * lyxsocket.C (serverCallback): exception safety
2535
2536         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2537
2538         * ispell.C (clone): make it return a auto_ptr
2539
2540         * factory.C (createInset): exception safety
2541         (readInset): exception safety
2542
2543         * bufferlist.C (newBuffer): exception safety
2544
2545         * Thesaurus.C (Thesaurus): use initialization for aik_
2546
2547         * MenuBackend.C (expandToc): exception safety.
2548
2549 2003-11-03  André Pönitz  <poenitz@gmx.net>
2550
2551         * buffer.C:
2552         * buffer.h:
2553         * bufferview_funcs.C: remove getInsetFromId()
2554
2555         * lyxcursor.[Ch]:
2556         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2557
2558         * lyxfunc.C:
2559         * text2.C:
2560         * text3.C: adjust
2561
2562 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2563
2564         * PosIterator.C (distance, advance): new
2565         * bufferview_funcs.[Ch] (put_selection_at): new
2566         * iterators.[Ch] (lockPath): new
2567
2568 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2569
2570         * iterators.[Ch] (asPosIterator): added
2571         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2572         * PosIterator.[Ch]: added
2573
2574 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * text3.C:
2577         * lyxfunc.C:
2578         * cursor.C (dispatch):
2579         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2580
2581         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2582         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2583         contructor, add a class function dispatched. Remove operator>=
2584
2585 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * debug.C: only use the default constructor for debugstream
2588         (lyxerr) here.
2589
2590         * main.C (main): include debug.h and setup the lyxerr streambuf
2591         here.
2592
2593 2003-10-31  José Matos  <jamatos@lyx.org>
2594
2595         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2596
2597         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2598         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2599         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2600         * paragraph_pimpl.C (simpleTeXSpecialC):
2601         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2602         add LatexRunParams argument.
2603
2604         * exporter.C (Export): change call accordingly.
2605
2606         * latexrunparams.h: add new member to take care of the other backends.
2607 2003-10-30  José Matos  <jamatos@lyx.org>
2608
2609         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2610         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2611         factorise code for paragraph output.
2612         * buffer.[Ch]:
2613         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2614         move functions.
2615
2616 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * text3.C (dispatch):
2619         * lyxfunc.C (dispatch):
2620         * cursor.C (dispatch):
2621         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2622
2623         * dispatchresult.h: make the dispatch_result_t ctor explicit
2624
2625 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2626
2627         * sgml.[Ch]:
2628         * buffer.C: small refactoring of docbook stuff
2629
2630 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2633         meaning.
2634
2635 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2638         operator dispatch_result_t, and operators for == != and >=
2639
2640         * cursor.C (dispatch): adjust for operator dispatch_result_t
2641         removal. comment out call to update
2642
2643         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2644
2645 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * text3.C:
2648         * text2.C:
2649         * text.C:
2650         * lyxtext.h:
2651         * lyxfunc.C:
2652         * cursor.C:
2653         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2654         (dispatch):
2655
2656         * dispatchresult.h: new file, DispatchResult broken out of
2657         insets/insetbase.h
2658
2659         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2660
2661 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2662
2663         * text.C (rowBreakPoint): put a hack inside #if 0
2664
2665 2003-10-28  André Pönitz  <poenitz@gmx.net>
2666
2667         * lyxtext.h:
2668         * metricsinfo.C:
2669         * paragraph_funcs.C:
2670         * rowpainter.C:
2671         * text.C:
2672         * text2.C: general cleanup (lots of small stuff)
2673
2674 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2675
2676         * text2.C (cursorEnd): simple fix to the "end key goes to one
2677         before the end on last row" bug
2678
2679 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * text.C (backspace): fix the "zombie characters"
2682
2683 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2686
2687 2003-10-27  André Pönitz  <poenitz@gmx.net>
2688
2689         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2690
2691         * factory.C: handle new InsetPagebreak, InsetLine
2692
2693         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2694         and move handling into new InsetPagebreak, InsetLine
2695
2696         * BufferView_pimpl.C:
2697         * LyXAction.C:
2698         * ParagraphParameters.C:
2699         * ParameterStruct.h:
2700         * lyxfunc.C:
2701         * lyxtext.h:
2702         * paragraph.C:
2703         * paragraph.h:
2704         * paragraph_funcs.C:
2705         * paragraph_pimpl.C:
2706         * rowpainter.C:
2707         * text.C:
2708         * text2.C:
2709         * text3.C: adjust
2710
2711 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * text.C:
2714         * lyxrow_funcs.[Ch]:
2715         * Bidi.C:
2716         * paragraph.C:
2717         * lyxtext.h:
2718         * rowpainter.C:
2719         * text2.C:
2720         * text3.C: remove lastPos uses in favour of Row::endpos
2721
2722 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * undo.C (performUndoOrRedo): fix two crashes by setting a
2725         cursor by hand and reordering some calls. Use bv->lockInset instead
2726         of inset->edit because the latter loses cursor information
2727
2728 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2731         by Martin
2732         (rowBreakPoint): fix width. change point to point + 1.
2733         Add a missing check.
2734
2735 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2736
2737         * MenuBackend.C:
2738         * lyxfunc.C: fix (at least partly) the problems
2739         with the Nav menu and headers inside branch insets
2740         reported by Kayvan
2741
2742 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * paragraph.C (getChar): add strong asserts
2745
2746         * lyxrow_funcs.C (lastPos): remove hideous hack
2747
2748         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2749         (fill): adjust to that (avoid an infinite loop)
2750
2751 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2754
2755 2003-10-23  André Pönitz  <poenitz@gmx.net>
2756
2757         * RowList_fwd.h: change list<> to vector<> to gain speed
2758         after suggestion from Alfredo
2759
2760 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2761
2762         * lyxtext.h: move the bidi stuff from here...
2763         * text.C: and here
2764         * text2.C: and here
2765         * Bidi.[Ch]: ... to here
2766
2767 2003-10-23  André Pönitz  <poenitz@gmx.net>
2768
2769         * lyxtext.h:
2770         * text.C (isLastRow, isFirstRow): new functions
2771
2772         * paragraph.h: new width cache member
2773
2774         * rowpainter.C: replace RowList::iterator with Row & where possible
2775
2776         * lyxfunc.C: replace several view()->text with a single call
2777
2778         * toc.C: fix 'unused' warning
2779
2780 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2781
2782         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2783         when woring with stream::pos_type
2784         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2785
2786 2003-10-22  André Pönitz  <poenitz@gmx.net>
2787
2788         * lyxtext.h:
2789         * text.C: use Row & instead of RowList::iterator
2790
2791         * lyxrow.h: rename end() to endpos()
2792
2793         * rowpainter.C:
2794         * text.C:
2795         * text2.C: adjust
2796
2797 2003-10-22  Angus Leeming  <leeming@lyx.org>
2798
2799         * buffer.[Ch] (fully_loaded): new member function, returning true
2800         only when the file has been loaded fully.
2801         Used to prevent the premature generation of previews and by the
2802         citation inset to prevent computation of the natbib-style label.
2803
2804         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2805         templates are all set up.
2806
2807         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2808
2809 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * text.C: fixed an "oops" in the "is a bit silly"
2812         bug fix
2813
2814 2003-10-21  André Pönitz  <poenitz@gmx.net>
2815
2816         * FuncStatus.[Ch]: small stuff, whitespace
2817
2818         * lyxfont.[Ch]: operator<<() for debug reasons
2819
2820         * lyxfunc.C:
2821         * lyxrow_funcs.C:
2822         * lyxtext.h: whitespace, spelling
2823
2824         * paragraph.C: naming of variables
2825
2826         * text.C:
2827         * text2.C: small stuff
2828
2829
2830 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2831
2832         * text.C: (1) finish off the inset display() work;
2833         (2) fix the "is a bit silly" bug (accessing char
2834         past end of par).
2835
2836 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2837
2838         * text.C: re-introduce display() for insets, fixing the
2839         various bugs (stretch of line above, math inset
2840         positioning, ...)
2841
2842 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2843
2844         * text.C (rightMargin): remove spurious semicolon
2845
2846         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2847         1415)
2848
2849 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * text3.C: fix one crash due to wrong cursor def
2852
2853 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * vc-backend.C (scanMaster): make the regex static
2856
2857         * LaTeX.C (scanAuxFile): make the regexs static
2858
2859         * text3.C (doInsertInset, dispatch, dispatch):
2860         * text2.C (cursorUp, cursorDown):
2861         * text.C (selectNextWordToSpellcheck):
2862         * BufferView_pimpl.C (dispatch):
2863         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2864
2865 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * lyxsocket.C: include <cerrno>
2868
2869 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2870
2871         * lyxfunc.C (dispatch): remove textcache stuff
2872
2873         * bufferlist.C (release): remove textcache stuff
2874         (closeAll): ditto
2875
2876         * TextCache.C: delete file
2877         * TextCache.h: delete file
2878
2879         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2880
2881         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2882         delete of the bv_->text.
2883         (resizeCurrentBuffer): remove texcache stuff
2884         (workAreaResize): ditto
2885
2886 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2889         action.
2890
2891 2003-10-16  André Pönitz  <poenitz@gmx.net>
2892
2893         * lyxrow.[Ch]:
2894         * paragraph.h:
2895         * rowpainter.C:
2896         * text.C:
2897         * text2.C:
2898         * text3.C: speed up by storing y positions per paragraph plus per-row
2899         offset instead of having a 'full' y position in the row.
2900
2901 2003-10-15  André Pönitz  <poenitz@gmx.net>
2902
2903         * iterators.[Ch]:
2904         * iterators.[Ch]:
2905         * undo.[Ch]: make undo aware of inner insets
2906
2907 2003-10-14  Angus Leeming  <leeming@lyx.org>
2908
2909         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2910         static member functions LyX::ref() and LyX::cref.
2911         (lastfiles): new accessor functions for the new lastfiles_ member var.
2912         (addLyXView, views_): add a new LyXView to the list of views_.
2913         (updateInset): loop over all LyXViews to call their own updateInset
2914         member function, returning a pointer to the Buffer owning the inset.
2915
2916         * BufferView_pimpl.C (loadLyXFile):
2917         * MenuBackend.C (expandLastfiles):
2918         * bufferlist.C (MenuWrite, QuitLyX):
2919         lastfiles is no longer a global variable.
2920         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2921
2922         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2923         static function. Access through LyX::cref().emergencyCleanup().
2924
2925 2003-10-14  André Pönitz  <poenitz@gmx.net>
2926
2927         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2928
2929         * undo.[Ch]: restoring part of 'undo in insets'
2930
2931         * Makefile.am:
2932         * undo_funcs.[Ch]: merge with undo.[Ch]
2933
2934         * tabular.C: small cleansing stuff
2935
2936 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2937
2938         * paragraph_funcs.C (readParToken): report unknown insets as error
2939         boxes. Use the outer paragraph as location (also for unknown
2940         tokens).
2941
2942         * factory.C (readInset): do not abort on reading an unknown inset.
2943         Eat it and return 0.
2944
2945 2003-10-13  Angus Leeming  <leeming@lyx.org>
2946
2947         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2948
2949         * lyxrc.C: displayTranslator is now a function,
2950         declared in GraphicsTypes.h.
2951
2952 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2953
2954         * format.C: new placeholder $$a to pass the socket address.
2955
2956         * bufferlist.[Ch]: new function getBufferFromTmp.
2957
2958         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2959           files in the temporary dir.
2960
2961 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2962
2963         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2964
2965         * Makefile.am: add lyxsocket.[Ch].
2966
2967         * lyx_main.C (error_handler): handle SIGPIPE.
2968
2969 2003-10-13  André Pönitz  <poenitz@gmx.net>
2970
2971         * BufferView_pimpl.C:
2972         * lyxtext.h:
2973         * text.C:
2974         * text2.C:
2975         * text3.C:
2976         * undo_funcs.[Ch]: use paroffset_type instead of
2977           ParagraphList::iterators to prevent multiple conversion
2978           (and get a more robust interface)
2979
2980 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2983         * lyxtext.h: ditto
2984         * text3.C (dispatch): ditto
2985
2986 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2989         move the onlyfile, use onlyfile instead of foundfile in a couple
2990         of places.
2991
2992         * DepTable.C (update): flush the error stream a bit more
2993
2994 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * lyxserver.C (callback): adjust
2997
2998         * lyxfunc.C (getStatus): add a missing brace in commented code
2999         (ensureBufferClean): reindent
3000         (dispatch): delete version taking a string
3001
3002 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * LaTeX.C (deplog): move found file handlig from here...
3005         (handleFoundFile): .. to new function here.
3006         (deplog): make sure to discover several files mentioned on the
3007         same log line.
3008
3009 2003-10-10  André Pönitz  <poenitz@gmx.net>
3010
3011         * lyxfunc.C:
3012         * lyxtext.h:
3013         * tabular.C:
3014         * text.C:
3015         * text2.C:
3016         * text3.C: fix some of the tabular crashes
3017
3018 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3019
3020         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3021
3022         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3023
3024 2003-10-09  André Pönitz  <poenitz@gmx.net>
3025
3026         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3027
3028         * BufferView.C:
3029         * BufferView_pimpl.C:
3030         * bufferview_funcs.C:
3031         * lyx_cb.C:
3032         * lyxcursor.C:
3033         * lyxfind.C:
3034         * lyxfunc.C:
3035         * lyxtext.h:
3036         * text.C:
3037         * text2.C:
3038         * text3.C:
3039         * text_funcs.[Ch]:
3040         * textcursor.[Ch]:
3041         * undo_funcs.C: adjust
3042
3043 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * text2.C (incrementItemDepth): new function, use a backtracking
3046         algorithm to discover the correct item depth.
3047         (resetEnumCounterIfNeeded): new function, use a backtracking
3048         algorithm to discover if counter reset is needed.
3049         (setCounter): use them. Simplify a bit. Add different labels for
3050         different item depths for itemize.
3051
3052         * paragraph.C (Paragraph): remove initialization of enumdepth
3053         (operator=): ditto
3054
3055         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3056         enumerate and itemize. Change the type of itemdepth to signed char.
3057
3058 2003-10-08  André Pönitz  <poenitz@gmx.net>
3059
3060         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3061           thing assignable.
3062         * text.C:
3063         * text2.C: adjust
3064
3065         * tabular.[Ch]: fix crash after 'row-insert'
3066
3067 2003-10-08  Angus Leeming  <leeming@lyx.org>
3068
3069         Fix doxygen warnings.
3070
3071         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3072         Remove CutAndPaste:: prefix from header file declaration.
3073
3074         * LColor.h (fill): remove LColor:: prefix from declaration.
3075
3076         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3077         use lyx::depth_type rather than Paragraph::depth_type so that
3078         header file and .C file match.
3079
3080         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3081
3082         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3083         * aspell.C: \file aspell_local.C -> \file aspell.C
3084         * gettext.C: \file gettext.C -> \file src/gettext.C
3085         * gettext.h: \file gettext.h -> \file src/gettext.h
3086         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3087         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3088         * text.C: \file text.C -> \file src/text.C
3089
3090         * toc.C: move comment so that doxygen is not confused.
3091
3092 2003-10-07  Angus Leeming  <leeming@lyx.org>
3093
3094         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3095
3096 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3097
3098         * aspell.C:
3099         * aspell_local.h: add forgotten std::string's.
3100
3101 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3102
3103         * LaTeXFeatures.C:
3104         * LyXAction.C:
3105         * factory.C:
3106         * lfuns.h:
3107         * lyxfunc.C:
3108         * text3.C: The Box patch. Fancybox support, minipage, parbox
3109
3110 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3111
3112         * CutAndPaste.h:
3113         * DepTable.h:
3114         * FloatList.h:
3115         * LaTeXFeatures.h:
3116         * ParagraphParameters.h:
3117         * TextCache.h:
3118         * Thesaurus.h:
3119         * bufferlist.h:
3120         * exporter.h:
3121         * importer.h:
3122         * lastfiles.h:
3123         * lyxfind.h:
3124         * lyxfont.h:
3125         * lyxlex.h:
3126         * lyxtextclasslist.h:
3127         * messages.h:
3128         * paragraph.h:
3129         * paragraph_pimpl.C:
3130         * textcursor.h: add <string> and other small fixes to make Lars'
3131         std::string patch compile with STLport.
3132
3133 2003-10-06  Angus Leeming  <leeming@lyx.org>
3134
3135         * LColor.h: Add missing #include <string>.
3136
3137 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * All most all file in all subdirs: Make <string> be the prefered
3140         way of getting to std::string, add using declarations.
3141
3142 2003-10-06  André Pönitz  <poenitz@gmx.net>
3143
3144         * metricsinfo.C: initialize LyXFont before changing attribute.
3145         (fixes the 'math in \emph is upright' bug)
3146
3147 2003-10-06  André Pönitz  <poenitz@gmx.net>
3148
3149         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3150
3151 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3152
3153         * graph.C:
3154         * paragraph_pimpl.C: Small fixes to build using STLport
3155
3156 2003-10-02  André Pönitz  <poenitz@gmx.net>
3157
3158         * lyxfunc.C:
3159         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3160
3161 2003-10-01  André Pönitz  <poenitz@gmx.net>
3162
3163         * factory.C: assert early
3164
3165 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * lyx_main.C: remove the global debug object
3168
3169         * debug.h: adjust for new debugstream
3170
3171         * debug.C: adjust for new debugstream and keep the global debug
3172         object here.
3173
3174 2003-09-22  Angus Leeming  <leeming@lyx.org>
3175
3176         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3177         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3178         an incomplete class LyXFont.
3179
3180 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3181
3182         * factory.C: bug fix in branches
3183
3184 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * lyxfunc.C (processKeySym): adjust
3187         (dispatch): adjust
3188         (dispatch): change arg name from ev to func, adjust
3189         (sendDispatchMessage): ditto
3190
3191         * lyx_main.C (defaultKeyBindings): adjust keybindings
3192         (deadKeyBindings): ditto
3193
3194         * kbsequence.C (addkey): return a FuncRequest
3195
3196         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3197
3198         * kbmap.C (bind): take a FuncRequest as arg, adjust
3199         (read): adjust
3200         (lookup): adjust
3201         (defkey): change to take a FuncRequest as arg, adjust
3202         (findbinding): take a FuncRequest as arg, adjust.
3203
3204         * funcrequest.h (operator=): added
3205
3206         * funcrequest.C (FuncRequest): default kb_action changed from
3207         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3208
3209         * buffer.C (dispatch): simplify
3210         (dispatch): adjust to take a FuncRequest as arg, adjust
3211
3212         * boost.C (assertion_failed): change assertion message slightly
3213
3214         * ToolbarBackend.C (read): simplify
3215
3216         * MenuBackend.C (binding): adjust call to findbinding, add a
3217         message if no binding is found.
3218         (read): simplify
3219         (expandToc): correct by adding a empty FuncRequest
3220
3221         * LyXAction.C: include <boost/assert.hpp>
3222         (isPseudoAction): delete function
3223         (LookupFunc): change name to...
3224         (lookupFunc): this. change return type to FuncRequest.
3225         (getActionName): take kb_action as arg, simplify
3226         (funcHasFlag): add an assert, simplify.
3227
3228 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * toc.C (action): return a FuncRequest, simplify
3231
3232         * lyxfunc.C (processKeySym): adjust
3233         (getStatus): delete version that takes an int.
3234         (getStatus): adjust
3235         (dispatch): delete version that takes action as int
3236         (dispatch): adjust
3237         (sendDispatchMessage): simplify and adjust
3238
3239         * funcrequest.C (getArg): take unsigned int as arg
3240
3241         * ToolbarBackend.C (read): adjust
3242         (add): delete version that takes func as a string.
3243         (getIton): take a FuncRequest as arg
3244
3245         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3246         action.
3247
3248         * MenuBackend.C (MenuItem): add a new construct that only takes a
3249         Kind, simplify the constructor use for submenus.
3250         (add): adjust
3251         (expandLastfiles): adjust
3252         (expandDocuments): adjust
3253         (expandFormats): adjust
3254         (expandFloatListInsert): adjust
3255         (expandFloatInsert): adjust
3256         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3257
3258         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3259         Remove class variables lyx_pseudo_map and lyx_arg_map
3260
3261         * LyXAction.C (searchActionArg): delete function
3262         (getPseudoAction): delete function
3263         (retrieveActionArg): delete function
3264         (LookupFunc): make it return kb_action, simplify.
3265         (getActionName): simplify
3266
3267         * factory.C (createInset): fix new bug
3268
3269 2003-09-19  Angus Leeming  <leeming@lyx.org>
3270
3271         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3272         masterFilename_ parameter in the include inset.
3273
3274         * factory.C (createInset): changes due to the changes to InsetInclude.
3275
3276 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3277
3278         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3279
3280 2003-09-18  Angus Leeming  <leeming@lyx.org>
3281
3282         * buffer.C:
3283         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3284         Inset::fillWithBibKeys.
3285         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3286
3287 2003-09-18  Angus Leeming  <leeming@lyx.org>
3288
3289         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3290         variables.
3291         (ctor): pass and store a 'Buffer const &'
3292         (buffer): new member function.
3293
3294         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3295         '*this' to the LaTeXFeatures ctor.
3296
3297 2003-09-18  Angus Leeming  <leeming@lyx.org>
3298
3299         * LColor.h:
3300         * lyxfont.C:
3301         * lyxfont.h:
3302         * lyxtext.h:
3303         * text.C: rename EnumLColor as LColor_color.
3304
3305 2003-09-18  Angus Leeming  <leeming@lyx.org>
3306
3307         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3308         remove #include "insets/insetbase.h" from cursor.h.
3309
3310 2003-09-18  Angus Leeming  <leeming@lyx.org>
3311
3312         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3313         InsetOld_code to remove #include "inset.h".
3314
3315         * iterators.C: add #include "insets/inset.h"
3316
3317 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3318
3319         * BufferView.C: remove more locking stuff that apparently doesn't
3320         do anything sensible.
3321
3322 2003-09-16  André Pönitz  <poenitz@gmx.net>
3323
3324         * paragraph.[Ch]:
3325         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3326           performance boost.
3327
3328 2003-09-16  Angus Leeming  <leeming@lyx.org>
3329
3330         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3331
3332         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3333         arg/return type.
3334
3335         * paragraph.h: remove #include "lyxfont.h". Forward declare
3336         LyXFont_size.
3337
3338 2003-09-16  Angus Leeming  <leeming@lyx.org>
3339
3340         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3341         of support/textutils.h.
3342         (isWord): move the contents of support/textutils.h's IsWordChar here.
3343
3344         * buffer.C:
3345         * lyxfind.C:
3346         * rowpainter.C:
3347         * text.C:
3348         * text2.C: add #include "paragraph.h".
3349
3350         * rowpainter.C:
3351         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3352
3353 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3354
3355         * main.C:
3356         * lyx_main.C:
3357         * lyx_cb.C:
3358         * buffer.C:
3359         * LaTeX.C: use namespace alias for lyx::support::os
3360
3361 2003-09-16  Angus Leeming  <leeming@lyx.org>
3362
3363         * bufferparams.C:
3364         * bufferview_funcs.C:
3365         * factory.C:
3366         * lyxfunc.C:
3367         * paragraph_pimpl.C:
3368         * rowpainter.C:
3369         * text.C: add #include "LColor.h".
3370
3371 2003-09-16  Angus Leeming  <leeming@lyx.org>
3372
3373         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3374         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3375         return LyXFont &.
3376         Store the FontBits::color variable as an int rather than as an
3377         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3378         file.
3379
3380         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3381         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3382         string calls together.
3383
3384         * lyxrc.C: add #include "LColor.h".
3385
3386 2003-09-15  Angus Leeming  <leeming@lyx.org>
3387
3388         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3389         a cow_ptr.
3390
3391 2003-09-15  Angus Leeming  <leeming@lyx.org>
3392
3393         * LColor.h: add an EnumLColor wrapper for LColor::color.
3394
3395         * lyxfont.[Ch] (color, setColor, realColor):
3396         * lyxtext.h, text.C (backgroundColor):
3397         pass EnumLColor args to/from the functions, rather than LColor::color
3398         ones.
3399
3400         * lyxfont.h:
3401         * lyxtext.h: forward declare EnumLColor.
3402
3403         * lyx_main.C: add #include "LColor.h".
3404
3405 2003-09-15  Angus Leeming  <leeming@lyx.org>
3406
3407         * .cvsignore: add lyx-gtk.
3408
3409 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * Chktex.C
3412         * LaTeX.C
3413         * LaTeXFeatures.C
3414         * ParagraphParameters.C
3415         * Spacing.C
3416         * buffer.C
3417         * bufferparams.C
3418         * bufferview_funcs.C
3419         * chset.C
3420         * counters.C
3421         * funcrequest.C
3422         * lyxfont.C
3423         * lyxgluelength.C
3424         * lyxlength.C
3425         * paragraph.C
3426         * paragraph_funcs.C
3427         * text3.C
3428         * vc-backend.C: remove usage of STRCONV
3429
3430 2003-09-15  Angus Leeming  <leeming@lyx.org>
3431
3432         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3433         explicitly define the color passed to the painter.
3434
3435 2003-09-15  Angus Leeming  <leeming@lyx.org>
3436
3437         * bufferparams.C (BufferParams): reorder member initializers to avoid
3438         compiler warning.
3439
3440 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3443         * text.C (updateRowPositions): remove an unusual nop
3444
3445 2003-09-12  André Pönitz  <poenitz@gmx.net>
3446
3447         * BufferView_pimpl.C:
3448         * Bullet.C:
3449         * layout.h:
3450         * lyxfunc.C:
3451         * lyxlayout.[Ch]:
3452         * lyxtextclass.C:
3453         * rowpainter.C:
3454         * text.C:
3455         * text2.C:
3456         * Counters.[Ch]: finish the 'automatic counters' job
3457
3458 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3459
3460         * aspell.C: include <boost/assert.cpp> (compile fix)
3461
3462 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3463
3464         * boost.C (assertion_failed): use lyx::support::abort instead of
3465         assert.
3466
3467 2003-09-10  Angus Leeming  <leeming@lyx.org>
3468
3469         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3470         with their _fwd progeny.
3471
3472 2003-09-09  Angus Leeming  <leeming@lyx.org>
3473
3474         134 files throughtout the source tree: replace 'using namespace abc;'
3475         directives with the appropriate 'using abc::xyz;' declarations.
3476
3477 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3478
3479         * boost.C (emergencyCleanup): moved here from LAssert.c
3480         (assertion_failed): new function, called by BOOST_ASSERT
3481
3482         * several files: change Assert to BOOST_ASSERT
3483
3484 2003-09-09  Angus Leeming  <leeming@lyx.org>
3485
3486         * buffer.[Ch]: Add an Impl class and move Buffer's member
3487         variables into it. As a result move several header files out of
3488         buffer.h.
3489
3490         Add header files to lots of .C files all over the tree as a result.
3491
3492 2003-09-09  Angus Leeming  <leeming@lyx.org>
3493
3494         * buffer.[Ch]: make Buffer's member variables private. Add
3495         accessor functions.
3496
3497         Lots of changes all over the tree as a result.
3498
3499 2003-09-08  Angus Leeming  <leeming@lyx.org>
3500
3501         * graph.C: #include <config.h>.
3502
3503 2003-09-08  Angus Leeming  <leeming@lyx.org>
3504
3505         * BranchList.C:
3506         * BufferView.C:
3507         * BufferView_pimpl.C:
3508         * CutAndPaste.C:
3509         * DepTable.C:
3510         * LaTeX.C:
3511         * LaTeXFeatures.C:
3512         * LyXAction.C:
3513         * MenuBackend.C:
3514         * TextCache.C:
3515         * aspell.C:
3516         * buffer.C:
3517         * bufferlist.C:
3518         * changes.C:
3519         * chset.C:
3520         * converter.C:
3521         * counters.C:
3522         * debug.C:
3523         * graph.C:
3524         * ispell.C:
3525         * lyx_cb.C:
3526         * lyxfind.C:
3527         * lyxfunc.C:
3528         * lyxlex_pimpl.C:
3529         * lyxrc.C:
3530         * lyxrow.C:
3531         * paragraph.C:
3532         * rowpainter.C:
3533         * texrow.C:
3534         * text.C:
3535         * text2.C:
3536         * toc.C: remove redundant using directives.
3537
3538 2003-09-07  Angus Leeming  <leeming@lyx.org>
3539
3540         * LaTeXFeatures.h: remove #include "support/types.h".
3541         * ToolbarBackend.h: remove #include <algorithm>.
3542         * changes.h: remove #include <ctime>.
3543         * debug.h: remove #include <iosfwd>.
3544         * graph.h: remove #include "support/std_string.h".
3545         * lyx_main.h: remove #include <csignal>.
3546         * lyxlex_pimpl.h: remove #include <fstream>.
3547         * sgml.h: remove #include <algorithm>, <utility>.
3548         * toc.h: remove #include "support/std_ostream.h".
3549         Add #include <iosfwd>.
3550
3551 2003-09-07  Angus Leeming  <leeming@lyx.org>
3552
3553         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3554
3555         * converter.h: forward declare LatexRunParams.
3556         * encoding.h: remove #include "lyxrc.h".
3557         * lyxtext.h: remove #include "LColor.h".
3558         * lyxtextclass.h: remove #include "support/types.h".
3559         * trans.h: remove #include "tex-accent.h".
3560         * trans_mgr.h: remove #include "tex-accent.h".
3561         * insets/inset.h: remove #include "support/types.h", <vector>.
3562         * insets/insetcollapsable.h: remove #include "LColor.h".
3563         * insets/insetinclude.h: remove #include "dimension.h".
3564         * insets/insetlatexaccent.h: remove #include "dimension.h".
3565         * insets/insetoptarg.h:: remove #include "insettext.h".
3566         * insets/insettext.h: remove #include "dimension.h",
3567         <boost/shared_ptr.hpp>
3568
3569         * insets/renderers.h: add #include "dimension.h".
3570         * insets/updatableinset.h: add #include "support/types.h".
3571
3572         * many .C files: Associated changes.
3573
3574 2003-09-06  Angus Leeming  <leeming@lyx.org>
3575
3576         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3577         one, inside testInvariant.
3578
3579         * PrinterParams.C: new file.
3580         * PrinterParams.[Ch]: move the function bodies out of line.
3581
3582 2003-09-06  Angus Leeming  <leeming@lyx.org>
3583
3584         * ParagraphParameters.h: forward declare ParameterStruct rather than
3585         including its header file.
3586         (depth): moved out-of-line.
3587
3588 2003-09-06  Angus Leeming  <leeming@lyx.org>
3589
3590         * BufferView_pimpl.h:
3591         * kbmap.h:
3592         * kbsequence.h:
3593         * lyxfunc.h: forward declare LyXKeySym rather than
3594         #include "frontends/LyXKeySym.h".
3595
3596         * BufferView_pimpl.C:
3597         * kbmap.C:
3598         * kbsequence.C:
3599         * lyxfunc.C: associated changes.
3600
3601 2003-09-06  Angus Leeming  <leeming@lyx.org>
3602
3603         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3604         As a result, can remove the #include "insets/inset.h" from BufferView.h
3605
3606 2003-09-06  Angus Leeming  <leeming@lyx.org>
3607
3608         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3609         As a result, can remove the #include "insets/inset.h" from BufferView.h
3610
3611 2003-09-06  Angus Leeming  <leeming@lyx.org>
3612
3613         * buffer_funcs.C:
3614         * buffer.h:
3615         * bufferlist.C:
3616         * BufferView.C:
3617         * bufferview_funcs.C:
3618         * BufferView_pimpl.C:
3619         * CutAndPaste.C:
3620         * lyx_cb.C:
3621         * lyxfunc.C:
3622         * paragraph.h:
3623         * ParagraphParameters.C:
3624         * tabular.C:
3625         * text3.C:
3626         * toc.C:
3627         * undo_funcs.C:
3628         * frontends/controllers/ControlDocument.C:
3629         * insets/insetcaption.C: rearrange the #includes into some sort of
3630         coherent order.
3631
3632         * buffer.h: remove #includes ErrorList.h, undo.h
3633
3634 2003-09-06  Angus Leeming  <leeming@lyx.org>
3635
3636         * support/types.h: add a 'depth_type' typedef, used to store the
3637         nesting depth of a paragraph.
3638
3639         * paragraph.h:
3640         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3641         defining explicitly.
3642
3643         * buffer.h:
3644         * paragraph_funcs.h:
3645         * ParagraphParameters.h:
3646         * sgml.h: use lyx::depth_type rather than Paragraph or
3647         ParameterStruct's depth_type.
3648
3649         * buffer.h
3650         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3651
3652         * BufferView.C:
3653         * BufferView_pimpl.C:
3654         * CutAndPaste.C:
3655         * ParagraphParameters.C:
3656         * buffer_funcs.C:
3657         * bufferlist.C:
3658         * bufferview_funcs.C:
3659         * lyx_cb.C:
3660         * lyxfunc.C:
3661         * tabular.C:
3662         * text3.C:
3663         * toc.C:
3664         * undo_funcs.C:
3665         * frontends/LyXView.C:
3666         * frontends/controllers/ControlDocument.C:
3667         * frontends/controllers/ControlErrorList.C:
3668         * insets/insetbibitem.C:
3669         * insets/insetbranch.C:
3670         * insets/insetcaption.C:
3671         * insets/insetcollapsable.C:
3672         * insets/insetenv.C:
3673         * insets/insetert.C:
3674         * insets/insetfloat.C:
3675         * insets/insetfoot.C:
3676         * insets/insetfootlike.C:
3677         * insets/insetnewline.C:
3678         * insets/insetquotes.C:
3679         * insets/insettabular.C:
3680         * insets/insettext.C:
3681         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3682
3683         * frontends/controllers/ControlChanges.C: #include "changes.h".
3684
3685 2003-09-06  Angus Leeming  <leeming@lyx.org>
3686
3687         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3688         than #including paragraph.h.
3689
3690         * ParagraphList.h:
3691         * RowList.h: deleted. Superfluous.
3692
3693         * CutAndPaste.h:
3694         * iterators.h:
3695         * lyxcursor.h:
3696         * lyxtext.h:
3697         * text_funcs.h:
3698         * undo.h:
3699         * undo_funcs.h:
3700         * insets/inset.h:
3701         * insets/insettext.h: use ParagraphList_fwd.h rather than
3702         ParagraphList.h.
3703
3704         * paragraph.h: don't forward declare ParagraphList.
3705
3706         * buffer.h:
3707         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3708         rather than ParagraphList.h. paragraph.h is still needed for the
3709         Paragraph::depth_type parameters.
3710
3711         * textcursor.h: enable it to compile stand-alone in light of the
3712         above changes.
3713
3714         * bufferview_funcs.C:
3715         * iterators.C:
3716         * lyxfunc.C:
3717         * lyxrow_funcs.C:
3718         * paragraph.C:
3719         * rowpainter.C:
3720         * text.C:
3721         * text2.C:
3722         * text3.C:
3723         * text_funcs.C:
3724         * textcursor.C:
3725         * undo.C:
3726         * frontends/controllers/ControlParagraph.C:
3727         * frontends/controllers/ControlTabular.C:
3728         * insets/insetmarginal.C:
3729         * insets/insetminipage.C:
3730         * insets/insetnote.C:
3731         * insets/insetoptarg.C: add header files needed to compile again.
3732
3733 2003-09-06  Angus Leeming  <leeming@lyx.org>
3734
3735         * RowList_fwd.h: new file, forward-declaring Row rather than
3736         #including lyxrow.h.
3737
3738         * lyxrow_funcs.h:
3739         * lyxtext.h:
3740         * paragraph.h:
3741         * insets/insettext.h: use it instead of RowList.h
3742
3743         * bufferview_funcs.C:
3744         * lyxfunc.C:
3745         * lyxrow_funcs.C:
3746         * paragraph.C:
3747         * rowpainter.C:
3748         * text.C:
3749         * text2.C:
3750         * text3.C: #include "RowList.h".
3751
3752 2003-09-05  Angus Leeming  <leeming@lyx.org>
3753
3754         * factory.C (createInset):
3755         * vspace.C (c-tor): replace sscanf call with an istringstream.
3756         * ispell.C: re-add missing HP/UX headers.
3757         * lyxserver.C: re-add missing  os2 headers.
3758
3759 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * BranchList.C:
3762         * graph.C:
3763         * ispell.C:
3764         * lastfiles.C:
3765         * lyx_cb.C:
3766         * lyxserver.C:
3767         * texrow.C:
3768         * text3.C: re-add missing system headers, needed for 2.95.2.
3769
3770 2003-09-05  Angus Leeming  <leeming@lyx.org>
3771
3772         Changes most place everywhere due to the removal of using directives
3773         from support/std_sstream.h.
3774
3775 2003-09-05  Angus Leeming  <leeming@lyx.org>
3776
3777         Replace LString.h with support/std_string.h,
3778         Lsstream.h with support/std_sstream.h,
3779         support/LIstream.h with support/std_istream.h,
3780         support/LOstream.h with support/std_ostream.h.
3781
3782         Changes resulting throughout the tree.
3783
3784 2003-09-05  Angus Leeming  <leeming@lyx.org>
3785
3786         * sgml.h: ensure that the header file can be compiled stand-alone.
3787         * *.C: strip out redundant #includes. (320 in total.)
3788
3789 2003-09-04  Angus Leeming  <leeming@lyx.org>
3790
3791         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3792         here (from getPackages).
3793
3794         * debug.[Ch]: add a new EXTERNAL tag.
3795
3796 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3797
3798         * text2.C (cursorEnd): simplify
3799         (setCursor): adjust
3800         (getColumnNearX): adjust
3801
3802         * text.C (computeBidiTables): adjust
3803         (fill): adjust
3804
3805         * rowpainter.C (paintChars): adjust
3806         (paintSelection): adjust
3807         (paintChangeBar): adjust
3808         (paintText): adjust
3809
3810         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3811         lastPos instead.
3812         (numberOfSeparators): adjust
3813
3814 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3815
3816         * LyXAction.C:
3817         * box.[Ch]:
3818         * lfuns.h:
3819         * lyxfunc.C:
3820         * text3.C: Restricts the mouse click functionality
3821         of insets like bibtex, include, toc and floatlist to the visible
3822         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3823         up the dialogs. Cursor has to be in front of the inset (i.e.
3824         start of row) for this to function.
3825
3826 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3827
3828         * bufferview_funcs.C (currentState): output row information
3829
3830 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3831
3832         * bufferview_funcs.C (currentState): output paragraph position
3833
3834 2003-09-04  Angus Leeming  <leeming@lyx.org>
3835
3836         * FloatList.h: move out #include "Floating.h".
3837         * LaTeX.h: move out #include "DepTable.h".
3838         * LyXAction.h: move out #include "funcrequest.h".
3839         * buffer.h: move out #include "author.h", "iterators.h".
3840         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3841         * lyx_main.h: move out #include "errorlist.h".
3842         * lyxfunc.h: move out #include "FuncStatus.h".
3843         * lyxtext: move out #include "lyxcursor.h".
3844         * paragraph_pimpl.h: move out #include "counters.h".
3845
3846 2003-09-03  Angus Leeming  <leeming@lyx.org>
3847
3848         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3849         preamble_snippets list, enabling us to add snippets to the preamble
3850         only if the snippet was not there already.
3851
3852 2003-09-04  Angus Leeming  <leeming@lyx.org>
3853
3854         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3855
3856 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3859         update
3860
3861 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * BranchList.C: point fix, earlier forgotten
3864
3865 2003-09-02  Angus Leeming  <leeming@lyx.org>
3866
3867         * box.C (contains): renamed from 'contained' after a fantastic
3868         amount of hot air.
3869
3870 2003-09-02  John Levon  <levon@movementarian.org>
3871
3872         * BufferView.C:
3873         * lyxcursor.h:
3874         * lyxcursor.C:
3875         * lyxfunc.C:
3876         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3877
3878 2003-09-02  John Levon  <levon@movementarian.org>
3879
3880         * text2.C: simplification of cursorEnd(), including partial
3881         fix for bug 1376
3882
3883 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * buffer.C (readFile): add a space
3886
3887 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3888
3889         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3890
3891 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * buffer.C (readFile): new function, take a filename and a
3894         ParagraphList::iterator
3895         (readFile): adjust
3896         (readFile): adjust, make it private. don't use setStream, make
3897         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3898         always contain the filename.
3899
3900         * BufferView.C (insertLyXFile): simplify and make it work for
3901         gzipped files.
3902
3903 2003-08-30  John Levon  <levon@movementarian.org>
3904
3905         * Makefile.am: fix dist (from Kayvan)
3906
3907 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * most files: change to use const Buffer refs
3910
3911 2003-08-27  André Pönitz  <poenitz@gmx.net>
3912
3913         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3914         on top of ownerPar().
3915
3916 2003-08-27  John Levon  <levon@movementarian.org>
3917
3918         * funcrequest.C: properly initialise POD members
3919
3920 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3921
3922         * lyxtext.h (top_y): move top_y from here
3923         * text.C:
3924         * text2.C:
3925         * text3.C:
3926         * BufferView.[Ch]:
3927         * BufferView_pimpl.[Ch]: to here
3928         * frontends/screen.C:
3929         * insets/insettabular.C:
3930         * insets/insettext.C: adjust
3931         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3932
3933 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3934
3935         * BufferView.[Ch]:
3936         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3937
3938 2003-08-26  André Pönitz  <poenitz@gmx.net>
3939
3940         * paragraph_func.[Ch] (outerPar): new function
3941
3942         * paragraph.C:
3943         * paragraph_funcs.C:
3944         * paragraph_funcs.h:
3945         * paragraph_pimpl.C:
3946         * text2.C: remove Inset::par_owner
3947
3948 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3949
3950         * lyxrow_funcs.C:
3951         * lyxtext.h:
3952         * text.C:
3953         * text2.C: eliminates the needFullRow/display() stuff
3954         altogether, putting the logic in metrics/draw in the insets.
3955
3956 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3957
3958         * text2.C (redoParagraphInternal, redoParagraphs):
3959         * text.C (redoParagraph): add a call to updateRowPositions at the
3960         end of each 'metrics-like' call. Remove all others.
3961         (getRow): remove the 'y-computing' version.
3962         (getRowNearY): do not compute nor return the real y. Solve the
3963         'y < 0' problem and simplify.
3964
3965 2003-08-22  Angus Leeming  <leeming@lyx.org>
3966
3967         * *.[Ch]: clean-up of licence and author blurbs.
3968         Also move config.h out of a few .h files and into a few .C files.
3969
3970 2003-08-22  André Pönitz  <poenitz@gmx.net>
3971
3972         * lyxrow.[Ch]: add x_ and *fill_ members
3973
3974         * lyxtext.h:
3975         * text.C:
3976         * rowpainter.C:
3977         * text2.C: adjust/remove prepareToPrint() calls
3978
3979 2003-08-22  André Pönitz  <poenitz@gmx.net>
3980
3981         * lyxrow.[Ch]: add  end_ member
3982
3983         * lyxrow_funcs.C: use LyXRow::end_
3984
3985         * lyxtext.h (singleWidth): add LyXFont parameter
3986
3987         * rowpainter.C:
3988         * text2.C: adjust LyXText::singleWidth() calls
3989
3990         * text.C (redoParagraph): simplify row breaking logic
3991
3992
3993 2003-08-19  André Pönitz  <poenitz@gmx.net>
3994
3995         * funcrequest.C: initialize button_ member
3996
3997         * text3.C:
3998         * rowpainter.[Ch]: interface consolidation
3999
4000 2003-08-18  André Pönitz  <poenitz@gmx.net>
4001
4002         * BufferView.C:
4003         * BufferView_pimpl.C:
4004         * lyxfind.C:
4005         * paragraph_funcs.C:
4006         * rowpainter.C:
4007         * text3.C: remove LyXScreen::draw() and fitCursor calls
4008
4009         * BranchList.h: remove spurious semicolons
4010
4011         * MenuBackend.C: fix branchlist related crash
4012
4013 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4014
4015         * BranchList.[Ch]:
4016         * InsetList.[Ch]:
4017         * LColor.[Ch]:
4018         * LyXAction.C:
4019         * Makefile.am:
4020         * MenuBackend.[Ch]:
4021         * bufferparams.[Ch]:
4022         * factory.C:
4023         * lfuns.h:
4024         * lyxfunc.C:
4025         * text3.C: implements the 'branch inset'
4026         idea. This allows the output of various versions of a document
4027         from a single source version, selectively outputing or suppressing
4028         output of parts of the text.
4029         This implementation contains a 'branch list editor' in a separate
4030         tab of the document settings dialog. Branches are user definable
4031         and have a "display colour" to distinguish them on-screen.
4032
4033         ColorHandler was somewhat cleaned up.
4034         (1) make possible a dynamically growing LColor list by allowing
4035         the graphic context cache to grow along (vector);
4036         (2) eliminate an IMHO unnecessary step in colour allocation.
4037
4038 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4039
4040         * BufferView_pimpl.C: compile fix
4041
4042 2003-08-15  André Pönitz  <poenitz@gmx.net>
4043
4044         * rowpainter.C: remove extra metrics calls
4045
4046         * lyxtext.h: merge the two constructors into a single one,
4047           pass reference to owner's par list
4048
4049         * BufferView_pimpl.C:
4050         * text.C:
4051         * text2.C: adjust
4052
4053 2003-08-15  André Pönitz  <poenitz@gmx.net>
4054
4055         * lyxrow_funcs.[Ch]:
4056         * lyxtext.h:
4057         * paragraph.h:
4058         * paragraph_funcs.C:
4059         * rowpainter.C:
4060         * text.C:
4061         * text2.C:
4062         * text3.C:
4063         * text_funcs.C: split LyXText::rowlist_ into individual
4064         Paragraph::rows_ chunks
4065
4066         * BufferView.[Ch]:
4067         * BufferView_pimpl.[Ch]:
4068         * lyxfind.C:
4069         * lyxtext.h:
4070         * text3.C: remove toggleSelection()
4071
4072 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4073
4074         * bufferlist.C: beautify two alerts (shorter text of buttons)
4075         * buffer.C: Remove redundant ' ' from message
4076         * tabular.h:
4077         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4078         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4079         rename VALIGN_CENTER to VALIGN_MIDDLE
4080
4081 2003-08-11  André Pönitz  <poenitz@gmx.net>
4082
4083         * lyxtext.h (getPar):
4084         * text.C: new function
4085
4086 2003-08-11  André Pönitz  <poenitz@gmx.net>
4087
4088         * Makefile.am:
4089         * tracer.[Ch]: remove unneeded files
4090
4091         * InsetList.[Ch]: remove resizeInsetsLyXText()
4092
4093         * lyxtext.h:
4094         * text.C:
4095         * text2.C:
4096         * text3.C: merge insertParagraphs() and appendParagraph()
4097         remove breakAgain(), update()
4098
4099         * BufferView_pimpl.[Ch]:
4100         * bufferview_funcs.[Ch]:
4101         * lyxfunc.C:
4102         * paragraph.[Ch]:
4103         * rowpainter.C:
4104         * tabular.C: adjust after text & InsetList changes.
4105
4106 2003-08-08  André Pönitz  <poenitz@gmx.net>
4107
4108         * text.C (insertChar, backspace): replace rowlist fiddling
4109         with rebreak of full par
4110
4111         * lyxtext.h:
4112         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4113         checkParagraph, updateInset): removed
4114
4115 2003-08-07  André Pönitz  <poenitz@gmx.net>
4116
4117         * paragraph.C:
4118         * text3.C: merge some LFUN handlers, remove dead code
4119
4120 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4121
4122         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4123
4124 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text2.C (DEPM): fix part of bug 1255 and 1256
4127
4128 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4129
4130         * BufferView_pimpl.C (workAreaDispatch): change to use
4131         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4132         that are no mouse related.
4133
4134 2003-08-05  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.[Ch]:
4137         * BufferView_pimpl.[Ch]:
4138         * bufferview_funcs.C:
4139         * text2.C:
4140         * text3.C: rip out "deep update"
4141
4142         * textcursor.[Ch] (last_sel_cursor): remove unused member
4143
4144 2003-08-04  André Pönitz  <poenitz@gmx.net>
4145
4146         * BufferView.[Ch]:
4147         * BufferView_pimpl.[Ch]:
4148         * ParagraphParameters.C:
4149         * bufferview_funcs.C:
4150         * lyx_cb.C:
4151         * lyxfind.C:
4152         * lyxfunc.C:
4153         * text.C:
4154         * text2.C:
4155         * text3.C: replace "complicated" BufferView::update(...) calls with
4156         simpler ones.
4157
4158         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4159
4160 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4161
4162         * Makefile.am (lyx_SOURCES): add paper.h
4163
4164 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4165
4166         * Makefile.am: move things around so that both lyx-qt and
4167         lyx-xforms can be built (according to --with-frontend). Then lyx
4168         is a symbolic link to lyx-[firstfrontend]
4169
4170 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4171
4172         * Always use std::endl with lyxerr
4173
4174 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4175
4176         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4177
4178 2003-08-01  André Pönitz  <poenitz@gmx.net>
4179
4180         * BufferView.[Ch]:
4181         * BufferView_pimpl.[Ch]:
4182         * lyxfunc.C:
4183         * text3.C: merge BufferView::repaint() and BufferView::update()
4184
4185 2003-08-01  José Matos  <jamatos@lyx.org>
4186
4187         * buffer.[Ch]: file_format is no longer a buffer data element.
4188
4189 2003-08-01  André Pönitz  <poenitz@gmx.net>
4190
4191         * BufferView.C:
4192         * lyxtext.h:
4193         * text.C:
4194         * text2.C: make redoParagraph more independent of current cursor
4195
4196         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4197         * text.C:
4198         * text2.C: remove unneeded members
4199
4200 2003-07-30  André Pönitz  <poenitz@gmx.net>
4201
4202         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4203
4204         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4205           create a single function...
4206
4207         * paragraph_funcs.C (moveItem): ... here.
4208
4209         * text.C:
4210           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4211
4212 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4213
4214         * LColor.[Ch]: Add comment and greyedout logical colors.
4215
4216 2003-07-30  André Pönitz  <poenitz@gmx.net>
4217
4218         * tabular.C: don't use Assert too heavily. This crashes where it
4219           shouldn't
4220
4221 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4222
4223         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4224         is disabled (bug 1232)
4225
4226 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * factory.C: limited 'arg' scope
4229
4230 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4231
4232         * factory.C: fixed Note submenu issues
4233
4234 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4235
4236         * factory.C: submenu for Note/Comment/Greyedout
4237
4238 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * lyx_main.C (LyX):
4241         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4242
4243 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4244
4245         * LaTeXFeatures.C:
4246         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4247         greyedout. Patch provided by Jürgen Spitzmüller.
4248
4249 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4250
4251         * kbmap.C (read): fix error message when reading bind files
4252
4253 2003-07-29  Angus Leeming  <leeming@lyx.org>
4254
4255         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4256         certainly does not do what it purports to do. I am doing it, and
4257         us, a favour by killing it.
4258
4259 2003-07-28  José Matos  <jamatos@lyx.org>
4260
4261         * buffer.C (readBody, do_writeFile):
4262         * paragraph.C(readParagraph): \end_document replaces \the_end.
4263
4264 2003-07-29  André Pönitz  <poenitz@gmx.net>
4265
4266         * BufferView.[Ch]:
4267         * BufferView_pimpl.[Ch]:
4268         * lyxfunc.C:
4269         * text2.C:
4270         * text3.C:
4271         * textcursor.[Ch]: remove toggleToggle & Co
4272
4273 2003-07-28  José Matos  <jamatos@fep.up.pt>
4274
4275         * buffer.C (readParagraph):
4276         * params_func (readParToken, readParagraph):
4277         * paragraph.C (write): \layout -> \begin_layout.
4278
4279 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyxlex_pimpl.C (setFile): clean up slightly.
4282
4283         * bufferparams.h: add compressed var
4284
4285         * buffer_funcs.C (readFile): adjust for LyXLex change
4286         (newFile): ditto + simplify
4287
4288         * buffer.C (writeFile): handle writing of compressed files
4289
4290         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4291         Check if the file is compressed and set a bufferparm if so.
4292
4293         * Makefile.am (lyx_LDADD): remove explicit -lz
4294
4295 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4296
4297         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4298         makeDocBookFile): put the real LyX version in the first line of
4299         the file
4300
4301         * version.h:
4302         * version.C.in: remove lyx_docversion
4303
4304         * tabular.C (write_attribute): add a template-based version to
4305         write enums properly
4306
4307 2003-07-28  André Pönitz  <poenitz@gmx.net>
4308
4309         * lyxtext.h:
4310         * text.C:
4311         * text2.C:
4312         * text3.C: use doubles again for x-coordinates. They are needed.
4313
4314 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * messages.C (getLocaleDir): use lyx_localedir()
4317
4318         * lyxlex_pimpl.C (setFile): compress stuff
4319
4320         * buffer.C (writeFile): add some compression stuff
4321         (do_writeFile): new func, dont call expliti close... will this
4322         breake anything?
4323
4324         * Makefile.am (lyx_LDADD): add -lz
4325
4326 2003-07-28  José Matos  <jamatos@fep.up.pt>
4327
4328         * buffer.C: increment file format.
4329         * paragraph_funcs (readParagraph, readParToken):
4330         * paragraph.C (readParagraph): add \end_layout.
4331
4332 2003-07-27  Angus Leeming  <leeming@lyx.org>
4333
4334         * Makefile.am: remove special casing for configure-time setting of
4335         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4336
4337         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4338         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4339
4340 2003-07-26  André Pönitz  <poenitz@gmx.net>
4341
4342         * paragraph_func.[Ch]:
4343         * paragraph.C (realizeFont): inline it whereever it is used
4344
4345         * rowpainter.C:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4349
4350
4351 2003-07-26  André Pönitz  <poenitz@gmx.net>
4352
4353         *       lyxtext.h:
4354         * text.C:
4355         * text2.C: get rid of LyXText::need_break_row
4356
4357 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * toc.[Ch]: put namespace toc inside namespace lyx
4360
4361         * MenuBackend.C (expandToc2): adjust for lyx::toc
4362         (expandToc): ditto
4363
4364         * lyxfunc.C (dispatch): adjust for lyx::find
4365
4366         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4367         lyx::find instead. Reorganize a bit.
4368         (LyXReplace): rename to replace
4369         (LyXFind): rename to find
4370
4371         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4372         (dispatch): ditto
4373
4374 2003-07-26  André Pönitz  <poenitz@gmx.net>
4375
4376         * text.C (setHeightOfRow): restrict scope of temporary variable
4377
4378         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4379           code (never has been used?)
4380
4381 2003-07-27  Asger Alstrup  <alstrup@local>
4382
4383         * text.C (fill): Optimise algorithm to exploit that we can reuse
4384         the LyXFont for many characters.
4385         (setHeightOfRow): Same thing.
4386         (rowBreakPoint): Same thing.
4387
4388 2003-07-26  Asger Alstrup  <alstrup@local>
4389
4390         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4391
4392         * text.C (singleWidth): Spurious font copying in hot-spot
4393         singleWidth avoided. Reorder tests for arabic for efficiency.
4394
4395         * text.C (fill): handle empty paragraphs better.
4396
4397 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4398
4399         * ispell.C:
4400         * encoding.h: add includes
4401
4402         * lyxrc.C: remove reading of bind files
4403
4404         * lyx_main.C (init): setup bindings and menus only if we have a
4405         gui.
4406
4407         * kbmap.C (read): new method. Do the actual reading of bind
4408         files.
4409
4410         * converter.C (dvipdfm_options):
4411         * bufferparams.C:
4412         * lyxrc.C (read):
4413         (output): adapt PAPER_* enums.
4414
4415         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4416
4417         * bufferparams.h: remove paper-related enums from there
4418
4419         * paper.h: New file. A trivial header file to hold paper-related
4420         enums. It should later expand to contain many paper-related
4421         horrors access.
4422
4423         * lyxrc.C: declare extern displayTranslator
4424
4425 2003-07-27  José Matos  <jamatos@fep.up.pt>
4426
4427         * tabular.[Ch] (linuxdoc): add support for tables and figures
4428         (linuxdoc).
4429
4430 2003-07-27  José Matos  <jamatos@fep.up.pt>
4431
4432         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4433         consistency in both functions.
4434         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4435
4436 2003-07-26  Asger Alstrup  <alstrup@local>
4437
4438         * rowpainter.C (paintRows): Change algorithm to work directly on
4439         the insets rather than asking every character in the document
4440         whether its an inset.
4441
4442 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * buffer.C (openFileWrite): factorize some code
4445
4446 2003-07-26  Angus Leeming  <leeming@lyx.org>
4447
4448         * lyx_cb.C:
4449         * lyx_main.[Ch]: replace occurances of system_tempdir with
4450         os::getTmpDir().
4451
4452 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * rename Inset to InsetOld
4455
4456 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4457
4458         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4459         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4460         which I think is a bit clearer. EDIT is gone, since it was
4461         premature optimisation, and broken for mathed anyway.
4462         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4463         with cursor positioning in insets as well (math insets still do not
4464         work, but that's a different story anyway.) It mysteriously
4465         crashes sometimes with undo in the first paragraph, but I'm fairly
4466         confident that this is a compiler bug.
4467
4468 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * paragraph.C (Paragraph): adjust for new clone return type
4471         (operator==): ditto
4472         (copyIntoMinibuffer): ditto
4473
4474 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4475
4476         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4477         by not having a special case, and always doing a full rebreak of
4478         the document after undo.
4479
4480 2003-07-23  Angus Leeming  <leeming@lyx.org>
4481
4482         * factory.C (createInset): InsetExternal::setParams now takes a
4483         Buffer const * arg.
4484
4485 2003-07-23  Angus Leeming  <leeming@lyx.org>
4486
4487         * factory.C (createInset): changed interface to the external and
4488         graphics mailers' string2params functions.
4489
4490 2003-07-23  Angus Leeming  <leeming@lyx.org>
4491
4492         * factory.C (createInset): pass a
4493         Buffer const * parameter to InsetExternalMailer's string2params.
4494
4495 2003-07-22  John Levon  <levon@movementarian.org>
4496
4497         * Thesaurus.h: include the right aiksaurus header
4498
4499 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4500
4501         * MenuBackend.C (expand): check menu shortcuts unconditionally
4502
4503 2003-07-21  Angus Leeming  <leeming@lyx.org>
4504
4505         * factory.C (createInset): pass a
4506         buffer_path parameter to InsetGraphicsMailer's string2params.
4507
4508 2003-07-21  Angus Leeming  <leeming@lyx.org>
4509
4510         * BufferView_pimpl.C (buffer):
4511         * buffer.C (d-tor):
4512         * lyx_main.C (LyX):
4513         * lyxfunc.C (dispatch):
4514         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4515         rather than the grfx shortcut.
4516
4517 2003-07-21  André Pönitz  <poenitz@gmx.net>
4518
4519         * rowpainter.C: remove unused variables
4520
4521         * tabular_funcs.C:
4522         * tabular_funcs.h: move to tabular.C
4523         * Makefile.am: adjust
4524
4525         * tabular.[Ch]: basic optical cleaning
4526
4527         * author.h: pass references, not values
4528
4529 2003-07-18  André Pönitz  <poenitz@gmx.net>
4530
4531         * lyxtext.h:
4532         * metricsinfo.C:
4533         * metricsinfo.h:
4534         * rowpainter.C:
4535         * text.C:
4536         * text2.C:
4537         * text3.C: two-phase drawing for InsetText and InsetTabular
4538         some float -> int changes.
4539
4540 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * lyx_main.C: fix the fix
4543
4544 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * lyx_main.C: fix a crash in batch mode if no files specified
4547         * converter.C: ws
4548
4549 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * format.[Ch] (papersize): moved to BufferParams
4552         * converter.[Ch] (dvips_options): moved to BufferParams
4553         (dvipdfm_options): moved to anon namespace
4554         * bufferparams.[Ch]: added above functions.
4555
4556 2003-07-17  André Pönitz  <poenitz@gmx.net>
4557
4558         * lyxtext.h:
4559         * rowpainter.C:
4560         * text2.C: don't call inset->update() anymore
4561
4562         * metricsinfo.[Ch]: add convenience constructor
4563
4564 2003-07-16  André Pönitz  <poenitz@gmx.net>
4565
4566         * lyxcursor.[Ch]:
4567         * lyxfunc.[Ch]:
4568         * text.C:
4569         * text2.C: replace the LyXCursor::irow_ member with
4570          on-demand computation of the value
4571
4572 2003-07-16  John Levon  <levon@movementarian.org>
4573
4574         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4575
4576 2003-07-15  André Pönitz  <poenitz@gmx.net>
4577
4578         * text.C:
4579         * text2.C: remove no more needed refresh_row
4580
4581 2003-07-15  André Pönitz  <poenitz@gmx.net>
4582
4583         * lyxtext.h:
4584         * rowpainter.C:
4585         * text2.C:
4586         * text3.C: refresh_status tristate -> need_update bool
4587
4588 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4589
4590         * lyxtext.h (init): remove reinit argument (act as if always true)
4591         * text2.C: adjust to that
4592
4593 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4594
4595         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4596         * text3.C: use it to delete selections in some cases
4597         (bugs 441, 673, 702, 954).
4598
4599 2003-07-14  André Pönitz  <poenitz@gmx.net>
4600
4601         * rowpainter.[Ch]: reduce interface
4602
4603 2003-07-14  André Pönitz  <poenitz@gmx.net>
4604
4605         * BufferView_pimpl.C:
4606         * text2.C: adjust after removing unused BufferView * argument
4607
4608 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * text2.C (init): fix a crash fired on resize
4611
4612 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * buffer.[Ch]: added new closing signal
4615         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4616         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4617         BufferView::Pimpl via the closing the signal
4618
4619 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * buffer.[Ch]: take out all bv-related from buffer
4622         * BufferView.C:
4623         * BufferView_pimpl.[Ch]: connect to new signals
4624         * CutAndPaste.C: removed useless asserts
4625         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4626         * lyxvc.[Ch]:
4627         * vc-backend.[Ch]:
4628         * lyxfunc.C: moved view-related funciontality from vc here
4629         * paragraph.C: removed outdated comments
4630         * text.C: ws
4631
4632 2003-07-10  André Pönitz  <poenitz@gmx.net>
4633
4634         * BufferView_pimpl.C:
4635         * tabular.h:
4636         * tabular_funcs.C:
4637         * text.C:
4638         * text2.C: remove InsetText::InnerCache, clean up consequences
4639
4640 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4641
4642         * ispell.C: fix two typos in error messages
4643
4644 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4645
4646         * Extend Note inset to other forms of annotation like Comment
4647         and Greyedout. Right button click gives dialog.
4648
4649         Files modified or added (+):
4650
4651         * insetnote.[Ch]
4652         * FormNote.[Ch]      +
4653         * ControlNote.[Ch]   +
4654         * form_note.fd       +
4655         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4656         frontends/controllers
4657         * xforms/Dialogs.C
4658         * factory.C
4659
4660 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4661
4662         * aspell.C: add missing namespace lyx::support
4663
4664 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * BufferView.[Ch] (newFile): Add
4667         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4668         * LaTeX.[Ch] (message): added this signal and use it
4669         * buffer.[Ch] (busy, message): added these signals and use them
4670         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4671         * converter.C:
4672         * exporter.C:
4673         * format.C:
4674         * importer.C: use buffer signals instead of direct bv calling
4675         * lyx_cb.[Ch] (ShowMessage): removed
4676         * lyx_main.C:
4677         * lyxfunc.C:
4678         * paragraph_funcs.C:
4679         * text2.C: use buffer signals
4680
4681 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * introduce namespace lyx::graphics
4684
4685 2003-07-02  André Pönitz  <poenitz@gmx.net>
4686
4687         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4688
4689 2003-07-01  André Pönitz  <poenitz@gmx.net>
4690
4691         * text.C:
4692         * text2.C:
4693         * text3.C:
4694         * text_funcs.[Ch]:
4695         * textcursor.h:
4696         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4697           text*.C to text_func.C
4698
4699 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * introduce namespace lyx::support
4702
4703 2003-06-30  André Pönitz  <poenitz@gmx.net>
4704
4705         * Chktex.C:
4706         * funcrequest.C:
4707         * lyxtext.h:
4708         * text.C: re-enable --with-included-string
4709
4710 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * textcursor.C: add <config.h>
4713
4714         * text.C (getWord): remove const from word_location arg
4715
4716         * lyxvc.C (getLogFile): fix const type order
4717
4718         * lyxtext.h: remove const from word_location arg, add arg name
4719
4720         * lyxlayout.h: currect type on labeltype.
4721
4722         * importer.C: correct \file
4723
4724         * converter.C (intToFormat): use std:: on ret val, ws changes
4725
4726         * bufferlist.h: correct \file
4727
4728         * buffer.C (makeLinuxDocFile): fix const type order
4729         (makeDocBookFile): ditto
4730         (fillWithBibKeys): use std:: on stdlib args.
4731
4732         * CutAndPaste.C: fix authors.
4733         (availableSelections): use std:: on return vector
4734
4735 2003-06-27  André Pönitz  <poenitz@gmx.net>
4736
4737         * BufferView_pimpl.C:
4738         * bufferview_funcs.C:
4739         * lyxcursor.C:
4740         * lyxcursor.h:
4741         * lyxfunc.C:
4742         * lyxtext.h:
4743         * rowpainter.C:
4744         * text.C:
4745         * text2.C:
4746         * text3.C: remove LyXCursor::row_ member
4747
4748         * lyxtext.h:
4749         * text.C: rename fullRebreak() to partialRebreak() and implement
4750           a fullRebreak() that really bereks fully
4751
4752         * textcursor.h: new struct for cursor-related data
4753
4754 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4755
4756         * lyx_main.C (LyX): get full path of document loaded on the
4757         command line
4758
4759 2003-06-26  André Pönitz  <poenitz@gmx.net>
4760
4761         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4762           remove unused/broken operator>,<,>=.
4763
4764         *       text.C: remove only use of broken operator<= in an Assert().
4765
4766 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4767
4768         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4769         moved errorlist_.clear to showErrorList
4770
4771 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4772
4773         * converter.C (scanLog, runLaTeX):
4774         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4775         move the bv->showErrorList call to the callers
4776         * lyxfunc.C: i.e. here...
4777         * text2.C: and here
4778         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4779         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4780         namespace, the second to...
4781         * buffer_funcs (BufferFormat, parseErrors): added
4782         * errorlist.C (ErrorList(TeXErrors const &)): removed
4783
4784 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4785
4786         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4787
4788 2003-06-24  "Garst R. Reese" <reese@isn.net>
4789
4790         * debug.C: fix typo
4791
4792 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4793
4794         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4795
4796         * version.C.in: change docversion to 1.4
4797
4798 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * buffer.C: fix a bug just introduced
4801
4802 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * buffer.[Ch]: added the parseError signal and use it, removed
4805         sgmlError
4806         * BufferView.[Ch] (addError): moved to ...
4807         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4808         to the Buffer::parseError signal to catch (guess what) parse errors
4809         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4810
4811 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4812
4813         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4814         ability to create a buffer and to return an existing one from
4815         the list. Moved these functions to...
4816         * buffer_funcs.[Ch]: added
4817         * BufferView.[Ch] (loadLyXFile): added
4818         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4819         job removed from bufferlist::loadLyXFile.
4820         * buffer.C (setReadOnly): make it work without view
4821         (i.e added an if (users))
4822
4823 2003-06-19  Angus Leeming  <leeming@lyx.org>
4824
4825         * lfuns.h:
4826         * LyXAction.C (init):
4827         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4828         with LFUN_DIALOG_SHOW <name> <data>.
4829
4830 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4831
4832         * CutAndPaste.C (availableSelections): small compilation fix for
4833         ancient (gcc 2.9x) compilers
4834
4835 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * text3.C (cursorNext): add tmp var
4838
4839         * text2.C (updateCounters): for function calling out of for clause
4840         (replaceSelectionWithString): ditto
4841         (insertStringAsParagraphs): ditto
4842         (getColumnNearX): add tmp var
4843         (setCursorFromCoordinates): add tmp var
4844         (cursorDownParagraph): add tmp var
4845         (deleteEmptyParagraphMechanism): add tmp var
4846
4847         * text.C (insertChar): add tmp var
4848
4849         * rowpainter.C (paintDepthBar): add tmp var
4850
4851         * CutAndPaste.C (availableSelections): potentially check all
4852         paragraphs in a cut to fill the shown strings.
4853
4854 2003-06-18  André Pönitz  <poenitz@gmx.net>
4855
4856         * kbmap.[Ch]: use vector<> instead of list<>
4857
4858 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4859
4860         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4861         pasteSelection with index
4862
4863         * text2.C (pasteSelection): modify, call pasteSelection with index
4864
4865         * paragraph.C (asString): reimplement version with no interval to
4866         call the one with interval.
4867
4868         * lyxtext.h: add index arg to pasteSelection
4869
4870         * MenuBackend.C (MenuItem): handle PasteRecent
4871         (Menu::read::Menutags): add md_pasterecent
4872         (read): handle it
4873         (expandPasteRecent): new function
4874         (expand): use it
4875
4876         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4877
4878         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4879         the limited stack
4880         (availableSelections): new function
4881
4882 2003-06-17  Angus Leeming  <leeming@lyx.org>
4883
4884         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4885
4886 2003-06-17  Angus Leeming  <leeming@lyx.org>
4887
4888         * lfuns.h:
4889         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4890
4891         * lyxfunc.C (dispatch): invoke it.
4892
4893 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4894
4895         * iterators.C (operator++, ParPosition): reintroduce some
4896         const_cast for the benefit of older compilers.
4897
4898 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4899
4900         * text3.C (dispatch): do not modify clipboard when doing
4901         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4902         LFUN_DELETE_SKIP on a selection selection
4903
4904 2003-06-16  André Pönitz  <poenitz@gmx.net>
4905
4906         * BufferView.C:
4907         * buffer.C:
4908         * buffer.h:
4909         * paragraph.C:
4910         * tabular.[Ch]: IU of clone() and getLabelList();
4911
4912 2003-06-13  André Pönitz  <poenitz@gmx.net>
4913
4914         * tabular.h: compactification
4915
4916 2003-06-12  André Pönitz  <poenitz@gmx.net>
4917
4918         * tabular.C:
4919         * tabular.h:
4920         * tabular_funcs.h: some renaming plus whitespace
4921
4922 2003-06-12  André Pönitz  <poenitz@gmx.net>
4923
4924         * BufferView.C:
4925         * BufferView_pimpl.C:
4926         * CutAndPaste.C:
4927         * buffer.C:
4928         * iterators.[Ch]:
4929         * lyxfunc.C:
4930         * text.C:
4931         * toc.C: Return a Paragraph & for ParIterator::operator*()
4932
4933 2003-06-11  John Levon  <levon@movementarian.org>
4934
4935         * lyx_main.C:
4936         * ToolbarBackend.h:
4937         * ToolbarBackend.C: add "Toolbars" section and
4938         put the flags there
4939
4940 2003-06-10  Angus Leeming  <leeming@lyx.org>
4941
4942         * lfuns.h:
4943         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4944
4945         * lyxfunc.C (dispatch): invoke it.
4946
4947 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * main.C: protect <ios> with HAVE_IOS
4950         (main): protect sync_with_stdio with HAVE_IOS
4951
4952 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4953
4954         * text2.C (cutSelection): adjust
4955         (pasteSelection): adjust
4956
4957         * messages.C: handle get of empty string
4958
4959         * main.C (main): use sync_with_stdio(false)
4960
4961         * lyxfunc.C (dispatch): adjust
4962
4963         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4964         (WriteAs): remove unneeded BufferView arg.
4965
4966         * bufferparams.h: use correct types on papersize, papersize2 and
4967         paperpackage.
4968
4969         * bufferparams.C (readToken): adjust for type
4970         (writeLaTeX): add missing cases to switch.
4971
4972         * bufferlist.C (quitWriteBuffer): adjust
4973         (close): adjust
4974
4975         * buffer.C (asciiParagraph): remove some commented code.
4976
4977         * CutAndPaste.C: remove current_view extern variable.
4978         (cutSelection): add BufferParams arg.
4979         (eraseSelection): add BufferParams arg.
4980         (pasteSelection): add Buffer const & arg
4981
4982 2003-06-07  John Levon  <levon@movementarian.org>
4983
4984         * buffer.C:
4985         * paragraph_funcs.C:
4986         * paragraph_pimpl.C:
4987         * text.C:
4988         * text2.C:
4989         * paragraph.h:
4990         * paragraph.C: allow InsetERT to freely space lines,
4991         and some consolidation of code
4992
4993 2003-06-06  José Matos  <jamatos@fep.up.pt>
4994
4995         * buffer.C (makeDocBookFile): fix bug #821
4996
4997 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5000
5001 2003-06-04  Angus Leeming  <leeming@lyx.org>
5002
5003         * buffer.C: bump format to 224.
5004
5005 2003-06-05  André Pönitz  <poenitz@gmx.net>
5006
5007         * text2.C (redoParagraphs): remove two const_cast<>
5008
5009 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5010
5011         * ParagraphList.h: remove last remnants of NO_STD_LIST
5012
5013 2003-06-03  Angus Leeming  <leeming@lyx.org>
5014
5015         * factory.C (createInset): small change to the way InsetExternal's params
5016         are set.
5017
5018 2003-06-04  André Pönitz  <poenitz@gmx.net>
5019
5020         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5021
5022         * paragraph_pimpl.h:
5023         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5024
5025         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5026
5027         * undo_funcs.C: make some simple cases of undo work again
5028
5029 2003-06-03  John Levon  <levon@movementarian.org>
5030
5031         * ispell.C: HPUX doesn't have sys/select.h
5032         (from Albert Chin)
5033
5034 2003-06-03  John Levon  <levon@movementarian.org>
5035
5036         * CutAndPaste.C: update tabular and include inset
5037         buffer references
5038
5039         * buffer.h:
5040         * paragraph.h:
5041         * paragraph.C: remove owningBuffer(), don't pass Buffer
5042         to clone()
5043
5044         * factory.C: insetGraphicsParams changed
5045
5046 2003-06-02  John Levon  <levon@movementarian.org>
5047
5048         * LyXAction.C:
5049         * factory.C:
5050         * lfuns.h:
5051         * lyxfunc.C:
5052         * text3.C: remove insetparent
5053
5054 2003-06-02  John Levon  <levon@movementarian.org>
5055
5056         * buffer.h:
5057         * buffer.C: fix inset_iterator.end(), move out of line
5058         (bug 1149)
5059
5060 2003-06-01  John Levon  <levon@movementarian.org>
5061
5062         * text3.C: use a proper cut/paste when doing inset
5063         insert (from Jürgen Spitzmüller)
5064
5065 2003-06-01  John Levon  <levon@movementarian.org>
5066
5067         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5068
5069 2003-05-30  André Pönitz  <poenitz@gmx.net>
5070
5071         * rowpainter.C: unify second drawing phase
5072
5073 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * trans_mgr.C: remove one case of current_view
5076
5077         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5078
5079         * paragraph_funcs.h: remove paragraph.h include
5080
5081         * paragraph.h: delete NO_STD_LIST stuff
5082
5083         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5084
5085         * buffer.h: remove paragraph.h include
5086
5087         * ParagraphList.C: delete file
5088
5089         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5090
5091         * toc.C (getTocList): adjust
5092
5093         * paragraph_pimpl.C (validate): adjust
5094
5095         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5096
5097         * paragraph.C (Paragraph): adjust
5098         (getPositionOfInset): use const_iterator, adjust
5099         (bibitem): use const_iterator, adjust
5100         (setInsetOwner): adjust
5101
5102         * iterators.C (operator++): adjust
5103
5104         * InsetList.[Ch]: Replace selfmade iterator with standard
5105         vector::iterator also introduce const_iterator. Remove getPos,
5106         getInset and setInset from InsetTable. Adjust accordingly.
5107
5108         * BufferView.C (lockInset): adjust
5109         (ChangeInsets): adjust
5110
5111         * tabular.[Ch]: delete commented same_id functions
5112
5113 2003-05-28  John Levon  <levon@movementarian.org>
5114
5115         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5116
5117 2003-05-28  André Pönitz  <poenitz@gmx.net>
5118
5119         * metricsinfo.[Ch]: remove 'fullredraw' member
5120
5121 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5122
5123         * lyxtextclass.C (operator): remove caching.
5124
5125 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text3.C: adjust
5128
5129         * text2.C (cursorBottom): adjust
5130         (setCounter): use ParagraphList::find, adjust
5131
5132         * text.C (workWidth): use ParagraphList::find, adjust
5133
5134         * lyxcursor.C (LyXCursor): adjust
5135
5136         * buffer.C (inset_iterator): adjust
5137
5138         * ParagraphList.h: make iterator(value_type) private, make
5139         ParagraphList a friend of iterator.
5140
5141         * ParagraphList.C (find): new function
5142
5143         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5144
5145 2003-05-27  André Pönitz  <poenitz@gmx.net>
5146
5147         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5148
5149 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5150
5151         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5152
5153 2003-05-26  John Levon  <levon@movementarian.org>
5154
5155         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5156
5157 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * remove same_id from function signatures, adjust.
5160
5161 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5164
5165         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5166
5167         * paragraph.C (Paragraph): get rid of same_ids parameter
5168
5169         * ParagraphList.C (insert): adjust
5170         (push_back): adjust
5171
5172 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * paragraph_funcs.C (breakParagraph): adjust
5175         (breakParagraphConservative): adjust
5176
5177         * buffer.C (readParagraph): adjust
5178
5179         * ParagraphList.C (insert): take a reference instead of a pointer
5180         (insert): adjust
5181
5182         * paragraph.[Ch] (id): new function
5183
5184         * bufferlist.C (newFile): adjust
5185
5186         * ParagraphList.C (ParagraphList): adjust
5187         (assign): adjust
5188         (push_back): take a reference instead of a pointer.
5189
5190         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5191
5192         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5193         instead.
5194
5195         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5196         set else use old code.
5197
5198         * ParagraphList.C: remove all NO_NEXT code and only compile this
5199         code of NO_STD_LIST is set.
5200
5201 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * BufferView_pimpl.C:
5204         * TextCache.C:
5205         * TextCache.h:
5206         * bufferlist.C:
5207         * errorlist.h:
5208         * format.C:
5209         * format.h:
5210         * graph.C:
5211         * lyxfunc.C:
5212         * lyxrc.C:
5213         * graphics/GraphicsConverter.C:
5214         * graphics/PreviewLoader.C: header adjustment
5215
5216 2003-05-23  Angus Leeming  <leeming@lyx.org>
5217
5218         * LaTeXFeatures.[Ch] (useBabel): new method.
5219         * bufferparams.C (writeLaTeX): use it.
5220
5221 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * ParagraphList.h (set): remove unused function.
5224
5225 2003-05-23  André Pönitz  <poenitz@gmx.net>
5226
5227         * BufferView.C:
5228         * BufferView_pimpl.C:
5229         * buffer.C:
5230         * buffer.h:
5231         * lyxfunc.C:
5232         * undo_funcs.C: setUndo reworked
5233
5234         * iterators.[Ch]: add access to topmost ParagraphList
5235
5236         * lyxtext.[Ch] (workWidth): add a const
5237
5238 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * texrow.[Ch] (increasePos): remove function
5241         * exporter.C (export): removed unused var and outdated comment
5242
5243 2003-05-23  Angus Leeming  <leeming@lyx.org>
5244
5245         * latexrunparams.h: rename fragile as moving_arg.
5246         * paragraph.C (simpleTeXOnePar): ditto.
5247         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5248
5249 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5252         (createUndo): ditto
5253         (textUndoOrRedo): comment out a currently unused var.
5254
5255         * paragraph.h (NO_NEXT): enable NO_NEXT
5256
5257         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5258
5259         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5260
5261         * exporter.C (Export): adjust for removeAutoInsets removal.
5262
5263         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5264
5265         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5266
5267         * BufferView.[Ch] (removeAutoInsets): delete function
5268
5269 2003-05-22  Angus Leeming  <leeming@lyx.org>
5270
5271         * latexrunparams.h: add a free_spacing variable.
5272
5273         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5274         to pass moving_arg, as the data is stored in runparams.fragile.
5275
5276         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5277         to Inset::latexOptional or to simpleTeXOnePar.
5278
5279         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5280         free_spacing arg to Inset::latexOptional.
5281
5282         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5283         free_spacing arg.
5284
5285 2003-05-22  Angus Leeming  <leeming@lyx.org>
5286
5287         * latexrunparams.h: add fragile and use_babel variables.
5288
5289         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5290         * buffer.C (makeLaTeXFile): store this returned value in
5291         runparams.use_babel, thus passing it to the inset::latex methods.
5292
5293         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5294         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5295
5296         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5297         longer has a fragile arg, as it is stored in runparams.fragile.
5298
5299         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5300         moving_arg parameter as the data is stored in runparams.fragile.
5301
5302         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5303         a fragile parameter as the data is stored in runparams.fragile.
5304
5305 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5308
5309 2003-05-22  Angus Leeming  <leeming@lyx.org>
5310
5311         * latexrunparams.h: add a 'bool nice' which defaults to false.
5312
5313         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5314         now encapsulated within runparams.
5315
5316         * bufferlist.C (updateIncludedTeXfiles):
5317         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5318
5319 2003-05-22  Angus Leeming  <leeming@lyx.org>
5320
5321         * latexrunparams.h: new file containing struct LatexRunParams.
5322         * Makefile.am: add new file.
5323
5324         * LaTeX.[Ch] (c-tor, run):
5325         * buffer.[Ch] (makeLaTeXFile):
5326         * bufferlist.[Ch] (updateIncludedTeXfiles):
5327         * converter.C (convert, scanLog):
5328         * converter.[Ch] (runLaTeX):
5329         * exporter.C (Export):
5330         * paragraph.[Ch] (simpleTeXOnePar):
5331         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5332         * paragraph_funcs.[Ch] (latexParagraphs):
5333         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5334         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5335         pass around a LatexRunParams parameter.
5336
5337 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * paragraph.[Ch]: remove unused constructor
5340
5341         * ParagraphList.C (erase): new function, taking two iterators
5342
5343 2003-05-22  André Pönitz  <poenitz@gmx.net>
5344
5345         * undo_funcs.C: remove duplicated code
5346
5347         * iterator.[Ch]: operator=
5348
5349 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * tabular.C (SetMultiColumn): ws changes
5352
5353         * rowpainter.C (paintFirst): get rid of a ->previous
5354
5355         * lyx_cb.C (getPossibleLabel): parlist simplification
5356
5357         * BufferView.C (ChangeInsets): simplify slightly.
5358
5359 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5360
5361         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5362         * lfuns.h: new LFUN_SPACE
5363         * lyxfunc.C: protected space has a new lfun
5364         * paragraph_funcs.C: read new space insets
5365         * text3.C:
5366         * factory.C: handle new space insets
5367
5368 2003-05-22  André Pönitz  <poenitz@gmx.net>
5369
5370         * BufferView.C:
5371         * BufferView_pimpl.C:
5372         * buffer.[Ch]:
5373         * lyxfunc.C:
5374         * undo_funcs.C: return a ParIterator from getParFromID.
5375
5376         * iterators.[Ch]: add two const's
5377
5378 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * toc.C (getTocList): adjust
5381
5382         * iterators.[Ch]: rework for parlist
5383
5384         * buffer.C (par_iterator_begin): adjust
5385         (par_iterator_end): adjust
5386
5387         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5388
5389         * BufferView.C (removeAutoInsets): adjust
5390         (ChangeInsets): adjust
5391
5392 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5393
5394         * text.C (top_y): fix bug 1110
5395
5396 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5397
5398         * errorlist.[Ch]: added
5399         * buffer.C:
5400         * BufferView.[Ch]:
5401         * BufferView_pimpl.C:
5402         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5403         instead
5404
5405 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * Makefile.am: ensure that lyx is relinked upon changes to the
5408         various "convenience" libs.
5409
5410 2003-05-20  Angus Leeming  <leeming@lyx.org>
5411
5412         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5413         files are compiled in alphabetical order again.
5414
5415         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5416
5417 2003-05-19  Angus Leeming  <leeming@lyx.org>
5418
5419         * gettext.[Ch]: remove "char const * _(char const *)".
5420
5421 2003-05-19  André Pönitz  <poenitz@gmx.net>
5422
5423         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5424
5425         * Makefile.am:
5426         * BufferView.C:
5427         * DepTable.h:
5428         * LaTeXFeatures.C:
5429         * buffer.C:
5430         * lyxfont.C:
5431         * lyxlex.h:
5432         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5433
5434 2003-05-19  André Pönitz  <poenitz@gmx.net>
5435
5436         * buffer.C:
5437         * lyxlayout.[Ch]:
5438         * lyxtextclass.[Ch]:
5439         * paragraph.C:
5440         * paragraph_funcs.[Ch]:
5441         * text2.C:
5442         * text3.C: more insetenv work
5443
5444 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * ParagraphParameters.C (params2string): small bug fixed
5447
5448 2003-05-16  André Pönitz  <poenitz@gmx.net>
5449
5450         * debug.C:
5451         * bufferview_funcs.C: patch from Kornel Benko to prevent
5452           crash when _(...) is called twice in a statement
5453
5454 2003-05-16  André Pönitz  <poenitz@gmx.net>
5455
5456         * BufferView.C:
5457         * lyxfunc.C:
5458         * text.C:
5459         * text2.C:
5460         * text3.C:
5461         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5462
5463 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5464
5465         * lyx_main.C (init): remove spurious static_cast
5466
5467 2003-05-14  André Pönitz  <poenitz@gmx.net>
5468
5469         * BufferView.C: fix format string
5470
5471 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * BufferView.[Ch] (insertErrors): removed
5474         * BufferView.[Ch] (showErrorList): added
5475         * buffer.C (runChkTeX):
5476         * converter.C (scanLog): call showErrorList instead of inserterrors
5477
5478 2003-05-13  André Pönitz  <poenitz@gmx.net>
5479
5480         * BufferView_pimpl.C:
5481         * buffer.C:
5482         * bufferview_func.C:
5483         * MenuBackend.C:
5484         * lyxfunc.C:
5485         * lyxrc.C:
5486         * tex-accent.C:
5487         * text3.C:
5488         * toc.C:
5489         * tabular_funcs.h: tostr() from its own header
5490
5491         * ParagraphParameters.C:
5492         * ToolbarBackend.C:
5493         * bufferparams.C:
5494         * format.C:
5495         * lyxlex_pimpl.C:
5496         * text3.C: STRCONV()
5497
5498 2003-05-12  André Pönitz  <poenitz@gmx.net>
5499
5500         * BufferView.C:
5501         * BufferView_pimpl.C:
5502         * CutAndPaste.C:
5503         * LaTeX.C:
5504         * LaTeXFeatures.C:
5505         * ParagraphParameters.C:
5506         * buffer.C:
5507         * bufferlist.C:
5508         * bufferparams.C:
5509         * bufferview_funcs.C:
5510         * converter.C:
5511         * counters.C:
5512         * debug.C:
5513         * exporter.C:
5514         * format.C:
5515         * importer.C:
5516         * lyx_cb.C:
5517         * lyx_main.C:
5518         * lyxfont.C:
5519         * lyxfunc.C:
5520         * lyxvc.C:
5521         * paragraph.C:
5522         * paragraph_funcs.C:
5523         * tabular.C:
5524         * tabular_funcs.C:
5525         * text2.C:
5526         * text3.C:  boost::format -> bformat  all over the place
5527
5528
5529 2003-05-09  André Pönitz  <poenitz@gmx.net>
5530
5531         * LColor.[Ch]: Pimpl the #include <map> away
5532
5533 2003-05-09  John Levon  <levon@movementarian.org>
5534
5535         * bufferlist.C: never remove emergency saves
5536
5537 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * Makefile.am: better lib building
5540
5541 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5544         instead.
5545         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5546         (simpleTeXSpecialChars): adjust
5547         (simpleTeXSpecialChars): adjust
5548         * paragraph.C (simpleTeXOnePar): adjust
5549         * buffer.C (makeLaTeXFile): adjust
5550
5551         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5552
5553         * text2.C (changeDepth): parlist cleanup
5554         (getColumnNearX): ditto
5555
5556         * rowpainter.C (getLabelFont): parlist cleanup
5557
5558         * bufferlist.C (newFile): parlist cleanup
5559
5560         * CutAndPaste.C (eraseSelection): parlist cleanup
5561
5562         * BufferView_pimpl.C (trackChanges): parlist cleanup
5563         (dispatch): ditto
5564
5565         * BufferView.C (lockInset): parlist cleanup.
5566         (ChangeInsets): ditto
5567
5568 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * CutAndPaste.h: Update file header.
5571
5572         * CutAndPaste.C: Update file header.
5573         Store the parts cut out of the Document in a limited_stack.
5574         (copySelection): adjust
5575         (pasteSelection): new function, takes the index in the limited stack.
5576         (nrOfParagraphs): adjust
5577         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5578         simplify error inset insertion.
5579         (checkPastePossible): adjust
5580
5581 2003-05-06  John Levon  <levon@movementarian.org>
5582
5583         * text2.C: don't cast wrap inset to float
5584
5585 2003-05-05  André Pönitz  <poenitz@gmx.net>
5586
5587         * iterator.C:
5588         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5589
5590         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5591           few naked Paragraph *.
5592
5593 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5594
5595         * bufferparams.C: Output warning if a document with missing
5596         TeX document class is loaded
5597         * exporter.C: Disable TeX exports if the document class is missing
5598         * lyxtextclass.C:
5599         * lyxtextclass.h:
5600         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5601         isTeXClassAvailable()
5602
5603 2003-05-03  John Levon  <levon@movementarian.org>
5604
5605         * BufferView.h:
5606         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5607         explicit cursor show/hide
5608
5609         * BufferView_pimpl.h:
5610         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5611         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5612
5613         * lyxfunc.C: hide cursor before dispatching.
5614
5615         * lyx_cb.C:
5616         * lyxfind.C:
5617         * text.C:
5618         * text3.C: remove explicit cursor hides
5619
5620 2003-05-02  André Pönitz  <poenitz@gmx.net>
5621
5622         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5623
5624         * undo_funcs.C:
5625         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5626           linked lists
5627
5628         * text2.C: tiny whitespace
5629
5630 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * undo_funcs.C: almost only ws changes.
5633
5634         * ParagraphList.C (splice): just return if pl is empty.
5635
5636 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * ParagraphList.C (splice): new function.
5639
5640         * CutAndPaste.C (pasteSelection): use it
5641
5642 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * CutAndPaste.C (pasteSelection): remove the last next and
5645         previous from this file.
5646
5647 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * CutAndPaste.C (pasteSelection): more clean up, user proper
5650         ParagraphList functions for pasteing.
5651
5652         * ParagraphList.C (insert): new function, three arg insert
5653
5654 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * ParagraphList.C (insert): new function, three arg insert
5657
5658         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5659         not on paragraphs.
5660
5661 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5664
5665 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5668
5669 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5672         (copySelection): clean up a bit.
5673         (pasteSelection): use make_pair
5674
5675         * ParagraphList.C (ParagraphList): implement copy constructor
5676         (operator=): implement, base on copy constructor.
5677         (assign): new func
5678
5679         * paragraph.C (erase): return a bool
5680
5681         * paragraph_pimpl.C (erasePos): remove function, move contents...
5682         (erase): ... here. Return a bool.
5683         (erase): call erase instead of erasePos.
5684
5685 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5686
5687         * ParagraphList.h: define PitPosPair
5688         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5689         ParagraphList, fix a bug on pasting multiple pars
5690         * text2.C: change interface to C&P
5691
5692 2003-04-30  André Pönitz  <poenitz@gmx.net>
5693
5694         * undo_func.C: revert part of yesterday's patch 2
5695
5696 2003-04-30  John Levon  <levon@movementarian.org>
5697
5698         * LColor.C: s/tabular/table/
5699
5700 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * text3.C (dispatch): do not convert iterator -> pointer
5703         * undo_funcs.C (setCursorParUndo): ditto
5704         * text_funcs.C (transposeChars): ditto
5705
5706         * text2.C (setLayout): ws changes only
5707
5708         * text.C (breakParagraph): do not convert iterator -> pointer
5709         (insertChar): ditto
5710         (acceptChange): ditto
5711         (rejectChange): ditto
5712         (changeCase): ditto
5713         (Delete): ditto
5714         (backspace): ditto
5715
5716         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5717         pointer
5718
5719 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * text3.C (gotoInset): YABG (yet another bad getChar)
5722
5723 2003-04-29  André Pönitz  <poenitz@gmx.net>
5724
5725         * paragraph.h: make operator= private unimplemented as long as
5726           it is unusable
5727
5728         * ParagraphList.C: whitespace
5729
5730         * paragraph.[Ch]:
5731         * paragraph_pimpl.[Ch]:
5732         * paragraph_funcs.C:
5733         * CutAndPaste.C:
5734         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5735
5736         * text2.C:
5737           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5738
5739 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5740
5741         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5742         * paragraph.[Ch] (erase):
5743         * paragraph_pimpl.[Ch] (erase): change return type and value
5744         * text2.C (cutSelection): some rework
5745
5746 2003-04-28  John Levon  <levon@movementarian.org>
5747
5748         * bufferlist.C: changes for unsaved changes dialog
5749
5750 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * bufferlist.C (newFile): set language (messages_) for new
5753         documents also.
5754
5755         * buffer.C (readFile): ws changes only.
5756
5757 2003-04-28  André Pönitz  <poenitz@gmx.net>
5758
5759         * undo_funcs.C:
5760         * lyxfunc.C:
5761         * buffer.[Ch]:
5762         * BufferView_pimpl.C:
5763         * BufferView.C: getParFromID related ParagraphList::iterator changes
5764
5765 2003-04-28  André Pönitz  <poenitz@gmx.net>
5766
5767         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5768           Changes
5769
5770 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5771
5772         * messages.C: remove one more localedir class variable.
5773
5774 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * messages.C (getLocaleDir): singleton generation function
5777         (Pimpl): use it.
5778         (Messages): add a default constructor.
5779
5780         * main.C (main): do not setup localedir here, do not call
5781         gettext_init.
5782
5783         * gettext.C (_): use it.
5784         (gettext_init): delete funciton
5785
5786 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * gettext.C (getLyXMessages): new singleton generating function.
5789
5790         * buffer.C (updateDocLang): adjust
5791
5792         * Makefile.am (messages.o): add target
5793         (main.o): remove target
5794
5795 2003-04-27  John Levon  <levon@movementarian.org>
5796
5797         * bufferlist.C:
5798         * lyx_cb.C:
5799         * lyxfunc.C:
5800         * lyxvc.C: specify cancel button in Alert::prompt
5801
5802 2003-04-26  John Levon  <levon@movementarian.org>
5803
5804         * text3.C:
5805         * lyxfunc.C:
5806         * lfuns.h:
5807         * LyXAction.C: add LFUN_INSET_SETTINGS
5808
5809         * lyxfunc.C: don't enable tabular-feature when there's
5810         just any locking inset
5811
5812 2003-04-26  John Levon  <levon@movementarian.org>
5813
5814         * bufferlist.C: re-add Cancel to buffer close question
5815
5816         * lyxfunc.C: fix import UI a bit
5817
5818 2003-04-25  John Levon  <levon@movementarian.org>
5819
5820         * gettext.C: remove the broken asserts for now
5821
5822 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * messages.C: make case where setlocale cannot comply work better.
5825
5826         * buffer.C (updateDocLang): new function
5827         (changeLanguage): use it
5828         (readFile): use it
5829
5830         * text2.C (setCounter): use B_ a bit.
5831
5832         * lyxlayout.C (Read): be sure to trim the label strings.
5833
5834         * messages.C (Messages): fix typo in comment
5835
5836         * buffer.C (readFile): set message_ after file is loaded.
5837         (makeDocBookFile): remove double return
5838         (changeLanguage): reset message_ upon language change.
5839         (B_): new func, use this to get translated buffer strings.
5840
5841         * main.C: add myself and Jean Marc as authors.
5842
5843 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * messages.[hC]: pimplify Messages, and three different pimpls to be
5846         used in different circumstances.
5847
5848         * gettext.[Ch]: change for use with new message code.
5849
5850 2003-04-24 André Pönitz <poenitz@gmx.net>
5851
5852         * factory.C: support for eqref
5853
5854 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * messages.[Ch]: add missing char
5857
5858         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5859
5860         * messages.[Ch]: New files
5861
5862 2003-04-18  John Levon  <levon@movementarian.org>
5863
5864         * BufferView.h:
5865         * BufferView.C:
5866         * BufferView_pimpl.C:
5867         * lfuns.h:
5868         * LyXAction.C:
5869         * lyxtext.h:
5870         * text2.C: remove layout-copy/paste (bug 778)
5871
5872 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5873
5874         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5875
5876 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5877
5878         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5879         if they succeed. Act accordingly.
5880
5881 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * text2.C (setCharFont): adjust
5884         (setCounter): adjust
5885         (insertStringAsLines): adjust
5886
5887         * text.C (leftMargin): adjust
5888         (setHeightOfRow): adjust
5889
5890         * rowpainter.C (paintFirst): adjust
5891         (paintLast): adjust
5892
5893         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5894         (outerHook): ditto
5895         (isFirstInSequence): ditto
5896         (getEndLabel): ditto
5897         (outerFont): adjust
5898
5899         * paragraph.C (getParLanguage): comment out some hard stuff.
5900
5901         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5902         (sgmlError): ditto
5903         (simpleDocBookOnePar): ditto
5904         (makeDocBookFile): use ParagraphList::iterator
5905
5906         * CutAndPaste.C (pasteSelection): adjust
5907
5908 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * text2.C (getFont): adjust
5911         (getLayoutFont): adjust
5912         (getLabelFont): adjust
5913
5914         * paragraph_funcs.C (TeXOnePar): adjust
5915
5916         * buffer.C (simpleLinuxDocOnePar): adjust
5917         (simpleDocBookOnePar): adjust
5918
5919         * CutAndPaste.C (pasteSelection): adjust
5920
5921         * BufferView.C (getEncoding): adjust
5922
5923         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5924
5925 2003-04-16  John Levon  <levon@movementarian.org>
5926
5927         * lyxfind.C: use parlist stuff for search/changes
5928
5929 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5932
5933         * text2.C (deleteEmptyParagraphMechanism): adjust
5934
5935         * text2.[Ch] (ownerParagraph): delete func (both of them
5936
5937 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5940
5941 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * ParagraphList.C: prepare for NO_NEXT
5944
5945 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * text2.C (getFont): adjust
5948         (getLayoutFont): adjust
5949         (getLabelFont): adjust
5950
5951         * paragraph.C (getFont): adjust
5952         (getLabelFont): adjust
5953         (getLayoutFont): adjust
5954
5955         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5956
5957 2003-04-15  John Levon  <levon@movementarian.org>
5958
5959         From Angus Leeming
5960
5961         * lyx_main.C: handle Include in .ui files
5962
5963 2003-04-15  John Levon  <levon@movementarian.org>
5964
5965         * MenuBackend.C: make the doc files length shorter
5966
5967         * ToolbarBackend.h:
5968         * ToolbarBackend.C: handle toolbar placement flags,
5969         Minibuffer
5970
5971 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5974         adjust
5975
5976         * paragraph_funcs.C (TeXOnePar): adjust
5977
5978         * paragraph.C (getLabelFont): add outerfont arg, adjust
5979         (getLayoutFont): ditto
5980         (simpleTeXOnePar): adjust
5981
5982         * paragraph_pimpl.C (realizeFont): delete func
5983
5984 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5987         row argument, constify cur argument.
5988
5989 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * text2.C (getFont): adjust
5992         (getLayoutFont): adjust
5993         (getLabelFont): adjust
5994
5995         * paragraph_funcs.C (TeXOnePar): adjust
5996         (outerFont): new func...
5997         (realizeFont): ...moved out from here, changed this to facilitate
5998         transition
5999
6000         * paragraph.C (getFont): take outerfont as arg, adjust
6001         (simpleTeXOnePar): add outerfont arg, adjust
6002
6003         * buffer.C (simpleLinuxDocOnePar): adjust
6004         (simpleDocBookOnePar): adjust
6005
6006         * CutAndPaste.C (pasteSelection): adjust
6007
6008         * BufferView.C (getEncoding): adjust
6009
6010 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * text2.C (setCharFont): adjust
6013         (setCounter): adjust
6014
6015         * text.C (leftMargin): adjust
6016         (setHeightOfRow): adjust
6017
6018         * rowpainter.C (paintFirst): adjust
6019         (paintLast): adjust
6020
6021         * paragraph_pimpl.C (realizeFont): adjust
6022
6023         * paragraph.C (isFirstInSequence): move from here...
6024         * paragraph_funcs.C (isFirstInSequence): ...to here
6025
6026         * paragraph.C (outerHook): move from here...
6027         * paragraph_funcs.C (outerHook): ...to here
6028
6029         * paragraph.C (depthHook): move from here...
6030         * paragraph_funcs.C (depthHook): ...to here
6031
6032         * paragraph.C (getEndLabel): move from here...
6033         * paragraph_funcs.C (getEndLabel): ...to here
6034
6035         * text2.C (realizeFont): move from here...
6036         * paragraph_funcs.C (realizeFont): ...to here
6037
6038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6041
6042 2003-04-14  Angus Leeming  <leeming@lyx.org>
6043
6044         * LColor.[Ch]: scrap LColor mathcursor.
6045
6046 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * lyxlex.[Ch] (text): delete function
6049         * trans.C (Load): adjust
6050         * paragraph_funcs.C (readParToken): adjust
6051
6052 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6055         vector<char> instead of a char[].
6056
6057         * lyxlex_pimpl.C (getString): adjust
6058         (next): adjust
6059         (lex): use getString
6060         (eatLine): adjust
6061         (nextToken): adjust
6062
6063         * lyxlex.C (text): use pimpl_->getString()
6064         (getBool): ditto
6065         (findToken): ditto
6066
6067 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6070         (makeFontEntriesLayoutSpecific): temp var for par.size()
6071         (setLayout): temp var for ownerParagraphs().end()
6072         (fullRebreak): temp var for rows().end()
6073         (selectionAsString): temp var for boost::next(startpit), realize
6074         that the while really is a regular for loop.
6075         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6076         setCursor in one place.
6077         (setParagraph): temp vr for ownerParagraphs().end()
6078         (updateCounters): make the while loop a for loop
6079         (cutSelection): temp var for ownerParagraphs().end()
6080         (updateInset): make the do {} while() a regular for loop
6081         (getCursorX): use temp vars
6082         (setCurrentFont): use temp vars
6083         (getColumnNearX): use temp vars
6084
6085 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * text.C (transformChar): use temp var for getChar
6088         (computeBidiTables): use temp var for row->par()
6089         (fill): move temp vars for row->par() and pit->layout() earlier in
6090         the function.
6091         (labelFill): use temp var for row->par()
6092         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6093         asc and desc, realize that pit never changes and that firstpit is
6094         just a duplicate and not needed. Exchange rit->par() with pit in a
6095         lot of places.
6096         (breakAgain): use a temp var for boost::next(rit)
6097         (breakAgainOneRow): ditto
6098         (breakParagraph): use a temp var for rows().begin()
6099         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6100         (cursorRightOneWord): use temp var for cursor.par() and
6101         cursor.pos(), remove usage of tmpcursor.
6102         (cursorLeftOneWord): use temp var for cursor.par() and
6103         cursor.pos() only set cur at end of function.
6104
6105 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * text.C, text2.C: exchange all usage of Paragraph::next with
6108         boost::next(ParagraphList::iterator)
6109
6110         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6111
6112         * text2.C (cursorTop): simplify implementation
6113         (cursorBottom): ditto
6114         (setParagraph): use ParagraphList::iterator
6115         (setCurrentFont): adjust
6116         (getColumnNearX): adjust
6117         (cursorRight): adjust
6118         (cursorLeft): remove usage of Paragraph::previous
6119         (cursorUpParagraph): ditto
6120         (deleteEmptyParagraphMechanism): slight cleanup
6121
6122         * text.C (isBoundary): take a Paragraph const & instead of a
6123         pointer as arg.
6124         (addressBreakPoint): ditto
6125         (leftMargin): remove usage of Paragraph::previous.
6126         (setHeightOfRow): ditto
6127         (cursorLeftOneWord): ditto
6128         (selectNextWordToSpellcheck): ditto
6129         (Delete): ditto
6130         (backspace): ditto
6131         (breakParagraph): remove one usage of Paragraph::next
6132         (redoParagraph): ditto
6133         (acceptChange): ditto
6134         (insertChar): adjust
6135         (rowBreakPoint): adjust
6136
6137         * bufferview_funcs.C (toggleAndShow): adjust
6138
6139 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6140
6141         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6142         methods to access it.
6143         * lyxtext.h:
6144         * text.C: Added updateRowPositions to compute all row positions.
6145         Make top_y and getRowNearY() to use the cached y position
6146
6147 2003-04-11  John Levon  <levon@movementarian.org>
6148
6149         * text.C (rowBreakPoint): reintroduce the labelEnd
6150         checks, code copied from the row fill stuff. Deep voodoo.
6151
6152         * text.C (fill): add a comment and debugging for the
6153         next poor soul.
6154
6155 2003-04-11  John Levon  <levon@movementarian.org>
6156
6157         * text.C: make sure fullrow insets get wrapped to the next line,
6158         even when they're in a manual label
6159
6160 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * text2.C (insertParagraph): make it take ParagraphList::iterator
6163         as arg.
6164         (setLayout): make it return ParagraphList::iterator
6165         (redoParagraphs): ditto
6166         (setCounter): ditto
6167         (checkParagraph): ditto
6168
6169         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6170
6171         * text2.C: adjust several funcs.
6172         (realizeFont): take a ParagraphList::iterator as arg.
6173         (getLayoutFont): ditto
6174         (getLabelFont): ditto
6175         (setCharFont): ditto
6176
6177         * text.C: adjust several funcs.
6178
6179 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * text.C (selectNextWordToSpellcheck): don't accidentally
6182         skip insets
6183
6184 2003-04-10  John Levon  <levon@movementarian.org>
6185
6186         * ToolbarBackend.C (getIcon): special handling for
6187         LFUN_MATH_DELIM
6188
6189 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6190
6191         * text2.C (cursorRight): a getChar assert fixed
6192
6193 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * text2.C (getFont): change to take a ParagraphList::iterator
6196         instead of Paragraph*
6197         Adjust several functions.
6198
6199         * text.C (transformChar): change to take a ParagraphList::iterator
6200         instead of Paragraph*
6201         (singleWidth): ditto
6202         Adjust several functions.
6203
6204         * rowpainter.C: adjust several functions
6205         * rowpainter.h:store a ParagraphList::iterator and not a
6206         Paragraph&.
6207
6208
6209 2003-04-09  John Levon  <levon@movementarian.org>
6210
6211         * lyxfunc.C:
6212         * lfuns.h:
6213         * LyXAction.h:
6214         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6215         and the "help" bits as well
6216
6217 2003-04-09  John Levon  <levon@movementarian.org>
6218
6219         * ToolbarBackend.h:
6220         * ToolbarBackend.C: allow multiple toolbars
6221
6222 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * undo_funcs.C (setCursorParUndo): adjust
6225
6226         * text_funcs.C (transposeChars): adjust
6227
6228         * text3.C (gotoNextInset): adjust
6229         (dispatch): adjust
6230
6231         * text2.C (setLayout): adjust
6232         (changeDepth): adjust
6233         (setFont): adjust
6234         (redoParagraphs): adjust
6235         (selectionAsString): adjust
6236         (setParagraph): adjust
6237         (insertInset): adjust
6238         (cutSelection): adjust
6239         (copySelection): adjust
6240         (pasteSelection): adjust
6241         (insertStringAsLines): adjust
6242         (updateInset): adjust
6243         (setCursor): change to take a ParagraphList::iterator parameter
6244         (setCursorIntern): change to take a ParagraphList::iterator parameter
6245         (setCurrentFont): adjust
6246         (cursorLeft): adjust
6247         (cursorRight): adjust
6248         (deleteEmptyParagraphMechanism): adjust
6249
6250         * text.C (breakParagraph): adjust
6251         (insertChar): adjust
6252         (acceptChange): adjust
6253         (rejectChange): adjust
6254         (selectNextWordToSpellcheck): adjust
6255         (changeCase): adjust
6256         (Delete): adjust
6257         (backspace): adjust
6258
6259         * lyxfind.C (SearchForward): adjust
6260         (SearchBackward): adjust
6261         (nextChange): adjust
6262
6263         * lyxcursor.C (par): adjust
6264
6265         * lyxcursor.h: store a ParagraphList::iterator instead of a
6266         Paragraph*
6267
6268         * lyx_cb.C (getPossibleLabel): adjust
6269
6270         * bufferview_funcs.C (toggleAndShow): adjust
6271
6272         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6273         (dispatch): adjust
6274
6275         * BufferView.C (removeAutoInsets): adjust
6276         (lockedInsetStoreUndo): adjust
6277
6278 2003-04-09  John Levon  <levon@movementarian.org>
6279
6280         * ToolbarBackend.C: try icon without argument
6281         if with argument fails
6282
6283 2003-04-08  John Levon  <levon@movementarian.org>
6284
6285         * ToolbarBackend.h:
6286         * ToolbarBackend.C: add getIcon(), handle tooltip,
6287         and change from "Icon" to "Item".
6288
6289 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6290
6291         * BufferView.C (lockInset): another bad getchar crunched
6292
6293 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6294
6295         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6296         again)
6297
6298 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6299
6300         * lyxfind.C (searchForward, searchBackwards): bug 782
6301
6302 2003-04-07  John Levon  <levon@movementarian.org>
6303
6304         * paragraph.C: remove dead comment
6305
6306         * text.C: remove troublesome depth-fiddling code
6307         in leftMargin() and rightMargin() (bug 1017)
6308
6309         * text.C: fix breaking of rows in nested lists
6310         (bug 1004)
6311
6312         * text2.C (updateCounters): fix up depth values
6313         (bug 1013)
6314
6315 2003-04-07  John Levon  <levon@movementarian.org>
6316
6317         * BufferView_pimpl.C: clear message when doc finishes resizing,
6318         and after a mouse event
6319
6320         * lyxfunc.C: clear message after exiting inset
6321
6322 2003-04-07  John Levon  <levon@movementarian.org>
6323
6324         * bufferview_funcs.C: show math status not outside
6325         status in the statusbar
6326
6327 2003-04-07  John Levon  <levon@movementarian.org>
6328
6329         * lyxfunc.C: note status changed after a depth change
6330
6331 2003-04-04  Angus Leeming  <leeming@lyx.org>
6332
6333         * LaTeX.h: move AuxInfo operator==, != out of line.
6334         Remove LaTeX virtual destructor; nothing derives from it.
6335         Move operator()() out of public area and rename it startscript().
6336         Change protected for private.
6337
6338 2003-04-04  Angus Leeming  <leeming@lyx.org>
6339
6340         * lyxfunc.C:
6341         * text2.C: remove unneeded #includes.
6342
6343 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * text2.C (dEPM): fix the heigth of the next row
6346
6347 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * text.C: squashed an invalid getChar requester + some ws changes
6350
6351 2003-04-03  John Levon  <levon@movementarian.org>
6352
6353         * bufferview_funcs.h:
6354         * bufferview_funcs.C:
6355         * lyxfunc.C:
6356         * lyxtext.h:
6357         * text2.C: make getStatus work for the env depth lfuns
6358
6359 2003-04-03  John Levon  <levon@movementarian.org>
6360
6361         * bufferview_funcs.h:
6362         * bufferview_funcs.C:
6363         * lyxfunc.C:
6364         * lyxtext.h:
6365         * text2.C: parlistize decDepth(), by merging it with incDepth()
6366
6367 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * lyxrow.h: store a ParagraphList::iterator instead of a
6370         Paragraph* and adjust other class functions to suit.
6371
6372         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6373         above.
6374
6375 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6376
6377         * text2.C (setCursor): do not anchor to cursor row for the time being
6378
6379 2003-04-02  John Levon  <levon@movementarian.org>
6380
6381         * LyXAction.C:
6382         * lfuns.h:
6383         * lyx_main.C:
6384         * lyxtext.h:
6385         * text.C:
6386         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6387
6388 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * paragraph.h: make ParagraphList and ParagraphList::iterator
6391         friends of Paragraph.
6392
6393         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6394
6395         * ParagraphList.C: Use the private next_ and previous_ from
6396         Paragraph.
6397
6398 2003-04-01  John Levon  <levon@movementarian.org>
6399
6400         * ToolbarBackend.h:
6401         * ToolbarBackend.C:
6402         * Makefile.am: rename, remove defaults gunk
6403
6404         * MenuBackend.h:
6405         * MenuBackend.C: remove defaults gunk
6406
6407         * Languages.h:
6408         * Languages.C: remove defaults gunk
6409
6410         * lyx_main.h:
6411         * lyx_main.C: error out if files couldn't be found.
6412
6413 2003-04-02  John Levon  <levon@movementarian.org>
6414
6415         * text2.C: make incDepth() use parlist
6416
6417 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * undo_funcs.C (firstUndoParagraph): adjust
6420
6421         * text3.C (gotoInset): adjust
6422         (dispatch): adjust, and rewrite loop.
6423
6424         * text2.C (init): adjust, and rewrite loop.
6425         (redoParagraphs): adjust
6426         (updateInset): adjust, and rewrite loop.
6427         (deleteEmptyParagraphMechanism): adjust
6428
6429         * tabular.C (LyXTabular): adjust
6430         (SetMultiColumn): adjust
6431         (TeXRow): adjust
6432
6433         * lyxtext.[Ch] (ownerParagraph): delete function
6434         (ownerParagraphs): new function returns a ParagraphList.
6435
6436         * BufferView.C (removeAutoInsets): adjust
6437         (insertErrors): adjust
6438         (setCursorFromRow): adjust
6439
6440 2003-04-01  Angus Leeming  <leeming@lyx.org>
6441
6442         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6443         in the frontends.
6444
6445 2003-04-02  John Levon  <levon@movementarian.org>
6446
6447         * lyxtext.h:
6448         * text.C:
6449         * Makefile.am:
6450         * text_funcs.h:
6451         * text_funcs.C: make transposeChars a free function
6452
6453         * lyxrow_funcs.C: remove wrong comment
6454
6455 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * lyxtext.h: adjust
6458         * rowpainter.C: adjust
6459         * text.C: adjust
6460         * text2.C: adjust
6461         * text3.C: adjust
6462
6463         * lyxrow_funcs. [Ch]: new files
6464
6465         * lyxrow.[Ch]: remove next and previous pointers
6466         (next,previous): remove accessor functions
6467         (isParEnd): move to lyxrow_funcs
6468         (lastPos): move to lyxrow_funcs
6469         (nextRowIsAllInset): move to lyxrow_funcs
6470         (lastPrintablePos): move to lyxrow_funcs
6471         (numberOfSeparators): move to lyxrow_funcs
6472         (numberOfHfills): move to lyxrow_funcs
6473         (numberOfLabelHfills): move to lyxrow_funcs
6474         (hfillExpansion): move to lyxrow_funcs
6475
6476         * lyxfunc.C: adjust
6477
6478         * bufferview_funcs.C (toggleAndShow): adjust
6479
6480         * RowList.h: Remove class RowList from file leave just a
6481         std::list<Row>.
6482
6483         * RowList.C: delete file
6484
6485         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6486         and lyxrow_funcs.h
6487
6488 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * text3.C (cursorPrevious): adjust
6491         (cursorNext): adjust
6492         (dispatch): adjust
6493
6494         * text2.C (redoHeightOfParagraph): adjust
6495         (redoDrawingOfParagraph): adjust
6496         (setCursor): adjust
6497
6498         * text.C (breakParagraph): adjust
6499         (insertChar): adjust
6500         (backspace): adjust
6501
6502         * rowpainter.C (RowPainter): adjust
6503         (leftMargin): simplify and adjust
6504         (most rowpainter functions): adjust.
6505
6506         * rowpainter.h: store the row as RowList::iterator not as Row*
6507
6508         * lyxcursor.C (row): taka RowList::iterator as arg
6509         (irow): ditto
6510
6511         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6512         of Row*.
6513
6514 2003-04-01  Angus Leeming  <leeming@lyx.org>
6515
6516         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6517         stuff like bool Bool.
6518
6519 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6522         rewrite a loop
6523
6524 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6527         RowList::iterator.
6528
6529         * lyxtext.h (rows): drop one version and leve a const variant that
6530         returns a RowList::iterator.
6531
6532 2003-03-31  Angus Leeming  <leeming@lyx.org>
6533
6534         * text.C (fill): ensure that the signature is the same as that in the
6535         header file.
6536
6537 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * text2.C (redoParagraphs): adjust
6540         (updateCounters): adjust
6541         (checkParagraph): adjust
6542         (getColumnNearX): adjust and reformat a bit.
6543
6544         * text.C (top_y): adjust
6545         (workWidth): adjust
6546         (leftMargin): adjust
6547         (prepareToPrint): adjust
6548         (getRow): adjust
6549         (getRowNearY): adjust
6550
6551         * lyxtext.h: make rowlist_ mutable.
6552
6553         * RowList.h: add const_iterator
6554         * RowList.C: adjust for RowList::const_iterator.
6555
6556         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6557         adjust.
6558
6559 2003-03-31  John Levon  <levon@movementarian.org>
6560
6561         * lyxrc.h:
6562         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6563
6564         * lyx_main.C: set default fonts from using lyx_gui funcs
6565
6566         * exporter.C: pdf_mode moved from lyxrc
6567
6568         * lyx_cb.C:
6569         * lyxfunc.C: changes from above
6570
6571 2003-03-31  John Levon  <levon@movementarian.org>
6572
6573         * lyx_main.C: fix to the last fix
6574
6575 2003-03-31  John Levon  <levon@movementarian.org>
6576
6577         * bufferlist.C: "Load original" -> "Load Original"
6578
6579         * converter.C:
6580         * exporter.C:
6581         * importer.C:
6582         * lyx_main.C:
6583         * format.C: more Alert cleanups
6584
6585 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * text2.C (removeParagraph): make it take a RowList::iterator as
6588         arg, adjust.
6589         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6590         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6591
6592         * text.C (anchor_row): make it take a RowList::iterator as arg,
6593         adjust.
6594         (computeBidiTables): make it take a const reference to Row instead
6595         of Row pointer, adjust.
6596         (leftMargin): make it take a RowList::iterator as arg, adjust.
6597         (rowBreakPoint): adjust
6598         (breakAgainOneRow): make it take a RowList::iterator as arg,
6599         adjust.
6600         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6601
6602         * bufferview_funcs.C (toggleAndShow): adjust
6603
6604 2003-03-30  John Levon  <levon@movementarian.org>
6605
6606         * Makefile.am:
6607         * BoostFormat.h:
6608         * boost-inst.C: moved to support
6609
6610         * several files: changes as a result
6611
6612 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * text2.C (LyXText): adjust.
6615         (init): adjust
6616         (removeRow): make it take a RowList::iterator as arg, adjust.
6617         (fullRebreak): adjust
6618         (deleteEmptyParagraphMechanism): adjust
6619         (clearPaint): adjust
6620         (postPaint): adjust
6621
6622         * text.C (top_y): adjust
6623         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6624         (breakAgain): make it take a RowList::iterator as arg, adjust.
6625         (breakParagraph): adjust
6626         (insertChar): adjust
6627         (backspace): adjust
6628
6629         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6630         need_break_row, and refresh_row.
6631
6632         * text3.C (dispatch): adjust
6633
6634         * text2.C (checkParagraph): adjust
6635         (setCursor): adjust
6636         (setCursorFromCoordinates): adjust
6637
6638         * text.C (top_y): adjust
6639         (workWidth): adjust
6640         (getRow): make it return a RowList::iterator, adjust
6641         (getRowNearY): make it return a RowList::iterator, adjust
6642
6643         * text2.C (init): adjust
6644         (insertRow): remove function
6645         (insertParagraph): adjust
6646         (redoParagraphs): adjust
6647         (fullRebreak): adjust
6648         (updateCounters): adjust
6649
6650         * text.C (top_y): rewrite to use RowList iterators.
6651         (top_y): adjust
6652         (setHeightOfRow): rewrite to sue RowList iterators.
6653         (appendParagraph): adjust
6654         (breakAgain): adjust
6655         (breakAgainOneRow): adjust
6656         (breakParagraph): adjust
6657         (getRow): adjust
6658         (getRowNearY): adjust, and remove commented code.
6659
6660         * lyxtext.h (firstRow): delete function
6661         (lastRow): delete function
6662         (rows): new function (const and non-const versions.)
6663         (insertRow): delete function
6664
6665         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6666
6667 2003-03-29  John Levon  <levon@movementarian.org>
6668
6669         * BufferView_pimpl.C: always update scrollbar top
6670         because pasting text when we're anchored could mean we
6671         miss an update altogether
6672
6673 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * text2.C (init): use rowlist_.end() and not 0.
6676         (insertRow): change to take a RowList::iterator as arg, adjust
6677         for this.
6678         (insertParagraph): change to take a RowList::iterator as arg,
6679         adjust for this.
6680         (redoParagraphs): remove some debug msgs.
6681
6682         * text.C (appendParagraph): change to take a RowList::iterator
6683         arg, adjust for this.
6684         (breakAgain): add an assert
6685         (breakAgainOneRow): ditto
6686
6687 2003-03-29  John Levon  <levon@movementarian.org>
6688
6689         * text2.C: do not clear selection after inc/decDepth
6690         (bug 550)
6691
6692 2003-03-29  John Levon  <levon@movementarian.org>
6693
6694         * BufferView.C:
6695         * buffer.C: fix broken strerrors according to Lars
6696
6697 2003-03-29  John Levon  <levon@movementarian.org>
6698
6699         * converters.C: more Alert cleanups
6700
6701 2003-03-29  John Levon  <levon@movementarian.org>
6702
6703         * bufferview_funcs.C: remove pointless Alert
6704
6705         * buffer.C: fix confusing error message when
6706         a template is chmoded 000
6707
6708 2003-03-29  John Levon  <levon@movementarian.org>
6709
6710         * BufferView.C:
6711         * BufferView.h:
6712         * BufferView_pimpl.C: Alert fixes
6713
6714         * Makefile.am:
6715         * tabular.C:
6716         * tabular-old.C: remove unused table compat reading
6717
6718 2003-03-29  John Levon  <levon@movementarian.org>
6719
6720         * BufferView.C:
6721         * buffer.C:
6722         * lyx_cb.h:
6723         * lyx_cb.C: more Alert cleanups
6724
6725         * lyxfunc.C: don't allow chktex if not latex document
6726
6727 2003-03-29  John Levon  <levon@movementarian.org>
6728
6729         * lyx_cb.C:
6730         * BufferView.C:
6731         * buffer.C: warnings pushed down from support/,
6732         kill err_alert
6733
6734 2003-03-29  John Levon  <levon@movementarian.org>
6735
6736         * lyxfunc.C: safety check for C-r (revert)
6737
6738 2003-03-29  John Levon  <levon@movementarian.org>
6739
6740         * bufferlist.h:
6741         * bufferlist.C: several UI fixes using Alert::prompt.
6742         Fix the pointless looping quit code. Fix stupid revert
6743         behaviour (bug 938)
6744
6745         * lyxvc.h:
6746         * lyxvc.C:
6747         * lyx_cb.C: use Alert::prompt
6748
6749         * lyx_main.C: remove a silly question
6750
6751         * lyxfunc.C: remove a couple of silly questions,
6752         use Alert::prompt
6753
6754 2003-03-28  John Levon  <levon@movementarian.org>
6755
6756         * text2.C: fix bug 974 (End on empty par)
6757
6758 2003-03-28  John Levon  <levon@movementarian.org>
6759
6760         * BufferView_pimpl.C:
6761         * LyXAction.C:
6762         * lfuns.h: remove do-nothing math greek lfuns
6763
6764 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * lyxgluelength.h (isValidGlueLength): add default arg on
6767         parameter 2. Remove default arg from friend in class.
6768
6769         * lyxlength.h (isValidLength): add default arg on parameter 2.
6770         Remove default arg from friend in class.
6771
6772         * text2.C (LyXText): adjust, initialize refresh_row.
6773         (init): adjust
6774         (removeRow): adjust
6775         (insertRow): adjust
6776         (insertParagraph): adjst
6777         (redoParagraphs): adjust
6778         (fullRebreak): adjust
6779         (updateCounters): adjust
6780         (deleteEmptyParagraphMechanism): first attempt at fixing a
6781         crashing bug.
6782
6783         * text.C (top_y): adjust
6784         (setHeightOfRow): adjust
6785         (getRow): adjust
6786         (getRowNearY): adjust
6787
6788         * lyxtext.h: include RowList.h
6789         (~LyXText): not needed anymore, deleted.
6790         (firstRow): modify for RowList
6791         (lastRow): new function
6792         Delete firstrow and lastrow class variables, add a Rowlist
6793         rowlist_ class variable.
6794
6795         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6796         paragraph is empty.
6797
6798         * RowList.C (insert): fix case where it == begin().
6799
6800 2003-03-26  Angus Leeming  <leeming@lyx.org>
6801
6802         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6803         the thesaurus dialog.
6804
6805 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6808
6809         * RowList.[Ch]: new files
6810
6811         * ParagraphList.C (erase): handle the case where it == begin
6812         correctly.
6813
6814 2003-03-25  John Levon  <levon@movementarian.org>
6815
6816         * Makefile.am:
6817         * aspell_local.h:
6818         * aspell.C: add new aspell support
6819
6820         * lyxrc.h:
6821         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6822         have it accessible.
6823
6824 2003-03-25  Angus Leeming  <leeming@lyx.org>
6825
6826         * lfuns.h:
6827         * LyXAction.C (init): new LFUN_INSET_INSERT.
6828
6829         * BufferView_pimpl.C (dispatch): split out part of the
6830         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6831
6832         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6833         LFUN_INSET_APPLY.
6834
6835 2003-03-25  Angus Leeming  <leeming@lyx.org>
6836
6837         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6838
6839 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6840
6841         * text2.C:
6842         * text3.C: remove useless row->height(0)
6843
6844 2003-03-25  John Levon  <levon@movementarian.org>
6845
6846         * lyxtext.h:
6847         * text2.C:
6848         * text3.C: rename the refreshing stuff to better names
6849
6850 2003-03-24  John Levon  <levon@movementarian.org>
6851
6852         * BufferView_pimpl.h:
6853         * BufferView_pimpl.C: update layout choice on a mouse
6854         press/release
6855
6856 2003-03-23  John Levon  <levon@movementarian.org>
6857
6858         * Makefile.am: fix commandtags.h reference
6859
6860 2003-03-22  John Levon  <levon@movementarian.org>
6861
6862         * BufferView_pimpl.C:
6863         * lyxtext.h:
6864         * rowpainter.C:
6865         * rowpainter.h:
6866         * text.C:
6867         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6868
6869 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * lyxtext.h:
6872         * text.C: take the rtl methods out of line
6873
6874 2003-03-21 André Pönitz <poenitz@gmx.net>
6875
6876         * metricsinfo.[Ch]: new files containing structures to be passed around
6877         during the two-phase-drawing...
6878
6879 2003-03-21 André Pönitz <poenitz@gmx.net>
6880
6881         * lyxtextclass.C: read 'environment' tag.
6882
6883 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6884
6885         * text2.C (removeRow): fix bug 964
6886
6887 2003-03-20  John Levon  <levon@movementarian.org>
6888
6889         * rowpainter.C:
6890         * text.C:
6891         * text2.C: paint cleanups. Inset::update() dropped font
6892         parameter
6893
6894 2003-03-19  John Levon  <levon@movementarian.org>
6895
6896         * lyxfunc.C: only fitcursor/markDirty if available()
6897
6898 2003-03-19  John Levon  <levon@movementarian.org>
6899
6900         * commandtags.h: rename to ...
6901
6902         * lfuns.h: ... this, and renumber / cleanup
6903
6904 2003-03-19  John Levon  <levon@movementarian.org>
6905
6906         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6907         fit the cursor after an lfun
6908
6909         * BufferView.h:
6910         * BufferView.C:
6911         * BufferView_pimpl.h:
6912         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6913
6914         * LyXAction.C: layout-character should have ReadOnly
6915
6916         * ParagraphParameters.C:
6917         * buffer.C:
6918         * bufferview_funcs.C:
6919         * lyx_cb.C:
6920         * lyxfind.C:
6921         * lyxtext.h:
6922         * text.C:
6923         * text2.C:
6924         * text3.C:
6925         * undo_funcs.C: changes from above
6926
6927 2003-03-18  John Levon  <levon@movementarian.org>
6928
6929         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6930         remove it from update()
6931
6932         * lyxfunc.C: update layout choice after an lfun
6933
6934         * text3.C: remove extra updateLayoutChoice()s
6935
6936 2003-03-18  John Levon  <levon@movementarian.org>
6937
6938         * text.C: top_y change means full repaint, fix
6939         a drawing bug with cursor movement
6940
6941 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * lyxtext.h:
6944         * text.C:
6945         * text2.C: anchor row on setCursor
6946
6947 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6948
6949         * lyxtext.h: remove almost all mutable keywords
6950         * text.C:
6951         * text2.C:
6952         * text3.C: remove const keywords accordingly
6953
6954 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6957         anon namespace
6958         (TeXEnvironment): ditto
6959         (TeXOnePar): ditto
6960
6961 2003-03-17  John Levon  <levon@movementarian.org>
6962
6963         * text.C (rowBreakPoint): remove attempt to fix displayed
6964         math insets inside a manual label
6965
6966 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * lyxtext.h: remove BufferView* as first arg from almost all class
6969         functions.
6970         * other files: adjust.
6971
6972 2003-03-17  John Levon  <levon@movementarian.org>
6973
6974         * lyxtext.h:
6975         * undo_funcs.C:
6976         * text2.C: more paint cleanups
6977
6978         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6979
6980         * rowpainter.h:
6981         * rowpainter.C: remove "smart" background painting code
6982
6983 2003-03-16  John Levon  <levon@movementarian.org>
6984
6985         * lyxtext.h:
6986         * text.C:
6987         * text2.C:
6988         * text3.C: add helper functions for setting refresh_row/y
6989
6990 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6991
6992         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6993         newline inset which *can* get inserted in the pass_thru layouts.
6994         This is primarily for literate documents.
6995
6996 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6997
6998         * buffer.C: increment LYX_FORMAT to 223
6999
7000 2003-03-14 André Pönitz <poenitz@gmx.net>
7001
7002         * textclass.h: prepare for environment handling, ws changes
7003         * lyxlayout.C: read latexheader and latexfooter tags
7004
7005 2003-03-14  John Levon  <levon@movementarian.org>
7006
7007         * text2.C: rewrite ::status() a bit
7008
7009 2003-03-13  John Levon  <levon@movementarian.org>
7010
7011         * lyxtext.h: add some docs
7012
7013 2003-03-13  John Levon  <levon@movementarian.org>
7014
7015         * lyxtext.h:
7016         * text.C:
7017         * text2.C:
7018         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7019
7020 2003-03-13  John Levon  <levon@movementarian.org>
7021
7022         * text3.C: fix appendix redrawing
7023
7024 2003-03-13  John Levon  <levon@movementarian.org>
7025
7026         * text.C (setHeightOfRow):
7027         * rowpainter.h:
7028         * rowpainter.C: make appendix mark have the text
7029           "Appendix" so the user knows what it is
7030
7031         * LColor.h:
7032         * LColor.C: s/appendixline/appendix/ from above
7033
7034 2003-03-13  John Levon  <levon@movementarian.org>
7035
7036         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7037
7038         * text.C: fix a getChar(pos) bug properly
7039
7040 2003-03-13  Angus Leeming  <leeming@lyx.org>
7041
7042         * commandtags.h:
7043         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7044         Probably only temporary. Let's see how things pan out.
7045
7046         * BufferView.C (unlockInset):
7047         * BufferView_pimpl.C (fitCursor):
7048         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7049
7050         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7051         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7052
7053         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7054         new functions that convert ParagraphParameters to and from a string.
7055
7056         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7057         BufferView::Pimpl's dispatch.
7058         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7059
7060 2003-03-13 André Pönitz <poenitz@gmx.net>
7061
7062         * lyxfunc.C:
7063         * text3.C:
7064         * factory.C: make it aware of InsetEnv
7065
7066 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * text2.C (setCursor): never ask for one past last
7069         (setCursor): add some debugging messages.
7070
7071         * text.C (singleWidth): never ask for one past last
7072         (singleWidth): ditto
7073         (leftMargin): ditto
7074         (rightMargin): ditto
7075         (rowBreakPoint): ditto
7076         (setHeightOfRow): ditto
7077         (prepareToPrint): ditto
7078
7079         * rowpainter.C (paintBackground): never ask for one past last
7080         (paintText): never ask for one past last
7081
7082         * paragraph_pimpl.C (getChar): make the assert stricter, never
7083         allow the one past last pos to be taken
7084
7085         * paragraph.C (getChar): ws changes only
7086
7087         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7088         (numberOfSeparators): ditto
7089         (numberOfHfills): ditto
7090
7091 2003-03-12  John Levon  <levon@movementarian.org>
7092
7093         * author.h:
7094         * author.C:
7095         * bufferparams.h:
7096         * bufferparams.C:
7097         * paragraph_funcs.C: fix per-buffer authorlists
7098
7099 2003-03-12  John Levon  <levon@movementarian.org>
7100
7101         * text.C: fix newline in right address
7102
7103 2003-03-12  Angus Leeming  <leeming@lyx.org>
7104
7105         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7106         duplicate those in LyXFunc::dispatch.
7107
7108         * commandtags.h:
7109         * LyXAction.C:
7110         * ToolbarDefaults.C:
7111         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7112         Add LFUN_FONTFREE_UPDATE.
7113
7114         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7115         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7116
7117         * bufferview_func.[Ch]: several new functions to facilliate
7118         transfer of data to and from the character dialog.
7119
7120 2003-03-12  John Levon  <levon@movementarian.org>
7121
7122         * buffer.C:
7123         * paragraph.h:
7124         * paragraph.C:
7125         * paragraph_funcs.C:
7126         * paragraph_pimpl.C:
7127         * sgml.C:
7128         * tabular.C:
7129         * text.C:
7130         * text3.C: remove META_NEWLINE in favour of an inset
7131
7132         * rowpainter.h:
7133         * rowpainter.C: remove paintNewline (done by inset)
7134
7135 2003-03-12  John Levon  <levon@movementarian.org>
7136
7137         * paragraph_pimpl.C: complain about bad getChar()s
7138         for a while at least
7139
7140 2003-03-12  John Levon  <levon@movementarian.org>
7141
7142         * buffer.h:
7143         * buffer.C: move paragraph read into a separate function,
7144         a little renaming to reflect that.
7145
7146         * bufferparams.h:
7147         * bufferparams.C: remove the author_ids map, not necessary now
7148
7149         * factory.h:
7150         * factory.C: moved Buffer::readInset to here
7151
7152         * paragraph_funcs.h:
7153         * paragraph_funcs.C: readParagraph free function moved from
7154         buffer.C
7155
7156         * tabular.C: name change
7157
7158 2003-03-12  John Levon  <levon@movementarian.org>
7159
7160         * buffer.C:
7161         * ParagraphParameters.C: move par params input to
7162         a read() method
7163
7164         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7165         behave like a normal read from the stream wrt reading
7166         a line vs. a \\token
7167
7168 2003-03-12  John Levon  <levon@movementarian.org>
7169
7170         * paragraph.C:
7171         * ParagraphParameters.h:
7172         * ParagraphParameters.C: move output code to a
7173         ::write() method
7174
7175 2003-03-12  John Levon  <levon@movementarian.org>
7176
7177         * BufferView.C (insertLyXFile):
7178         * buffer.h:
7179         * buffer.C:
7180         * tabular.C: use a parlist iterator for creating the
7181           document.
7182
7183 2003-03-12  John Levon  <levon@movementarian.org>
7184
7185         * buffer.C: make current_change static local not
7186           static file-scope
7187
7188 2003-03-12  John Levon  <levon@movementarian.org>
7189
7190         * buffer.C: fix insertStringAsLines for change tracking
7191
7192 2003-03-12  John Levon  <levon@movementarian.org>
7193
7194         * BufferView.C:
7195         * tabular.C:
7196         * buffer.h:
7197         * buffer.C:
7198         * bufferparams.h:
7199         * bufferparams.C: move author list into params. Rename some
7200           functions. Move the header reading into a separate token
7201           loop. Move the header token reading into BufferParams.
7202
7203 2003-03-12  John Levon  <levon@movementarian.org>
7204
7205         * changes.C: put debug inside lyxerr.debugging() checks
7206
7207 2003-03-11 André Pönitz <poenitz@gmx.net>
7208
7209         * factory.C: make it aware of InsetHFill
7210
7211 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7212
7213         * buffer.C (latexParagraphs): move function from here...
7214         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7215         args.
7216
7217 2003-03-10  Angus Leeming  <leeming@lyx.org>
7218
7219         * LyXAction.C (init): fix bug in poplating array with multiple entries
7220         with the same LFUN (spotted by JMarc).
7221
7222 2003-03-10  John Levon  <levon@movementarian.org>
7223
7224         * text.C:
7225         * text2.C: move getColumnNearX() near its
7226         only call site
7227
7228 2003-03-10  John Levon  <levon@movementarian.org>
7229
7230         * text.C: fix break before a minipage
7231
7232 2003-03-10  John Levon  <levon@movementarian.org>
7233
7234         * text.C: fix the last commit
7235
7236 2003-03-09  John Levon  <levon@movementarian.org>
7237
7238         * lyxtext.h:
7239         * text.C:
7240         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7241         bug 365 (don't break before insets unless needed). Don't
7242         return a value > last under any circumstances.
7243
7244 2003-03-09  Angus Leeming  <leeming@lyx.org>
7245
7246         * BufferView_pimpl.C (trackChanges, dispatch): call
7247         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7248
7249 2003-03-09  Angus Leeming  <leeming@lyx.org>
7250
7251         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7252         than Dialogs::showAboutlyx().
7253
7254 2003-03-09  Angus Leeming  <leeming@lyx.org>
7255
7256         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7257         than Dialogs::showTabularCreate().
7258
7259 2003-03-09  John Levon  <levon@movementarian.org>
7260
7261         * lyxtext.h:
7262         * text.C:
7263         * text2.C: 3rd arg to nextBreakPoint was always the same.
7264           Use references.
7265
7266 2003-03-08  John Levon  <levon@movementarian.org>
7267
7268         * lyxrow.C:
7269         * paragraph.C:
7270         * paragraph.h:
7271         * rowpainter.C:
7272         * text.C:
7273         * text2.C: Remove the "main" bit from the "main body"
7274           notion.
7275
7276 2003-03-08  John Levon  <levon@movementarian.org>
7277
7278         * text.C (leftMargin): The left margin of an empty
7279         manual label paragraph should not include the label width
7280         string length.
7281
7282         * text.C (prepareToPrint): don't attempt to measure hfills
7283         for empty manual label paragraphs - the answer should be 0
7284
7285 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * CutAndPaste.C: remove commented code and reindent.
7288
7289 2003-03-08  John Levon  <levon@movementarian.org>
7290
7291         * lyxfunc.h:
7292         * lyxfunc.C: move reloadBuffer()
7293
7294         * BufferView.h:
7295         * BufferView.C: to here
7296
7297         * lyxvc.C: add comment
7298
7299         * vc-backend.h:
7300         * vc-backend.C: call bv->reload() to avoid
7301           getStatus() check on MENURELOAD
7302
7303 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7304
7305         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7306         to an old format .dep file.
7307
7308 2003-03-07  Angus Leeming  <leeming@lyx.org>
7309
7310         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7311         when the LFUN_MOUSE_RELEASE should have been handled by
7312         inset->localDispatch.
7313
7314 2003-03-07  Angus Leeming  <leeming@lyx.org>
7315
7316         * BufferView_pimpl.C (dispatch):
7317         * LyXAction.C (init):
7318         * ToolbarDefaults.C (init):
7319         * commandtags.h:
7320         * lyxfunc.C (getStatus):
7321         remove LFUN_INSET_GRAPHICS.
7322
7323         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7324
7325 2003-03-07  Angus Leeming  <leeming@lyx.org>
7326
7327         * commandtags.h:
7328         * LyXAction.C (init):
7329         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7330
7331         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7332
7333         * commandtags.h:
7334         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7335
7336         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7337         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7338
7339 2003-03-07  Angus Leeming  <leeming@lyx.org>
7340
7341         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7342         remove "ert".
7343
7344 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * ParagraphList.C (front): new function
7347         (back): implement
7348
7349 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7352         and top_row_offset_. removed var first_y.
7353         * text.C (top_y):
7354         * text2.C (LyXText, removeRow):
7355         * text3.C:
7356         * BufferView_pimpl.C:
7357         use these methods instead of using first_y
7358
7359 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * text2.C (pasteSelection): adjust for checkPastePossible
7362
7363         * CutAndPaste.C: remove Paragraph * buf and replace with
7364         ParagraphList paragraphs.
7365         (DeleteBuffer): delete
7366         (cutSelection): change the tc type to textclass_type
7367         (copySelection): change the tc type to textclass_type
7368         (copySelection): adjust for ParagraphList
7369         (pasteSelection): change the tc type to textclass_type
7370         (pasteSelection): adjust for Paragraphlist
7371         (nrOfParagraphs): simplify for ParagraphList
7372         (checkPastePossible): simplify for ParagraphList
7373         (checkPastePossible): remove unused arg
7374
7375         * ParagraphList.C (insert): handle the case where there are no
7376         paragraphs yet.
7377
7378         * CutAndPaste.h: make CutAndPaste a namespace.
7379
7380         * text3.C (dispatch): adjust
7381
7382         * text.C (breakParagraph): add a ParagraphList as arg
7383
7384         * paragraph_funcs.C (breakParagraph): change to take a
7385         BufferParams and a ParagraphList as args.
7386         (breakParagraphConservative): ditto
7387         (mergeParagraph): ditto
7388         (TeXDeeper): add a ParagraphList arg
7389         (TeXEnvironment): ditto
7390         (TeXOnePar): ditto
7391
7392         * buffer.C (readLyXformat2): adjust
7393         (insertStringAsLines): adjust
7394         (latexParagraphs): adjust
7395
7396         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7397         (cutSelection): adjust
7398         (pasteSelection): adjust
7399
7400         * BufferView_pimpl.C (insertInset): adjust
7401
7402 2003-03-05  Angus Leeming  <leeming@lyx.org>
7403
7404         * commandtags.h:
7405         * LyXAction.C (init):
7406         * BufferView_pimpl.C (dispatch):
7407         * lyxfunc.C (getStatus):
7408         remove LFUN_CHILD_INSERT.
7409
7410         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7411
7412 2003-03-05  Angus Leeming  <leeming@lyx.org>
7413
7414         * commandtags.h:
7415         * LyXAction.C (init):
7416         * src/factory.C (createInset):
7417         * lyxfunc.C (getStatus):
7418         * text3.C (dispatch):
7419         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7420
7421         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7422
7423 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * ParagraphList.C (insert): handle insert right before end()
7426         (erase): fix cases where it can be first or last paragraph.
7427
7428 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7431         Paragraph::next and Paragraph::previous
7432         (TeXOnePar): ditto
7433
7434         * text.C (breakParagraph): adjust
7435
7436         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7437         BufferParams& as arg.
7438         (breakParagraph): use ParagraphList::insert
7439         (breakParagraphConservative): take a Buffer* instead of a
7440         BufferParams& as arg.
7441         (breakParagraphConservative): use ParagraphList::insert.
7442
7443         * buffer.C (insertStringAsLines): un-const it
7444         (insertStringAsLines): adjust
7445
7446         * ParagraphList.C (insert): new function
7447
7448         * CutAndPaste.C (pasteSelection): adjust
7449
7450         * text.C (backspace): adjust
7451
7452         * tabular.C (SetMultiColumn): adjust
7453
7454         * CutAndPaste.C (cutSelection): adjust
7455         (pasteSelection): adjust
7456
7457         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7458         Buffer const * as arg
7459
7460         * ParagraphList.C (erase): new function
7461         * paragraph_funcs.C (mergeParagraph): use it
7462         (mergeParagraph): make it take a Buffer* instead of a
7463         BufferParams* as arg
7464
7465         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7466         as arg
7467         (breakParagraphConservative): ditto
7468
7469         * paragraph.h: remove the breakParagraph friend
7470
7471         * paragraph.C (eraseIntern): new function
7472         (setChange): new function
7473
7474         * paragraph_funcs.C (mergeParagraph): make it take a
7475         ParagraphList::iterator instead of a Paragraph *, adjust
7476         accordingly.
7477
7478         * paragraph.h: move an #endif so that the change tracking stuff
7479         also works in the NO_NEXT case.
7480
7481 2003-03-04  Angus Leeming  <leeming@lyx.org>
7482
7483         * commandtags.h:
7484         * LyXAction.C: new LFUN_INSET_MODIFY.
7485
7486         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7487         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7488
7489 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * several files: ws changes only
7492
7493         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7494         (TeXEnvironment): ditto
7495         (TeXDeeper): ditto
7496
7497         * buffer.C (makeLaTeXFile): adjust
7498         (latexParagraphs): make it take ParagraphList::iterator as args
7499
7500 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * buffer.C (latexParagraphs): adjust
7503
7504         * paragraph.C (TeXOnePar): move function...
7505         (optArgInset): move function...
7506         (TeXEnvironment): move function...
7507         * paragraph_pimpl.C (TeXDeeper): move function...
7508         * paragraph_funcs.C: ...here
7509
7510         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7511
7512 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * buffer.C (readInset): remove compability code for old Figure and
7515         InsetInfo insets
7516
7517 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * buffer.C: ws changes
7520         (readInset):
7521
7522         * BufferView_pimpl.C: ditto
7523         * author.C: ditto
7524         * buffer.h: ditto
7525         * bufferlist.h: ditto
7526         * changes.h: ditto
7527         * lyxfunc.C: ditto
7528
7529 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7530
7531         * converter.[Ch]: split into itself +
7532         * graph.[Ch]
7533         * format.[Ch]
7534         * Makefile.am: += graph.[Ch] + format.[Ch]
7535         * MenuBackend.C
7536         * buffer.C
7537         * exporter.C
7538         * importer.C
7539         * lyx_main.C
7540         * lyxfunc.C
7541         * lyxrc.C: added #include "format.h"
7542
7543 2003-02-27  Angus Leeming  <leeming@lyx.org>
7544
7545         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7546           a label.
7547
7548         * factory.C (createInset): add "label" to the factory.
7549
7550         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7551           string and do no more.
7552
7553 2003-02-27  Angus Leeming  <leeming@lyx.org>
7554
7555         * commandtags.h:
7556         * LyXAction.C (init):
7557         * factory.C (createInset):
7558         * BufferView_pimpl.C (dispatch):
7559           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7560
7561         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7562
7563         * lyxfunc.C (dispatch):
7564         * text3.C (dispatch): pass name to params2string.
7565
7566 2003-02-26  Angus Leeming  <leeming@lyx.org>
7567
7568         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7569           blocks together.
7570           Rearrange the ~includes. Strip out the unnecessary ones.
7571
7572         * factory.C (createInset): reformat.
7573           create new insets for the various LFUN_XYZ_APPLY lfuns.
7574
7575 2003-02-26  John Levon  <levon@movementarian.org>
7576
7577         * lyxrow.h:
7578         * lyxrow.C: add isParStart,isParEnd helpers
7579
7580         * paragraph.h: make isInserted/DeletedText take refs
7581
7582         * paragraph_funcs.h:
7583         * paragraph_funcs.C: remove #if 0'd code
7584
7585         * lyxtext.h:
7586         * text3.C:
7587         * text2.C:
7588         * text.C: use lyxrow helpers above.
7589           Move draw and paint routines to RowPainter.
7590           Make several methods use refs not pointers.
7591           Make backgroundColor() const.
7592           Add markChangeInDraw(), isInInset().
7593           Merge changeRegionCase into changeCase.
7594           Make workWidth() shouldn't-happen code into an Assert.
7595
7596         * rowpainter.h:
7597         * rowpainter.C: new class for painting a row.
7598
7599         * vspace.h:
7600         * vspace.C: make inPixels take a ref
7601
7602 2003-02-26  Angus Leeming  <leeming@lyx.org>
7603
7604         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7605         LFUN_REF_APPLY.
7606
7607 2003-02-25  John Levon  <levon@movementarian.org>
7608
7609         * ispell.C: give the forked command a more accurate name
7610
7611 2003-02-22  John Levon  <levon@movementarian.org>
7612
7613         * toc.h:
7614         * toc.C: make TocItem store an id not a Paragraph *
7615           (bug #913)
7616
7617 2003-02-21  Angus Leeming  <leeming@lyx.org>
7618
7619         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7620           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7621           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7622           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7623           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7624           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7625
7626         * BufferView_pimpl.C (dispatch):
7627         * LyXAction.C (init):
7628         * factory.C (createInset):
7629         * lyxfunc.C (getStatus, dispatch):
7630         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7631
7632 2003-02-21  Angus Leeming  <leeming@lyx.org>
7633
7634         * BufferView_pimpl.C (MenuInsertLyXFile):
7635         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7636         * lyxfunc.C (menuNew, open, doImport):
7637           no longer pass a LyXView & to fileDlg.
7638
7639 2003-02-21  Angus Leeming  <leeming@lyx.org>
7640
7641         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7642         * LyXAction.C: change, BIBKEY to BIBITEM.
7643         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7644         Change InsetBibKey to InsetBibitem.
7645         Change BIBKEY_CODE to BIBITEM_CODE.
7646         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7647         * factory.C: replace insetbib.h with insetbibitem.h.
7648         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7649         * paragraph.C: replace insetbib.h with insetbibitem.h.
7650         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7651         Change bibkey() to bibitem().
7652         * text.C: remove insetbib.h.
7653         * text2.C: replace insetbib.h with insetbibitem.h.
7654         change bibkey() to bibitem().
7655         * text3.C: remove insetbib.h.
7656         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7657
7658 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7659
7660         * lyxrc.C (output): enclose user email in quotes (in case there are
7661         several words)
7662
7663 2003-02-18  John Levon  <levon@movementarian.org>
7664
7665         * buffer.h: add std::
7666
7667 2003-02-17  John Levon  <levon@movementarian.org>
7668
7669         * SpellBase.h:
7670         * ispell.h:
7671         * ispell.C:
7672         * pspell.h:
7673         * pspell.C: reworking. Especially in ispell, a large
7674           number of clean ups and bug fixes.
7675
7676         * lyxfunc.C: fix revert to behave sensibly
7677
7678 2003-02-17 André Pönitz <poenitz@gmx.net>
7679
7680         * LyXAction.C:
7681         * commandtags.h: new LFUN_INSERT_BIBKEY
7682
7683         * layout.h:
7684         * lyxlayout.C:
7685         * buffer.C:
7686         * factory.C:
7687         * text.C:
7688         * text2.C:
7689         * text3.C:
7690         * paragraph.[Ch]:
7691         * paragraph_func.C: remove special bibkey handling
7692
7693 2003-02-17  John Levon  <levon@movementarian.org>
7694
7695         * text.C (Delete): fix case where delete at the end of
7696           the very first paragraph would not merge the pars
7697
7698 2003-02-17  John Levon  <levon@movementarian.org>
7699
7700         * lyxrow.C: fix lastPrintablePos()
7701
7702 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7703
7704         * bufferparams.C (writeLaTeX): add a std:here
7705
7706         * buffer.C: and remove a using directive there
7707
7708 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7709
7710         * buffer.C (makeLaTeXFile): move the code that generates the
7711           preamble...
7712
7713         * bufferparams.C (writeLaTeX): ... in this new method
7714
7715         * LaTeXFeatures.C (getEncodingSet): make const
7716           (getLanguages): make const
7717
7718         * MenuBackend.C (binding): returns the binding associated to this
7719           action
7720           (add): sets the status of each item by calling getStatus. Adds
7721           some intelligence.
7722           (read): add support for OptSubMenu
7723           (expand): remove extra separator at the end of expanded menu
7724
7725 2003-02-15  John Levon  <levon@movementarian.org>
7726
7727         * BufferView.C:
7728         * BufferView_pimpl.C:
7729         * bufferlist.h:
7730         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7731           inset code that had no actual effect. Remove unneeded status
7732           code.
7733
7734 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7735
7736         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7737           in preamble
7738
7739 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7740
7741         * text.C (drawLengthMarker): also draw an arrow marker for
7742           symbolic lengths (medskip...)
7743
7744 2003-02-14  John Levon  <levon@movementarian.org>
7745
7746         * tabular.h:
7747         * tabular.C: better method names
7748
7749 2003-02-14  John Levon  <levon@movementarian.org>
7750
7751         * BufferView_pimpl.C:
7752         * bufferlist.C:
7753         * buffer.C:
7754         * converter.C:
7755         * lyx_cb.C:
7756         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7757           it's a more accurate name. Remove some pointless uses.
7758
7759 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7760
7761         * text2.C (LyXText): change order of initilizers to shut off
7762           warnings
7763
7764 2003-02-14  John Levon  <levon@movementarian.org>
7765
7766         * buffer.C: use ParIterator for getParFromID()
7767
7768         * paragraph.h:
7769         * paragraph.C:
7770         * paragraph_pimpl.h:
7771         * paragraph_pimpl.C: remove unused getParFromID()
7772
7773 2003-02-14  John Levon  <levon@movementarian.org>
7774
7775         * buffer.C: remove some very old #if 0'd parse code
7776
7777 2003-02-13  John Levon  <levon@movementarian.org>
7778
7779         * text.h:
7780         * text.C:
7781         * text2.C: move hfillExpansion(), numberOfSeparators(),
7782           rowLast(), rowLastPrintable(), numberofHfills(),
7783           numberOfLabelHfills() ...
7784
7785         * lyxrow.h:
7786         * lyxrow.C: ... to member functions here.
7787
7788         * paragraph.h:
7789         * paragraph.C:
7790         * lyxtext.h:
7791         * text.C: remove LyXText::beginningOfMainBody(), and call
7792           p->beginningOfMainBody() directly. Move the check for
7793           LABEL_MANUAL into the latter.
7794
7795         * text.h:
7796         * text.C:
7797         * text2.C:
7798         * vspace.C:
7799         * BufferView.h:
7800         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7801
7802         * text.h:
7803         * text.C:
7804         * text2.C:
7805         * text3.C:
7806         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7807           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7808
7809 2003-02-13  John Levon  <levon@movementarian.org>
7810
7811         * CutAndPaste.C: remove debug
7812
7813 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * paragraph.C (asString): remove two unused variables
7816
7817         * lyxtextclass.C (readTitleType):
7818           (Read):
7819           (LyXTextClass): handle new members titletype_ and titlename_
7820
7821         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7822
7823 2003-02-09  John Levon  <levon@movementarian.org>
7824
7825         * buffer.h:
7826         * buffer.C: replace hand-coded list with a map for the dep clean
7827
7828 2003-02-08  John Levon  <levon@movementarian.org>
7829
7830         * LaTeX.C: consolidate code into showRunMessage() helper
7831
7832 2003-02-08  John Levon  <levon@movementarian.org>
7833
7834         * lyxfind.C:
7835         * lyxtext.h:
7836         * text2.C:
7837         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7838           and pass the size in explicitly
7839
7840         * BufferView_pimpl.h:
7841         * BufferView_pimpl.C:
7842         * BufferView.h:
7843         * BufferView.C: add getCurrentChange()
7844
7845         * BufferView_pimpl.h:
7846         * BufferView_pimpl.C: handle change lfuns
7847
7848         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7849           for changes. Mark pasted paragraphs as new.
7850
7851         * support/lyxtime.h:
7852         * support/lyxtime.C:
7853         * DepTable.C: abstract time_t as lyx::time_type
7854
7855         * LColor.h:
7856         * LColor.C: add colours for new text, deleted text, changebars
7857
7858         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7859           package use "usenames" option.
7860
7861         * commandtags.h:
7862         * lyxfunc.C:
7863         * LyXAction.C: add change lfuns
7864
7865         * Makefile.am:
7866         * author.h:
7867         * author.C: author handling
7868
7869         * buffer.h:
7870         * buffer.C: add a per-buffer author list, with first entry as
7871           current author. Handle new .lyx tokens for change tracking. Output
7872           author list to .lyx file. Output dvipost stuff to .tex preamble.
7873           Bump lyx format to 222.
7874
7875         * bufferlist.h:
7876         * bufferlist.C: add setCurrentAuthor() to reset current author details
7877           in all buffers.
7878
7879         * bufferparams.h:
7880         * bufferparams.C: add param for tracking
7881
7882         * bufferview_funcs.C: output change info in minibuffer
7883
7884         * Makefile.am:
7885         * changes.h:
7886         * changes.C: add change-tracking structure
7887
7888         * debug.h:
7889         * debug.C: add CHANGES debug flag
7890
7891         * lyxfind.h:
7892         * lyxfind.C: add code for finding the next change piece
7893
7894         * lyxrc.h:
7895         * lyxrc.C: add user_name and user_email
7896
7897         * lyxrow.h:
7898         * lyxrow.C: add a metric for the top of the text line
7899
7900         * lyxtext.h:
7901         * text.C: implement accept/rejectChange()
7902
7903         * lyxtext.h:
7904         * text.C: paint changebars. Paint new/deleted text in the chosen
7905         colours. Strike through deleted text.
7906
7907         * paragraph.h:
7908         * paragraph.C:
7909         * paragraph_pimpl.h:
7910         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7911           in the current change to the insert functions. Rework erase to
7912           mark text as deleted, adding an eraseIntern() and a range-based
7913           erase(). Implement per-paragraph change lookup and
7914           accept/reject.
7915
7916         * paragraph_funcs.C: Fixup paste for change tracking.
7917
7918         * tabular.C: mark added row/columns as new.
7919
7920         * text.C: fix rowLast() to never return -1. Don't allow
7921           spellchecking of deleted text. Track transpose changes. Don't
7922           allow paragraph break or merge where appropriate.
7923
7924         * text2.C: leave cursor at end of selection after a cut.
7925
7926 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7927
7928         * text.C (getLengthMarkerHeight):
7929         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7930         visible on screen too.
7931
7932 2003-02-07  John Levon  <levon@movementarian.org>
7933
7934         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7935
7936 2003-02-05  Angus Leeming  <leeming@lyx.org>
7937
7938         * lyxserver.C (read_ready): revert my patch of 11 September last year
7939         as it sends PC cpu through the roof. Presumably this means that
7940         the lyxserver will no longer run on an Alpha...
7941
7942 2003-01-30  Angus Leeming  <leeming@lyx.org>
7943
7944         * factory.C (createInset): create an InsetCommandParam of type "index"
7945         and use it to 'do the right thing'.
7946
7947         * text2.C (getStringToIndex): ensure that cursor position is always
7948         reset to the reset_cursor position.
7949
7950 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7951
7952         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7953         disabled.
7954
7955 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7956
7957         * bufferview.C:
7958         * lyxcb.C:
7959         * lyxfunc.C: Output messages with identical spelling, punctuation,
7960         and spaces
7961
7962 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7963
7964         * MenuBackend.C (expandFormats): List only viewable export formats
7965         in "View" menu
7966
7967         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7968         message
7969
7970         * lyxfunc.C (getStatus): Make sure that formats other than
7971         "fax" can also be disabled
7972
7973 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7974
7975         * text3.C (dispatch): put the lfuns that insert insets in 3
7976         groups, and call doInsertInset with appropriate arguments.
7977         (doInsertInset): new function, that creates an inset and inserts
7978         it according to some boolean parameters.
7979
7980 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * buffer.C (readFile): remember to pass on 'par' when calling
7983         readFile recursively.
7984
7985 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7986
7987         * MenuBackend.C (expandFormats): add "..." to import formats.
7988
7989 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7990
7991         * paragraph.C (asString): Remove XForms RTL hacks.
7992
7993 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7994         * buffer.C: fix typo
7995
7996 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * Makefile.am (LIBS): delete var
7999         (lyx_LDADD): add @LIBS@ here instead.
8000
8001 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8002
8003         * Clarify the meaning of "wheel mouse jump"
8004
8005 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8006
8007         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8008         tabular in a float
8009
8010 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8011
8012         * importer.C (Loaders): do not preallocate 3 elements in the
8013         vector, since one ends up with 6 elements otherwise
8014
8015 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8016
8017         * DepTable.C (write): write the file name as last element of the
8018         .dep file (because it may contain spaces)
8019         (read): read info in the right order
8020
8021 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8022
8023         * paragraph_pimpl.C (simpleTeXBlanks):
8024         (simpleTeXSpecialChars):
8025         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8026
8027         * tabular.C (latex): add some missing case statements. Reindent.
8028
8029         * MenuBackend.C (expandToc): remove unused variable.
8030
8031 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8032
8033         * LColor.C:
8034         * LaTeX.C:
8035         * LyXAction.C:
8036         * MenuBackend.C:
8037         * buffer.C:
8038         * exporter.C:
8039         * lyxfunc.C:
8040         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8041         and the like.
8042
8043 2003-01-05  John Levon  <levon@movementarian.org>
8044
8045         * BufferView.h:
8046         * BufferView.C: add getEncoding()
8047
8048         * kbsequence.h:
8049         * kbsequence.C: do not store last keypress
8050
8051         * lyxfunc.h:
8052         * lyxfunc.C: store last keypress here instead. Pass encoding
8053           to getISOEncoded()
8054
8055 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8056
8057         * lyx_main.C (init): remove annoying error message when following
8058         symbolic links (bug #780)
8059
8060 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8061
8062         * text.C (insertChar):
8063         * lyxrc.C (getDescription): remove extra spaces
8064
8065 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8066
8067         * lyxrc.C (getDescription): remove extra spaces
8068
8069 2002-12-20  John Levon  <levon@movementarian.org>
8070
8071         * text3.C: hack fix for page up/down across tall rows
8072
8073 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8074
8075         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8076         not been invoked
8077
8078 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8079
8080         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8081         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8082         thesaurus is not compiled in
8083
8084 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8085
8086         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8087
8088 2002-12-16  Angus Leeming  <leeming@lyx.org>
8089
8090         * lyxrc.[Ch]:
8091         * lyx_main.C (init): remove override_x_deadkeys stuff.
8092
8093 2002-12-12  John Levon  <levon@movementarian.org>
8094
8095         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8096           insert. Only remove shift modifier under strict
8097           circumstances.
8098
8099 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * MenuBackend.C (expandToc): fix crash.
8102
8103 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * MenuBackend.C (expandToc): gettext on float names.
8106
8107 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8108
8109         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8110         implement bool empty() [bug 490]
8111
8112 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8115
8116 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * several files: ws changes
8119
8120 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * text2.C (setCounter): clean up a bit, use boost.format.
8123         (updateCounters): initialize par upon declaration.
8124
8125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8126         if the layout exists. We do not just store the layout any more.
8127         (SwitchLayoutsBetweenClasses): use boost.format
8128
8129 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * converter.C (convert): if from and to files are the same, use a
8132         temporary files as intermediary
8133
8134 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8135
8136         * commandtags.h:
8137         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8138
8139 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8140
8141         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8142
8143 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * tabular.C (asciiPrintCell): use string(size, char) instead of
8146         explicit loop.
8147
8148         * sgml.C (openTag): fix order of arguments to string constructor
8149         (closeTag): ditto
8150
8151         * lyxfunc.C (dispatch): use boost.format
8152
8153         * lots of files: change "c" -> 'c'
8154
8155 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8156
8157         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8158
8159 2002-11-25  Angus Leeming  <leeming@lyx.org>
8160
8161         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8162
8163         * lyx_main.C (init): compile fix.
8164
8165 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * lyx_cb.C (start): boost.formatify
8168         do not include <iostream>
8169
8170         * lengthcommon.C: ws only
8171
8172         * boost-inst.C,BoostFormat.h: add more explict instantations
8173
8174 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * lots of files: handle USE_BOOST_FORMAT
8177
8178 2002-11-21  John Levon  <levon@movementarian.org>
8179
8180         * pspell.C: fix compile
8181
8182 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8183
8184         * lyxfunc.C (dispatch): use boost::format
8185         (open): ditto
8186         (doImport): ditto
8187
8188         * lyxfont.C (stateText): use boost::format
8189
8190         * lyx_main.C (LyX): use boost::format
8191         (init): ditto
8192         (queryUserLyXDir): ditto
8193         (readRcFile): ditto
8194         (parse_dbg): ditto
8195         (typedef boost::function): use the recommened syntax.
8196
8197         * importer.C (Import): use boost::format
8198
8199         * debug.C (showLevel): use boost::format
8200
8201         * converter.C (view): use boost::format
8202         (convert): ditto
8203         (move): ditto
8204         (scanLog): ditto
8205
8206         * bufferview_funcs.C (currentState): use boost::format
8207
8208         * bufferlist.C (emergencyWrite): use boost::format
8209
8210         * buffer.C (readLyXformat2): use boost::format
8211         (parseSingleLyXformat2Token): ditto
8212
8213         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8214
8215         * LaTeX.C (run): use boost::format
8216
8217         * Chktex.C (scanLogFile): use boost::format
8218
8219         * BufferView_pimpl.C (savePosition): use boost::format
8220         (restorePosition): ditto
8221         (MenuInsertLyXFile): ditto
8222
8223         * BoostFormat.h: help file for explicit instation.
8224
8225 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8226
8227         * tabular.C (latex): Support for block alignment in fixed width
8228         columns.
8229
8230 2002-11-17  John Levon  <levon@movementarian.org>
8231
8232         * BufferView_pimpl.C:
8233         * lyx_cb.C:
8234         * lyxfunc.C: split filedialog into open/save
8235
8236 2002-11-08  Juergen Vigna  <jug@sad.it>
8237
8238         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8239         by my last patch (hopefully).
8240
8241 2002-11-08  John Levon  <levon@movementarian.org>
8242
8243         * iterators.h:
8244         * iterators.C:
8245         * buffer.h:
8246         * buffer.C:
8247         * paragraph.h:
8248         * paragraph.C:
8249         * toc.h:
8250         * toc.C: ParConstIterator, and use it (from Lars)
8251
8252 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8253
8254         * lyxtextclass.[Ch]: revise and add doxygen comments
8255
8256 2002-11-07  John Levon  <levon@movementarian.org>
8257
8258         * text.C: fix progress value for spellchecker
8259
8260         * toc.C: fix navigate menu for insetwrap inside minipage
8261
8262         * paragraph_funcs.C: added FIXME for suspect code
8263
8264 2002-11-07  John Levon  <levon@movementarian.org>
8265
8266         * BufferView_pimpl.C: fix redrawing of insets
8267           on buffer switch
8268
8269 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8270
8271         * text2.C (updateCounters): fix bug 668
8272
8273 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * text3.C (dispatch): Do not make the buffer dirty when moving the
8276         cursor.
8277
8278 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * vc-backend.C: STRCONV
8281         (scanMaster): ditto
8282
8283         * text2.C (setCounter): STRCONV
8284
8285         * paragraph.C (asString): STRCONV
8286
8287         * lyxlength.C (asString): STRCONV
8288         (asLatexString): ditto
8289
8290         * lyxgluelength.C (asString): STRCONV
8291         (asLatexString): ditto
8292
8293         * lyxfunc.C (dispatch): STRCONV
8294         (open): ditto
8295
8296         * lyxfont.C (stateText): STRCONV
8297
8298         * importer.C (Import): STRCONV
8299
8300         * counters.C (labelItem): STRCONV
8301         (numberLabel): ditto
8302         (numberLabel): remove unused ostringstream o
8303
8304         * chset.C: STRCONV
8305         (loadFile): ditto
8306
8307         * bufferview_funcs.C (currentState): STRCONV
8308
8309         * buffer.C (readFile): STRCONV
8310         (asciiParagraph): ditto
8311         (makeLaTeXFile): ditto
8312
8313         * Spacing.C (writeEnvirBegin): STRCONV
8314
8315         * LaTeXFeatures.C (getLanguages): STRCONV
8316         (getPackages): ditto
8317         (getMacros): ditto
8318         (getBabelOptions): ditto
8319         (getTClassPreamble): ditto
8320         (getLyXSGMLEntities): ditto
8321         (getIncludedFiles): ditto
8322
8323         * LaTeX.C: STRCONV
8324         (run): ditto
8325         (scanAuxFile): ditto
8326         (deplog): ditto
8327
8328         * LString.h: add the STRCONV macros
8329
8330         * BufferView_pimpl.C (savePosition): STRCONV
8331         (restorePosition): ditto
8332         (MenuInsertLyXFile): ditto
8333
8334         * vc-backend.C (scanMaster): change from submatch[...] to
8335         submatch.str(...)
8336
8337         * funcrequest.C: include config.h
8338
8339         * factory.C: include config.h
8340
8341         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8342
8343         * box.C: include config.h
8344
8345         * LaTeX.C (scanAuxFile): change from submatch[...] to
8346         submatch.str(...)
8347         (deplog): ditto
8348
8349 2002-10-25  Angus Leeming  <leeming@lyx.org>
8350
8351         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8352
8353         * ispell.[Ch] (setError): new method.
8354         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8355         Use setError() insetead of goto END.
8356
8357         * lyx_cb.C (AutoSave): move out child process into new class
8358         AutoSaveBuffer.
8359
8360 2002-10-30  John Levon  <levon@movementarian.org>
8361
8362         * text3.C: make start appendix undoable
8363
8364 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8365
8366         * lyxlength.C (inPixels): Fix returned value.
8367
8368         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8369         environment.
8370
8371 2002-10-24  Angus Leeming  <leeming@lyx.org>
8372
8373         * lyxgluelength.h: no need to forward declare BufferParams
8374         or BufferView, so don't.
8375
8376 2002-10-21  John Levon  <levon@movementarian.org>
8377
8378         * BufferView.C: menuUndo ->undo, redo
8379
8380         * BufferView.h: document, remove dead, make some methods private
8381
8382         * paragraph_funcs.h:
8383         * paragraph_funcs.C:
8384         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8385
8386         * buffer.h:
8387         * buffer.C:
8388         * sgml.h:
8389         * sgml.C: move sgml open/close tag into sgml.C
8390
8391         * bufferview_funcs.h: unused prototype
8392
8393         * lyxfunc.h:
8394         * lyxfunc.C: remove unused
8395
8396         * lyxtext.h:
8397         * text.C: remove unused
8398
8399 2002-10-21  John Levon  <levon@movementarian.org>
8400
8401         * BufferView.h:
8402         * BufferView.C:
8403         * BufferView_pimpl.h:
8404         * BufferView_pimpl.C: fix mouse wheel handling based on
8405           patch from Darren Freeman
8406
8407 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8408
8409         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8410
8411 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8412
8413         * lyxlength.C (inPixels): Fix hanfling of negative length.
8414         Fix LyXLength::MU case.
8415
8416 2002-10-16  John Levon  <levon@movementarian.org>
8417
8418         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8419
8420 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8421
8422         * converter.C (view): add support for $$i (file name) and $$p
8423         (file path) for the viewer command. If $$i is not specified, then
8424         it is appended to the command (for compatibility with old syntax)
8425
8426 2002-10-14  Juergen Vigna  <jug@sad.it>
8427
8428         * undo_funcs.C (textHandleUndo): alter the order in which the
8429         new undopar is added to the LyXText, as we have to set first
8430         the right prev/next and then add it as otherwise the rebuild of
8431         LyXText is not correct. Also reset the cursor to the right paragraph,
8432         with this IMO we could remove the hack in "redoParagraphs()".
8433
8434 2002-10-09  Angus Leeming  <leeming@lyx.org>
8435
8436         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8437         to turn off an optimisation if a new inset is to be inserted.
8438
8439 2002-10-11 André Pönitz <poenitz@gmx.net>
8440
8441         * lyxtext.h: make some functions public to allow access
8442         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8443
8444 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8445
8446         * text3.C (dispatch): when changing layout, avoid an infinite loop
8447         [bug #652]
8448
8449 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8450
8451         * lyxrc.C (read): treat a viewer or converter command of "none" as
8452         if it were empty.
8453
8454         * MenuBackend.C (expandFormats): for an update, also allow the
8455         formats that are not viewable
8456
8457         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8458         script if it is newer than the lyxrc.defaults in user directory
8459
8460 2002-10-07 André Pönitz <poenitz@gmx.net>
8461
8462         * text.C: Vitaly Lipatov's small i18n fix
8463
8464 2002-09-25  Angus Leeming  <leeming@lyx.org>
8465
8466         * ispell.h: doxygen fix.
8467
8468 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * buffer.h (readFile): Add a new argument to the method, to allow
8471         reading of old-format templates.
8472
8473 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * toc.C (getTocList): Get TOC from InsetWrap.
8476
8477 2002-09-16  John Levon  <levon@movementarian.org>
8478
8479         * lyxfunc.C: check tabular for cut/copy too
8480
8481 2002-09-12  John Levon  <levon@movementarian.org>
8482
8483         * LyXAction.C: tidy
8484
8485         * factory.h:
8486         * factory.C: add header
8487
8488         * paragraph_funcs.h:
8489         * paragraph_funcs.C: cleanup
8490
8491 2002-09-11  John Levon  <levon@movementarian.org>
8492
8493         * PrinterParams.h: odd/even default to true
8494
8495 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8496
8497         * PrinterParams.h: update printer parameters for new xforms dialog
8498
8499 2002-09-11  Angus Leeming  <leeming@lyx.org>
8500
8501         * lyxserver.C (read_ready): re-write to make it more transparent
8502         and to make it work in coherent fashion under Tru64 Unix.
8503
8504 2002-09-11  André Pönitz <poenitz@gmx.net>
8505
8506         * commandtags.h:
8507         * LyXAction.C:
8508         * text3.C: implement LFUN_WORDSEL
8509
8510 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8513         make floatlist_ a boost::shared_ptr<FloatList>
8514
8515         * lyxtextclass.C: include FloatList.h
8516         (LyXTextClass): initialize floatlist_
8517         (TextClassTags): add TC_NOFLOAT
8518         (Read): match "nofloat" to TC_NOFLOAT and use it.
8519         (readFloat): modify call to floatlist_
8520         (floats): ditto
8521         (floats): ditto
8522
8523         * FloatList.[Ch] (FloatList): remove commented out float
8524         initialization.
8525         (erase): new function
8526
8527 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8528
8529         * MenuBackend.C (expandToc): fix crash when there is no document
8530         open
8531
8532 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8533
8534         * many files: Add insetwrap.
8535
8536 2002-09-09  John Levon  <levon@movementarian.org>
8537
8538         * text2.C: remove confusing and awkward depth wraparound
8539
8540 2002-09-09  John Levon  <levon@movementarian.org>
8541
8542         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8543
8544         * buffer.h:
8545         * buffer.C: remove getIncludeonlyList()
8546
8547         * paragraph.C:
8548         * lyxfunc.C: remove headers
8549
8550 2002-09-09  Juergen Vigna  <jug@sad.it>
8551
8552         * text.C (getColumnNearX): fix form Michael this is most
8553         probably a cut&paste bug.
8554
8555 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8558
8559         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8560         references, ws changes.
8561
8562         * text2.C (init): update counters after init
8563         (insertParagraph): no need to set counter on idividual paragraphs.
8564         (setCounter): access the counters object in the textclass object
8565         on in the buffer object.
8566         (updateCounters): ditto
8567
8568         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8569         shared_ptr<Counters> to avoid loading counters.h in all
8570         compilation units.
8571         (LyXTextClass): initialize ctrs_
8572         (TextClassTags): add TC_COUNTER, and ...
8573         (Read): use it here.
8574         (CounterTags): new tags
8575         (readCounter): new function
8576         (counters): new funtion
8577         (defaultLayoutName): return a const reference
8578
8579         * counters.C (Counters): remove contructor
8580         (newCounter): remove a couple of unneeded statements.
8581         (newCounter): simplify a bit.
8582         (numberLabel): some small formatting changes.
8583
8584         * buffer.[Ch]: remove all traces of counters, move the Counters
8585         object to the LyXTextClass.
8586
8587 2002-09-06  Alain Castera  <castera@in2p3.fr>
8588
8589         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8590         package to set the horizontal alignment on fixed width columns.
8591
8592         * lyx_sty.C:
8593         * lyx_sty.h: added tabularnewline macro def.
8594
8595         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8596
8597 2002-09-06  John Levon  <levon@movementarian.org>
8598
8599         * LyXAction.C: tooltips for sub/superscript
8600
8601         * MenuBackend.C: a bit more verbose
8602
8603         * lyxfunc.C: tiny clean
8604
8605         * undo_funcs.C: document undo_frozen
8606
8607 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * counters.C (Counters): add missing algorithm counter.
8610
8611         * text2.C (setCounter): lookup the counter with layouts latexname
8612         instead of by section number.
8613         (setCounter): use a hackish way to lookup the correct enum
8614         counter.
8615         a float name->type change
8616         reset enum couners with counter name directly instead of depth value.
8617
8618         * counters.C (Counters): remove the push_backs, change to use the
8619         float type not the float name.
8620         (labelItem): remove unused string, float name->type change
8621
8622         * counters.h: don't include vector, loose the enums and sects vectors
8623
8624 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8627         (Read): add float->TC_FLOAT to textclassTags
8628         (Read): and handle it in the switch
8629         (readFloat): new function
8630
8631         * FloatList.C (FloatList): comment out the hardcoded float
8632         definitions.
8633
8634         * lyxlayout.h: ws change.
8635
8636 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8637
8638         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8639
8640 2002-09-03  Angus Leeming  <leeming@lyx.org>
8641
8642         * BufferView_pimpl.h: qualified name is not allowed in member
8643         declaration: WorkArea & Pimpl::workarea() const;
8644
8645         * factory.C: added using std::endl directive.
8646
8647         * text3.C: added using std::find and std::vector directives.
8648
8649 2002-08-29  André Pönitz <poenitz@gmx.net>
8650
8651         * lyxtext.h:
8652         * text2.C: remove unused member number_of_rows
8653
8654         * Makefile.am:
8655         * BufferView2.C: remove file, move contents to...
8656         * BufferView.C: ... here
8657
8658         * BufferView_pimpl.C:
8659         * factory.C: move more inset creation to factory
8660
8661         * vspace.C: avoid direct usage of LyXText, ws changes
8662
8663         * BufferView.[Ch]:
8664                 don't provide direct access to WorkArea, use two simple
8665                 acessors haveSelction() and workHeight() instead
8666
8667
8668 2002-08-29  John Levon  <levon@movementarian.org>
8669
8670         * BufferView_pimpl.C (dispatch): do not continue when
8671           no buffer
8672
8673 2002-08-28  André Pönitz <poenitz@gmx.net>
8674
8675         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8676
8677         * BufferView.h:
8678         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8679
8680 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8681
8682         * buffer.C: increment LYX_FORMAT to 221
8683
8684         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8685         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8686
8687         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8688
8689         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8690
8691 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8692
8693         * factory.C (createInset): use LyXTextClass::floats
8694
8695         * MenuBackend.C (expandFloatListInsert):
8696         (expandFloatInsert):
8697         (expandToc):
8698
8699         * text2.C (setCounter):
8700
8701         * LaTeXFeatures.C (useFloat):
8702         (getFloatDefinitions):
8703
8704         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8705
8706         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8707         floatlist_, with accessor floats().
8708
8709         * FloatList.h: remove global FloatList
8710
8711 2002-08-26  André Pönitz <poenitz@gmx.net>
8712
8713         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8714
8715         * BufferView.h:
8716         * BufferView2.C:
8717         * BufferView_pimpl.C:
8718         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8719
8720 2002-08-25  John Levon  <levon@movementarian.org>
8721
8722         * LyXAction.C: fix margin note description
8723
8724 2002-08-24  John Levon  <levon@movementarian.org>
8725
8726         * buffer.C:
8727         * bufferlist.C:
8728         * bufferview_funcs.C:
8729         * lyxfont.C:
8730         * undo_funcs.C: cleanups
8731
8732         * lyxfunc.C: disable CUT/COPY when no selection
8733
8734 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8735
8736         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8737         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8738
8739         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8740         Add backward compatibility to "mono", "gray" and "no".
8741
8742 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8743
8744         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8745         (and file_format >= 200).
8746
8747 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8750
8751 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8754
8755 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8756
8757         * BufferView_pimpl.C:
8758         * LyXAction.C:
8759         * buffer.C:
8760         * commandtags.h:
8761         * lyxfunc.C:
8762         * paragraph.[Ch]:
8763         * text2.C:
8764         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8765         inset and code to make it  work with the paragraph code. The inset
8766         can be anywhere in the paragraph, but will only do the expected
8767         thing in LaTeX if the layout file contains the parameter line
8768                         OptionalArgs    1
8769         (or more generally, a nonzero value) for that layout.
8770
8771 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * paragraph.h: remove the declaration of undefined counters class
8774         function.
8775
8776 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8777
8778         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8779         Dr. Richard Hawkins.
8780
8781 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * paragraph_funcs.h: remove some unneeded includes
8784
8785         * text.C (backspace): pasteParagraph now in global scipe
8786
8787         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8788         (pasteSelection): ditto
8789
8790         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8791         * paragraph_funcs.C (pasteParagraph): ... here
8792
8793 2002-08-20  André Pönitz <poenitz@gmx.net>
8794
8795         * commandtags.h: new LFUNs for swapping/copying table row/colums
8796
8797         * LyXAction.C:
8798         * lyxfunc.C: support for new lfuns
8799
8800 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * tabular.C:
8803         * buffer.[Ch]: remove NO_COMPABILITY stuff
8804
8805 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * boost.C (throw_exception): new file, with helper function for
8808         boost compiled without exceptions.
8809
8810         * paragraph.h:
8811         * lyxlength.C:
8812         * buffer.C:
8813         * ParameterStruct.h:
8814         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8815
8816         * bufferlist.C (emergencyWriteAll): use boost bind
8817
8818         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8819
8820         * text.C: include paragraph_funcs.h
8821         (breakParagraph): breakParagraph is now in global scope
8822
8823         * paragraph_funcs.[Ch]: new files
8824
8825         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8826         global scope
8827
8828         * buffer.C: include paragraph_funcs.h
8829         (insertStringAsLines): breakParagraph is now in global scope
8830
8831         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8832         paragraph_funcs.C
8833
8834         * CutAndPaste.C: include paragraph_funcs.h
8835         (cutSelection): breakParagraphConservative is now in global scope
8836         (pasteSelection): ditto
8837
8838         * buffer.h: declare oprator== and operator!= for
8839         Buffer::inset_iterator
8840
8841         * bufferlist.C (emergencyWrite): don't use fmt(...)
8842
8843         * text3.C: add using std::endl
8844
8845         * BufferView.C (moveCursorUpdate): remove default arg
8846
8847 2002-08-20  André Pönitz <poenitz@gmx.net>
8848
8849         * buffer.[Ch]: move inline functions to .C
8850
8851         * BufferView2.C:
8852         * BufferView_pimpl.C:
8853         * text.C:
8854         * buffer.[Ch]: use improved inset_iterator
8855
8856         * buffer.C:
8857         * paragraph.[Ch]: write one paragraph at a time
8858
8859 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8860
8861         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8862         style if style is not specified.
8863
8864 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * text2.C (setCounter): when searching for right label for a
8867         caption, make sure to recurse to parent insets (so that a caption
8868         in a minipage in a figure float works) (bug #568)
8869
8870 2002-08-20  André Pönitz <poenitz@gmx.net>
8871
8872         * text3.C: new file for LyXText::dispatch() and helpers
8873
8874         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8875
8876         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8877
8878 2002-08-19  André Pönitz <poenitz@gmx.net>
8879
8880         * lyxtext.h:
8881         * text.C: new LyXText::dispatch()
8882
8883         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8884
8885 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8886
8887         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8888
8889         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8890         Hebrew text.
8891
8892 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * Makefile.am: use $(variables) instead of @substitutions@
8895
8896 2002-08-15  André Pönitz <poenitz@gmx.net>
8897
8898         * lyxfunc.C:
8899         * BufferView_pimpl.C: streamlining mathed <-> outer world
8900         interaction
8901
8902         * commandtags.h:
8903         * LyXAction.C: remove unused LFUN_MATH
8904
8905 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8906
8907         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8908
8909 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * paragraph.C (Paragraph): reformat a bit
8912         (cutIntoMinibuffer): use builtin InsetList function instad of
8913         doing it manually.
8914         (getInset): ditto
8915
8916         * buffer.C: include boost/bind.hpp, add using std::for_each
8917         (writeFileAscii): use ParagraphList iterators
8918         (validate): use for_each for validate traversal of paragraphs
8919         (getBibkeyList): use ParagraphList iterators
8920         (resizeInsets): use for_each to resizeInsetsLyXText for all
8921         paragraphs.
8922         (getParFromID): use ParagraphList iterators
8923
8924         * BufferView2.C (lockInset): use paragraph list and iterators
8925
8926 2002-08-14  John Levon  <levon@movementarian.org>
8927
8928         * lyxserver.C: remove spurious xforms include
8929
8930 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8933
8934 2002-08-13  André Pönitz <poenitz@gmx.net>
8935
8936         * LyXAction.[Ch]:
8937         * lyxfunc.C: further cleaning
8938
8939 2002-08-13  André Pönitz <poenitz@gmx.net>
8940
8941         * funcrequest.h: new constructor
8942
8943         * funcrequest.C: move stuff here from .h
8944
8945         * Makefile.am:
8946         * BufferView_pimpl.C:
8947         * LyXAction.C:
8948         * toc.C:
8949         * lyxfunc.C: subsequent changes
8950
8951         * lyxfunc.h: new view() member function
8952
8953         * lyxfunc.C: subsequent changes
8954
8955 2002-08-13  Angus Leeming  <leeming@lyx.org>
8956
8957         * BufferView2.C:
8958         * BufferView_pimpl.C:
8959         * buffer.C:
8960         * converter.C:
8961         * importer.C:
8962         * lyxfunc.C:
8963         * lyxvc.C:
8964         * toc.C:
8965         * vc-backend.C:
8966         changes due to the changed LyXView interface that now returns references
8967         to member variables not pointers.
8968
8969 2002-08-13  Angus Leeming  <leeming@lyx.org>
8970
8971         * WordLangTuple (word, lang_code): return references to strings,
8972         not strings.
8973
8974         * BufferView.h:
8975         * SpellBase.h:
8976         * lyxtext.h: forward-declare WordLangTuple.
8977
8978         * BufferView2.C:
8979         * ispell.C:
8980         * pspell.C:
8981         * text.C: #include "WordLangTuple.h".
8982
8983         * lyxtext.h:
8984         * text.C: (selectNextWordToSpellcheck): constify return type.
8985
8986 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8987
8988         * buffer.C:
8989         * buffer.h:
8990         * lyxtext.h:
8991         * paragraph.C:
8992         * paragraph_pimpl.h:
8993         * text.C:
8994         * text2.C:
8995         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8996         suggested by Angus.
8997         Made updateCounter always count from start of buffer, and removed
8998         second argument (par).
8999         Reverted floats number display to '#'. Perhaps I'll try again when the
9000         code base is sanitized a bit.
9001
9002 2002-08-12  Angus Leeming  <leeming@lyx.org>
9003
9004         * buffer.[Ch] (getLabelList): constify.
9005
9006 2002-08-07  André Pönitz <poenitz@gmx.net>
9007
9008         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9009
9010         * funcrequest.h: extension to keep mouse (x,y) position
9011
9012 2002-08-12  Juergen Vigna  <jug@sad.it>
9013
9014         * BufferView2.C (insertErrors): forbid undo when inserting error
9015         insets.
9016
9017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9018
9019 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9020
9021         * ParagraphList.[Ch]: new files
9022
9023         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9024
9025         * BufferView2.C (lockInset): ParagraphList changes
9026         * toc.C: ditto
9027         * text2.C: ditto
9028         * bufferlist.C: ditto
9029         * buffer.h: ditto
9030         * buffer.C: ditto
9031
9032 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9033
9034         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9035         unused class variable counter_,
9036
9037         * paragraph.[Ch] (getFirstCounter): delete unused function
9038
9039         * counters.C: include LAssert.h
9040         (reset): add a new function with no arg, change other version to
9041         not have def. arg and to not allow empty arg.
9042
9043         * text2.C (setCounter): remove empty arg from call to Counters::reset
9044
9045 2002-08-11  John Levon  <levon@movementarian.org>
9046
9047         * Makefile.am: add WordLangTuple.h
9048
9049 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9050
9051         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9052         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9053
9054         * insets/insettext.C: InsetList changes
9055
9056         * graphics/GraphicsSupport.C (operator()): InsetList changes
9057
9058         * toc.C (getTocList): InsetList changes
9059
9060         * paragraph_pimpl.[Ch]: InsetList changes
9061
9062         * paragraph.[Ch]: InsetList changes
9063
9064         * buffer.C (inset_iterator): InsetList changes
9065         (setParagraph): ditto
9066         * buffer.h (inset_iterator): ditto
9067         * iterators.C (operator++): ditto
9068         * iterators.h: ditto
9069
9070         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9071
9072         * InsetList.[Ch]: new files, most InsetList handling moved out of
9073         paragraph.C.
9074
9075         * BufferView2.C (removeAutoInsets): InsetList changes
9076         (lockInset): ditto
9077         (ChangeInsets): ditto
9078
9079 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * paragraph_pimpl.h (empty): new function
9082
9083         * paragraph.[Ch] (empty): new function
9084
9085         * other files: use the new Paragraph::empty function
9086
9087 2002-08-09  John Levon  <levon@movementarian.org>
9088
9089         * lyxtext.h: remove unused refresh_height
9090
9091 2002-08-09  John Levon  <levon@movementarian.org>
9092
9093         * Makefile.am:
9094         * sgml.h:
9095         * sgml.C:
9096         * buffer.C:
9097         * paragraph.h:
9098         * paragraph.C: move sgml char escaping out of paragraph
9099
9100         * paragraph.h:
9101         * paragraph.C: remove id setter
9102
9103         * buffer.C:
9104         * paragraph.C:
9105         * paragraph_pimpl.C: remove dead tex_code_break_column
9106
9107         * bufferview_funcs.C: small cleanup
9108
9109         * lyxfunc.C: remove dead proto
9110
9111         * lyxtext.h: make some stuff private. Remove some dead stuff.
9112
9113         * lyxgluelength.C: make as[LyX]String() readable
9114
9115 2002-08-08  John Levon  <levon@movementarian.org>
9116
9117         * LyXAction.h:
9118         * LyXAction.C:
9119         * MenuBackend.C:
9120         * ToolbarDefaults.C:
9121         * lyxfunc.C:
9122         * lyxrc.C:
9123         * toc.C: lyxaction cleanup
9124
9125 2002-08-08  John Levon  <levon@movementarian.org>
9126
9127         * BufferView2.C: small cleanup
9128
9129         * lyxfind.h:
9130         * lyxfind.C: move unnecessary header into the .C
9131
9132 2002-08-08  John Levon  <levon@movementarian.org>
9133
9134         * funcrequest.h: just tedious nonsense
9135
9136         * lyx_main.h:
9137         * lyx_main.C: cleanups
9138
9139         * buffer.C:
9140         * vspace.C: remove dead header lyx_main.h
9141
9142 2002-08-07  Angus Leeming  <leeming@lyx.org>
9143
9144         * Paragraph.[Ch]:
9145         * paragraph_pimpl.h:
9146         Forward declare class Counters in paragraph.h by moving the ctrs member
9147         variable into Paragraph::Pimpl.
9148         (counters): new method, returning a reference to pimpl_->ctrs.
9149
9150         * text2.C: ensuing changes.
9151
9152 2002-08-07  John Levon  <levon@movementarian.org>
9153
9154         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9155
9156         * BufferView_pimpl.C: announce X selection on double/triple
9157           click
9158
9159         * lyx_main.C: use correct bool in batch dispatch
9160
9161         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9162
9163 2002-08-07  André Pönitz <poenitz@gmx.net>
9164
9165         * funcrequest.h: new class to wrap a kb_action and its argument
9166
9167         * BufferView.[Ch]:
9168         * BufferView_pimpl[Ch]:
9169         * LaTeX.C:
9170         * LyXAction.[Ch]:
9171         * lyxfunc.[Ch]:
9172         * lyxrc.C: subsequent changes
9173
9174
9175 2002-08-07  John Levon  <levon@movementarian.org>
9176
9177         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9178           document options change.
9179
9180 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9181
9182         * counters.[Ch]
9183         * text2.C
9184         * paragraph.[Ch]
9185         * makefile.am: move counters functionality over from
9186         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9187
9188 2002-08-06  John Levon  <levon@movementarian.org>
9189
9190         * WordLangTuple.h: new file for word + language code tuple
9191
9192         * SpellBase.h:
9193         * pspell.h:
9194         * pspell.C:
9195         * ispell.h:
9196         * ispell.C:
9197         * lyxtext.h:
9198         * text.C:
9199         * text2.C:
9200         * BufferView.h:
9201         * BufferView2.C: use WordLangTuple
9202
9203         * layout.h:
9204         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9205
9206 2002-08-06  John Levon  <levon@movementarian.org>
9207
9208         * lyx_main.C: fix cmdline batch handling
9209
9210 2002-08-06  André Pönitz <poenitz@gmx.net>
9211
9212         * lyxrc.C: set default for show_banner to true
9213
9214 2002-08-06  John Levon  <levon@movementarian.org>
9215
9216         * pspell.C: fix a crash, and allow new aspell to work
9217
9218 2002-08-06  John Levon  <levon@movementarian.org>
9219
9220         * lyxfunc.C:
9221         * kbmap.C: small cleanup
9222
9223         * vspace.h:
9224         * vspace.C: add const
9225
9226 2002-08-05  John Levon  <levon@movementarian.org>
9227
9228         * LyXAction.C: back to tabular-insert
9229
9230 2002-08-04  John Levon  <levon@movementarian.org>
9231
9232         * BufferView.h:
9233         * BufferView.C: cosmetic change
9234
9235         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9236
9237         * bufferlist.C:
9238         * buffer.h:
9239         * buffer.C:
9240         * lyxcb.h:
9241         * lyxcb.C:
9242         * lyxserver.C:
9243         * lyxvc.C:
9244         * vc-backend.C:
9245         * BufferView2.C: purge all "Lyx" not "LyX" strings
9246
9247         * lyxcursor.h:
9248         * lyxcursor.C: attempt to add some documentation
9249
9250         * lyxfunc.C:
9251         * commandtags.h:
9252         * LyXAction.C:
9253         * ToolbarDefaults.C:
9254         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9255           merge with LFUN_TABULAR_INSERT
9256
9257         * Makefile.am:
9258         * SpellBase.h:
9259         * ispell.h:
9260         * ispell.C:
9261         * pspell.h:
9262         * pspell.C: split up i/pspell implementations into separate
9263           files, many cleanups
9264
9265         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9266
9267         * text2.C: some cleanup
9268
9269         * lyxfunc.C: don't check for isp_command == "none" any more, it
9270           didn't make any sense
9271
9272 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9273
9274         * counters.[Ch]
9275         * text2.C
9276         * paragraph.[Ch]
9277         * makefile.am: move counters functionality over
9278         from text2.C/paragraph.[Ch] to counters.[Ch], and
9279         make proper C++.
9280 2002-08-02  John Levon  <levon@movementarian.org>
9281
9282         * buffer.C: s/lyxconvert/lyx2lyx/
9283
9284 2002-08-02  Angus Leeming  <leeming@lyx.org>
9285
9286         * lyxlex.C: revert John's change as it breaks reading of the user
9287         preamble.
9288
9289 2002-08-02  Angus Leeming  <leeming@lyx.org>
9290
9291         * importer.C (Import):
9292         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9293         changes due to LyXView::view() now returning a boost::shared_ptr.
9294
9295 2002-08-02  John Levon  <levon@movementarian.org>
9296
9297         * lyxlex.C: small cleanup
9298
9299 2002-08-02  John Levon  <levon@movementarian.org>
9300
9301         * text2.C (status): small cleanup, no logic change
9302
9303 2002-08-01  John Levon  <levon@movementarian.org>
9304
9305         * buffer.h:
9306         * buffer.C (writeFile): don't output alerts, caller
9307           handles this
9308
9309         * bufferlist.C:
9310         * lyx_cb.C: from above
9311
9312         * lyxfunc.C: allow to open non-existent files
9313
9314 2002-07-31  John Levon  <levon@movementarian.org>
9315
9316         * lyxserver.C: don't let incidental errors get
9317           in the way (errno)
9318
9319 2002-07-30  John Levon  <levon@movementarian.org>
9320
9321         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9322
9323 2002-07-30  John Levon  <levon@movementarian.org>
9324
9325         * lyxserver.h:
9326         * lyxserver.C: remove I/O callback too
9327
9328 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9329
9330         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9331         log.
9332
9333 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * many files: strip,frontStrip -> trim,ltrim,rtrim
9336
9337 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * PrinterParams.h: remove extern containsOnly, and include
9340         support/lstrings.h instead.
9341
9342         * LaTeX.C (scanAuxFile): modify because of strip changes
9343         (deplog): ditto
9344         * buffer.C (makeLaTeXFile): ditto
9345         * bufferparams.C (writeFile): ditt
9346         * lyxfont.C (stateText): ditto
9347         * lyxserver.C (read_ready): ditto
9348         * vc-backend.C (scanMaster): ditto
9349
9350         * BufferView_pimpl.h: ws changes
9351
9352         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9353
9354 2002-07-26  André Pönitz <poenitz@gmx.net>
9355
9356         * kb_sequence.C: remove unnedred usings
9357
9358 2002-07-26  Juergen Vigna  <jug@sad.it>
9359
9360         * lyxfind.C (LyXReplace): we have to check better if the returned
9361         text is not of theLockingInset()->getLockingInset().
9362
9363 2002-07-25  Juergen Vigna  <jug@sad.it>
9364
9365         * lyxfind.C (LyXReplace): don't replace if we don't get the
9366         right LyXText.
9367
9368         * undo_funcs.C (createUndo): remove debugging code.
9369
9370 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * buffer.C (parseSingleLyXformat2Token): Use default placement
9373         when reading old floats.
9374
9375         * FloatList.C (FloatList): Change the default placement of figure
9376         and tables to "tbp".
9377
9378 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * MenuBackend.C: using std::max
9381
9382 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9383
9384         * MenuBackend.C (expandToc):
9385         (expandToc2): code moved from xforms menu frontend. It is now
9386         generic and TOCs are transparent to menu frontends.
9387
9388 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9389
9390         * toc.C (getTocList): protect against buf=0
9391
9392         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9393         Menu as first parameter. Now, this calls itself recursively to
9394         expand a whole tree (this will be useful for TOC handling)
9395         (expandFloatInsert): remove 'wide' version of floats
9396
9397         * MenuBackend.h (submenuname): returns the name of the submenu.
9398         (submenu): returns the submenu itself, provided it has been
9399         created by MenuBackend::expand
9400
9401 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9404         insets which have noFontChange == true. (bug #172)
9405
9406 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9407
9408         * BufferView_pimpl.C: add connection objects and use them...
9409         (Pimpl): here.
9410
9411 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * MenuBackend.C (expandLastfiles):
9414         (expandDocuments):
9415         (expandFormats):
9416         (expandFloatListInsert):
9417         (expandFloatInsert):
9418         (expand): split expand in parts
9419
9420 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * lyx_gui.C: use lyx_gui::exit()
9423
9424 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * LyXAction.C: show the failing pseudo action
9427
9428 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * buffer.C (readFile): Run the lyxconvert script in order to read
9431         old files.
9432
9433 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * LyXAction.C:
9436         * commandtags.h:
9437         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9438
9439 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * LyXAction.C:
9442         * commandtags.h:
9443         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9444
9445 2002-07-22  Herbert Voss  <voss@lyx.org>
9446
9447         * lengthcommon.C:
9448         * lyxlength.[Ch]: add support for the vertical lengths
9449
9450 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * toc.[Ch]: std:: fixes
9453
9454 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * lyxrc.C: do not include lyx_main.h
9457
9458         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9459         for layouts
9460
9461         * lyxrc.C:
9462         * encoding.C:
9463         * bufferlist.C:
9464         * BufferView2.C: include "lyxlex.h"
9465
9466         * tabular.h:
9467         * bufferparams.h: do not #include "lyxlex.h"
9468
9469         * lyxtextclasslist.C (Add): remove method
9470         (classlist): renamed to classlist_
9471
9472         * paragraph_pimpl.C:
9473         * paragraph.C:
9474         * text2.C:
9475         * CutAndPaste.C:
9476         * bufferview_funcs.C:
9477         * bufferlist.C:
9478         * text.C:
9479         * LaTeXFeatures.C:
9480         * buffer.C:
9481         * toc.C (getTocList): use BufferParams::getLyXTextClass
9482
9483         * toc.C (getTocList): use InsetFloat::addToToc
9484
9485         * toc.[Ch]: new files, containing helper functions to handle table
9486         of contents
9487
9488         * lyxfunc.C (dispatch): no need to remove spaces around command
9489         given as a string
9490         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9491         first command of the sequence; it is not very clever, but I do not
9492         have a better idea, actually
9493
9494         * LyXAction.C (LookupFunc): make sure to remove space at the
9495         beginning and end of the command
9496
9497 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9498
9499         * MenuBackend.C (getMenubar): new method: return the menubar of
9500         this menu set
9501         (read): treat differently reading of menu and menubar (in
9502         particular, the menubar has no name now)
9503         (Menu::menubar): remove
9504
9505         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9506         saving is finished
9507
9508 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9511         a bibitem inset in a RTL paragraph.
9512
9513 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * paragraph_pimpl.C: constify
9516
9517         * BufferView_pimpl.C:
9518         * LaTeX.C:
9519         * lyxfunc.C: fix dispatch in a nicer way
9520
9521 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9522
9523         * lyxfunc.C (dispatch):
9524         * BufferView_pimpl.C:
9525         * BufferView_pimpl.h:
9526         * BufferView.C:
9527         * BufferView.h: rename Dispatch() to dispatch()
9528
9529         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9530
9531         * lyxlayout.C (Read): honor DependsOn tag
9532
9533         * lyxlayout.[Ch] (depends_on): new method
9534
9535         * version.C.in: update lyx_docversion
9536
9537         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9538
9539         * paragraph.C (validate): remove from here...
9540         * paragraph_pimpl.C (validate): ... and move here
9541         (isTextAt): make it const
9542
9543         * buffer.C (getLists): ws cleanup
9544
9545 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9546
9547         * language.C (read): Use iso8859-1 encoding in latex_lang
9548         (this prevents LyX from crashing when using iso10646-1 encoding).
9549
9550 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * text2.C (toggleInset): if cursor is inside an inset, close the
9553         inset and leave cursor _after_ it
9554
9555 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * lyxfunc.C: move minibuffer completion handling out of here
9558
9559 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * BufferView_pimpl.C:
9562         * LaTeX.C: fix dispatch calls
9563
9564 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9565
9566         * text.C (drawChars): Fix Arabic text rendering.
9567
9568 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9569
9570         * LyXAction.C:
9571         * commandtags.h:
9572         * lyxfunc.C: remove message-push/pop
9573
9574         * lyxserver.C:
9575         * lyxfunc.h:
9576         * lyxfunc.C: rationalise some code by removing verboseDispatch
9577           in favour of a bool argument to dispatch()
9578
9579 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * lyx_main.C (init): make sure to read symlinks as absolute paths
9582
9583 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * lyxfunc.h:
9586         * lyxfunc.C: no need for commandshortcut to be a member
9587
9588 2002-07-15  André Pönitz <poenitz@gmx.net>
9589
9590         * converter.C: add support for $$s (scripts from lib/scripts dir)
9591         * lyx_main.C: white space
9592
9593 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9594
9595         * bufferlist.C:
9596         * lyxrc.h:
9597         * lyxrc.C: remove second exit confirmation
9598
9599 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * BufferView.h:
9602         * BufferView.C:
9603         * BufferView2.C:
9604         * BufferView_pimpl.h:
9605         * BufferView_pimpl.C:
9606         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9607
9608 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * MenuBackend.C (expand): add numeric shortcuts to document menu
9611
9612         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9613
9614 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * lyxfont.C (setLyXFamily):
9617         (setLyXSeries):
9618         (setLyXShape):
9619         (setLyXSize):
9620         (setLyXMisc):
9621         (lyxRead):
9622         * debug.C (value):
9623         * buffer.C (asciiParagraph): use ascii_lowercase
9624
9625 2002-07-15  Mike Fabian  <mfabian@suse.de>
9626
9627         * lyxlex_pimpl.C (search_kw):
9628         * lyxlex.C (getLongString):
9629         * converter.h (operator<):
9630         * converter.C (operator<):
9631         * buffer.C (parseSingleLyXformat2Token):
9632         (asciiParagraph):
9633         * ToolbarDefaults.C (read):
9634         * MenuBackend.C (checkShortcuts):
9635         (read):
9636         * LColor.C (getFromGUIName):
9637         (getFromLyXName): use the compare_ascii_no_case instead of
9638         compare_no_case, because in turkish, 'i' is not the lowercase
9639         version of 'I', and thus turkish locale breaks parsing of tags.
9640
9641 2002-07-16  Angus Leeming  <leeming@lyx.org>
9642
9643         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9644         now takes a Buffer const & argument.
9645
9646 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * BufferView.C (resize): check there's a buffer to resize
9649
9650 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * lyxfunc.C: remove dead code
9653
9654         * lyxserver.h:
9655         * lyxserver.C: use lyx_guii::set_read_callback
9656
9657 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9658
9659         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9660         an inset in a RTL paragraph.
9661
9662 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * lyxfunc.C: repaint after a font size update
9665
9666 2002-07-15  André Pönitz <poenitz@gmx.net>
9667
9668         * lyxlength.C: inBP should be able to return negative values
9669
9670 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * lyxfunc.C: use lyx_gui::update_fonts()
9673
9674 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * lyxfunc.C: use lyx_gui::update_color()
9677
9678 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * bufferlist.C:
9681         * lyxfunc.h:
9682         * lyxfunc.C:
9683         * lyxrc.h:
9684         * lyxrc.C: remove file->new asks for name option, and let
9685           buffer-new take an argument
9686
9687 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * BufferView_pimpl.C: remove unneeded extra repaint()
9690
9691 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * LyXAction.C: allow command-sequence with NoBuffer
9694
9695         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9696
9697 2002-07-10  Angus Leeming  <leeming@lyx.org>
9698
9699         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9700
9701 2002-07-09  Angus Leeming  <leeming@lyx.org>
9702
9703         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9704
9705 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * lengthcommon.h: whitespace
9708
9709         * lyxfunc.C: update scrollbar after goto paragraph
9710
9711         * lyxtext.h: factor out page break drawing, and fix it so
9712           page break/added space paints as selected nicely
9713
9714 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * BufferView_pimpl.C: add FIXMEs, clean up a little
9717
9718 2002-07-09  André Pönitz <poenitz@gmx.net>
9719
9720         * lyxfont.[Ch]: support for wasy symbols
9721
9722 2002-07-08  André Pönitz <poenitz@gmx.net>
9723
9724         * BufferView_pimpl.C: apply John's patch for #93.
9725
9726 2002-07-05  Angus Leeming  <leeming@lyx.org>
9727
9728         * BufferView_pimpl.C (buffer): generate previews if desired.
9729
9730         * LColor.h: add "preview" to the color enum.
9731
9732         * LColor.C (LColor): add a corresponding entry to the items array.
9733
9734         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9735         with this buffer.
9736
9737 2002-07-05  Angus Leeming  <leeming@lyx.org>
9738
9739         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9740         The body of the code is now in the method that is passed an ostream &
9741         rather than a file name.
9742         Pass an additional only_preamble parameter, useful for the forthcoming
9743         preview stuff.
9744
9745 2002-07-03  André Pönitz <poenitz@gmx.net>
9746
9747         * lyxfunc.C: simplify getStatus() a bit for math stuff
9748
9749 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9752
9753 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * text.C (changeRegionCase): do not change case of all the
9756         document when region ends at paragraph end (bug #461)
9757
9758 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * paragraph.C (startTeXParParams):
9761         (endTeXParParams): add \protect when necessary
9762
9763 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * BufferView_pimpl.C (workAreaExpose): remove warning
9766
9767 2002-06-27  Angus Leeming  <leeming@lyx.org>
9768
9769         * Makefile.am: add lyxlayout_ptr_fwd.h.
9770
9771 2002-06-26  André Pönitz <poenitz@gmx.net>
9772
9773         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9774
9775 2002-06-25  Angus Leeming  <leeming@lyx.org>
9776
9777         * lyxfunc.C (dispatch): Comment out the call to
9778         grfx::GCache::changeDisplay. The method no longer exists now that the
9779         pixmap generation part of the graphics loader has been moved into
9780         InsetGraphics.
9781
9782 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9783
9784         * text2.C: layout as layout
9785
9786         * text.C: layout as layout
9787
9788         * tabular.C (OldFormatRead): layout as layout
9789
9790         * paragraph_pimpl.C (TeXDeeper): layout as layout
9791         (realizeFont): layout as layout
9792
9793         * paragraph.C (writeFile): layout as layout
9794         (validate): layout as layout
9795         (getFont): layout as layout
9796         (getLabelFont): layout as layout
9797         (getLayoutFont): layout as layout
9798         (breakParagraph): layout as layout
9799         (stripLeadingSpaces): layout as layout
9800         (getEndLabel): layout as layout
9801         (getMaxDepthAfter): layout as layout
9802         (applyLayout): layout as layout
9803         (TeXOnePar): layout as layout
9804         (simpleTeXOnePar): layout as layout
9805         (TeXEnvironment): layout as layout
9806         (layout): layout as layout
9807         (layout): layout as layout
9808
9809         * lyxtextclass.C (compare_name): new functor to work with
9810         shared_ptr, layout as layout
9811         (Read): layout as layout
9812         (hasLayout): layout as layout
9813         (operator): layout as layout
9814         (delete_layout): layout as layout
9815         (defaultLayout): layout as layout
9816
9817         * lyxlayout_ptr_fwd.h: new file
9818
9819         * lyxlayout.C (Read): layout as layout
9820
9821         * lyx_cb.C (MenuInsertLabel): layout as layout
9822
9823         * bufferlist.C (newFile): layout as layout
9824
9825         * buffer.C (readLyXformat2): layout as layout
9826         (parseSingleLyXformat2Token): layout as layout
9827         (insertStringAsLines): layout as layout
9828         (asciiParagraph): layout as layout
9829         (latexParagraphs): layout as layout
9830         (makeLinuxDocFile): layout as layout
9831         (simpleLinuxDocOnePar): layout as layout
9832         (makeDocBookFile): layout as layout
9833         (simpleDocBookOnePar): layout as layout
9834         (getLists): layout as layout
9835
9836         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9837
9838         * CutAndPaste.C (cutSelection): layout as layout
9839         (pasteSelection): layout as layout
9840         (SwitchLayoutsBetweenClasses): layout as layout
9841
9842         * BufferView_pimpl.C (Dispatch): layout as layout
9843         (smartQuote): layout as layout
9844
9845         * BufferView2.C (unlockInset): layout as layout
9846
9847 2002-06-24  André Pönitz <poenitz@gmx.net>
9848
9849         * lyxfunc.C: fix #487
9850
9851 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * lyxrc.h:
9854         * lyxrc.C:
9855         * lyxfunc.C: remove display_shortcuts, show_banner
9856
9857 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * Buffer_pimpl.C: oops, update on resize
9860
9861 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * buffer.C:
9864         * converter.C:
9865         * exporter.C:
9866         * lyxfunc.C:
9867         * BufferView.h:
9868         * BufferView.C: use repaint()
9869
9870         * BufferView_pimpl.h:
9871         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9872           as it's a clearer description. Remove superfluous
9873           redraws.
9874
9875 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * text.C: fix bug 488. Not ideal, but getting
9878           getWord() to work properly for the insets that
9879           matter is more difficult ...
9880
9881 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * BufferView_pimpl.C:
9884         * LyXAction.C:
9885         * commandtags.h:
9886         * lyxfunc.C: remove the six million index lyxfuncs to just
9887           one, and DTRT (bug 458)
9888
9889 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * BufferView.h:
9892         * BufferView.C:
9893         * BufferView_pimpl.h:
9894         * BufferView_pimpl.C: clean up resize() stuff,
9895           and unnecessary updateScreen()s
9896
9897 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * BufferView.h:
9900         * BufferView.C:
9901         * BufferView_pimpl.h:
9902         * BufferView_pimpl.C:
9903         * lyxfind.h:
9904         * lyxfind.C:
9905         * minibuffer.C: remove focus management of workarea,
9906           not needed. Use screen's greyOut()
9907
9908 2002-06-17  Herbert Voss  <voss@lyx.org>
9909
9910         * converter.C: (convert) do not post a message, when converting
9911         fails, let the calling function decide what to do in this case
9912
9913 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * lyxfunc.C: tidy up a little
9916
9917 2002-06-16    <alstrup@diku.dk>
9918
9919         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9920         Got rid of FORMS_H_LOCATION include. Now we are
9921         GUII.
9922
9923 2002-06-15  LyX Development team  <lyx@rilke>
9924
9925         * buffer.[Ch] (sgmlOpenTag):
9926         (sgmlCloseTag): Added support for avoiding pernicious mixed
9927         content. Return number of lines written.
9928
9929         (makeLinuxDocFile):
9930         (makeDocBookFile): Fixed calls to sgml*Tag.
9931         Simple white space clean.
9932
9933         (simpleDocBookOnePar): Simple white space clean.
9934
9935         * tabular.[Ch] (docBook): Renamed to docbook and got another
9936         argument to related with the pernicious mixed content.
9937
9938         (docbookRow): Fixed calls for docbook inset method.
9939
9940 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9941
9942         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9943         so it's X11 independent.
9944
9945         * kb*.[Ch]: ditto.
9946
9947         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9948
9949 2002-06-15  Lyx Development team  <lyx@electronia>
9950
9951         * intl.h: Renamed getTrans to getTransManager.
9952
9953 2002-06-14  Angus Leeming  <leeming@lyx.org>
9954
9955         * Makefile.am: nuke forgotten stl_string_fwd.h.
9956
9957 2002-06-12  Angus Leeming  <leeming@lyx.org>
9958
9959         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9960
9961 2002-06-13  Angus Leeming  <leeming@lyx.org>
9962
9963         * LaTeX.C:
9964         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9965
9966 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9967
9968         * kbmap.C (getiso): add support for cyrillic and greek
9969
9970 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * BufferView.h:
9973         * BufferView.C:
9974         * BufferView_pimpl.h:
9975         * BufferView_pimpl.C: move bogus scrolling logic
9976           to xforms
9977
9978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * lyxfunc.C:
9981         * BufferView_pimpl.C: view->resize() change
9982
9983 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * BufferView_pimpl.C: topCursorVisible
9986           prototype change
9987
9988 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * Makefile.am:
9991         * lyx_gui.h:
9992         * lyx_gui.C: move to frontends/
9993
9994         * main.C:
9995         * lyx_main.h:
9996         * lyx_main.C: changes from above
9997
9998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * intl.C:
10001         * intl.h:
10002         * kbmap.C:
10003         * kbsequence.C:
10004         * lyx_cb.C:
10005         * lyx_main.C: minor tidy
10006
10007 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * BufferView_pimpl.h:
10010         * BufferView_pimpl.C:
10011         * BufferView.h:
10012         * BufferView.C: make painter() const,
10013           remove dead code
10014
10015         * BufferView2.C: use screen() accessor
10016
10017         * lyx_main.h:
10018         * lyx_main.C: some minor cleanup
10019
10020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * BufferView_pimpl.h:
10023         * BufferView_pimpl.C: remove enter/leaveView,
10024           use workHeight()
10025
10026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * BufferView.h:
10029         * BufferView.C:
10030         * BufferView2.C:
10031         * BufferView_pimpl.h:
10032         * BufferView_pimpl.C: only construct screen once,
10033           rename
10034
10035         * lyxrc.C: remove pointless comment
10036
10037 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * BufferView.h:
10040         * BufferView.C: remove active() and belowMouse()
10041
10042         * BufferView_pimpl.h:
10043         * BufferView_pimpl.C: use workarea() not workarea_,
10044           and make it use a scoped_ptr instead
10045
10046 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * lyx_gui.C: add debug message on BadWindow
10049
10050 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10051
10052         * sp_spell.C: fdopen is not part of the C++ standard.
10053
10054         * paragraph.C (InsetIterator): use >= instead of ==
10055
10056 2002-06-07  Angus Leeming  <leeming@lyx.org>
10057
10058         Fixes needed to compile with Compaq cxx 6.5.
10059         * BufferView_pimpl.C:
10060         * DepTable.C:
10061         * buffer.C:
10062         * converter.C:
10063         * encoding.C:
10064         * lyx_gui.C:
10065         * lyx_main.C:
10066         * lyxtextclasslist.C:
10067         * minibuffer.C:
10068         * sp_spell.C:
10069         * tabular_funcs.C:
10070         * vc-backend.C:
10071         all c-library variables have been moved into namespace std. Wrap
10072         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10073
10074         * lyxlength.C:
10075         * tabular-old.C:
10076         * tabular.C:
10077         Add a using std::abs declaration.
10078
10079         * kbmap.h (modifier_pair):
10080         * paragraph.h (InsetTable, InsetList):
10081         * lyxfont.h (FontBits):
10082         type definition made public.
10083
10084         * bufferlist.C (emergencyWriteAll): the compiler complains that
10085         there is more than one possible lyx::class_fun template to choose from.
10086         I re-named the void specialisation as lyx::void_class_fun.
10087
10088         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10089
10090         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10091         the compiler is is unable to find tostr in write_attribute.
10092
10093 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * buffer.C (sgmlError): hide #warning
10096
10097 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * xtl/*: get rid of xtl, which is not in use anyway
10100
10101         * LyXAction.C (init):
10102         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10103         were unimplemented xtl experimentation
10104
10105 2002-06-04  André Pönitz <poenitz@gmx.net>
10106
10107         * lyxfunc.C: disable array operation on simple formulae
10108
10109 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * converter.C: constify a bit
10112
10113 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * lyx_gui.C: check xforms version correctly
10116
10117 2002-04-30  Herbert Voss  <voss@lyx.org>
10118
10119         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10120         "keep" option
10121
10122 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10125           attempt to register it with a VCS)
10126
10127 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10128
10129         * lyx_main.C (init): honor variables LYX_DIR_13x and
10130         LYX_USERDIR_13x
10131
10132 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * buffer.h:
10135         * buffer.C:
10136         * lyx_main.C: fix a crash on bad command line,
10137           and give a useful exit status on error
10138
10139         * lyxfunc.C (doImport): allow -i lyx to work
10140
10141 2002-03-30  André Pönitz <poenitz@gmx.net>
10142
10143         * lyxfunc.C: mathed font changes
10144
10145 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * LaTeX.C:
10148         * importer.h:
10149         * importer.C:
10150         * lyx_sty.h:
10151         * lyx_sty.C:
10152         * lyxlex.C:
10153         * lyxrow.h:
10154         * lyxtext.h:
10155         * paragraph.h:
10156         * paragraph.C:
10157         * texrow.h:
10158         * texrow.C:
10159         * text.C:
10160         * trans_mgr.h: srcdocs, and some minor cleanups
10161
10162 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10165         call getFont all the time)
10166
10167 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * switch from SigC signals to boost::signals
10170
10171 2002-05-29  André Pönitz <poenitz@gmx.net>
10172
10173         * paragraph_pimpl.C (getChar): don't call size() too often...
10174
10175 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10176
10177         * paragraph_pimpl.C (insertChar): do not try to update tables when
10178         appending (pos == size())
10179
10180         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10181         in order to reduce drastically the number of comparisons needed to
10182         parse a large document
10183
10184 2002-05-29  André Pönitz <poenitz@gmx.net>
10185
10186         * text.C:
10187         * text2.C:
10188         * lyxtextclass.C:
10189         * sp_pspell.h:
10190         * textclasslist.[Ch]:
10191         * sp_ispell.h: whitespace change
10192
10193 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10194
10195         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10196         lyxaction directly now.
10197
10198 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * trans.C:
10201         * lyxfont.C:
10202         * lyxvc.C: remove unused headers
10203
10204 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * Makefile.am:
10207         * buffer.h:
10208         * undostack.h:
10209         * undostack.C:
10210         * undo_funcs.h:
10211         * undo_funcs.C: some cleanups. Use shared_ptr
10212           and a template for the undo stacks.
10213
10214 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * BufferView_pimpl.h:
10217         * BufferView_pimpl.C:
10218         * kbmap.h:
10219         * kbmap.C:
10220         * kbsequence.h:
10221         * kbsequence.C:
10222         * lyxfunc.h:
10223         * lyxfunc.C:
10224         * text2.C: use key_state/mouse_state
10225
10226 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10229         and LSubstring
10230
10231         * chset.C: change include order
10232         (loadFile): use boost regex and get rid of LRegex and LSubstring
10233
10234         * Makefile.am (BOOST_LIBS): new variable
10235         (lyx_LDADD): use it
10236
10237         * LaTeX.C: change include order.
10238         (scanAuxFile): use boost regex and get rid of LRegex and
10239         LSubstring
10240         (deplog): ditto
10241
10242 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * ColorHandler.h:
10245         * ColorHandler.C:
10246         * FontInfo.h:
10247         * FontInfo.C: moved to frontends/xforms/
10248
10249         * FontLoader.h:
10250         * FontLoader.C: moved into frontends for GUIIzation
10251
10252         * Makefile.am:
10253         * lyx_gui.C:
10254         * lyxfont.C:
10255         * lyxfunc.C: changes from above
10256
10257 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * LColor.C: remove spurious X include
10260
10261         * BufferView_pimpl.C:
10262         * Makefile.am:
10263         * font.h:
10264         * font.C:
10265         * text.C:
10266         * text2.C: move font metrics to frontends/
10267
10268 2002-05-24  Juergen Vigna  <jug@sad.it>
10269
10270         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10271         setting the undo_cursor.
10272
10273         * ParagraphParameters.h: include local includes first.
10274
10275 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * BufferView_pimpl.C:
10278         * BufferView_pimpl.h:
10279         * Makefile.am:
10280         * WorkArea.h:
10281         * WorkArea.C:
10282         * screen.C: move WorkArea into frontends/
10283
10284         * lyxscreen.h:
10285         * screen.C:
10286         * text.C:
10287         * BufferView.C:
10288         * BufferView2.C: move LyXScreen into frontends/
10289
10290         * lyxlookup.h:
10291         * lyxlookup.C:
10292         * lyx_gui.C: move lyxlookup into frontends/xforms/
10293
10294 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView2.C:
10297         * BufferView_pimpl.C:
10298         * FontLoader.C:
10299         * LyXView.h:
10300         * LyXView.C:
10301         * Makefile.am:
10302         * WorkArea.C:
10303         * XFormsView.h:
10304         * XFormsView.C:
10305         * buffer.C:
10306         * bufferlist.C:
10307         * bufferview_funcs.C:
10308         * converter.C:
10309         * importer.C:
10310         * lyx_cb.C:
10311         * lyx_gui.C:
10312         * lyx_main.C:
10313         * lyx_find.C:
10314         * lyxfunc.C:
10315         * lyxvc.C:
10316         * minibuffer.C:
10317         * text.C:
10318         * text2.C:
10319         * trans.C:
10320         * vc-backend.C: move LyX/XFormsView into frontends/
10321
10322 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * Makefile.am:
10325         * PainterBase.C:
10326         * PainterBase.h:
10327         * Painter.C:
10328         * Painter.h:
10329         * WorkArea.C:
10330         * WorkArea.h:
10331         * screen.C:
10332         * tabular.C:
10333         * text.C:
10334         * text2.C: move Painter to frontends/
10335
10336 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * buffer.C: comment out some some code that depend upon lyx_format
10339         < 220
10340
10341         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10342         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10343
10344         * buffer.h (NO_COMPABILITY): turn off compability
10345
10346         * ColorHandler.C: include scoped_array.hpp
10347
10348         * font.C: Use more specific smart_ptr header.
10349         * Painter.C: ditto
10350         * gettext.C: ditto
10351         * ShareContainer.h: ditto
10352         * lyx_main.h: ditto
10353         * kbmap.h: ditto
10354         * FontInfo.h: ditto
10355         * BufferView_pimpl.h: ditto
10356         * ColorHandler.h: ditto
10357
10358         * kbmap.C (defkey): change call to shared_ptr::reset
10359
10360 2002-05-21  Juergen Vigna  <jug@sad.it>
10361
10362         * buffer.C (insertErtContents): fix to insert ert asis if it is
10363         non empty. Skip it completely if it contains only whitespaces.
10364
10365 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * BufferView_pimpl.C:
10368         * BufferView2.C: clear selection on paste (bug 393)
10369
10370 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * DepTable.C: include ctime
10373
10374 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10375
10376         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10377
10378 2002-05-14  Juergen Vigna  <jug@sad.it>
10379
10380         * text.C (breakParagraph): fixed function to honor the keepempty
10381         layout in the right maner and also to permit the right breaking
10382         algorithm on empty or non empyt keepempty paragraphs.
10383
10384         * paragraph.C (breakParagraph): we have to check also if the par
10385         is really empty (!size()) for isempty otherwise we do the wrong
10386         paragraph break.
10387
10388 2002-05-10  Juergen Vigna  <jug@sad.it>
10389
10390         * buffer.[Ch] : The following are only changes to the ert
10391         compatibility read reading old LaTeX layout and font stuff and
10392         convert it to ERTInsets.
10393
10394         * buffer.h: added isErtInset().
10395
10396         * buffer.C (struct ErtComp): add a fromlayout bool to check
10397         if we're inside a LaTeX layout.
10398         (isErtInset): new helper function.
10399         (insertErtContents): look for other ert insets before this one
10400         and insert the contents there, so that we don't have subsequent
10401         ERT insets with nothing between them. This way we create only one
10402         inset with multiple paragraphs. Also check if we don't insert only
10403         spaces ' ' as they are ignored anyway afterwards in the .tex file
10404         so if we have only spaces we will ignore this latex part in the
10405         new file.
10406         (parseSingleLyXformat2Token \\layout): better compatibility when
10407         reading layout-latex stuff.
10408         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10409         language tag.
10410         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10411         stuff after reading the inset only get the information back from
10412         the stack.
10413
10414 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10415
10416         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10417
10418         * LaTeXFeatures.C (getBabelOptions): New method.
10419
10420 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * BufferView_pimpl.C (Dispatch): work around missing argument for
10423         'layout'
10424
10425 2002-05-08  Juergen Vigna  <jug@sad.it>
10426
10427         * text.C (leftMargin): handle paragraph leftindent.
10428
10429         * paragraph.C (writeFile): write the new \\leftindent tag.
10430         (validate): handle leftindent code.
10431         (TeXEnvironment): handle paragraphleftindent code again.
10432
10433         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10434
10435         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10436         for paragrap_extra indent code and new token \\leftindent.
10437         (latexParagraphs): handle the leftindent as environment.
10438
10439         * ParameterStruct.h: added leftindent support.
10440
10441         * ParagraphParameters.C (leftIndent): added support functions for
10442         the paragraph left indent.
10443
10444         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10445         more appropriate.
10446
10447 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10450         inside insetERT.
10451
10452         * text.C (computeBidiTables): No bidi in insetERT.
10453
10454         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10455         in RTL documents.
10456
10457 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * version.C.in: pre 5
10460
10461 2002-05-02  José Matos  <jamatos@fep.up.pt>
10462         * buffer.C (makeDocBookFile): white space changes, add newline to
10463         command styles.
10464         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10465
10466         * tabular.C (docBook): fix typo.
10467
10468 2002-05-03  Juergen Vigna  <jug@sad.it>
10469
10470         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10471         change in LyXText as we can not be sure it was not freed.
10472         (drawOneRow): remove unused code.
10473
10474         * text.C (drawInset): redo the calculation of the need_break_row as
10475         it could have a row which was already freed.
10476         (draw): look at the return value of drawInset and return false if
10477         it also returned false.
10478         (paintRowText): look at the return value of draw and return false if
10479         it also returned false.
10480
10481         * lyxtext.h: added bool return type to drawInset() and draw() so that
10482         if we have a change in the row so that the rowbreak has to be redone
10483         we abort drawing as it will be called again.
10484
10485 2002-05-02  Juergen Vigna  <jug@sad.it>
10486
10487         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10488         a change in the maintext also if we're inside an inset.
10489         (Dispatch): set the cursor again after a break line and after the
10490         screen has been updated as it could be we're in a different row.
10491
10492         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10493         to set the cursor behind the pargraph with > size().
10494         (setCursor): check also for the same paragraph when checking where
10495         to put the cursor if we have a NFR inset.
10496
10497         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10498         parts of layout read further up as it still was in the wrong
10499         position.
10500
10501 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10502
10503         * screen.C (drawFromTo): change sine fullRebreak always return
10504         true.
10505
10506         * buffer.C (parseSingleLyXformat2Token): reindent some
10507
10508         * BufferView_pimpl.C (update): change since fullRebreak always
10509         return true.
10510         (Dispatch): git rid of the last hardcoded "Standard"s.
10511
10512 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * text2.[Ch] (fullRebreak): make it return void now that we always
10515         returned true.
10516
10517 2002-04-30  Juergen Vigna  <jug@sad.it>
10518
10519         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10520         ert compatibility check for "latex" layout.
10521
10522 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10523
10524         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10525         minipages: use col% instead of p%, and also use the current font.
10526         (makeLaTeXFile): Fix use babel condition.
10527         (parseSingleLyXformat2Token): Correct font when reading old floats.
10528
10529 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10530
10531         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10532         inserting list of floats.
10533
10534 2002-04-25  Herbert Voss  <voss@lyx.org>
10535
10536         * MenuBackend.C (expand): don't add the graphics extensions to the
10537         export menu
10538
10539 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10542         non-existing layout, do not complain if it was the default layout
10543         of the original class (bug #342)
10544
10545 2002-04-24  Juergen Vigna  <jug@sad.it>
10546
10547         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10548         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10549
10550 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10551
10552         * buffer.C (getBibkeyList): If using \bibliography, return the
10553         option field with the reference itself. Enables us to provide natbib
10554         support when using \bibliography.
10555
10556 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10557
10558         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10559
10560         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10561         natbib is provided by the LaTeX class.
10562
10563 2002-04-23  Juergen Vigna  <jug@sad.it>
10564
10565         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10566         Wakeup functions.
10567
10568         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10569
10570 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10573
10574         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10575         ensuremath around textordmasculine, textordfeminine and
10576         textdegree.
10577
10578 2002-04-19  Juergen Vigna  <jug@sad.it>
10579
10580         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10581         reinitializing the buffer otherwise row-dimensions may be wrong.
10582         (update): reset also the selection cursors if they do exits otherwise
10583         their x/y positions may be wrong.
10584
10585         * text2.C (cursorDown): don't enter the inset if we came from a row
10586         above and are one row over the inset.
10587
10588         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10589         really leaving an inset.
10590
10591 2002-04-18  Juergen Vigna  <jug@sad.it>
10592
10593         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10594         of the selected paragraph does not have the selected layout also if
10595         the last one had!
10596
10597         * text2.C (setLayout): fixed bug which did not change last selected
10598         paragraph.
10599
10600         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10601         changed the read and substituted \\end_float with \\end_inset!
10602
10603         * BufferView_pimpl.C (cursorPrevious):
10604         (cursorNext): fixed to make it work with rows heigher than the work
10605         area without moving the cursor only the draw of the row.
10606         (workAreaMotionNotify): fix jumping over high rows.
10607
10608 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10611         Ressler.
10612
10613 2002-04-16  Juergen Vigna  <jug@sad.it>
10614
10615         * text2.C (setCursor): set also the irow().
10616         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10617         (cursorUp):
10618         (cursorDown): support for locking an inset if the x_fix value goes
10619         inside it. That way I can transverse insets too with cursor up/down.
10620
10621         * lyxrow.h: added irow helper function same as other (i) functions.
10622
10623         * BufferView_pimpl.C (cursorPrevious):
10624         (cursorNext): fixed for insets!
10625
10626 2002-04-15  Juergen Vigna  <jug@sad.it>
10627
10628         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10629         position otherwise it is wrong in some cases.
10630
10631         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10632         inside the inset before the call.
10633
10634 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10635
10636         * buffer.[Ch] (getBibkeyList): make it const.
10637
10638 2002-04-12  Juergen Vigna  <jug@sad.it>
10639
10640         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10641
10642         * text2.C (getCursorX): new helper function
10643         (setCursor): compute also ix_
10644         (setCursorFromCoordinates): set also ix.
10645
10646         * lyxcursor.h: added ix_ and helper functions.
10647
10648         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10649
10650         * buffer.C (insertStringAsLines): dont break paragraph if the this
10651         paragraph is inside an inset which does not permit it!
10652
10653         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10654         also with no chars on this paragraph.
10655         (paintRowText): only paint stuff if it's inside the workarea!
10656
10657         * paragraph.C (breakParagraph): honor keepempty flag and break the
10658         paragraph always below not above.
10659
10660         * BufferView2.C (unlockInset): update the paragraph layout on inset
10661         unlock as we changed paragraph in such a case.
10662
10663         * lyxfind.C (LyXFind): clear the former selection if not found!
10664
10665         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10666         again called in insertChar().
10667
10668         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10669         an inset which uses the whole row!
10670         (rightMargin): ditto.
10671         (insertChar): force a rebreak if we inserted an inset!
10672
10673 2002-03-28  Herbert Voss  <voss@lyx.org>
10674
10675         * lyxlength.[Ch]: add inBP() to get the right PS-point
10676         units (BigPoint). With inPixels we have rounding errors
10677
10678 2002-04-11  Juergen Vigna  <jug@sad.it>
10679
10680         * text2.C (setCursorFromCoordinates): set iy to the right value.
10681         (setCursor): add check if row->previous exists!
10682
10683         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10684         an old float_type as this was the case in the old code!
10685
10686         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10687
10688         * BufferView2.C (showLockedInsetCursor): use iy
10689         (fitLockedInsetCursor): ditto
10690
10691         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10692         locked insets as there we have the right value now.
10693
10694         * lyxcursor.C: added iy_ variable and iy functions to set to the
10695         baseline of cursor-y of the locked inset.
10696
10697         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10698         (setCursor): fixed for insets which need a full row.
10699
10700         * text.C (rowLastPrintable): don't ignore the last space when before
10701         an inset which needs a full row.
10702         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10703         as last character of a row when before a inset which needs a full row.
10704
10705 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * version.C.in: update date
10708
10709         * text2.C (fullRebreak): try to always return true and see what
10710         happens...
10711
10712 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * MenuBackend.C (expand): use Floating::listName
10715
10716         * FloatList.C (FloatList): add listName argument to the built-in
10717         floats
10718
10719         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10720         text associated with the float.
10721
10722 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10725
10726 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * ShareContainer.h: add a couple of missing typenames.
10729
10730 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10731
10732         * lyxrc.C (getDescription): use _() correctly rather than N_().
10733
10734 2002-03-28  Herbert Voss  <voss@lyx.org>
10735
10736         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10737         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10738
10739 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10742         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10743
10744 2002-03-29  Juergen Vigna  <jug@sad.it>
10745
10746         * lyxfunc.C (dispatch): add a missing fitCursor call.
10747
10748         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10749         it was scrolled by a cursor move, so return the bool status.
10750
10751         * BufferView.C (fitCursor): return the bool flag also to the outside
10752         world as this is needed.
10753
10754         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10755
10756         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10757         call the edit() as it is not needed (and wrong) IMO.
10758         (workAreaButtonPress): set the screen_first variable before evt.
10759         unlock the inset as this may change screen_first and then we have
10760         a wrong y position for the click!
10761
10762 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * MenuBackend.C (expand): another translation that I missed
10765
10766 2002-03-28  Juergen Vigna  <jug@sad.it>
10767
10768         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10769
10770         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10771
10772 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10775
10776         * MenuBackend.C (expand): fix export/view/update when there is no
10777         document open.
10778
10779 2002-03-27  Herbert Voss  <voss@lyx.org>
10780
10781         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10782         and text%
10783
10784 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10785
10786         * bufferview_funcs.C (currentState): only show paragraph number
10787         for is DEVEL_VERSION is set.
10788
10789         * lyxfunc.C (dispatch): put warning in INFO channel
10790
10791         * MenuBackend.C (expand): translate the name of floats
10792
10793         * FloatList.C (FloatList): mark the float names for translation
10794
10795         * converter.C (convert): use LibScriptSearch
10796
10797 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10798
10799         * MenuBackend.C (defaults): fix default menu (we might as well get
10800         rid of it...)
10801
10802 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10805         directory.
10806
10807 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * lyxvc.C: reorder includes.
10810
10811 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10814           properly
10815
10816 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * CutAndPaste.C: change layouts earlier on paste
10819           to avoid crashing when calling getFont()
10820
10821 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10822
10823         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10824         irritating #error.
10825
10826 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * WorkArea.C: remove 'Pending' debug message.
10829
10830         * most files: ws cleanup
10831
10832         * buffer.[Ch]: ws changes
10833
10834         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10835
10836 2002-03-21  Juergen Vigna  <jug@sad.it>
10837
10838         * tabular.C (SetMultiColumn): collapse also the contents of the
10839         cells and set the last border right. Added a Buffer const * param.
10840
10841 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10844         linking or not.
10845
10846 2002-03-19  Juergen Vigna  <jug@sad.it>
10847
10848         * text2.C (clearSelection): reset also xsel_cache.
10849
10850         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10851         where it needs to be called (John tells us to do so too :)
10852         (selectionLost): reset sel_cache.
10853
10854         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10855
10856 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * text2.C (setCursorIntern): put debuging code in INSETS channel
10859
10860 2002-03-19  André Pönitz <poenitz@gmx.net>
10861
10862         * lyxfunc.C: tiny whitespace change
10863
10864 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * ToolbarDefaults.C (init):
10867         * LyXAction.C (init):
10868         * commandtags.h:
10869         * BufferView_pimpl.C (Dispatch):
10870         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10871
10872 2002-03-19  Allan Rae  <rae@lyx.org>
10873
10874         * exporter.C (Export): removeAutoInsets before doing anything else.
10875         While I've just introduced a dependency on BufferView this really is
10876         the best place to clean the buffer otherwise you need to cleanup in
10877         a dozen places before calling export or cleanup in a dozen functions
10878         that export calls.
10879
10880         * converter.C (runLaTeX):
10881         (scanLog): Better handling of removeAutoInsets and screen updates.
10882
10883         * lyxfunc.C (dispatch): small whitespace changes
10884
10885 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * WorkArea.C (C_WorkAreaEvent): return a value.
10888         (event_cb): return 1 if we handled the event, 0 otherwise.
10889
10890         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10891
10892 2002-03-18  Juergen Vigna  <jug@sad.it>
10893
10894         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10895         (GetAdditionalWidth): ditto.
10896         (RightLine): ditto.
10897         (LeftLine): ditto.
10898
10899         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10900         inset if we're there actually (probably not used right now but this
10901         is the direction to go for unifying code).
10902         (paste): disable code to clear the selection.
10903
10904         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10905         inside an InsetText and move the check further up as it is in the
10906         wrong place.
10907
10908         * text2.C (pasteSelection): set a selection over the pasted text.
10909
10910 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10911
10912         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10913         and libgraphics to build on Cygwin.
10914
10915 2002-03-15  Juergen Vigna  <jug@sad.it>
10916
10917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10918         inserting an Inset into the paragraph. I know this is not the best
10919         fix but we already use current_view in CutAndPaste so we will remove
10920         all of it's using at the same time.
10921
10922         * buffer.C (sgmlError): deactivated function till it is rewritten in
10923         the right mode, now it can create problems.
10924
10925         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10926         before accessing it.
10927
10928 2002-03-14  Juergen Vigna  <jug@sad.it>
10929
10930         * undo_funcs.C (textHandleUndo): do the right thing when updating
10931         the inset after the undo/redo.
10932
10933         * text2.C (setCursor): just some testcode for #44 not ready yet.
10934
10935         * undo_funcs.C (textHandleUndo): set the next() and previous()
10936         pointers of the paragraph to 0 before deleting otherwise we have
10937         problems with the Paragraph::[destructor].
10938
10939         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10940         on a paragraph insertion.
10941
10942 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * buffer.C (asciiParagraph): use += operator for char append to
10945         string.
10946
10947         * paragraph.C (getFontSettings): compare >= not just >
10948         (highestFontInRange): ditto
10949         (setFont): ditto
10950
10951 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * paragraph.C: change several algorithm to be more appripriate for
10954         the problem domain. This is lookip in FontList and in the InsetList.
10955
10956 2002-03-13  André Pönitz <poenitz@gmx.net>
10957
10958         * commandtags.h:
10959         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10960
10961 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * commandtags.h:
10964         * LyXAction.C:
10965         * lyxfunc.C:
10966         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10967
10968 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * Painter.C (display): anon helper function, adjust code for this
10971         change.
10972         (pixmap): remove function.
10973
10974         * Painter.h: remove private display variable.
10975
10976         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10977
10978 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * WorkArea.[Ch]: remove figinset_canvas cruft.
10981
10982 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * lyxtextclass.C (operator): add one item cache optimization.
10985
10986         * bufferlist.h: doxy changes
10987
10988         * bufferlist.C: ws changes
10989
10990         * DepTable.[Ch] (ext_exist): place const in the right spot.
10991
10992         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10993         call resizeInsets.
10994         (workAreaExpose): call resizeInsets when the with BufferView changes.
10995         (Dispatch): adjust for protectedBlank removal
10996         (specialChar): call updateInset if the insert went ok.
10997
10998         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10999         specialChar instead.
11000
11001         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11002
11003         * BufferView.h: doxy change
11004
11005         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11006
11007         * lyxtextclass.C (operator[]): remove non-const version
11008         (defaultLayout): remove non-const version
11009
11010 2002-03-12  Juergen Vigna  <jug@sad.it>
11011
11012         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11013         did resize the LyXText too.
11014
11015         * buffer.C (readLyXformat2): set layout information on newly allocated
11016         paragraphs.
11017
11018         * tabular.C (OldFormatRead): set layout information on the paragraph.
11019
11020 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11021
11022         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11023
11024 2002-03-11  Juergen Vigna  <jug@sad.it>
11025
11026         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11027         plainly wrong.
11028         (resizeCurrentBuffer): force also the insets to resize themselfes.
11029         (moveCursorUpdate): fixed up for InsetText.
11030
11031 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11032
11033         * commandtags.h:
11034         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11035         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11036         value of Dialogs::tooltipsEnabled().
11037         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11038
11039 2002-03-08  Juergen Vigna  <jug@sad.it>
11040
11041         * BufferView_pimpl.C (updateInset): update inset inside inset also
11042         if it isn't inside theLockingInset().
11043
11044 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * buffer.C (asciiParagraph): redo some of the word and line length
11047         handling.
11048         (getLists): look for Caption instead of caption.
11049
11050 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11051
11052         * buffer.C (Buffer): initialize niceFile to true
11053         (makeLaTeXFile):
11054         (makeLinuxDocFile):
11055         (makeDocBookFile): make sure niceFile is true on exit
11056
11057 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11058
11059         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11060
11061 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11062
11063         * LyXSendto.C: remove.
11064         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11065         * lyx_gui.C: remove now-redundant comment.
11066         * ColorHandler.h: remove forward declaration of class WorkArea.
11067         * lyxfunc.C: remove #include "WorkArea.h".
11068
11069 2002-03-07  Juergen Vigna  <jug@sad.it>
11070
11071         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11072         got moved away with the DEPM and also set the inset_owner always
11073         right which before could have been omitted.
11074
11075 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11076
11077         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11078         wanted layout is not found.
11079
11080 2002-03-07  Juergen Vigna  <jug@sad.it>
11081
11082         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11083
11084 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11085
11086         * paragraph.C (breakParagraph): use default layout not layout of
11087         prev paragraph.
11088         (Paragraph): clear ParagraphParameters.
11089
11090 2002-03-06  Juergen Vigna  <jug@sad.it>
11091
11092         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11093         otherwise it would not be a valid lenght. Fixed a special case in
11094         the minipage compatibility read where we end the document with a
11095         minipage.
11096
11097         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11098         was set as it could be 0 for InsetTexts first entry.
11099
11100 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * paragraph.C (writeFile): if layout is empty write out
11103         defaultLayoutName().
11104
11105         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11106         file without named layout we set layout to defaultLayoutName().
11107
11108 2002-03-06  Juergen Vigna  <jug@sad.it>
11109
11110         * CutAndPaste.C (copySelection): set layout for new paragraph.
11111
11112         * text.C (prepareToPrint): leave ERT inset left aligned
11113         (leftMargin): don't indent paragraphs inside ERT insets
11114
11115 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * paragraph.C (breakParagraph): dont call clear do the work manually
11118
11119         * paragraph.[Ch] (clear): remove function
11120
11121 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11122
11123         * paragraph.C (Paragraph): dont call clear, the work has already
11124         been done.
11125
11126         * lyxtextclass.C (operator): assert if n is empty
11127
11128         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11129         work manually instead.
11130
11131 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * BufferView_pimpl.C: protect selectionLost against text == 0
11134
11135 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * text.C (breakParagraph): fix a setting layout to '0' problem.
11138
11139 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11140
11141         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11142         final location of file, for the included files, and graphics.
11143
11144 2002-03-05  Juergen Vigna  <jug@sad.it>
11145
11146         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11147
11148 2002-03-04  Juergen Vigna  <jug@sad.it>
11149
11150         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11151
11152         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11153         last column of multicolumn cells.
11154         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11155
11156 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11157
11158         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11159         file if it doesn't go to a temporary file.
11160
11161         * buffer.C (sgmlOpenTag):
11162         (sgmlCloseTag):  remove extra newline insertion.
11163
11164 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11165
11166         * text.C (getRowNearY): comment out debug msg
11167
11168 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * text2.C: first -> first_y
11171
11172         * text.C (getRowNearY): add some attemts at a possible
11173         optimization, not working.
11174
11175         * tabular.[Ch]: add BufferParams to several function so that newly
11176         created paragraph can be initialized to he default layotu for the
11177         buffers textclass.
11178
11179         * tabular-old.C (ReadOld): add buf->params to call of Init
11180
11181         * screen.C: rename text->first to text->first_y
11182
11183         * paragraph.C (breakParagraph): always set layout in the broken
11184         paragraph
11185
11186         * lyxtextclass.C (Read): remove lowercase
11187         (hasLayout): ditto
11188         (operator): ditto
11189         (delete_layout): ditto
11190
11191         * lyxtext.h: rename first -> first_y
11192
11193         * lyxlayout.C (Read): remove lowercase
11194         (name): ditto
11195         (setName): ditto
11196         (obsoleted_by): ditto
11197
11198         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11199
11200         * buffer.C (insertErtContents): add params are to InsetERT
11201         (parseSingleLyXformat2Token): add code to check if a paragraphs
11202         layout really exist.
11203         (parseSingleLyXformat2Token): add params to several inset
11204         constructors
11205         (asciiParagraph): remove lowercase, do the layout comparisons with
11206         no_case
11207
11208         * BufferView_pimpl.C (cursorNext): first -> first_y
11209         (resizeCurrentBuffer): first -> first_y
11210         (updateScrollbar): first -> first_y
11211         (scrollCB): first -> first_y
11212         (workAreaMotionNotify): first -> first_y
11213         (workAreaButtonPress): first -> first_y
11214         (checkInsetHit): first -> first_y
11215         (cursorPrevious): first -> first_y
11216         (cursorNext): first -> first_y
11217         (Dispatch): add buffer_->params to severl inset contructors
11218
11219 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * lyxlayout.C (Read): remove some debug info that I forgot.
11222
11223         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11224         clean up the code slightly.
11225         (makeLinuxDocFile): ditto
11226         (makeDocBookFile): ditto
11227
11228         * text2.C: layout as string
11229
11230         * text.C: layout as string
11231
11232         * paragraph_pimpl.C: layout as string
11233
11234         * paragraph.[Ch]: layout as string
11235
11236         * lyxtextclasslist.[Ch]: layout as string
11237
11238         * lyxtextclass.[Ch]: layout as string
11239
11240         * lyxtext.h: layout as string
11241
11242         * lyxlayout.[Ch]: layout as string
11243
11244         * lyx_cb.C: layout as string
11245
11246         * bufferview_funcs.C: layout as string
11247
11248         * bufferparams.C: layout as string
11249
11250         * buffer.C: layout as string
11251
11252         * LyXView.[Ch]: layout as string
11253
11254         * LaTeXFeatures.[Ch]: layout as string
11255
11256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11257
11258         * BufferView_pimpl.C: change current_layout to string, remove
11259         lyx::layout_type.
11260         (Dispatch):
11261         (smartQuote):
11262         (insertInset):
11263         (workAreaButtonRelease): layout as string
11264
11265         * BufferView2.C (unlockInset): adjust
11266
11267         * vspace.C (asLatexCommand): use an explict temp variable.
11268
11269 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * Makefile.am: use FRONTEND_*
11272
11273 2002-03-01  Juergen Vigna  <jug@sad.it>
11274
11275         * tabular.C (SetWidthOfMulticolCell): changed to something better
11276         I hope but still work in progress.
11277         (recalculateMulticolumnsOfColumn): renamed function from
11278         recalculateMulticolCells as it is more appropriate now.
11279         (SetWidthOfCell): calculate multicols better.
11280
11281 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11284
11285         * lyxfunc.C (processKeySym): print sequence also if it is
11286         `deleted' (complete)
11287
11288         * kbsequence.C (print): print sequence even if it is deleted
11289         (complete would be a better word, actually).
11290
11291         * lyxfunc.C (dispatch): print complete options after a prefix key
11292
11293         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11294
11295 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11296
11297         * text2.C (setCharFont): eliminate setCharFont code duplication.
11298
11299 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11302         LFUN_TABULAR_FEATURE (bug #177)
11303
11304 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * Makefile.am: remove figure.h
11307
11308 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11309
11310         * Bufferview_pimpl.C:
11311         * CutAndPasteC:
11312         * LaTeX.C:
11313         * LyXSendto.C:
11314         * buffer.C:
11315         * bufferlist.C:
11316         * converter.C:
11317         * language.C:
11318         * lyxfunc.C:
11319         * lyxvc.C:
11320         * paragraph.C:
11321         * text.C:
11322         * text2.C: remove #include "lyx_gui_misc.h".
11323
11324         * LaTeX.C: added #include <cstdio>
11325
11326 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11329         that the paragraph following this one can have.
11330
11331         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11332
11333         * vspace.C (asLatexCommand): fix bogus gcc warning
11334
11335         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11336
11337 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11338
11339         * text2.C (setLayout): get rid of redundant code
11340
11341 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11342
11343         * text2.C (incDepth): make sure depth cannot be increased beyond
11344         reasonable values.
11345
11346 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11349         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11350
11351         * PainterBase.h (image):
11352         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11353         a LyXImage const *.
11354
11355 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * BufferView.C:
11358         * BufferView.h:
11359         * BufferView_pimpl.C:
11360         * BufferView_pimpl.h:
11361         * LaTeXFeatures.C:
11362         * LyXAction.C:
11363         * LyXView.C:
11364         * Makefile.am:
11365         * UpdateList.h:
11366         * UpdateList.C:
11367         * buffer.C:
11368         * figure.h:
11369         * figureForm.C:
11370         * figureForm.h:
11371         * figure_form.C:
11372         * figure_form.h:
11373         * lyx_cb.C:
11374         * lyx_gui.C:
11375         * lyx_gui_misc.C:
11376         * lyxfunc.C:
11377         * sp_base.h:
11378         * sp_ispell.h:
11379         * sp_pspell.h:
11380         * sp_spell.C: remove fig inset, and the crap house of
11381           cards that follows it
11382
11383 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * Makefile.am:
11386         * lyxserver.C:
11387         * os2_defines.h:
11388         * os2_errortable.h:
11389         * nt_defines.h: move .h into support/
11390
11391         * vms_defines.h: remove
11392
11393         * WorkArea.C: add space in debug output
11394
11395         * text2.C:
11396         * paragraph.C:
11397         * buffer.C: add WITH_WARNINGS
11398
11399         * vc-backend.h:
11400         * vc-backend.C:
11401         * bufferlist.C: s/retrive/retrieve/, add docs
11402
11403         * vspace.h:
11404         * vspace.C:
11405         * kbmap.h:
11406         * lyxlength.h:
11407         * lyxgluelength.h:
11408         * length_common.h:
11409         * chset.h:
11410         * chset.C: add docs
11411
11412         * lyxgui.C: add ID to X error handler
11413
11414         * lyxtestclass.c: fix typo
11415
11416 2002-02-26  Juergen Vigna  <jug@sad.it>
11417
11418         * tabular_funcs.C (write_attribute): changed so that some default
11419         attributes are not written at all.
11420         (getTokenValue): set default values before trying to read the
11421         value so we have the return value always set as default if we don't
11422         find the token we search for.
11423
11424         * tabular.C (Write): write bools as bools not as strings!
11425
11426 2002-02-22  Juergen Vigna  <jug@sad.it>
11427
11428         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11429         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11430
11431         * text.C (leftMargin): don't add an indent for paragraphs inside
11432         tabular cells (fix #208).
11433
11434 2002-02-21  José Matos  <jamatos@fep.up.pt>
11435
11436         * tabular.C (docBook): fixed support for long tables.
11437
11438 2002-02-20  Juergen Vigna  <jug@sad.it>
11439
11440         * text2.C (getFont): get the drawing font of the Inset if this
11441         paragraph is inside an inset (only important for InsetERT for now).
11442
11443         * buffer.C (insertErtContents): use new lanugage params in ERT
11444         constructor.
11445
11446         * CutAndPaste.C: commenting out seemingly uneeded code.
11447
11448 2002-02-19  Allan Rae  <rae@lyx.org>
11449
11450         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11451         Iterators might be simple to use but they also get invalidated.
11452         (removeAutoInsets): renamed saved cursor tracking variables and added
11453         some comments to clarify what everything does.
11454
11455 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11456
11457         * Chktex.C:
11458         * LaTeX.C:
11459         * LyXSendto.C:
11460         * converter.C:
11461         * lyx_cb.C:
11462         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11463         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11464
11465         * lyxfunc.C:
11466         * vc-backend.h: remove #include "support/syscall.h"
11467
11468         * LaTeX.C:
11469         * LyXSendto.C:
11470         * converter.C: rearrange #includes in Lars' approved fashion.
11471
11472         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11473         forward declare class Timeout in the header file.
11474
11475         * XFormsView.C: changes due to the above.
11476
11477         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11478         similar to LyXView.
11479
11480         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11481         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11482
11483 2002-02-18  José Matos  <jamatos@fep.up.pt>
11484
11485         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11486         insets contents.
11487
11488 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11489
11490         * a lot of small ws changes
11491         * add a lot of using std::XXX
11492         * use std construcs some places where approp.
11493         * use some exisint stuff from lyxfunctional where approp.
11494         * Make file changes to use partial linking (lets test this now...)
11495
11496 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11497
11498         * Chktex.C:
11499         * buffer.C:
11500         remove #include "support/syscontr.h" as it's redundant. Always has been.
11501
11502         * Chktex.C:
11503         * LaTeX.C:
11504         * LyXSendto.C:
11505         * converter.C:
11506         * lyx_cb.C:
11507         * vc-backend.C:
11508         change Systemcalls::System to Systemcalls::Wait and
11509         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11510         No change of functionality, just reflects the stripped down Systemcalls
11511         class.
11512
11513 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11514
11515         * debug.[Ch]: add a GRAPHICS type to the enum.
11516
11517 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11520
11521         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11522         there is an inset.
11523
11524 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11527         match the changes below.
11528
11529         * text2.C (toggleInset): if there is not editable inset at cursor
11530         position, try to see if cursor is _inside_ a collapsable inset
11531         and close it.
11532
11533 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11536         document menu has a nice checkbox
11537
11538 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * lyxlength.C (asLatexString): change PW to output as percent of
11541         \textwidth.
11542
11543         * lengthcommon.C: change '%' to 't%'
11544
11545         * lyxfunc.C (dispatch): a few comments from Martin
11546
11547 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * WorkArea.h:
11550         * WorkArea.C:
11551         * BufferView_pimpl.h:
11552         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11553           the X selection.
11554
11555 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * vspace.C (inPixels): fix compiler warning
11558
11559 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * lyxfunc.C (getStatus): fix status message for disabled commands.
11562
11563 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * BufferView_pimpl.C: fix crash on close buffer
11566         during selection (#227)
11567
11568 2002-01-27  Herbert Voss  <voss@lyx.org>
11569
11570         * buffer.C: link old Figure to new graphic inset
11571
11572 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * FontLoader.C (getFontinfo): Change the latex font names in order
11575         to match the names of type1inst.
11576
11577 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11580
11581         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11582         (extchanged): ditto
11583         (ext_exist): ditto
11584         (remove_files_with_extension): ditto
11585         (remove_file): ditto
11586         (write): ditto
11587
11588         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11589         document is smaller than the work area height. Do not initialize
11590         static variables to 0.
11591
11592 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11593
11594         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11595
11596         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11597         LFUN_LAYOUT_PARAGRAPHS.
11598
11599         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11600         tabular. It is possible to provide a possible cell, which will
11601         typically be the actcell from the corresponding insettabular
11602
11603         * lyxfunc.C (getStatus): small cleanup; disable
11604         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11605         true
11606
11607 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11610
11611         * paragraph.C (startTeXParParams):
11612         (endTeXParParams): new methods. The LaTeX code to
11613         start/end paragraph formatting
11614         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11615         empty (fixes bug #200)
11616
11617         * vspace.C (inPixels): adapt to the change below
11618         (inPixels): [later] more cleanups (remove unused variables)
11619
11620         * lyxlength.C (inPixels): change to use a width and a height as
11621         parameter.
11622
11623 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11626         Replaced with \paperwidth
11627
11628         * DepTable.C (insert): add std:: qualifier
11629
11630 2002-01-18  Allan Rae  <rae@lyx.org>
11631
11632         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11633         updated also?
11634
11635         * text.C (drawInset): Turned out I didn't know enough about how
11636         rebreaking worked.  This fixes most of the redraw problems.  I see
11637         an occasional cursor trail when a line is broken now and the cursor
11638         placement can seem out by a few pixels also after a rebreak.
11639
11640 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * buffer.C (parseSingleLyXformat2Token): update because minipage
11643         width is now a LyXLength
11644
11645         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11646
11647         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11648         math insets
11649
11650 2002-01-17  Juergen Vigna  <jug@sad.it>
11651
11652         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11653
11654         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11655         is set correctly and the inset is updated correctly.
11656
11657 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11660         the beginning of the loop.
11661
11662 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * lyxrc.C: improve help for use_scalable_fonts
11665
11666 2002-01-17  Allan Rae  <rae@lyx.org>
11667
11668         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11669
11670 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11671
11672         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11673         make sure to set their inset_owner to the right value (bug #171)
11674
11675 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11676
11677         * DepTable.h
11678         * DepTable.C: Implement mtime checking to reduce time spent doing
11679         CRCs.
11680
11681 2002-01-16  Juergen Vigna  <jug@sad.it>
11682
11683         * tabular.C (GetAdditionalHeight): one of error fixed.
11684
11685         * lyxrc.C (output): small fix in writing use_pspell.
11686
11687 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * sp_base.h: #include LString.h
11690
11691 2002-01-16  Allan Rae  <rae@lyx.org>
11692
11693         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11694         Can someone check this please?
11695
11696         * text.C (drawInset): It was possible that p.row would be removed by
11697         breakAgainOneRow upsetting a few other settings.  There may be another
11698         small tweak possible by setting need_break_row = 0 when p.row has been
11699         removed but I don't know enough about the logic here.
11700
11701 2002-01-15  Allan Rae  <rae@lyx.org>
11702
11703         * text.C (insertChar): removed conditional truism.
11704
11705         * BufferView2.C (removeAutoInsets): More tweaks.
11706         cur_par_prev could be a stray pointer.  Check for trailing empty line
11707         in case last line was cur_par and only had an error inset on it.
11708
11709 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11710
11711         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11712         absolute
11713
11714         * vc-backend.C (most methods):
11715         * exporter.C (Export):
11716         * converter.C (convert):
11717         (runLaTeX):
11718         * LyXSendto.C (SendtoApplyCB):
11719         * lyxfunc.C (dispatch):
11720         (menuNew):
11721         (open):
11722         (doImport):
11723         * lyx_cb.C (AutoSave):
11724         (InsertAsciiFile):
11725         * BufferView_pimpl.C (MenuInsertLyXFile):
11726         * buffer.C (runChktex): use Buffer::filePath().
11727
11728         * buffer.h: rename filename to filename_; rename filepath to
11729         filepath_ and make it private
11730         (filePath): new method
11731
11732         * buffer.C (writeFile): use fileName()
11733         (getLatexName):
11734
11735         * lyx_main.C (init): fix starting  of LyX when the binary is a
11736         link from so,ewhere else.
11737
11738         * minibuffer.C: include <cctype> for isprint
11739
11740 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11741
11742         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11743         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11744         name clash with InsetCollapsable's width function.
11745
11746 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * lastfiles.C: include <iterator>
11749
11750 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11753         std::count.
11754
11755         * buffer.C (makeLaTeXFile): ditto.
11756         Also make loop operation more transparent.
11757
11758 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11759
11760         * ToolbarDefaults.C: remove trailing comma closing namespace.
11761
11762         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11763
11764         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11765         as in WorkArea.
11766
11767         * trans.C (Load): comment out unused variable, allowed.
11768
11769 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * minibuffer.[Ch] (append_char): new method to recieve input from the
11772         drop-down completion browser. If a key was pressed, then recieve this
11773         char and append it to the existing string.
11774         (peek_event): modify the positioning data passed to the completion
11775         browser so that it can be placed above the minibuffer rather than below.
11776 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * LyXAction.C (init): alloe error-next for readonly documents.
11779
11780         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11781         count.
11782
11783 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * bufferlist.C (readFile): create the buffer _after_ checking that
11786         the file exists.
11787
11788         * lyxfunc.C (verboseDispatch): fix handling of arguments
11789
11790         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11791
11792         * lyxrc.C: use string::erase() instead of initializing to "".
11793
11794
11795 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * BufferView_pimpl.h:
11798         * BufferView_pimpl.C:
11799         * WorkArea.h:
11800         * WorkArea.C:
11801         * text2.C: tell X when we have made a selection for copying
11802
11803 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * BufferView_pimpl.C (MenuInsertLyXFile):
11806         * lyxfunc.C (menuNew):
11807         (open):
11808         (doImport): add shortcuts to directory buttons
11809
11810         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11811         open a float)
11812
11813         * lyxfunc.C (setStatusMessage):
11814         (getStatusMessage): new methods
11815         (getStatus):use setStatusMessage instead of setErrorMessage
11816         (dispatch): when function is disabled, set error message here
11817         [instead of in getStatus previously]
11818
11819         * BufferView_pimpl.C (workAreaButtonRelease): update
11820         toolbar/menubar here too.
11821
11822 2002-01-13  Allan Rae  <rae@lyx.org>
11823
11824         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11825         Now seems indestructible.  Remaining task is to audit all other
11826         code affected by deleteEmptyParagraphMechanism.  One small quirk
11827         left is that an empty document with an error in the preamble can
11828         be made to report an error but no error box appears.  I don't know
11829         where it goes.
11830         (removeAutoInsets): Improved comments.
11831
11832 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * Thesaurus.h:
11835         * Thesaurus.C: update for Aiksaurus 0.14
11836
11837 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * text2.C (firstParagraph): removed member function, all uses
11840         replaces with ownerParagraph
11841         (redoParagraphs): here
11842         (updateInset): here
11843         (toggleAppendix): here
11844         * BufferView2.C (insertErrors): here
11845         (setCursorFromRow): here
11846
11847 2002-01-13  Allan Rae  <rae@lyx.org>
11848
11849         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11850         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11851         There is still a way to segfault this although you may have to do this
11852         multiple times: Have an InsetERT with an unknown command in it.
11853         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11854         <down-arrow>, <Enter> again, View->DVI, BANG!
11855
11856         * text2.C (setCursor):
11857         (deleteEmptyParagraphMechanism):
11858         * lyxtext.h (setCursor):
11859         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11860         Making use of the return value may help fix other bugs.
11861
11862 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11865
11866         * LyXView.C (updateMenubar): call MenuBar::update here
11867         (updateToolbar): but not here
11868         (showState): do not update toolbar/menubar
11869
11870         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11871         should need to care about that.
11872
11873         * lyxfunc.C (verboseDispatch): simplify a bit
11874         (getStatus): have a version which takes a pseudoaction, and
11875         another which requires a (kb_action,string).
11876
11877         * LyXAction.C (retrieveActionArg): make it work also when action
11878         is not a pseudo-action.
11879         (getActionName): simplify a bit
11880         (helpText):
11881
11882 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyxfunc.C (verboseDispatch): new families of methods with
11885         several ways to specify a command and a bool to indicate whether
11886         the command name and shortcut should be displayed in minibuffer
11887         (eventually, we could extend that to a finer bitmask like
11888         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11889         (dispatch): the pristine dispatch command which just, well,
11890         dispatchs! Note it still sets its result to minibuffer; I'm not
11891         sure we want that.
11892
11893         * lyxfunc.h: remove setHintMessage
11894
11895         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11896
11897 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * BufferView_pimpl.C (specialChar): delete new inset if we have
11900         not been able to insert it.
11901
11902         * kbmap.C: revert to using int instead of kb_action, since all we
11903         are dealing with is pseudo-actions.
11904
11905         * LyXAction.C (searchActionArg): change to return int instead of
11906         kb_action, since the result is a pseudoaction.
11907
11908 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11909
11910         * buffer.C (insertErtContents): Fix (partially) the font bug.
11911
11912 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11913
11914         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11915         as the other one is broken on my machine!
11916
11917 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11918
11919         * commandtags.h:
11920         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11921
11922 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11925         reflect their actual use. Provide compatibility code for older lyxrc
11926         files.
11927
11928         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11929         FL_NORMAL_STYLE.
11930         change names of popup font variables in line with the changes to lyxrc.C
11931
11932 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11933
11934         * buffer.C (asciiParagraph): avoid outputing a word twice after
11935         an inset.
11936
11937         * lyxrc.C (getDescription): document that document_path and
11938         template_path can be empty.
11939
11940 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * LaTeXFeatures.C (getMacros):
11943         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11944
11945         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11946
11947         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11948         getPackages.
11949         (getPackages): rename feature "floats" to "float". Use an array to
11950         iterate over 'simple' features (i.e. just a \usepackage). Add
11951         handling of "amsmath" (renamed from "amsstyle").
11952
11953 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11954
11955         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11956         features list.
11957
11958 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11961         FuncStaus::FuncStatus & FuncStaus::some_method().
11962
11963 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11964
11965         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11966         of the func_satus stuff. Edited and massaged in various ways by
11967         JMarc.
11968
11969         * lyxfunc.C (getStatus): use FuncStatus
11970
11971 2002-01-08  Juergen Vigna  <jug@sad.it>
11972
11973         * text.C (nextBreakPoint): use function Inset::isChar().
11974
11975         * paragraph.C (TeXOnePar): use function
11976         Inset::forceDefaultParagraphs.
11977
11978         * buffer.C (latexParagraphs): use function
11979         Inset::forceDefaultParagraphs.
11980
11981 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * lyx_gui.C (init): set the style of the menu popups to
11984         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11985
11986 2002-01-07  Juergen Vigna  <jug@sad.it>
11987
11988         * text.C (setHeightOfRow): small fix
11989         (prepareToPrint): don't look at alignment if we don't have the place
11990         for doing it.
11991
11992 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * box.C: New file. Move the Box methods and functions out of box.h,
11995         following Lars' suggestion.
11996
11997 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * box.h: #include "support/LOstream.h", needed for inlined function.
12000
12001         * lyxtextclass.C:
12002         * lyxtextclasslist.C: added some using std declarations.
12003
12004 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * box.h: make signed dimensions to allow insets wider than
12007           the screen (bug #162)
12008
12009         * BufferView_pimpl.C: add some insetHit debug
12010
12011 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * vc-backend.C: add FIXME
12014
12015 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * lyxfunc.C (getStatus): enable code for showing math font status
12018         in toolbar/menu.
12019
12020 2002-01-07  Juergen Vigna  <jug@sad.it>
12021
12022         * text.C (nextBreakPoint): removed debug output not needed anymore.
12023
12024 2002-01-06  Juergen Vigna  <jug@sad.it>
12025
12026         * text.C (nextBreakPoint): fixed up this function we had this bug
12027         since ever but now hopefully we break row better.
12028         (insertChar): we have to check if an inset is the next char as it
12029         could now happen that a large inset is causing a break.
12030
12031 2002-01-05  Juergen Vigna  <jug@sad.it>
12032
12033         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12034         if it doesn't like to be drawed.
12035
12036 2002-01-04  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView2.C (lockInset): forgot to set a cursor.
12039
12040         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12041
12042 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12043
12044         * FormMathsPanel.C:
12045         * FormMathsPanel.h
12046         * MathsSymbols.C:
12047         * form_maths_panel.C:
12048         * form_maths_panel.h:
12049         * form_maths_panel.fd: implemented sub- and super- buttons in math
12050         panel.
12051
12052         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12053         (or ^ space) to be used as in TeX (req'd by André).
12054
12055         * lyxfunc.C: Allow ^ and _ again to be used both as
12056         super/subscript (mathed) and as themselves (in text).
12057
12058 2002-01-03  Allan Rae  <rae@lyx.org>
12059
12060         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12061         "LyX" or the filename of the current buffer if it has one.  This is a
12062         modified form of John Levon's patch.
12063
12064         * XFormsView.C (setWindowTitle): also set icon title.
12065
12066         * LyXView.h (setWindowTitle): signature changed.
12067         * XFormsView.h (setWindowTitle): ditto.
12068
12069 2002-01-02  Juergen Vigna  <jug@sad.it>
12070
12071         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12072
12073 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12074
12075         * screen.C (topCursorVisible): introduce a temp var for
12076         text->cursor.row(), handle the case where this row is null. (kindo
12077         hachish)
12078
12079         * text2.C (setCursor): add a couple of asserts.
12080
12081         * paragraph.h (inset_iterator): add -> operator
12082
12083         * paragraph.[Ch] (autoDeleteInsets): remove member function
12084
12085         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12086         cursor pos correctly and handle inset deletion by itself.
12087         (insertErrors): move iterator declaration out of for expression
12088
12089         * lyxtextclass.C: add <algorithm>
12090
12091         * Makefile.am: added the new files to sources, removed layout.C
12092
12093         * layout.C: removed file
12094
12095         * layout.h: remove LYX_DUMMY_LAYOUT
12096
12097         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12098         layout.
12099
12100         * lyxlayout.[Ch]:
12101         * lyxtextclass.[Ch]:
12102         * lyxtextclasslist.[Ch]: new files
12103
12104         * include order changes to a lot of files, also changes because of
12105         the six new files.
12106
12107 2001-12-27  Juergen Vigna  <jug@sad.it>
12108
12109         * buffer.C (asciiParagraph): more fixes.
12110
12111         * tabular.C (ascii): make ascii export support export of only the
12112         data separated by a column-delimiter.
12113         (ascii): better support for ascii export.
12114
12115         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12116
12117 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * tabular_funcs.C: use a "using std::getline" instead of the
12120         previous fix from Angus (necessary for cxx + lyxstring)
12121
12122 2001-12-24  Juergen Vigna  <jug@sad.it>
12123
12124         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12125
12126         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12127         problems. First check a minipage also if we have some ert-contents
12128         (not only on par->size(), second set the right depth of the paragraph
12129         on the relink to the root-paragraph-list!
12130
12131         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12132         which then did not anymore update the main paragraphs on undo/redo!
12133
12134 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12137         code. Support all font-changing funcs (even those which are not in
12138         menu currently). Support for reporting font settings in
12139         mathed (disabled until Andre provides a function on mathed's side).
12140
12141         * func_status.h (toggle): small helper function to set toggle
12142         state on a flag.
12143
12144 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12145
12146         * tabular_funcs.C: getline -> std::getline
12147
12148 2001-12-21  Juergen Vigna  <jug@sad.it>
12149
12150         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12151         accessed and could be 0 (I couldn't generate this but it seems
12152         Michael could!).
12153
12154 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12157         * tabular_funcs.h: here and include iosfwd
12158
12159 2001-12-20  Juergen Vigna  <jug@sad.it>
12160
12161         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12162         inside inset but undo_par was.
12163
12164 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * Thesaurus.C: always include <config.h> in sources.
12167
12168         * Painter.h:
12169         * lyxlookup.h:
12170         * box.h: do not include <config.h> in header files
12171
12172         * text.C (paintLastRow): remove unused variable
12173
12174         * text.C (transformChar):
12175         (insertChar):
12176         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12177
12178         * Painter.C (text):
12179         * font.C (width): rewrite to use uppercase() instead of
12180         islower/toupper.
12181
12182         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12183
12184 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * lyxfind.C: clean up of find failure position change
12187
12188 2001-12-20  Juergen Vigna  <jug@sad.it>
12189
12190         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12191
12192         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12193         (TeXRow): added to LaTeX a single tabular row.
12194         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12195         (Latex): simplified and finally good LT-h/f support.
12196         (various_functions): just small adaptions for LT-h/f support.
12197
12198         * tabular_funcs.[hC]: added and moved here all not classfunctions
12199         of LyXTabular.
12200
12201 2001-12-19  Juergen Vigna  <jug@sad.it>
12202
12203         * tabular.[Ch]: better support for longtabular options (not finished
12204         yet!)
12205
12206 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * text.C (paintLastRow): use the label font instead of the font of
12209         the last character to compute the size of *_BOX. This makes more
12210         sense and avoids a crash with empty paragraphs.
12211         Use Painter::rectangle to draw EMPTY_BOX.
12212
12213 2001-12-19  Juergen Vigna  <jug@sad.it>
12214
12215         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12216         the paragraphs if the replaced paragraph is not the first one!
12217         Tried to delete not used paragraphs but does not work yet so for
12218         now it's inside #ifdef's and by default off!
12219
12220 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12221
12222         * MenuBackend.C: include "lyx_main.h" instead of declaring
12223         lastfiles (actually was declared as LastFiles* instead of a
12224         scoped_ptr).
12225
12226 2001-12-17  Juergen Vigna  <jug@sad.it>
12227
12228         * tabular.C (AppendColumn): applied John's fix
12229
12230 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * BufferView.h:
12233         * BufferView.C:
12234         * BufferView_pimpl.h:
12235         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12236
12237         * Makefile.am:
12238         * box.h: new start of class for above
12239
12240         * lyxfunc.C: ignore space-only minibuffer dispatches.
12241           Show the command name when it doesn't exist
12242
12243         * minibuffer.C: don't add empty lines to the history
12244
12245         * minibuffer.C: add a space on dropdown completion
12246
12247 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * text.C: fix line above/below drawing in insets
12250
12251 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * lyxlength.C (LyXLength): Initialize private variables.
12254
12255 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12258         when inserting error insets.
12259
12260 2001-12-13  Juergen Vigna  <jug@sad.it>
12261
12262         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12263         actually sometimes the before-paragraph.
12264         (setUndo): don't clear the redostack if we're not actually undoing!
12265
12266 2001-12-06  Juergen Vigna  <jug@sad.it>
12267
12268         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12269         and fixed redoing of main paragraph, so we can use it now ;)
12270
12271         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12272
12273 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12276         Juergen's request
12277
12278 2001-12-13  André Pönitz <poenitz@gmx.net>
12279
12280         * undostack.[Ch]:
12281         * undo_func.C: minor cleanup
12282
12283 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12284
12285         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12286         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12287         font in urw-fonts package which is marked as -urw-fontspecific and
12288         does not work (incidentally, changing the encoding in the
12289         fonts.dir of this package to -adobe-fontspecific fixes the
12290         problem).
12291
12292         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12293         is a crash when undoing first paragraph (Juergen, please take a
12294         look). THis does not mean the undo fix is wrong, just that it
12295         uncovers problems.
12296
12297         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12298         the (Paragraph*) version when needed instead of duplicating the
12299         code.
12300
12301         * text.C (workWidth): use Inset::parOwner to find out where the
12302         inset has been inserted. This is a huge performance gain for large
12303         documents with lots of insets. If Inset::parOwner is not set, fall
12304         back on the brute force method
12305
12306         * paragraph_pimpl.C (insertInset):
12307         * paragraph.C (Paragraph):
12308         (cutIntoMinibuffer): set parOwner of insets when
12309         inserting/removing them
12310
12311         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12312
12313 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12314
12315         * commandtags.h:
12316         * LyXAction.C:
12317         * lyx_main.C:
12318         * lyxfunc.C:
12319         * mathed/formulabase.C:
12320         * mathed/math_cursor.[Ch]:
12321         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12322
12323
12324 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * lyxlength.[Ch] (operator!=): new function
12327
12328 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12329
12330         * text.C (workWidth): use Inset::parOwner to find out where the
12331         inset has been inserted. This is a huge performance gain for large
12332         documents with lots of insets. If Inset::parOwner is not set, fall
12333         back on the brute force method
12334
12335         * paragraph_pimpl.C (insertInset):
12336         * paragraph.C (Paragraph):
12337         (cutIntoMinibuffer): set parOwner of insets when
12338         inserting/removing them
12339
12340         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12341
12342 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12343
12344         * tabular-old.C (getTokenValue):
12345         * tabular.C (getTokenValue):
12346         (write_attribute): new versions for LyXLength
12347         (everywhere): adjust the use of widths
12348
12349         * tabular.h: change the type of widths from string to LyXLength
12350
12351 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12352
12353         * paragraph.C: fixed missing line number count when exporting
12354         Environments to LaTeX file
12355
12356         * buffer.C: added informational message for checking line numbers.
12357
12358 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12361         paragraph, do the 'double space' part, but not the 'empty
12362         paragraph' one.
12363
12364         * text.C (workWidth): small optimization
12365         (getLengthMarkerHeight): use minimal size for negative lengths.
12366
12367 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12370
12371         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12372
12373 2001-12-11  André Pönitz <poenitz@gmx.net>
12374
12375         * FontLoader.C:
12376         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12377
12378 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * text2.C: keep selection on a setFont()
12381
12382 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyx_cb.C: another bv->text misuse, from insert label
12385
12386 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * kbsequence.h:
12389         * kbsequence.C: re-instate nmodifier mask
12390
12391 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12392
12393         * lyx_main.h: make lyxGUI private.
12394
12395 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * lyxfind.C: place the cursor correctly on failed search
12398
12399 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12400
12401         * text.C (getLengthMarkerHeight): for small heights, the arrows
12402         are not always on top/bottom of the text
12403         (drawLengthMarker): smaller arrows; take the left margin in
12404         account; draw also vfills.
12405         (paintFirstRow):
12406         (paintLastRow): remove special code for vfill and standard spaces,
12407         since everything is handled in drawLengthMarker now.
12408
12409 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * buffer.C (insertErtContents): try to handle font and language
12412         interaction a bit better.g
12413
12414         * ColorHandler.C (updateColor): change the hash to cover the whole
12415         LColor enum, ws cleanup
12416         (getGCLinepars): ditto
12417         (getGCLinepars): only lookup in the linecache once.
12418
12419 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12420
12421         * iterators.C (operator++): Make the iterator more robust
12422
12423         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12424         (John's patch)
12425         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12426
12427 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * lyxtext.h:
12430         * text.C: better added space drawing
12431
12432 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * LyXView.C:
12435         * BufferView2.C: fix layout combo update on inset unlock
12436
12437 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * Makefile.am: don't compile unused files
12440
12441 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * lyxfunc.C:
12444         * commandtags.h:
12445         * LyXAction.C: remove old LFUN_LAYOUTNO
12446
12447 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * paragraph_pimpl.h:
12450         * paragraph_pimpl.C: isTextAt() doesn't need font param
12451
12452 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyxlex.h:
12455         * lyxlex.C: little cleanup
12456
12457 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * BufferView_pimpl.C: fix insertAscii for insets
12460
12461 2001-12-05  Juergen Vigna  <jug@sad.it>
12462
12463         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12464         set the right font on the "multi" paragraph paste!
12465
12466 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * trans_decl.h:
12469         * trans_mgr.[Ch]:
12470         * trans.[Ch]:
12471         * lyxgluelength.C:
12472         * lyxlength.C: remove out-commented code.
12473
12474         * BufferView_pimpl:
12475         * CutAndPaste.C:
12476         * DepTable.C:
12477         * buffer.C:
12478         * chset.C:
12479         * lastfiles.C:
12480         * lyxlex.C:
12481         * lyxlex_pimpl.C:
12482         * lyxserver.C:
12483         * screen.C:
12484         * tabular-old.C:
12485         * tabular.C:
12486         * text.C:
12487         * trans_mgr.C:
12488         * vc-backend.C: change "while(" to "while ("
12489
12490         * lyxlength.[Ch]: add zero function to check if length is zero or
12491         not
12492         * lyxgluelength.C: use it
12493
12494 2001-12-05  Allan Rae  <rae@lyx.org>
12495
12496         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12497         Works for 2.95.3, from what I understand of Garst's reports this should
12498         work for other g++ versions.  We're screwed if the abs(int) definition
12499         changed between bugfix releases of gcc.
12500
12501 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * text.C: fix chapter label offset !
12504
12505 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * lyxtext.h:
12508         * text.C: fix hfill at end of line, clean up
12509
12510 2001-12-04  Juergen Vigna  <jug@sad.it>
12511
12512         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12513         that we force an update of the inset and it's owners if neccessary.
12514
12515 2001-12-03  Juergen Vigna  <jug@sad.it>
12516
12517         * text.C (rowLast): simplified code
12518
12519 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * lyxfunc.C: fix show options on timeout
12522
12523 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * screen.C (topCursorVisible): scroll half a page when the cursor
12526         reached top of bottom of screen
12527
12528 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * minibuffer.C: deactivate on loss of focus
12531
12532 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * vspace.[Ch] (operator!=): add operator.
12535
12536 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * BufferView_pimpl.C: refuse to open an inset when
12539         there's a selection.
12540
12541 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * BufferView_pimpl.C: allow to click on RHS of full row insets
12544
12545 2001-11-30  Juergen Vigna  <jug@sad.it>
12546
12547         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12548         insets for undo reasons.
12549
12550 2001-11-28  André Pönitz <poenitz@gmx.net>
12551
12552         * vspace.[Ch]: cosmetical changes
12553
12554 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * LyXAction.h:
12557         * LyXAction.C:
12558         * lyxfunc.h:
12559         * lyxfunc.C:
12560         * kbmap.h:
12561         * kbmap.C:
12562         * lyxrc.C:
12563         * kbsequence.h:
12564         * kbsequence.C: part re-write of old kb code
12565
12566         * Painter.C:
12567         * WorkArea.C: remove Lgb_bug_find_hack
12568
12569 2001-11-30  José Matos <jamatos@fep.up.pt>
12570
12571         * buffer.C (makeDocBookFile): add a comment to point a hack.
12572         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12573         Fixed a double write of labels.
12574
12575 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12576
12577         * LaTeX.C:
12578         * LaTeX.h Fixed bug in LaTeX class where it would not
12579         re-run latex if no depfiles were changed, but the .dvi was removed.
12580
12581 2001-11-28  André Pönitz <poenitz@gmx.net>
12582
12583         * all the files from the change on 2001/11/26:
12584         use lyx::layout_type instead of LyXTextClass::size_type
12585         use lyx::textclass_type instead of LyXTextClassList::size_type
12586
12587 2001-11-29  Juergen Vigna  <jug@sad.it>
12588
12589         * text.C: added support for paragraph::isFreeSpacing()
12590
12591         * buffer.C: same as above
12592
12593         * paragraph.h: inserted isFreeSpacing() function to enable
12594         FreeSpacing inside InsetERT.
12595
12596         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12597         of the paragraph's in the cut/copy buffer to 0!
12598
12599         * text2.C (removeRow): remove the assert as it can!
12600
12601         * lyxtext.h: added helper function firstRow returning firstrow and
12602         made firstrow private again.
12603
12604         * BufferView2.C (lockInset): don't relock if we're already locked!
12605
12606         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12607         the only paragraph.
12608         (removeRow): added Assert::(firstrow)
12609
12610         * debug.C: forgot to add INSETTEXT here.
12611
12612 2001-11-28  Juergen Vigna  <jug@sad.it>
12613
12614         * sp_spell.C (initialize): changed error text to more general
12615         spellchecker command use (not only ispell!)
12616
12617         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12618
12619         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12620
12621 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * vspace.C: initialise lyxgluelength on failure
12624
12625 2001-11-28  Allan Rae  <rae@lyx.org>
12626
12627         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12628         declaration & definition that looks like a function declaration.
12629
12630 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12631
12632         * BufferView2.C (copy):
12633         (copyEnvironment): do not clear the selection when doing a copy.
12634
12635         * text.C (paintFirstRow): compilation fix
12636
12637 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12638
12639         * tabular.C (Latex): correct line count when writing latex.
12640
12641 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * paragraph_pimpl.h:
12644         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12645           bug a bit
12646
12647 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * text.C:
12650         * LColor.h:
12651         * LColor.C: change vfillline->added_space
12652
12653         * text.C: add markers and text for added space
12654
12655         * vspace.C: fix comment
12656
12657 2001-11-28  André Pönitz <poenitz@gmx.net>
12658
12659         * paragraph.C: whitespace changes
12660         * all the other files from the change on 2001/11/26:
12661         change *::pos_type into lyx::pos_type
12662
12663 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12664
12665         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12666         language of the document when inserting error insets.
12667
12668 2001-11-26  André Pönitz <poenitz@gmx.net>
12669
12670         * BufferView_pimpl.[Ch]:
12671         *       CutAndPaste.C:
12672         * buffer.[Ch]:
12673         * lyxcursor.[Ch]:
12674         * lyxfind.C:
12675         * lyxfunc.C:
12676         * lyxrow.[Ch]:
12677         * paragraph.[Ch]:
12678         * paragraph_pimpl.[Ch]:
12679         * sp_spell.C:
12680         * text.C:
12681         * text2.C: reduce header dependencies, introduce type for positions
12682
12683 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * <various>: change to use Alert.h
12686
12687 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12690         when encountering an unknown token.
12691         (readLyXformat2): Show an error message if there were unknown tokens.
12692
12693 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * BufferView2.C:
12696         * BufferView_pimpl.C:
12697         * buffer.C:
12698         * paragraph.h:
12699         * text.C:
12700         * text2.C: use par->isInset()
12701
12702 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * paragraph_pimpl.h:
12705         * paragraph_pimpl.C: cleanup
12706
12707 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * text2.C (removeRow):
12710         * text.C (setHeightOfRow): remove useless (and costly) call to
12711         getRow.
12712
12713 2001-11-20  Allan Rae  <rae@lyx.org>
12714
12715         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12716         Now need Inset*::checkInsertChar() to return true for appropriate
12717         cases so that the characters in the minibuffer will actually be
12718         inserted.
12719
12720 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * text.C: change the order of the includes.
12723         (workWidth): initialize it at once.
12724         (workWidth): make maxw unsigned
12725         (setHeightOfRow): remove unused variable (inset)
12726         (selectSelectedWord): remove unused variable (inset)
12727         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12728
12729 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12730
12731         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12732         server is not running.
12733         (openConnection):
12734         (closeConnection): add debug info when server is disabled.
12735
12736         * ColorHandler.C (getGCForeground): send debug message to GUI
12737         channel.
12738
12739         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12740
12741         * kbmap.C (bind): modify because return conventions of
12742         kb_sequence::parse have changed.
12743
12744         * kbsequence.C (parse): only ignore spaces and not any stupid
12745         control character. This avoids tests like s[i] <= ' ', which are
12746         guaranteed to fail with 8bit characters and signed chars.
12747         Change return code to string::npos when there have been no error
12748         (0 was a bad idea when error is at first character)
12749
12750 2001-11-14  José Matos  <jamatos@fep.up.pt>
12751
12752         * buffer.h:
12753         * buffer.C (simpleDocBookOnePar): removed unused argument.
12754
12755 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12758         insets which are part of a word. Paragraph::isLetter takes care of
12759         that now. Use Paragraph::isInset to identify insets.
12760         (selectSelectedWord): do not test for hyphenation break.
12761
12762         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12763         that protected spaces are considered as spaces.
12764
12765         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12766         Inset::isLetter.
12767
12768 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * lyxserver.h:
12771         * lyxserver.C: fix it. and small cleanup.
12772
12773 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * BufferView_pimpl.C: use inline helpers
12776
12777         * LaTeXFeatures.h:
12778         * LaTeXFeatures.C: fix typos
12779
12780         * Spacing.h:
12781         * Spacing.C: move spacing_string into class
12782
12783         * ToolbarDefaults.C: move stuff into namespace anon
12784
12785         * layout.h: update enum
12786
12787         * lyxfunc.C: use better debug
12788
12789         * minibuffer.h: fix typo
12790
12791         * debug.h:
12792         * debug.C:
12793         * WorkArea.C: add and use Debug::WORKAREA
12794
12795         * lyxtext.h:
12796         * text.C:
12797         * text2.C: code re-organisation, inline helpers
12798
12799 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12800
12801         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12802         std::vector.empty().
12803
12804 2001-11-09  Allan Rae  <rae@lyx.org>
12805
12806         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12807         '\n's after tables.  Tabular and ERT inset work now makes this no
12808         longer necessary.
12809
12810 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * minibuffer.h:
12813         * minibuffer.C: fix crash, improve drop-down completion
12814
12815 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * lyxserver.h:
12818         * lyxserver.C: invalidate fd's when doing endPipe()
12819
12820 2001-11-08  José Matos  <jamatos@fep.up.pt>
12821
12822         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12823         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12824
12825         * paragraph.h:
12826         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12827
12828 2001-11-07  José Matos  <jamatos@fep.up.pt>
12829
12830         * buffer.h:
12831         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12832         const qualifier.
12833
12834         * buffer.C (sgmlOpenTag):
12835         * buffer.C (sgmlCloseTag): removed debug info.
12836
12837         * buffer.h (sgmlOpenTag):
12838         * buffer.h (sgmlCloseTag): made public.
12839
12840 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12841
12842         * buffer.C (saveParamsAsDefaults):
12843         * lyx_cb.C (MenuLayoutSave): remove
12844
12845         * LyXAction.C (init):
12846         * commandtags.h:
12847         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12848
12849 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * buffer.C (setPaperStuff): removed from here...
12852
12853         * bufferparams.C (setPaperStuff): ... and moved there.
12854
12855 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * minibuffer.h:
12858         * minibuffer.C:
12859         * XFormsView.C: add support for drop-down completion
12860
12861 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12862
12863         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12864         commands.
12865
12866 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12869         disabled.
12870
12871 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * lyx_main.C: change ref to known bugs
12874
12875 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12876
12877         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12878         to work around older babel problems.
12879
12880 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12881
12882         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12883
12884 2001-10-24  Juergen Vigna  <jug@sad.it>
12885
12886         * tabular-old.C (ReadOld): below variable changes reflected.
12887
12888         * tabular.[Ch]: added ltType struct for longtable header/footer
12889         defines and changed all instances where they are used. Added
12890         future support for double top/bottom rows.
12891
12892 2001-10-24  José Matos  <jamatos@fep.up.pt>
12893
12894         * buffer.h (docbookHandleCaption):
12895         * buffer.C (docbookHandleCaption): removed unused function.
12896         (makeDocBookFile): moved docbook supported version to v4.1.
12897
12898 2001-10-24  José Matos  <jamatos@fep.up.pt>
12899
12900         * tabular.h:
12901         * tabular.C (docbookRow): new function to export docbook code of a row.
12902         (DocBook): now honors the longtable flags.
12903
12904 2001-10-23  José Matos  <jamatos@fep.up.pt>
12905
12906         * LaTeXFeatures.h:
12907         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12908         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12909
12910         * buffer.C (makeLinuxDocFile):
12911         (makeDocBookFile): reworked the preamble, more clean, and with
12912         support for lyx defined entities. Changed the document declaration
12913         to be more XML friendly.
12914
12915         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12916         if we need to output XML that should be done with a filter.
12917
12918 2001-10-22  Juergen Vigna  <jug@sad.it>
12919
12920         * sp_pspell.h (class PSpell): add alive function needed in the
12921         controller to see if the spellchecker could be started.
12922
12923 2001-10-22  Juergen Vigna  <jug@sad.it>
12924
12925         * buffer.C (insertStringAsLines): modify the font for inserting
12926         chars in certain conditions by calling checkInsertChar(font).
12927
12928 2001-10-19  Juergen Vigna  <jug@sad.it>
12929
12930         * text.C (workWidth): use getRow instead of wrong algorithm.
12931         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12932
12933 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * lyxserver.h:
12936         * lyxserver.C:
12937         * lyx_main.h:
12938         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12939
12940 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * text.C (workWidth): do not search for the exact row when
12943         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12944         optimization for big documents.
12945
12946 2001-10-18  Juergen Vigna  <jug@sad.it>
12947
12948         * text.C (workWidth): new function with added Inset * parameter.
12949
12950 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12953
12954         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12955         change return type of getColumnNearX.
12956
12957
12958         * text.C (changeRegionCase): use uppercase/lowercase instead of
12959         toupper/tolower.
12960         (leftMargin):
12961         (rightMargin): simplify code by factoring out the uses of
12962         textclasslist.
12963         (labelFill):
12964         (numberOfHfills):
12965         (setHeightOfRow):
12966         (appendParagraph): use Paragraph::size_type
12967
12968 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * vspace.C (asLatexString): add a missing break
12971
12972 2001-10-15  Herbert Voss  <voss@perce.de>
12973
12974         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12975
12976 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12979         is not available.
12980
12981 2001-10-10  André Pönitz <poenitz@gmx.net>
12982
12983         * lyxfunc.C: removed greek_kb_flag.
12984
12985 2001-10-10  Herbert Voss  <voss@perce.de>
12986
12987         * lyx_main.C: delete global string help_lyxdir.
12988
12989 2001-10-09  Herbert Voss  <voss@perce.de>
12990
12991         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12992
12993         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12994
12995         * lyx_main.C: added global string help_lyxdir.
12996
12997         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12998
12999 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13000
13001         * lyxrc.C (set_font_norm_type): support iso8859-4
13002
13003 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13004
13005         * LaTeX.C (deplog): add another regex for MikTeX
13006
13007 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13008
13009         * lyxrc.C (set_font_norm_type): support iso8859-3
13010
13011 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13012
13013         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13014
13015         * LaTeXFeatures.C: remove special case of french and index
13016
13017         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13018         before \begin{document}). This solves several incompatibilities.
13019
13020 2001-10-03  Garst Reese  <reese@isn.net>
13021
13022         * lyx_cb.C: change CheckTex error msg.
13023
13024 2001-10-03  José Matos  <jamatos@fep.up.pt>
13025
13026         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13027
13028 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * .cvsignore: update
13031
13032         * lyx_main.C (commandLineVersionInfo): use new style version info.
13033
13034         * buffer.C (writeFile):
13035         (makeLaTeXFile):
13036         (makeLinuxDocFile):
13037         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13038
13039         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13040
13041         * version.h: update to use stuff in version.C
13042
13043         * version.C.in: new file. Contains version information determined
13044         at compile time. This is a merging of version.h and
13045         version_info.h.in.
13046
13047 2001-10-03  Juergen Vigna  <jug@sad.it>
13048
13049         * BufferView_pimpl.C (update): don't change "dirty" status in
13050         updateInset call.
13051
13052 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         * WorkArea.C (c-tor): re-position version string slightly.
13055
13056 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13059         revert to previous code.
13060
13061         WorkArea.[Ch]: (show, destroySplash): methods removed.
13062
13063         WorkArea.C: rework code so that it's an amalgam of the codes before and
13064         after the splash screen was moved to WorkArea.
13065
13066 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * lyxrc.C (read):
13069         * vspace.C (inPixels):
13070         (lyx_advance):
13071         * kbmap.C (bind):
13072         * buffer.C (insertStringAsLines):
13073         (asciiParagraph): fix types to be large enough
13074
13075         * lyxlex_pimpl.h: change member status from short to int
13076
13077         * layout.h: fix type of endlabeltype
13078
13079         * kbmap.C (bind):
13080         * kbsequence.C (parse): change return type to string::size_type
13081
13082         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13083         variable
13084
13085         * Bullet.C (bulletSize):
13086         (bulletEntry): do not use short ints as parameters
13087
13088         * BufferView2.C (insertLyXFile): change a char to an int.
13089
13090         * WorkArea.C (WorkArea): remove unneeded floats in computation
13091
13092 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13093
13094         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13095
13096         * paragraph.C (asString): Do not ignore newline/hfill chars when
13097         copying to the clipboard.
13098
13099 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13100
13101         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13102         after a multi-line inset.
13103
13104 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13105
13106         * paragraph.C (validate): Set NeedLyXFootnoteCode
13107
13108 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13109
13110         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13111         and decrease-error to decrease.
13112
13113 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13114
13115         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13116         it more readable (should be equivalent)
13117
13118 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13119
13120         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13121
13122 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13123
13124         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13125         of a cursor (row, etc.) after a character has been deleted
13126         (deleteEmptyParagraphMechanism): call the method above on _all_
13127         cursors held by the LyXText when a double space has been
13128         detected/deleted.
13129
13130 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13133         pixmap.
13134         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13135
13136         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13137         background. Use greyOut() and the new show() methods to toggle between
13138         the foreground and background. Add code to remove the splash after
13139         its initial showing.
13140
13141         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13142         (create_forms): no longer call Dialogs::showSplash.
13143
13144 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * .cvsignore: add version_info.h
13147
13148 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13149
13150         * version_info.h.in: new file
13151
13152         * Makefile.am: add version_info.h.in
13153
13154         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13155         version_info.h instead of VERSION_INFO
13156
13157 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13158
13159         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13160         The ERT inset now returns string().
13161
13162 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * lyxtext.h, text.C (selectNextWord): renamed as
13165         selectNextWordToSpellcheck.
13166
13167         * text.C (selectNextWordToSpellcheck): Modified to not select
13168         words inside an ERT inset.
13169
13170 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * lyx_cb.C (MenuLayoutSave): change a bit the question
13173
13174         * sp_base.h: include <sys/types.h>
13175
13176 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13177
13178         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13179
13180 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13181
13182         * several files: fix typos in user-visible strings
13183
13184 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * text2.C (pasteSelection): do not set the selection, since it
13187         will be cleared later. Actually, the intent was to fix the way the
13188         selection was set, but I figured rmoving the code was just as good.
13189
13190 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * FontLoader.C (available): Check if font is available without
13193         loading the font.
13194
13195 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13196
13197         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13198
13199 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * lyxrc.[Ch]: added display_graphics variable and associated code.
13202
13203 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * bufferparams.C (hasClassDefaults): new method. Returns true if
13206         the buffer parameters correspond to known class defaults
13207
13208 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13209
13210         * XFormsView.C (show): set minimum size to the main window.
13211
13212 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * text2.C (copySelection):
13215         (cutSelection):
13216         * lyxfind.C (LyXReplace):
13217         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13218         LyXText::selectionAsString.
13219
13220         * paragraph.C (asString): add "label" argument to the second form
13221
13222         * text2.C (selectionAsString): add "label" argument and pass it to
13223         Paragraph::asString.
13224
13225 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * lyx_main.C (commandLineHelp): remove version information
13228
13229 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13230
13231         * lyx_main.C: add -version commandline option
13232
13233 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * paragraph.h: make the optional constructor arg required instead.
13236         some modifications to other files because of this.
13237
13238         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13239
13240         * lyxserver.C (C_LyXComm_callback): make it static
13241
13242         * lyx_main.C (error_handler): make it static
13243
13244         * lyx_gui.C (LyX_XErrHandler): make it static
13245
13246         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13247
13248         * WorkArea.C: make the extern "C" methods static.
13249
13250         * Makefile.am (lyx_LDADD): simplify
13251
13252 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13253
13254         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13255         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13256
13257         * LyXAction.C (init):
13258         * lyxfunc.C (dispatch): associated code removal.
13259
13260 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * lyxfont.h (isSymbolFont): shut off warning
13263
13264         * text.C (setHeightOfRow):
13265         (getVisibleRow): fix crash with empty paragraphs which have a
13266         bottom line
13267
13268 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13269
13270         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13271         code.
13272
13273 2001-09-04  José Matos  <jamatos@fep.up.pt>
13274         * buffer.C
13275         * buffer.h
13276         * tabular.C (docbook): rename docBook method to docbook.
13277
13278 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * Makefile.am: add dependencies to main.o.
13281
13282 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13283
13284         * FontLoader.C (available): Return false if !lyxrc.use_gui
13285
13286 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13287
13288         * FontInfo.C (query):
13289         * converter.C (view):
13290         * importer.C (Import):
13291         * exporter.C (Export): Can not -> cannot.
13292
13293 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * BufferView_pimpl.C: allow to create index inset even if
13296           string is empty
13297
13298 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13299
13300         * buffer.C (getLists): replace boost::tie code with an explicit pair
13301         as boost::tie can break some compilers.
13302
13303         * iterators.h: Added a std:: declaration to the return type of
13304         ParIterator::size.
13305
13306 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13309           case.
13310
13311 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * iterators.[Ch]: New files. Provide paragraph iterators.
13314
13315         * buffer.C (changeLanguage): Use paragraph iterators.
13316         (isMultiLingual): ditto
13317
13318         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13319
13320 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * FontLoader.C: Support for cmr font.
13323
13324 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13327         (available): New method.
13328
13329         * FontInfo.C (getFontname): Use scalable fonts even when
13330         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13331         found.
13332
13333 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13334
13335         * converter.C (Formats::view): reverted! Incorrect fix.
13336
13337 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * converter.C (Formats::view): only output the -paper option
13340         if the dvi viewer is xdvi, thereby fixing bug #233429.
13341
13342 2001-08-23  Herbert Voss  <voss@perce>
13343
13344         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13345
13346 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13347
13348         * Spacing.h (Spacing): Set space to Default on in the default
13349         constructor.
13350
13351 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * vc-backend.h (RCS::versionString): add RCS to version
13354         (CVS::versionString): add CVS to version
13355
13356         * vc-backend.C (scanMaster): do not add CVS to version.
13357         (scanMaster): do not add RCS to version
13358
13359         * lyxvc.C (versionString): new method
13360
13361         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13362
13363 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * Spacing.C (set): initialize fval
13366
13367 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13368
13369         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13370         " or \.
13371
13372 2001-08-16  Juergen Vigna  <jug@sad.it>
13373
13374         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13375
13376 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * BufferView_pimpl.C:
13379         * figureForm.C:
13380         * lyxtext.h:
13381         * text2.C: setParagraph takes linespacing now
13382
13383 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * LyxAction.C: add internal LFUN_CITATION_INSERT
13386
13387         * LyXView.C: actually apply fix
13388
13389         * bufferlist.C: fix open non-existent file
13390
13391         * lyxfind.C: fix indentation
13392
13393         * lyxfunc.C: remove unneeded assert, fix typo
13394
13395 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * MenuBackend.C: use "Floatname List"
13398
13399 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13400
13401         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13402         when converting LaTeX layout to insetERT.
13403         Generate a non-collapsed float when reading old float
13404
13405 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13406
13407         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13408         ERT insets.
13409
13410 2001-08-13  Juergen Vigna  <jug@sad.it>
13411
13412         * text.C (fill): return 0 instead of 20 as this seems to be the more
13413         correct value.
13414
13415 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13418         lyxrc.font_norm.
13419
13420 2001-08-13  Juergen Vigna  <jug@sad.it>
13421
13422         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13423         casesensitive off.
13424         (SearchBackward): comment out the unlocking of the inset_owner this
13425         should not be needed!
13426
13427 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13428
13429         * Many files: Remove inherit_language, and add latex_language
13430
13431         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13432         collapsible insets.
13433
13434 2001-08-10  Juergen Vigna  <jug@sad.it>
13435
13436         * text.C (prepareToPrint): fixed hfill-width in draw!
13437
13438         * BufferView2.C (selectLastWord): save the selection cursor as this
13439         now is cleared in the function LyXText::clearSelection!
13440
13441 2001-08-08  Juergen Vigna  <jug@sad.it>
13442
13443         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13444         BACKSPACE type functions.
13445
13446         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13447         is only cutted from the document but not put in the cut-buffer, where
13448         still the old stuff should be.
13449
13450         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13451
13452         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13453
13454         * tabular.C (SetWidthOfCell): fixed special case where the width
13455         was not updated!
13456         (LeftLine): handle '|' in align_special.
13457         (RightLine): ditto
13458         (LeftAlreadyDrawed): ditto
13459         (SetWidthOfCell): ditto
13460
13461 2001-08-07  Juergen Vigna  <jug@sad.it>
13462
13463         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13464
13465 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13468         * lyxlex.[hC]: ditto
13469
13470 2001-08-06  Juergen Vigna  <jug@sad.it>
13471
13472         * text.C (getVisibleRow): fix up row clearing a bit.
13473
13474 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * minibuffer.C: make sure the X server sees the changes in the input.
13477
13478 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * paragraph.C (getFont): split into...
13481         (getLabelFont): this
13482         (getLayoutFont): and this
13483         * paragraph_pimpl.C (realizeFont): calling this
13484
13485         * text2.C (getFont): split into...
13486         (getLayoutFont): this
13487         (getLabelFont): and this
13488         (realizeFont): all three calling this
13489
13490         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13491         files where used.
13492
13493 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13496
13497 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13498
13499         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13500         layouts from the Quote inset insertion.
13501
13502 2001-08-03  Juergen Vigna  <jug@sad.it>
13503
13504         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13505
13506         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13507         only if status not is already CHANGED_IN_DRAW (second level).
13508
13509         * text.C (draw): don't set the need_break_row when inside an
13510         InsetText LyXText.
13511
13512 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * buffer.C (parseSingleLyXformat2Token): handle more latex
13515         conversion cases.
13516
13517         * bufferview_funcs.[hC]: change function names to
13518         begin with small char, adjust other files.
13519
13520 2001-08-02  André Pönitz <poenitz@gmx.net>
13521
13522         * lyxfunc.C:
13523         BufferView_pimpl.C: remove broken special code for math-greek
13524
13525 2001-08-02  Juergen Vigna  <jug@sad.it>
13526
13527         * BufferView_pimpl.C (update): redone this function so that we
13528         update the text again if there was a CHANGE_IN_DRAW.
13529
13530         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13531         (drawFromTo): added a new internal bool which is used by draw() and
13532         redraw() function.
13533         (general): some cursor drawing problems fixed.
13534
13535 2001-08-01  Juergen Vigna  <jug@sad.it>
13536
13537         * lyxfind.C (LyXFind): fixed
13538         (SearchForward): ditto
13539         (SearchBackward): ditto
13540
13541         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13542         spurius drawing of the cursor in the main area.
13543
13544         * text2.C (status): small fix which could lead to a segfault!
13545         (clearSelection): remove unneeded BufferView param.
13546
13547 2001-08-01  André Pönitz <poenitz@gmx.net>
13548
13549         * lyxfunc.C: small change due to changed mathed interface
13550
13551 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13554
13555 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * lyxfunc.c: fail gracefully if file doesn't exist
13558
13559         * LyXSendto.C:
13560         * buffer.C:
13561         * lyxfunc.C:
13562         * BufferView_pimpl.C: IsDirWriteable() proto changed
13563
13564         * LyXView.C: fix updateWindowTitle() to store the last title
13565
13566 2001-07-31  Juergen Vigna  <jug@sad.it>
13567
13568         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13569         the font (wrong since using of Paragraph::highestFontInRange).
13570
13571         * paragraph.C (highestFontInRange): added a default_size parameter.
13572
13573         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13574         (setHeightOfRow): reformat
13575
13576 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * converter.[hC] + affected files: move to (inital-char)lowercase
13579         function names.
13580
13581         * ParagraphParameters.C (ParagraphParameters): remove commented code
13582
13583         * PainterBase.[Ch]: remove commented code
13584
13585         * LaTeXFeatures.h: add "bool floats" for float.sty
13586
13587         * LaTeXFeatures.C (LaTeXFeatures): init floats
13588         (require): handle float
13589         (getPackages): do it with floats
13590
13591 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13592
13593         * BufferView_pimpl.C (Dispatch): improve handling of
13594         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13595
13596         * commandtags.h: #include lyxfont.h here temporarily to avoid
13597         keybinding bug.
13598
13599         * bufferlist.h: include LString.h here.
13600
13601 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * text2.C (getStringToIndex): new method.
13604
13605 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13606
13607         * *: Reduced header file dependencies all over.
13608
13609 2001-07-30  Baruch Even  <baruch@lyx.org>
13610
13611         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13612
13613 2001-07-29  Baruch Even  <baruch@lyx.org>
13614
13615         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13616
13617 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * ParameterStruct.h (endif): add a default constructor to make
13620         sure that all variables is initialized.
13621
13622         * ParagraphParameters.C (ParagraphParameters): adjust
13623
13624 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13625
13626         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13627         index; also, check that there is something to index, and that it
13628         does not span over several paragraphs.
13629         (doubleClick): use WHOLE_WORD_STRICT for double click.
13630
13631         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13632
13633         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13634         scheme.
13635
13636 2001-07-26  Baruch Even  <baruch@lyx.org>
13637
13638         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13639         an InsetFig figure, backwards compatible reading of old figure code.
13640
13641 2001-07-27  Juergen Vigna  <jug@sad.it>
13642
13643         * text2.C: font.realize function adaption.
13644
13645         * text.C (draw): add a warnings lyxerr text if needed.
13646
13647         * layout.C: font.realize function adaption.
13648
13649         * language.C: add inherit_language and implement it's handlings
13650
13651         * bufferview_funcs.C (StyleReset): remove language parameter from
13652         font creation (should be language_inherit now).
13653
13654         * bufferparams.C (writeFile): handle ignore_language.
13655
13656         * paragraph.C (getFontSettings): the language has to be resolved
13657         otherwise we have problems in LyXFont!
13658
13659         * lyxfont.C (lyxWriteChanges): added document_language parameter
13660         (update): removed unneeded language parameter
13661
13662         * paragraph.C (validate): fixed wrong output of color-package when
13663         using interface colors for certain fonts in certain environments,
13664         which should not seen as that on the final output.
13665
13666 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * BufferView_pimpl.C:
13669         * Thesaurus.h:
13670         * Thesaurus.C:
13671         * Makefile.am:
13672         * commandtags.h:
13673         * LyXAction.C: add thesaurus support
13674
13675         * lyxfind.h:
13676         * lyxfind.C: add "once" parameter, for thesaurus, to not
13677           move to the next match
13678
13679 2001-07-26  Juergen Vigna  <jug@sad.it>
13680
13681         * lyxfont.C (realize): honor ignore_language too!
13682         (resolved): ditto.
13683
13684         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13685
13686         * text.C (draw): one place more for ignore_language to not draw
13687         itself!
13688
13689 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13692
13693 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13696         the minipage conversion problem.
13697
13698 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13701         insert an inset.
13702
13703 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13704
13705         * BufferView.h: don't forward declare WorkArea
13706
13707         * BufferView.C: don't include WorkArea.h
13708
13709 2001-07-25  André Pönitz <poenitz@gmx.net>
13710
13711         * commandtags.h:
13712         * LyXAction.C:
13713         * lyxfunc.C:  new LFUN 'math-space'
13714
13715         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13716
13717 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * text2.C (toggleInset): call open/close
13720
13721 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * lyxfunc.C (dispatch): add debug for the disabled case
13724
13725         * font.C (buttonText): make similar to rectText
13726
13727         * buffer.C (readInset): comment out parsing of insetlist and
13728         insttheorem
13729
13730         * PainterBase.C (rectText): small correction
13731
13732         * BufferView_pimpl.C: comment out insettheorem and insetlist
13733         * LyXAction.C: ditto
13734         * commandtags.h: ditto
13735
13736 2001-07-24  Juergen Vigna  <jug@sad.it>
13737
13738         * text.C (draw): honor the ignore_language.
13739
13740         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13741
13742 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13743
13744         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13745         char inset.
13746
13747 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13748
13749         * lyxtext.h: remove unused (and unimplemented) methods
13750
13751 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13752
13753         * text.C (getVisibleRow): honor background color
13754
13755         * PainterBase.h:
13756         * Painter.h: remove default color argument for fillRectangle
13757
13758         * text.C (backgroundColor): new method
13759
13760 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * text.C (getVisibleRow): adjust
13763
13764         * font.[Ch] (rectText): new method, metrics
13765         (buttonText): new method, metrics
13766
13767         * PainterBase.[hC]: make rectText and buttonText always draw and take
13768         fewer paramteres.
13769
13770 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13771
13772         * ToolbarDefaults.C (read):
13773         * MenuBackend.C (read): allow escaping in all strings
13774
13775         * BufferView_pimpl.C (insertAndEditInset): new method.
13776         (Dispatch): use insertAndEditInset whenever appropriate.
13777
13778         * BufferView_pimpl.C (insertNote): removed
13779
13780         * BufferView_pimpl.C (smartQuote): new method, moved from
13781         BufferView; if an insetquote cannot be inserted, insert a '"'
13782         character instead.
13783
13784         * BufferView2.C: remove insertCorrectQuote();
13785
13786         * lyxfunc.C (getStatus): Add support for all remaingin
13787         inset-insert lfuns.
13788
13789         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13790
13791         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13792         command (necessary to pass " as parameter of self-insert.
13793
13794         * text.C (selectWordWhenUnderCursor):
13795         (selectWord): add word_location parameter
13796         (selectWordWhenUnderCursor): same + remove special code for word
13797         boundary.
13798         (selectNextWord): use kind() to guess type of insetspecialchar,
13799         not latex().
13800
13801         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13802         (insertErtContents): create ert insets as collapsed.
13803         (readInset): better compatibility code for Info inset.
13804
13805 2001-07-20  Juergen Vigna  <jug@sad.it>
13806
13807         * lyxfunc.C (dispatch): use always LyXFind now!
13808
13809         * text2.C (init): add a reinit flag so that the LyXText can be
13810         reinited instead of deleted and reallocated (used in InsetText).
13811
13812         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13813
13814         * text.C: ditto
13815
13816         * text2.C: ditto
13817
13818 2001-07-18  Juergen Vigna  <jug@sad.it>
13819
13820         * text.C (selectNextWord): handle insets inside inset by calling
13821         always the bv->text functions so that we can go up the_locking_inset!
13822
13823         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13824         in strange locations when inside an inset!
13825
13826         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13827         handling to include insets.
13828
13829         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13830
13831 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * LyXAction.C (init):
13834         * commandtags.h:
13835         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13836         LIGATURE_BREAK, since the name is so stupid.
13837
13838 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13841         InsetInfos.
13842
13843         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13844
13845         * sp_form.[Ch]: remove.
13846
13847         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13848
13849         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13850         InsetInfo.
13851
13852         * src/buffer.C (readInset): ditto.
13853
13854 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13855
13856         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13857         menuSeparator(), endOfSentenceDot(), ldots() and
13858         hyphenationPoint(), which are therefore removed.
13859         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13860
13861         * LyXAction.C (init):
13862         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13863
13864         * paragraph.C (getWord): removed.
13865
13866         * BufferView_pimpl.C (Dispatch): use last word or selection for
13867         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13868
13869         * lyx_main.C (queryUserLyXDir): do not ask before creating
13870         user_dir, except if it has been named explicitely.
13871
13872 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13875         a document of zero size.
13876
13877 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13880         approriately in the c-tor and in require().
13881         (getPackages): output the appropriate LaTeX for natbib support.
13882
13883         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13884         variables "use_natbib" and "use_numerical_citations" when reading the
13885         LyX file.
13886         (readInset): read the various natbib cite commands.
13887         (validate): white-space change.
13888
13889         * bufferparams.[Ch]: new variables "bool use_natbib" and
13890         "bool use_numerical_citations".
13891         (writeFile): output them in the LyX file.
13892
13893 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13894
13895         * lyxfunc.C (getStatus): add support for all the inset insertion
13896         commands.
13897
13898         * text2.C (insertInset):
13899         * paragraph.C (insetAllowed):
13900         * BufferView_pimpl.C (insertInset): update to take in account the
13901         renaming of insertInsetAllowed
13902
13903         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13904
13905         * text2.C (getInset): new method. returns inset at cursor position.
13906
13907         * BufferView_pimpl.C (Dispatch): changes because of this.
13908
13909         * LyXAction.C (init): rename open-stuff to inset-toggle.
13910
13911         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13912
13913         * text2.C (toggleInset): renamed from openStuff; use
13914         Inset::open().
13915
13916 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13917
13918         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13919
13920         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13921
13922 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * buffer.C (readLyXformat2): Add filename to the error dialog
13925
13926 2001-07-18  Juergen Vigna  <jug@sad.it>
13927
13928         * tabular.C (GetCellNumber): put an assert here instead of the check!
13929
13930 2001-07-17  Juergen Vigna  <jug@sad.it>
13931
13932         * BufferView_pimpl.C (toggleSelection): adapted too.
13933
13934         * text.C (selectNextWord): adapted for use with insets.
13935         (selectSelectedWord): ditto
13936
13937 2001-07-17  Juergen Vigna  <jug@sad.it>
13938
13939         * sp_spell.C (PSpell): fix initialitation order.
13940
13941 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * paragraph.C: spacing
13944
13945 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13946
13947         * sp_spell.C: repair language selection for pspell
13948
13949 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * lyxfunc.h: change more methods to begin with lower char.
13952
13953 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13954
13955         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13956         for unknown layouts.
13957
13958 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13959
13960         * buffer.C (readLyXformat2): Generate an error dialog if there are
13961         unknown layouts.
13962
13963 2001-07-16  Juergen Vigna  <jug@sad.it>
13964
13965         * sp_spell.C: always compile ISpell part.
13966
13967         * lyxrc.C: added use_pspell entry and it's handling.
13968
13969 2001-07-13  Juergen Vigna  <jug@sad.it>
13970
13971         * sp_spell.C: removed double includes.
13972
13973 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         Consistent use of Lsstream.h:
13976         * Lsstream.h: added using std::stringstream for consistencies sake.
13977
13978         * buffer.C: removed using std::stringstream
13979
13980         * lyxfont.C (stateText):
13981         * paragraph.C (asString):
13982         * text.C (selectNextWord, selectSelectedWord):
13983         * text2.C (setCounter):
13984         * vspace.C (asString, asLatexString):
13985         std::ostringstream -> ostringstream.
13986
13987 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13988
13989         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13990         * commandtags.h: add LFUN_HELP_ABOUTLYX
13991         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13992
13993 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13994
13995         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13996         cursorToggle()
13997         * lyx_gui_misc.C: remove spellchecker
13998         * lyxfunc.C: showSpellchecker
13999         * sp_base.h: added
14000         * sp_ispell.h: added
14001         * sp_pspell.h: added
14002         * sp_spell.C: added
14003         * sp_form.[Ch]: removed
14004         * spellchecker.[Ch]: removed
14005
14006 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14007
14008         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14009         is set.
14010         (simpleTeXSpecialChars): Simply print the input character without
14011         any special translation if pass_thru is set.
14012
14013         * layout.h: Added bool pass_thru to layout class for being able to
14014         implement pass through of a paragraph for Literate Programming.
14015
14016         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14017         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14018         * layout.C (Read): add "passthru" to list of layout tags and add
14019         code to set the pass_thru boolean when it is read.
14020
14021 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14022
14023         * trans_decl.h: remove allowed from KmodInfo
14024
14025         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14026         remove allowed code
14027         (Load): adjust
14028
14029         * paragraph_pimpl.C (erase): use boost::prior
14030
14031         * Painter.C (text): use data() instead of c_str() when length is
14032         also provided.
14033         * WorkArea.C (putClipboard): ditto
14034         * font.h (width): ditto
14035
14036         * BufferView2.C: use it-> instead of (*it). for iterators
14037         * texrow.C: ditto
14038         * paragraph_pimpl.C: ditto
14039         * paragraph.C: ditto
14040         * minibuffer.C: ditto
14041         * language.C: ditto
14042         * kbmap.C: ditto
14043         * encoding.C: ditto
14044         * counters.C: ditto
14045         * converter.C: ditto
14046         * chset.C: ditto
14047         * Variables.C: ditto
14048         * TextCache.C: ditto
14049         * MenuBackend.C: ditto
14050         * LyXAction.C: ditto
14051         * LColor.C: ditto
14052         * FloatList.C: ditto
14053         * DepTable.C: ditto
14054         * ColorHandler.C (LyXColorHandler): ditto
14055
14056 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14059
14060         * text2.C (openStuff): reintroduce this method (which had been
14061         nuked in NEW_INSETS frenzy).
14062
14063         * lyxfunc.C (Dispatch): when an action has not been handled, use
14064         its name in the error message, not its number.
14065
14066         * paragraph.C (inInset): change method name to begin with lowercase.
14067
14068         * undo_funcs.C:
14069         * text2.C: updates because of this.
14070
14071 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * ToolbarDefaults.C (add): add spaces in error message
14074
14075 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14078         (readLyXformat2): rename return_par to first_par, use lyxlex's
14079         pushToken and remove the manual push handling.
14080         (parseSingleLyXformat2Token): add another ert comp. variable:
14081         in_tabular, rename return_par to first_par. handle newlines better
14082
14083 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14086
14087 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14088
14089         * text2.C (getParFromID): removed
14090
14091         * buffer.C (getParFromID): new method moved form lyxtext.
14092         * BufferView2.C (insertErrors): adjust
14093         (setCursorFromRow): adjust
14094         * BufferView_pimpl.C (restorePosition): adjust
14095         * lyxfunc.C (Dispatch): adjust
14096         * undo_funcs.C (textUndo): adjust
14097         (textRedo): adjust
14098         (textHandleUndo): adjust
14099         (textHandleUndo): adjust
14100
14101 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * buffer.C: up' the LYX_FORMAT
14104
14105         * lyxfont.h: turn NO_LATEX on as default
14106
14107         * buffer.C (insertErtContents): new methods of tex style compability.
14108         (parseSingleLyXformat2Token): use it several places.
14109         * tabular.C (OldFormatRead): and here
14110
14111 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14112
14113         * text2.C: remove some commented code.
14114         reindent file.
14115
14116         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14117         * trans.C: changes because of the above.
14118
14119 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14120
14121         * text2.C (setCounter): Fix counters bug with bibliography layout.
14122
14123 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14126         own member functions
14127         (simpleTeXSpecialChars): ditto
14128
14129 2001-07-06  Juergen Vigna  <jug@sad.it>
14130
14131         * a lot of files: changed the access to LyXText::status and the
14132         call of undo-functions.
14133
14134         * undo.[Ch]: added a inset_id to the undo informations.
14135
14136         * undo_funcs.[Ch]: added and moved here all undo functions.
14137
14138         * lyxtext.h: give the status enum a weight, made status_ a private
14139         variable and made accessor functions for it, removed the whole bunch
14140         of undo-functions as they are now in their own file, make some
14141         functions publically available. Added function ownerParagraph with
14142         int parameter.
14143
14144         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14145         made InInset() a const function, added getParFromID() function.
14146
14147         * buffer.[Ch]: added const version for inset_iterator functions,
14148         added getInsetFromID() function.
14149
14150         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14151         changed undo functions for new version.
14152
14153 2001-07-05  Juergen Vigna  <jug@sad.it>
14154
14155         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14156         unknow mechanism does not call the proper constructor but only this
14157         one also if I request the other!?
14158
14159 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14162
14163         * text2.C (LyXText): use initialization lists.
14164
14165         * lyxtext.h (Selection): initialize set_ and mark_
14166         (init): remove method
14167
14168 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14171
14172 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * screen.[Ch]: change method names to begin with lowercase
14175
14176         * BufferView_pimpl.C (updateScrollbar): simplify further and
14177         hopefully make it a bit faster.
14178
14179 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14182         calling directly xforms functions.
14183
14184         * Painter.C (Painter):
14185         * lyx_cb.C (MenuWrite):
14186         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14187         fl_display.
14188
14189         * lyx_gui.C: remove bogus guiruntime extern declaration.
14190
14191 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14192
14193         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14194         in NEW_INSETS
14195         (redoDrawingOfParagraph): ditto
14196         (redoParagraphs): ditto
14197         (cutSelection): don't create a object for CutAndPaste use the
14198         static method directly
14199         (pasteSelection): ditto
14200
14201         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14202         LyXview (+ rename)
14203
14204 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * modifications to some other files because of this.
14207
14208         * Makefile.am (lyx_SOURCES): add XFormsView
14209
14210         * XFormsView.[Ch]: new files
14211
14212         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14213         the main window. Move the gui dependent stuff to XFormsView
14214
14215 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * tabular.C (GetCellInset): update cur_cell also in the row/col
14218         version of this function.
14219
14220         * lyxfunc.C: no need to include figure_form.h here.
14221
14222         * FontLoader.h:
14223         * lyxfunc.h:
14224         * lyxscreen.h:
14225         * text2.C:
14226         * lyxvc.C: no need to include forms.h here.
14227
14228 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14231
14232         * lyxfunc.C (Dispatch):
14233         * Spacing.C (set):
14234         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14235         constructor argument.
14236
14237 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * paragraph.C (Paragraph): dont't clear, and just set layout.
14240         (makeSameLayout): use params's copy contructor.
14241
14242         * ParagraphParameters.[Ch] (makeSame): delete method
14243
14244 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * Variables.[Ch]: fix indentation, rename set to isSet
14247
14248 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * lyxfunc.C (Dispatch): fix typo
14251
14252 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14253
14254         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14255         upper_bound.
14256
14257         * bufferlist.C: include assert.h for emergencyWrite().
14258
14259 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14262           give up at last (bug #425202) !
14263
14264 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * lyx_gui_misc.C:
14267         * sp_form.h:
14268         * sp_form.C:
14269         * spellchecker.h:
14270         * spellchecker.C: strip spellchecker options and bring up
14271           preferences tab instead
14272
14273 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14276         the istringstream constructor
14277
14278 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14279
14280         * paragraph.C (getLayout): fix return value
14281
14282         * paragraph.h: do not declare getLayout as inline.
14283
14284         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14285
14286 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * lyxcursor.h (operator<): new func
14289         (operator>): new func
14290         (operator>=): new func
14291         (operator<=): new func
14292
14293         * text.C (changeCase): use selection.start and selection.end
14294         (changeRegionCase): require from to be <= to. Require par to be a
14295         valid paragraph.
14296
14297         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14298
14299 2001-06-27  Juergen Vigna  <jug@sad.it>
14300
14301         * text.C (cursorLeftOneWord): changed to return the cursor and added
14302         overlay with BufferView * parameter which calls this one.
14303         (getWord): added
14304         (selectWord): use new getWord function.
14305         (changeCase): renamed from changeWordCase as and extended to work
14306         also on selections.
14307
14308         * lyxtext.h: added enum word_location
14309
14310         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14311         changeCase as this operates now also on selections.
14312
14313 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14314
14315         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14316
14317         * many files: send debug output to Debug::INFO instead of
14318         Debug::ANY.
14319
14320         * converter.C (View):
14321         (Convert):
14322         (Move): send debug output to Debug::FILES instead of console.
14323
14324 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14325
14326         * lyxfunc.C (getStatus): use func_status
14327
14328         * func_status.h: new header, describing the results of
14329         LyXFunc::getStatus;
14330
14331         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14332         LFUN_MATH_HALIGN.
14333
14334 2001-06-25  The LyX Project  <jug@sad.it>
14335
14336         * buffer.C (sgmlOpenTag):
14337         (sgmlCloseTag):
14338         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14339
14340 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * text2.C: remove some dead code
14343
14344         * tabular.C (GetCellInset): store the last cell checked (gotten)
14345
14346         * tabular.h: add the helper for the speedup
14347
14348         * lyxtext.h: remove some dead code
14349
14350 2001-06-26  The LyX Project  <Asger>
14351
14352         * paragraph.C: Change export to LaTeX of alignment to
14353         \begin{center} and family for better roundtrip work with reLyX.
14354
14355         * Tune the math drawing a bit.
14356
14357 2001-06-25  The LyX Project  <Asger>
14358
14359         * LColor.C (LColor): New color for math background. New color
14360         for buttons.
14361
14362 2001-06-25  The LyX Project  <jug@sad.it>
14363
14364         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14365
14366         * lyxfunc.C (Open):
14367         * bufferlist.C (newFile): do not restrict to files ending with
14368         .lyx
14369
14370         * BufferView_pimpl.C (MenuInsertLyXFile):
14371
14372 2001-06-24  The LyX Project  <jug@sad.it>
14373
14374         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14375         of compare_no_case
14376
14377 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * lyxtext.h: rename most methods to begin with a small char.
14380         Lots of changes because of this.
14381
14382         * paragraph.C (Paragraph): do not call fitToSize
14383         (erase): call Pimpl::erase
14384         (insertChar): call Pimpl::insertChar
14385         (insertInset): call Pipl::insertInset
14386         (breakParagraph): do not call fitToSize
14387         (breakParagraphConservative): do not call fitToSize
14388         (fitToSize): remove method
14389
14390         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14391
14392 2001-06-24  The LyX Project  <Asger>
14393
14394         * Fix Qt compilation^2
14395
14396 2001-06-24  The LyX Project  <jug@sad.it>
14397
14398         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14399         depthHook(getDepth()-1).
14400
14401         * paragraph.h:
14402         * ParagraphParameters.h:
14403         * ParameterStruct.h: change type of depth to unsigned int ==
14404         depth_type. Many adaptations to other files before of that.
14405
14406 2001-06-24  The LyX Project  <Asger>
14407
14408         * Fix Qt compilation.
14409
14410 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * paragraph.h: renamed several methods to begin with small letter.
14413         several changes to many parts of the code because of this.
14414
14415 2001-06-23  The LyX Project  <jug@sad.it>
14416
14417         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14418         rewritten to discard all double spaces when KeepEmpty is off
14419         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14420         to only handle newlines but not fiddle with spaces and friends.
14421
14422         * lyxfunc.C (MenuNew): when doing 'new from template', use
14423         template_path as default directory
14424
14425 2001-06-23  The LyX Project  <Asger>
14426
14427         * Clean-up of header file includes all over
14428         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14429
14430 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14431
14432         * paragraph.h: renamed from lyxparagraph.h
14433
14434 2001-06-23  Asger  <lyx@violet.home.sad.it>
14435
14436         * Buffer.h: Removed Buffer::resize
14437         * BufferList.h: Removed BufferList::resize
14438         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14439         the document lazily when we change the width, or the font settings.
14440
14441 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14444
14445 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * buffer.h: remove out of date comment
14448
14449 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * lyxscreen.h:
14452         * screen.C: fix "theoretical" GC leak
14453
14454 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * LaTeX.C (scanAuxFile):
14457         (deplog): remove trailing \r when reading stream (useful under
14458         win32)
14459
14460 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14463         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14464         and BufferView::theLockingInset(Inset*), so should use them and not
14465         access bv_->text->the_locking_inset directly.
14466
14467         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14468
14469 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * Makefile.am:
14472         * tex-defs.h: remove old unused file
14473
14474 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14475
14476         * BufferView_pimpl.C: fix typo, remove minibuffer message
14477           when buffer has loaded
14478
14479 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * lyxfunc.C (Dispatch): use stringstream
14482         (MenuNew): use stringstream
14483         (Open): use stringstream
14484
14485         * importer.C (Import): use stringstream
14486
14487         * bufferview_funcs.C (CurrentState): use stringstream
14488
14489         * LaTeX.C (run): use stringstream
14490
14491         * BufferView_pimpl.C (savePosition): use stringstream
14492         (restorePosition): use stringstream
14493         (MenuInsertLyXFile): use stringstream
14494
14495 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * BufferView.C:
14498         * Bullet.C:
14499         * ColorHandler.C:
14500         * FontInfo.C:
14501         * FontLoader.C:
14502         * LColor.C:
14503         * LaTeXFeatures.C:
14504         * Painter.C:
14505         * gettext.C:
14506         * lyx_gui_misc.C:
14507         * lyxserver.C:
14508         * vspace.C: removed // -*- C++ -*- as first line.
14509
14510         * lyxfind.h:
14511         * version.h: added // -*- C++ -*- as first line.
14512
14513 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14516
14517         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14518         of string
14519
14520 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14521
14522         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14523         of floats.
14524
14525 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14526
14527         * gettext.C: include LString.h even when --disable-nls is on.
14528
14529 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14530
14531         * converter.h (Get): changed argument type from int to
14532         FormatList::size_type to avoid unnecessary conversion.
14533
14534         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14535         before using it.
14536
14537 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14538
14539         * gettext.h: include LString.h even when --disable-nls is on.
14540
14541 2001-06-07  Juergen Vigna  <jug@sad.it>
14542
14543         * text.C (BreakAgain): subst spaces with tabs.
14544
14545         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14546         (resizeInsetsLyXText): set force on resizeLyXText.
14547
14548 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * gettext.h (gettext_init):
14551         (locale_init): use a real definition instead of a macro
14552
14553 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * Bufferview_pimpl.C:
14556         * LColor.h:
14557         * LColor.C: further lcolor tidies
14558
14559 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * BufferView_pimpl.C (updateScrollbar): simplify.
14562
14563         * BufferView2.C: don't include insets/insetinfo.h, change
14564         prototype for insertInset and call the Pimpl version. let
14565         updateInset call Pimpl version.
14566
14567         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14568         gotoInset to BufferView::Pimpl
14569
14570 2001-06-01  Juergen Vigna  <jug@sad.it>
14571
14572         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14573         inside a LockingInset (is the update needed at all?).
14574
14575 2001-05-31  Juergen Vigna  <jug@sad.it>
14576
14577         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14578         here not the old one otherwise how should we compare it afterwards
14579         if it's the same!
14580
14581 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14582
14583         * lyxfont.C:
14584         * tabular.C:
14585         * tabular-old.C:
14586         * FontInfo.C: bring C functions into global namespace when
14587         necessary
14588
14589 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * LString.h: make sure config.h has been loaded before LString.h.
14592
14593         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14594         (one for each char read by EatLine!).
14595
14596         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14597         variables.
14598
14599 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600
14601         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14602         to the same as the par we break from
14603
14604 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14605
14606         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14607
14608         * MenuBackend.C (expand): also create menu entries for wide
14609         versions of the floats.
14610
14611         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14612
14613         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14614
14615         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14616         frontends/Makefile.am
14617
14618         * text2.C: adjust
14619         * text.C: adjust
14620
14621
14622         * tabular.C (getTokenValue): add std::
14623
14624         * tabular-old.C (getTokenValue): add std::
14625         (getTokenValue): ditto
14626         (getTokenValue): ditto
14627
14628         * screen.C (ToggleSelection): adjust
14629
14630         * lyxtext.h: put selection cursors inside a Selection struct.
14631
14632         * lyxfunc.C (moveCursorUpdate): adjust
14633
14634         * lyxfont.C (latexWriteStartChanges): add std::
14635
14636         * lyxfind.C: adjust
14637
14638         * font.h: delete with(char const *, LyXFont const &)
14639
14640         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14641
14642         * FontInfo.C (getFontname): add std::
14643
14644         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14645         (workAreaButtonPress): adjust
14646         (tripleClick): adjust
14647         (update): adjust
14648         (moveCursorUpdate): adjust
14649         (Dispatch): adjust
14650
14651         * BufferView2.C (gotoInset): adjust
14652
14653 2001-05-30  Juergen Vigna  <jug@sad.it>
14654
14655         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14656         to check pspell I add this as default as I now have new pspell
14657         libraries and they seem to use this.
14658
14659 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14660
14661         * text2.C (CutSelection): make the cursor valid before the call to
14662         ClearSelection.
14663
14664 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14667         relied on 0 terminated strings and other horrors. Bug found due to
14668         the new assert in lyxstring!
14669
14670         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14671         KP_ keys.
14672
14673 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14674
14675         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14676         to latinkeys.bind.
14677
14678         * lyxfunc.C (processKeySym): change method of getting to the
14679         self-insert char.
14680
14681         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14682         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14683         * BufferView_pimpl.[Ch]: here as private methods.
14684
14685 2001-05-28  Juergen Vigna  <jug@sad.it>
14686
14687         * text.C (SetHeightOfRow): added the update() call again as it is
14688         needed to initialize inset dimensions!
14689
14690 2001-05-16  Juergen Vigna  <jug@sad.it>
14691
14692         * text2.C (SetCharFont): Add new function with BufferView * and
14693         bool toggleall parameters for setting insets internal fonts.
14694         (SetFont): Freeze the undo as we may change fonts in Insets and
14695         all this change should be inside only one Undo!
14696
14697         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14698         setting font's in insets as for them we have the SetFont function!
14699
14700 2001-05-15  Juergen Vigna  <jug@sad.it>
14701
14702         * text2.C (ClearSelection): to be sure we REALLY don't have any
14703         selection anymore!
14704
14705         * tabular.C (TeXCellPreamble): fixed the left border problem for
14706         multicolumn cells.
14707
14708 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14709
14710         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14711         dependancy file
14712
14713 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14716         LFUN_BREAKPARAGRAPH.
14717
14718         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14719         help test to "internal only", similar for LFUN_INSERT_URL
14720
14721         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14722         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14723         auto_region_delete and deadkeys.
14724
14725 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * LColor.h:
14728         * LColor.C: remove some dead entries, tidy a little
14729
14730 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14731
14732         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14733         commented code.
14734         (Dispatch): implement LFUN_ESCAPE
14735
14736         * commandtags.h: add LFUN_ESCAPE
14737
14738         * LyXAction.C (init): add entry for LFUN_ESCAPE
14739
14740         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14741         Remove commented code.
14742         (insertNote): moved here
14743         (open_new_inset): moved here
14744
14745         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14746         BufferView_pimpl
14747
14748 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * kbmap.C (findbinding): clean it up and make it work correctly.
14751
14752         * lyx_main.C (init): do not pass argc and argv as parameters
14753
14754 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14755
14756         * buffer.C: fix path for OS/2 & Win32
14757
14758         * lyx_gui.C:
14759         * lyx_main:
14760         * lyx_main.C: Added os:: class.
14761
14762         * os2_defines.h: update
14763
14764 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14767         better by trying again with reduced state.
14768
14769 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * lyxrc.C (read): print error about invalid key sequence only when
14772         debugging (because not all latinX keysyms are known to some X
14773         servers)
14774
14775         * kbsequence.C (getiso): add a few std:: qualifiers
14776         (getiso): comment out extra return statement.
14777
14778 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14779
14780         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14781         handling.
14782         (Dispatch): enhance the accent inset a bit. (not perfect)
14783
14784 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14787
14788 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * bufferlist.C (emergencyWrite): fix assert() call
14791
14792 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14793
14794         * text.C (InsertChar): Added trivial patch to only send the "you
14795         can not do multiple spaces this way" message once during a
14796         session.
14797
14798 2001-05-08  Baruch Even  <baruch@lyx.org>
14799
14800         * Makefile.am: Changed order of libraries to get LyX to link properly
14801         with the gnome frontend.
14802
14803 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * LaTeXFeatures.h: add a std:: qualifier
14806
14807 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14808
14809         * paragraph.C (String): use stringstream
14810
14811 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * paragraph.C (writeFile): remove footflag arg
14814
14815         * buffer.C (makeLaTeXFile): use stringstream
14816         (latexParagraphs): remove footnot gurba
14817
14818         * LaTeXFeatures.C (getPackages): use stringstream
14819         (getMacros): likewise
14820         (getTClassPreamble): likewise
14821         (getFloatDefinitions): new method
14822
14823         * paragraph.C (writeFile): reindent
14824         (Erase): reindent
14825
14826         * WorkArea.h: revert the xpos + etc changes.
14827
14828         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14829
14830         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14831
14832         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14833         (pasteSelection): likewise
14834         * text2.C (CreateUndo): likewise
14835
14836 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * minibuffer.C (peek_event): temporarily reduce the functionality
14839         of the minibuffer (to allow args on lfuns)
14840
14841         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14842         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14843
14844         * buffer.C (readInset): add compability reading of old float
14845         lists, add reading of new style float list.
14846         (readInset): avoid reevaluation of inscmd.getCmdName()
14847         (getLists): reindent
14848
14849         * MenuBackend.C (MenuItem): implement parsing of
14850         md_floatlistinsert and md_floatinsert.
14851         (expand::LastFiles): move initalizaton of iterators out of loop,
14852         avoid reevaluation.
14853         (expand::Documents): introduce typdedef vector<string> Strings,
14854         and use it.
14855         (expand::ExportFormats): introduce typedef vector<Format const *>
14856         Formats, and use it.
14857         (expand): implement FloatListInsert and FloatInsert.
14858
14859         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14860         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14861         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14862
14863         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14864         handling.
14865         (Dispatch::LFUN_FLOAT_LIST): implement
14866
14867 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14868
14869         * LaTeX.C (run): Fix problem with --export code.
14870
14871 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14872
14873         * BufferView.[Ch] (workarea): removed.
14874         (getClipboard) new method; wrapper for workarea()->getClipboard()
14875
14876         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14877         bug.
14878
14879         * WorkArea.h (width, height, xpos, ypos): These methods all
14880         returned the dimensions of the work_area sub-area of WorkArea,
14881         resulting in a position error if the WorkArea were resized. Now
14882         return the dimensions of the entire WorkArea.
14883
14884         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14885
14886 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * LaTeX.C (deplog): correct the syntax of regex reg1
14889
14890 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * undo.C: remove !NEW_INSETS cruft
14893
14894 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * text2.C: remove !NEW_INSETS cruft
14897
14898         * text.C: remove !NEW_INSETS cruft
14899
14900         * tabular.C: remove !NEW_INSETS cruft
14901
14902         * spellchecker.C: remove !NEW_INSETS cruft
14903
14904         * lyxtext.h: remove !NEW_INSETS cruft
14905
14906         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14907
14908         * lyxfunc.C: remove !NEW_INSETS cruft
14909
14910         * lyxfind.C: remove !NEW_INSETS cruft
14911
14912         * lyx_cb.C: remove !NEW_INSETS cruft
14913
14914         * figureForm.C: remove  !NEW_INSETS cruft
14915
14916         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14917
14918         * buffer.[Ch]: remove !NEW_INSETS cruft
14919
14920         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14921
14922         * CutAndPaste.C: remove !NEW_INSETS cruft
14923
14924         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14925
14926         * BufferView2.C: remove !NEW_INSETS cruft
14927
14928         * BufferView.h: remove !NEW_INSETS cruft
14929
14930 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * Lsstream.h: include LString.h before the sstream headers to
14933         fix problem with gcc 2.95.3 and lyxstring
14934
14935 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14936
14937         * lyx_main.C: add using directives when needed for C functions
14938         declared in std:: namespace.
14939
14940 2001-04-27  Juergen Vigna  <jug@sad.it>
14941
14942         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14943         (SetHeightOfRow): comment out the update call should not be needed!
14944
14945 2001-04-13  Juergen Vigna  <jug@sad.it>
14946
14947         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14948         (LyXTabular): tried to minimize operator= operations (and realized
14949         hopfully Lars wish).
14950
14951 2001-04-27  Juergen Vigna  <jug@sad.it>
14952
14953         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14954
14955 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14956
14957         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14958
14959         * buffer.C (readInset): hack to make listof algorithm work
14960
14961         * BufferView_pimpl.C: hack to make listof algorithm work
14962
14963 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14964
14965         * LyXAction.C: removed all !NEW_INSETS cruft
14966         (init): moved lfun_item in method
14967
14968         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14969
14970 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * BufferView2.C (theLockingInset): white space.
14973
14974 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * minibuffer.C: include <iostream>
14977
14978         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14979
14980         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14981
14982         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14983
14984         * text.[Ch] (TransposeChars): new method
14985
14986 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * call message directly through LyXView instead of through LyXFunc
14989         * BufferView2.C: adjust
14990         * BufferView_pimpl.C: adjust
14991         * FontLoader.C: adjust
14992         * buffer.C: adjust
14993         * bufferview_funcs.C: adjust
14994         * converter.C: adjust
14995         * figureForm.C: adjust
14996         * importer.C: adjust
14997         * lyx_cb.C: adjust
14998         * lyx_gui_misc.C: adjust
14999         * lyxfunc.C: adjust
15000         * lyxvc.C: adjust
15001         * text2.C: adjust
15002         + more files in subdirs
15003
15004         * lyxparagraph.h (size): move up int file
15005         (GetLayout): ditto
15006
15007         * adjust all uses of Assert to lyx::Assert.
15008
15009         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15010         lyxfunctional in namespace lyx
15011         * layout.C (hasLayout): ditto
15012         (GetLayout): ditto
15013         (GetLayout): ditto
15014         (delete_layout): ditto
15015         (NumberOfClass): ditto
15016         * converter.C (GetFormat): ditto
15017         (GetNumber): ditto
15018         (Add): ditto
15019         (Delete): ditto
15020         (SetViewer): ditto
15021         * bufferlist.C (getFileNames): ditto
15022         (emergencyWriteAll): ditto
15023         (exists): ditto
15024         (getBuffer): ditto
15025         * MenuBackend.C (hasSubmenu): ditto
15026         (hasMenu): ditto
15027         (getMenu): ditto
15028         * BufferView_pimpl.C (getInsetByCode): ditto
15029
15030 2001-04-18  Juergen Vigna  <jug@sad.it>
15031
15032         * vspace.C (asLatexString): fixed the 100% problem.
15033
15034 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * lyxfunc.C (Dispatch):
15037         * minibuffer.C:
15038         * minibuffer.h: add a few std:: qualifiers
15039
15040 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * minibuffer.[Ch]: reimplement so that commands is initiated and
15043         run from lyxfunc, simplified som handling, and made the completion
15044         and history code for complete. wip.
15045
15046         * lyxfunc.C (processKeySym): call message
15047         (miniDispatch): new temporary method
15048         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15049         (LFUN_MESSAGE): implement
15050         (LFUN_MESSAGE_PUSH): implement
15051         (LFUN_MESSAGE_POP): implement
15052         (initMiniBuffer): the initial/defualt minibuffer message.
15053
15054         * lyxfont.[Ch]: inline some more getters
15055
15056         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15057
15058         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15059
15060         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15061         (AutoSave): use LFUN_MESSAGE
15062         (Reconfigure): ditto
15063
15064         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15065
15066         * figureForm.C: use LFUN_MESSAGE
15067
15068         * converter.C (runLaTeX): use LFUN_MESSAGE
15069
15070         * bufferview_funcs.C: use LFUN_MESSAGE
15071         (Melt): ditto
15072         (changeDepth): ditto
15073
15074         * bufferparams.h: use boost::
15075
15076         * bufferlist.h: inherit privately from noncopyable
15077
15078         * bufferlist.C (loadLyXFile): remove some commented code.
15079
15080         * buffer.C (runChktex): use LFUN_MESSAGE
15081
15082         * ShareContainer.h: inherit privately from noncopyable
15083
15084         * ParagraphParameters.[hC] (depth): inline it.
15085
15086         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15087         methods.
15088         (message): new method
15089         (messagePush): ditto
15090         (messagePop): ditto
15091         (show): init minibuffer
15092         (showState): direct call
15093
15094         * LaTeX.[Ch]: inherit privately from noncopyable
15095         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15096         instead of WriteStatus.
15097
15098         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15099
15100         * BufferView_pimpl.C (buffer): don't init minibuffer
15101         (workAreaButtonPress): use LFUN_MESSAGE
15102         (workAreaButtonRelease): ditto
15103         (savePosition): ditto
15104         (restorePosition): ditto
15105         (MenuInsertLyXFile): ditto
15106         (workAreaExpose): don't init minibuffer
15107         (update): remove commented code, simplify
15108
15109         * BufferView2.C (openStuff): use LFUN_MESSAGE
15110         (toggleFloat): ditto
15111         (menuUndo): ditto
15112         (menuRedo): ditto
15113         (copyEnvironment): ditto
15114         (pasteEnvironment): ditto
15115         (copy): ditto
15116         (cut): ditto
15117         (paste): ditto
15118         (gotoInset): ditto
15119         (updateInset): remove some commented code
15120
15121         * lastfiles.h: inherit privately from noncopyable
15122         * layout.h: ditto
15123         * lyx_gui.h: ditto
15124         * lyx_main.h: ditto
15125         * lyxlex.h: ditto
15126         * lyxlex_pimpl.h: ditto
15127
15128         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15129         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15130         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15131
15132         * LyXAction.h: inherit privately from noncopyable, add methods
15133         func_begin, func_end, returning iterators to the func map.
15134
15135         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15136         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15137         (func_begin): new method
15138         (func_end): new method
15139
15140         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15141         and not)
15142         (copySelection): ditto
15143         (pasteSelection): ditto
15144
15145         * BufferView.C: whitespace change
15146         * BufferView.h: inherit privately from noncopyable
15147
15148 2001-04-16  Allan Rae  <rae@lyx.org>
15149
15150         * tabular-old.C (l_getline):
15151         * spellchecker.C (sc_check_word):
15152         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15153         an unrecognised preprocessor directive.  So ensure they're wrapped.
15154
15155 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15156
15157         * src/exporter.C (Export): Give an error message when path to file
15158         contains spaces.
15159
15160 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15161
15162         * LaTeX.C (deplog): Always check that foundfile exists.
15163
15164 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * lyx_main.h:
15167         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15168
15169 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * tabular.[Ch] (getLabelList): implement new method
15172
15173         * minibuffer.h: comment ouf setTiimer
15174
15175         * minibuffer.C (ExecutingCB): constify res
15176         (peek_event): constify s
15177         (Set): constify ntext
15178         (Init): constify nicename
15179
15180         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15181
15182         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15183         (savePosition): use two params to Minibuffer::Set
15184         (restorePosition): ditto
15185
15186 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * lyx_main.C: include language.h
15189
15190         * Makefile.am (lyx_main.o): add language.h
15191
15192 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * exporter.C:
15195         * paragraph.C:
15196         * screen.C:
15197         * tabular.C:
15198         * CutAndPaste.C: include gettext.h
15199
15200         * lyxfont.h: remove old hack with ON and OFF.
15201
15202         * lyxparagraph.h:
15203         * lyxfont.h: do not include language.h...
15204
15205         * BufferView2.C:
15206         * LaTeXFeatures.C:
15207         * Painter.C:
15208         * bufferview_funcs.C:
15209         * font.C:
15210         * lyxfont.C:
15211         * text.C:
15212         * text2.C:
15213         * trans_mgr.C:
15214         * paragraph.C: ... but do it here instead
15215
15216 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15219
15220         * tabular.C: small reformat
15221
15222         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15223         NEW_INSETS version
15224         (GetChar): ditto
15225         (BreakParagraph): ditto
15226         (SetOnlyLayout): ditto
15227         (SetLayout): ditto
15228
15229         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15230         with one arg less.
15231
15232         * lastfiles.C: removed most using decl, add std:: where needed
15233
15234         * buffer.C: ws changes
15235
15236         * MenuBackend.C (class compare_format): put into anon namespace
15237         (expand): constify label, names, action, action2
15238         (expand):
15239
15240         * text.C (SingleWidth): constify font
15241         (IsBoundary): constify rtl2
15242         (GetVisibleRow): constify ww
15243
15244         * LaTeX.C (deplog): constify logfile
15245
15246         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15247         start_x, end_x
15248         (workAreaExpose): constify widthChange, heightChange
15249
15250         * lyxrow.C (par): moved
15251         (height): moved
15252         (next): moved
15253         * lyxrow.h: as inlines here
15254
15255         * lyxfont.h (shape): moved from lyxfont.C
15256         (emph): moved from lyxfont.C
15257
15258         * lyxfont.C (LyXFont): use initialization list for all
15259         constructors
15260         (shape): move to lyxfont.h as inline
15261         (emph): move to lyxfont.h as inline
15262
15263
15264 2001-04-04  Juergen Vigna  <jug@sad.it>
15265
15266         * vspace.C: had to include stdio.h for use of sscanf
15267
15268 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15269
15270         * BufferView.h:
15271         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15272         independent of xforms.
15273
15274 2001-04-02  Juergen Vigna  <jug@sad.it>
15275
15276         * spellchecker.C: fixed namespace placing!
15277
15278 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15281         the LyXParagraph * is 0.
15282
15283 2001-03-29  Juergen Vigna  <jug@sad.it>
15284
15285         * vspace.C: added support for %, c%, p%, l%.
15286         (stringFromUnit): added helper function.
15287         (asLatexString): changed to give right results for the %-values.
15288
15289         * buffer.C: convert the widthp in a width%.
15290
15291 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15292
15293         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15294         figureForm.[Ch].
15295
15296         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15297         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15298
15299         * lyx_cb.[Ch]: see above.
15300
15301         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15302         form1.[Ch].
15303
15304         * form1.[Ch]:
15305         * lyx.[Ch]: replaced by figure_form.[Ch].
15306
15307         * lyx_gui.C:
15308         * lyx_gui_misc.C:
15309         * lyxfunc.C: changed headers associated with above changes.
15310
15311 2001-03-27  Juergen Vigna  <jug@sad.it>
15312
15313         * BufferView_pimpl.C: set the temporary cursor right!
15314
15315 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15316
15317         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15318
15319 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * LString.h: removed "using std::getline"!
15322
15323         * BufferView_pimpl.C (Dispatch): changes due to changes in
15324         InsetInclude::Params.
15325
15326         * buffer.C (tag_name): removed redundant break statements as they were
15327         producing lots of warnings with my compiler.
15328
15329 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * LString.h: add "using std::getline" when using the real <string>.
15332
15333 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15334
15335         * buffer.C: removed bitset usage.
15336         PAR_TAG moved to an anonymous name space.
15337         (tag_name): new funtion, also in the anonymous namespace.
15338         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15339         (makeDocBookFile): clean code. Completed transition from string arrays
15340         to string vectors.
15341         (SimpleDocBookOnePar): code clean.
15342
15343 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15344
15345         * tabular.C: add some comments.
15346
15347 2001-03-22  Juergen Vigna  <jug@sad.it>
15348
15349         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15350         compatibility read a bit and fixed bug with minipage in different
15351         depth.
15352
15353 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15354
15355         * buffer.C (pop_tag): removed.
15356         (push_tag): removed.
15357         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15358         array replaced with vector. Added support for CDATA sections.
15359         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15360         at any nest level.
15361         (makeDocBookFile): XML conformant declaration of CDATA section,
15362         fixed bug related to <emphasis> in the first paragraph char.
15363         (sgmlOpenTag): exclude empty tags.
15364         (sgmlCloseTag): ditto.
15365
15366         * buffer.h (pop_tag): removed.
15367         (push_tag): removed.
15368
15369 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15370
15371         * language.h (Languages): added size_type and size().
15372
15373 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15374
15375         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15376         response on compability reading of minipages. One probliem is that
15377         the old usage of minipages was «flertydig»
15378
15379         * several files here and in subdirs: don't use static at file
15380         scope use anon namespaces instead.
15381
15382 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15383
15384         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15385         LaTeX output. This is necessary for Literate document
15386         processing.
15387
15388 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15389
15390         * buffer.C: insert hfill when needed.
15391
15392         * tabular.C (l_getline): use string::erase, small whitespace change.
15393
15394         * BufferView_pimpl.C: try the anon namespace.
15395         * WorkArea.C: ditto
15396
15397 2001-03-16  Juergen Vigna  <jug@sad.it>
15398
15399         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15400         otherwise it won't open options-dialogs.
15401
15402         * buffer.C: honor pextraWidth(p) on converting minipages.
15403
15404         * tabular.C (l_getline): changed the functions to strip trailing \r.
15405
15406 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15407
15408         * BufferView_pimpl.C:
15409         * minibuffer..C: added "using SigC::slot" declaration.
15410
15411 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15412
15413         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15414
15415         * text2.C: ditto
15416
15417         * text.C: ditto
15418
15419         * paragraph.C: ditto
15420
15421         * lyxtext.h: NO_PEXTRA
15422
15423         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15424
15425         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15426         * ParameterStruct.h: ditto
15427         * ParagraphParameters.h: ditto
15428         * lyxparagraph.h: ditto
15429
15430 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15431
15432         * buffer.C: add compability for minipage alignment.
15433         (latexParagraphs): remove unwanted pextra check.
15434
15435         * several files: remove CXX_WORKING_NAMESPACES
15436
15437         * buffer.C (pop_tag): tie is in namespace boost
15438
15439         * BufferView.h: noncopyable is in namespace boost
15440         * lyxlex.h: ditto
15441         * lyx_main.h: ditto
15442         * lyx_gui.h: ditto
15443         * layout.h: ditto
15444         * lastfiles.h: ditto
15445         * bufferlist.h: ditto
15446         * ShareContainer.h: ditto
15447         * LyXView.h: ditto
15448         * LyXAction.h: ditto
15449         * LaTeX.h: ditto
15450
15451 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15452
15453         * Merging changes from BRANCH_MVC back into HEAD.
15454
15455         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15456
15457 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15458
15459         * BufferView_pimpl.C: change from intl.C
15460
15461         * combox.h:
15462         * combox.C:
15463         * Makefile.am: move combox.*
15464
15465         * form1.h:
15466         * form1.C:
15467         * lyx_gui.C:
15468         * intl.h:
15469         * intl.C: remove dialog (covered by prefs)
15470
15471 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15472
15473         * lyxfunc.C (Dispatch): removed redundant break statement.
15474
15475 2001-03-14  Juergen Vigna  <jug@sad.it>
15476
15477         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15478
15479 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15480
15481         * buffer.C: add hack to fix compability reading of minipages.
15482
15483 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * buffer.C (getLists): Cleanup.
15486
15487 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * lyxfont.C (update): don't honor toggleall on font size.
15490
15491 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15492
15493         * bmtable.c:
15494         * bmtable.h:
15495         * Makefile.am: moved to frontends/xforms/
15496
15497         * lyx_gui_misc.C:
15498         * lyxfunc.C:
15499         * BufferView_pimpl.C: changes for moved mathpanel
15500
15501 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15502
15503         * gettext.h: fix gettext_init() in --disable-nls
15504
15505 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15508
15509 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15510
15511         * lyx.C:
15512         * lyx.h: strip external form
15513
15514 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15515
15516         * BufferView_pimpl.C: add comment, destroySplash()
15517
15518 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15519
15520         * BufferView_pimpl.C:
15521         * LyXAction.C:
15522         * buffer.C:
15523         * commandtags.h:
15524         * lyxfunc.C: use re-worked insetinclude
15525
15526 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15527
15528         * buffer.C: add using std::stringstream.
15529
15530         * lyx_cb.C: readd using std::ios.
15531
15532         * buffer.C: add using std::map.
15533
15534         * BufferView_pimpl.C: add using std::vector.
15535
15536         * ShareContainer.h: add std:: to swap.
15537
15538         * buffer.h: add some typedefs
15539         * buffer.C (getLists): use them
15540         (getLists): renamed from getTocList.
15541         add a counter for the different float types and use it in the
15542         generated string.
15543         (getLists): use the same counter for the NEW_INSETS and the "non"
15544         NEW_INSETS
15545
15546         * lyx_cb.h: remove unused items, includes, using etc.
15547
15548         * ShareContainer.h: remove some commented code, add more comments
15549         and "documentation".
15550
15551 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15552
15553         * buffer.C (getTocList): make the list also when NEW_INSETS is
15554         defined.
15555
15556         * buffer.h: remove TocType
15557
15558         * buffer.C (getTocList): change to return a map<string,
15559         vector<TocItem> >, implement for dynamic number of list.
15560
15561         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15562         * text2.C (PasteSelection): adjust
15563         * CutAndPaste.C (pasteSelection): adjust
15564
15565         * FloatList.C (FloatList): update from the new_insets branch.
15566         * Floating.[Ch]: ditto
15567         * LaTeXFeatures.C: ditto
15568         * buffer.C: ditto
15569         * lyxlex_pimpl.C: ditto
15570
15571         * paragraph.C (Last): remove when NEW_INSETS is defined.
15572
15573         * other file: changes because of the above.
15574
15575 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15576
15577         * lyxparagraph.h: rename next to next_, previous to previous_,
15578         make them private for NEW_INSETS. Rename Next() to next(),
15579         Previous() to previous().
15580
15581         * other files: changes because of the above.
15582
15583 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15584
15585         * BufferView.h:
15586         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15587         problem.
15588
15589 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * main.C (main): pass lyx_localedir to gettext_init().
15592
15593         * gettext.h: remove locale_init and gettext_init macros
15594
15595         * gettext.C (locale_init): new function
15596         (gettext_init): new function
15597
15598         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15599         setlocale().
15600
15601 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15602
15603         * Moved credits to frontends:
15604         * credits.[Ch]: removed
15605         * credits_form.[Ch]: removed
15606         * lyx_gui_misc.C: remove credits stuff
15607         * Makefile.am:
15608
15609 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15610
15611         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15612
15613         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15614         unneeded destructor.
15615
15616         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15617         a standalone pointer again.
15618
15619         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15620
15621 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15622
15623         * Makefile.am:
15624         * filedlg.h:
15625         * filedlg.C:
15626         * LyXAction.C:
15627         * ToolbarDefaults.C:
15628         * bufferlist.C:
15629         * commandtags.h:
15630         * form1.C:
15631         * form1.h:
15632         * lyx_cb.C:
15633         * lyx_cb.h:
15634         * lyxfunc.h:
15635         * lyxfunc.C:
15636         * BufferView_pimpl.C: use new file dialog in GUII
15637
15638         * lyx_cb.h:
15639         * lyx_cb.C: remove LayoutsCB to Toolbar
15640
15641 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * ShareContainer.h (get): add std:: qualifier
15644
15645 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * ShareContainer.h: define a proper ShareContainer::value_type
15648         type (and use typename to please compaq cxx)
15649
15650 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15651
15652         * lyxparagraph.h: move serveral local vars to
15653         ParameterStruct/ParagraphParameters., use ShareContainer in
15654         FontTable., make vars in FontTable private and add getter and
15655         setter.
15656
15657         * paragraph.C: changes because of the above.
15658
15659         * lyxfont.h: remove copy constructor and copy assignment. (the
15660         default ones is ok), move number inside FontBits. move inlines to
15661         lyxfont.C
15662
15663         * lyxfont.C: add number to initializaton of statics, move several
15664         inlines here. constify several local vars. some whitespace
15665         cleanup. Dont hide outerscope variables.
15666
15667         * Spacing.h: add two new constructors to match the set methods.
15668
15669         * ShareContainer.h: new file, will perhaps be moved to support
15670
15671         * ParameterStruct.h: new file
15672
15673         * ParagraphParameters.h: new file
15674
15675         * ParagraphParameters.C: new file
15676
15677         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15678         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15679
15680         * BufferView_pimpl.C: ParagraphParameter changes.
15681         * buffer.C: Likewise.
15682         * bufferview_funcs.C: Likewise.
15683         * text.C: Likewise.
15684         * text2.C: Likewise.
15685
15686 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * lyxfind.C (LyXReplace): do not redefine default argument in
15689         implementation.
15690         (IsStringInText): ditto
15691         (SearchForward): ditto
15692         (SearchBackward): ditto
15693
15694 2001-03-06  Juergen Vigna  <jug@sad.it>
15695
15696         * lyxfind.C (IsStringInText): put parentes around expressions.
15697
15698 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15699
15700         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15701
15702 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15705
15706         * stl_string_fwd.h: add comment
15707
15708         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15709
15710         * tabular.h:
15711         * tabular.C: remove unused DocBook methods
15712
15713         * intl.C:
15714         * language.C:
15715         * paragraph.C:
15716         * buffer.C:
15717         killed DO_USE_DEFAULT_LANGUAGE
15718
15719 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyx_gui.C: do not include language.h.
15722
15723         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15724         arguments in function implementation.
15725
15726 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15727
15728         * BufferView_pimpl.C: add <ctime>
15729
15730 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15731
15732         * BufferView_pimpl.C: add using std::find_if
15733
15734 2001-02-27  José Matos  <jamatos@fep.up.pt>
15735
15736         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15737         by OnlyPath.
15738
15739 2001-02-11  José Matos  <jamatos@fep.up.pt>
15740
15741         * buffer.C (makeDocBookFile): command styles now have a parameter as
15742         "title" by default.
15743
15744 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15745
15746         * layout_forms.[Ch]: removed
15747         * lyx_cb.[Ch]: out character
15748         * lyx_gui.C: out character
15749         * lyx_gui_misc.C: out character
15750         * bufferview_funcs.C: : out character,
15751         added toggleall as parameter in ToggleAndShow
15752
15753 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15754
15755         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15756
15757         * text2.C (SetCurrentFont): Disable number property at boundary.
15758
15759 2001-02-26  Juergen Vigna  <jug@sad.it>
15760
15761         * lyxfunc.C (getStatus): added a string argument override function so
15762         that this is correctly called from LyXFunc::Dispatch if it contains a
15763         do_not_use_argument which is used!
15764         (Dispatch): added check for "custom" export and call appropriate func.
15765
15766 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15767
15768         * lyxrc.C: Add language_command_local, language_use_babel and
15769         language_global_options.
15770
15771         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15772
15773         * buffer.C (makeLaTeXFile): Use language_use_babel and
15774         language_global_options.
15775
15776 2001-02-23  Juergen Vigna  <jug@sad.it>
15777
15778         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15779         which works with LyXText and putted it inside BufferView. Here now we
15780         only call for that part the BufferView::Dispatch() function.
15781
15782         * BufferView.C (Dispatch): added.
15783
15784         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15785         functions which needs to use a LyXText over from LyXFunc.
15786         (MenuInsertLyXFile): added
15787         (getInsetByCode): added
15788         (moveCursorUpdate): added
15789         (static TEXT): added
15790
15791 2001-02-22  Juergen Vigna  <jug@sad.it>
15792
15793         * BufferView_pimpl.C (update): call a status update to see if LyXText
15794         needs it.
15795
15796 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15797
15798         * vc-backend.C (revert): implement for CVS
15799         (getLog): implement for CVS
15800
15801 2001-02-20  Juergen Vigna  <jug@sad.it>
15802
15803         * text2.C (ClearSelection): added BufferView param for inset_owner call
15804
15805         * lyxfunc.C (TEXT): added this function and use it instead of
15806         directly owner->view()-text of getLyXText().
15807
15808 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15809
15810         * src/layout_forms.C: out preamble
15811         * src/layout_forms.h: out preamble
15812         * src/lyx_cb.C: out preamble
15813         * src/lyx_cb.h: out preamble
15814         * src/lyx_gui.C: out preamble
15815         * src/lyx_gui_misc.C: out preamble
15816         * src/lyxfunc.C: connect with guii preamble
15817
15818 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15819
15820         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15821
15822 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15825         whether to run bibtex.
15826
15827 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15830
15831 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15832
15833         * Makefile.am (lyx_SOURCES): removed bibforms.h
15834
15835         * vspace.h: doxygen
15836
15837         * text.C (GetVisibleRow): make several local vars const
15838
15839         * tabular.C: small cleanup.
15840
15841         * lyxserver.C (callback): use compare instead of strncmp
15842
15843         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15844         inlines to after class or to paragraph.C
15845
15846         * lyxfont.h: remove friend operator!=
15847
15848         * converter.h: move friend bool operator< to non friend and after
15849         class def.
15850
15851         * combox.h: small cleanup
15852
15853         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15854         to inlines after class def.
15855
15856         * buffer.C (pop_tag): use string operations instead of strcmp
15857
15858         * bmtable.c: doxygen, small cleanup
15859
15860         * LaTeX.h: remove friend operator==
15861
15862 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15863
15864         * screen.C:
15865         * lyxrc.[Ch]:
15866         * lyxfunc.C:
15867         * lyxfont.[Ch]:
15868         * lyx_cb.C:
15869         * intl.[Ch]:
15870         * commandtags.h:
15871         * buffer.C:
15872         * WorkArea.[Ch]:
15873         * LyXAction.C:
15874         * BufferView_pimpl.C:
15875         * BufferView.[Ch]: remove cruft
15876
15877 2001-02-14  Juergen Vigna  <jug@sad.it>
15878
15879         * lyxfunc.C: removed #if 0 unused code
15880
15881         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15882
15883         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15884
15885         * text2.C (SetSelection): added a BufferView * parameter
15886
15887 2001-02-13  Juergen Vigna  <jug@sad.it>
15888
15889         * lyxfunc.C (Dispatch): fixed protected blank problem.
15890         * BufferView2.C (protectedBlank): added LyxText * parameter.
15891
15892         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15893         (AppendColumn): same as above for column_info.
15894
15895         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15896         (moveCursorUpdate): use a LyXText param for support of InsetText.
15897
15898         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15899         (tripleClick): ditto
15900
15901         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15902
15903         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15904
15905         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15906
15907         * text2.C (SetSelection): set correct update status if inset_owner
15908         (ToggleFree): ditto
15909
15910 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15911
15912         * tabular.C: remove some commented code.
15913
15914 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15915
15916         * BufferView_pimpl.C: call hideSplash()
15917
15918         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15919
15920         * include_form.h:
15921         * bibforms.h: remove
15922
15923         * lyxfunc.C:
15924         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15925           add LFUN_CHILD_CREATE
15926
15927         * counters.h: fix tiny typo
15928
15929         * lyx_cb.C:
15930         * lyx.h:
15931         * lyx_gui.C:
15932         * lyx.C: move splash to frontends/xforms/
15933
15934         * lyx_gui_misc.C: move Include and Bibform to frontends
15935
15936         * lyxvc.h: clarify comment
15937
15938         * vspace.C: tiny housekeeping
15939
15940 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15941
15942         * text.C (PrepareToPrint): RTL Fix.
15943
15944         * paragraph.C (GetUChar): New method.
15945         (String):  Use GetUChar.
15946
15947         * buffer.C (asciiParagraph): Use GetUChar.
15948
15949 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15950
15951         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15952
15953 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * buffer.h:
15956         * buffer.C: rename to getLogName(), handle
15957           build log / latex log nicely
15958
15959 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15960
15961         * MenuBackend.C:
15962         * MenuBackend.h: remove support for reference menuitem type.
15963
15964 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15965
15966         * BufferView_pimpl.C: housekeeping
15967         * BufferView_pimpl.h:
15968         * LyXView.h:
15969         * Makefile.am:
15970         * Timeout.C:
15971         * Timeout.h:
15972         * minibuffer.h: move Timeout GUI-I
15973
15974 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15975
15976         * lyxrc.C (read): Update converters data-structures.
15977
15978 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15979
15980         * LaTeX.h (operator!=): add operator != for Aux_Info
15981
15982 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15983
15984         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15985
15986         * LaTeXLog.C: deleted, useful code moved to Buffer
15987
15988         * buffer.h:
15989         * buffer.C: new function getLatexLogName()
15990
15991         * lyx_gui_misc.C:
15992         * lyx_gui.C:
15993         * lyxvc.C:
15994         * lyxvc.h:
15995         * lyxfunc.C: use frontends for LaTeX and VC logs
15996
15997 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * LaTeX.h: yet another std:: that Allan forgot.
16000
16001         * Variables.C (set): renamed from isset(), because this clashes
16002         with some HP-UX macros (grr).
16003
16004 2001-02-06  Allan Rae  <rae@lyx.org>
16005
16006         * LaTeX.h: Another bug fix.  Missing std:: this time.
16007
16008 2001-02-04  Allan Rae  <rae@lyx.org>
16009
16010         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16011         floats problem. I've left it commented out because it's not quite
16012         correct.  It should also test that the current object is a table or
16013         figure inset.  But I haven't gotten around to figuring out how to do
16014         that.  I *think* it'll be something like: "table" == inset.type()
16015
16016         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16017         bool.
16018
16019 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16020
16021         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16022         all the citation/databases/styles in the auxilary file.
16023         (run): Rerun latex if there was a babel language error.
16024
16025 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16026
16027         * text.C (Backspace): Preserve the font when changing newline char
16028         with a space.
16029         (BreakParagraph): If the cursor is before a space, delete the space.
16030
16031         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16032
16033 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16034
16035         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16036         new argument (code).
16037         (ChangeCitationsIfUnique): New method.
16038
16039         * paragraph.C (GetPositionOfInset): Handle bibkey.
16040
16041 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16042
16043         * BufferView_pimpl.h: change type of Position::par_pos to
16044         LyXParagraph::size_type.
16045
16046 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16047
16048         * BufferView_pimpl.C (savePosition, restorePosition): Write
16049         messages to minibuffer.
16050
16051 2001-01-28  José Matos  <jamatos@fep.up.pt>
16052
16053         * buffer.C (makeDocBookFile): adds support for document language.
16054         A silly restriction on the name of LatexCommand types where removed.
16055         Added support for CDATA sections, allows to chars unescaped, used
16056         among others in code, to avoid escape < and >.
16057
16058 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16059
16060         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16061         saved positions instrad of a stack. Furthermore, a position is
16062         stored using paragraph id/paragraph position.
16063
16064         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16065         Remove LFUN_REF_BACK.
16066
16067 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16068
16069         * converter.C (dvipdfm_options): New method.
16070
16071 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16072
16073         * vspace.C (isValidLength): Fix for empty input string.
16074
16075 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16076
16077         * LyXAction.C (init): change description of LFUN_FIGURE to
16078         "Insert Graphics"
16079
16080 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * LaTeX.C: add using directive
16083
16084 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * MenuBackend.C (expand): Fix the sorting of the formats.
16087
16088 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * lyx_main.C: tiny error message fix
16091
16092 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16095         calling fl_initialize(). This fixes the problem with ',' as
16096         decimal separator in text files.
16097
16098 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16099
16100         * trans.C (process): Fix the keymap bug.
16101
16102 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16103
16104         * LaTeX.C (scanAuxFiles): New method. Provides support for
16105         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16106         (scanLogFile) Scan for "run BibTeX" messages.
16107
16108         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16109         OT1 font encoding. Also, load the aecompl package if the ae
16110         package is loaded.
16111
16112         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16113
16114 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16115
16116         * texrow.C (increasePos): turn two error messages into debug
16117         messages.
16118
16119 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16120
16121         * LaTeX.C (scanAux): Handle the \@input macro.
16122         (runBibTeX): Use scanAux().
16123
16124         * language.C (latex_options_): New field.
16125
16126         * LaTeXFeatures.C (getMacros): Add language macros.
16127
16128         * buffer.C (makeLaTeXFile): Small fix.
16129
16130 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16133
16134         * text2.C: add a using directive.
16135
16136 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16137
16138         * BufferView2.C:
16139         * lyx_gui_misc.h:
16140         * lyxfr1.C:
16141         * lyxfunc.C: kill LyXBell.
16142
16143 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * text.C (IsBoundary): Remove the error message
16146
16147         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16148
16149         * lyxrc.C (setDefaults): Correct initialization value for
16150         font_norm_type.
16151
16152 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16153
16154         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16155         gotoError().
16156
16157         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16158         and GotoNextNote().
16159
16160         * src/LyXAction.C: Added reference-next.
16161
16162         * text.C (InsertChar): Use contains instead of strchr.
16163
16164         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16165
16166 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16169         alignment commands (when needed).
16170
16171         * text.C (InsertChar): Add ':' to number separator chars.