]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2b2d73b568ebe11d652b5e4ae94309ad1bb0e2dc
[lyx.git] / src / ChangeLog
1 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
4         the cursor is correct (bug 1694)
5
6 2004-10-13  José Matos  <jamatos@lyx.org>
7
8         * output_docbook.C (docbookParagraphs): fix closing tags in the
9         end of the document. 
10
11 2004-10-09  José Matos  <jamatos@lyx.org>
12
13         * buffer.C: format up to 237.
14         * bufferparams.C (write): use tostr to convert booleans to strings.
15         
16 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
19
20 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * LaTeX.C: implement use of babel language in xindy.
23
24 2004-10-05  José Matos  <jamatos@lyx.org>
25
26         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
27         Add new translators to help reading and writing the lyx file.
28
29 2004-10-05  José Matos  <jamatos@lyx.org>
30
31         * ParagraphParameters.C (read):
32         * text.C (readParToken): replace nexToken by more appropriate lex
33         methods.
34
35 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
36
37         * LaTeX.C (runMakeIndex):
38         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
39         (usually 'makeindex') configurable.
40
41         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
42         with a variable rather than with a number.
43
44 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * output_latex.C (TeXOnePar): make sure font setting is the first
47         thing that gets output (and the last at the end). Should fix bug
48         1404.
49
50 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
51
52         * pch.h: use proper signal include
53
54         * LaTeX.h: Use preferred calling of Boost.Signal
55         * buffer.h: ditto
56
57 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
58
59         * pch.h: dont include <boost/function/function0.hpp>
60
61         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
62
63         * paragraph_pimpl.h: remove usage of ShareContainer
64
65         * paragraph_pimpl.C: remove initialization of ShareContainer.
66
67 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         Fix bug #1666
70
71         * BufferView.C (putSelectionAt): change the semantics when
72         backwards == true: now, this just swaps cursor and anchor wrt the
73         forward case
74
75         * BufferView.h (putSelectionAt): add some documentation
76
77         * lyxfind.C (findBackwards): rewrite using while(). In particular,
78         make sure backwardChar is done at least once (to avoid getting
79         stuck)
80         (findNextChange): use putSelectionAt in the forward direction
81         (operator()): use Paragraph::isWord
82
83 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
84
85         * Spacing.C (set): c_str fix
86
87 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * lyx_cb.C (Reconfigure): quote the name of configure script in
90         case it contains spaces
91
92 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
93
94         * client: new dir
95
96         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
97         (BOOST_LIBS): use top_buildir when looking for the file
98
99 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
100
101         * pch.h: do not use include boost/format.hpp, multiple symbols
102                 will result (gcc bug)
103
104
105 2004-08-23  José Matos  <jamatos@lyx.org>
106
107         * bufferparams.C (readToken): fix reading of the author field.
108
109 2004-08-20  José Matos  <jamatos@lyx.org>
110
111         * lyxrc.C: remove support/translator.h inclusion since it is not used.
112
113 2004-08-20  José Matos  <jamatos@lyx.org>
114
115         * lyxlex.[Ch] (findToken): remove function.
116
117         * ParagraphParameters.C (findToken):
118         * bufferparams.C (findToken): replace call for previous function
119         with local copy. This local function has one more argument, the
120         read string argument.
121
122 2004-08-16  José Matos  <jamatos@lyx.org>
123
124         * ParagraphParameters.C (write):
125         * Spacing.C (writeFile):
126         * bufferparams.C (writeLaTeX):
127         * lyx_cb.C (Reconfigure):
128         * paragraph.C (write):
129         * tabular.C (write): remove unnecessary space at end of line.
130
131
132 2004-08-16  José Matos  <jamatos@lyx.org>
133
134         * text.C (readParagraph): remove debug message.
135
136 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
139         crash
140
141         * output_plaintext.C (asciiParagraph): set depth correctly
142
143         * outputparams.h: add member depth
144
145         * paragraph_funcs.C (ownerPar): remove.
146
147         * text2.C (setCounter): remove first_pit; comment out some
148         non-working code that uses ownerPar
149
150         * BufferView.C (getParentLanguage): remove. Not used anymore, and
151         uses ownerPar
152
153 2004-08-16  José Matos  <jamatos@lyx.org>
154
155         * text.C (readParToken, readParagraph, read): report all unknown tokens.
156         For the same level of importance use the same chanel to report problems.
157         (read): add code to deal with \begin_body and \end_body.
158
159
160 2004-08-15  José Matos  <jamatos@lyx.org>
161
162         * lyxlex.C (getString): fix comment, buffer::readBody is now
163         buffer:readDocument.
164
165         * tex-strings.C (string_papersize): Default -> default,
166         Custom -> custom, for consistency with other options.
167
168 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
169
170         * pch.h: new file
171
172         * Makefile.am: support pch
173
174 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * text.C (readParToken): remove the static LyXFont variable and
177         pass it as a parameter instead. This fixes a nasty bug where an
178         inset will be inserted with a bad font in some situations
179         (readParagraph): adapt
180
181         * text2.C (setCounter): reduce number of calls to pars_[pit]
182
183         * text.C (singleWidth): add an assert, fix a test
184
185         * rowpainter.C (paintText): reduce number of calls to singleWidth
186
187         * paragraph.C (isHfill):
188         (isNewline): ws only
189
190 2004-08-14  André Pönitz  <poenitz@gmx.net>
191
192         * text.C:
193         * text2.C:
194         * rowpainter.C:
195         * lyxtext.h (several functions): use a Paragraph & argument
196         instead of par_type
197
198 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * metricsinfo.h: add a new field ltr_pos to PainterInfo
201
202         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
203
204         * text.C (singleWidth): remove useless test
205
206 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * tabular.h: remove bogus comments
209
210         * tabular.C (getDescentOfRow):
211         (isPartOfMultiColumn): add assertions
212
213         * lyxlength.C (inPixels): remove #warning
214
215 2004-08-14  André Pönitz  <poenitz@gmx.net>
216
217         * paragraph.h: inline getChar()
218
219         * BufferView.h: remove unused declarations
220
221 2004-08-14  José Matos  <jamatos@lyx.org>
222
223         * Buffer.[Ch] (readDocument): new name for old readBody.
224         * Buffer.C: new file format, new keywords: \begin_document,
225         \begin_header, \begin_body, \end_body.
226
227         * bufferparams.C (readToken): replace all calls to lex.nextToken
228         by lex.next(). Do the same to eatLine except where really needed.
229
230         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
231         line when writing to the lyx file.
232
233         * output_plaintext.C (asciiParagraph): fix Bibliography style
234         handling.
235
236         * text.C (read): fix end of file handling.
237
238 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * MenuBackend.C (Menu::operator[]): new method to access
241         individual menu items
242         (Menu::hasFunc): new method. search for an item that corresponds
243         to a given func
244         (MenuBackend::specialMenu): new method
245         (MenuBackend::expand): if a special menu has been set, skip
246         entries whose func() appears in this menu
247
248 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
249
250         * text3.C: use Debug::DEBUG a bit more
251
252         * text.C (leftMargin): try to simplify a tiny bit change var x to
253         l_margin. Dont output the wide margins always.
254         (rightMargin): no margin in inner texts
255
256         * rowpainter.h (nestMargin): new func
257         (changebarMargin): new func
258         (rightMargin): new func
259
260         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
261         now functions.
262         (paintLast): ditto
263
264         * factory.C (createInset): modify setDrawFrame
265
266         * cursor.C: use Debug::DEBUG a bit more
267
268 2004-08-14  André Pönitz  <poenitz@gmx.net>
269
270         * coordcache.[Ch]:
271         * Makefile.am: new files to accomodate an 'external' (x,y)-position
272         cache for all insets in (at least partially) visible (top-level)
273         paragraphs.
274
275         * BufferView_pimpl.C: reset external coord cache before every update.
276         This means the coord cache only contains valid entries.
277
278 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
279
280         bug 1096
281         * BufferView_pimpl.C (getInsetByCode): move function out of class
282         and change in to a template in anon namespace. Also fix to do what
283         suits us better.
284
285 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
286
287         bug 1305
288         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
289         of char
290         (breakParagraph): rename par to par_offset and use a local
291         reference. Add code to keep the language over a rebreak.
292         (breakParagraphConservative): rename par to par_offset, use a
293         local reference
294         (mergeParagraph): ditto
295         (outerHook): ditto
296         (isFirstInSequence): ditto
297         (outerFont): rename pit to par_offset
298
299         * paragraph.C: ws change
300         * paragraph.h: ditto
301         * text3.C: ditto
302         * text.C: ditto
303
304 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
307         treatment for ']'
308
309         * paragraph.C (simpleTeXOnePar): when we have a \item with
310         optional argument, enclose the argument with curly brackets (in
311         case it contains a closing square bracket)
312
313         * text2.C (editXY):
314         * text2.C (editXY):
315         * text3.C (checkInsetHit): constify
316
317 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
320         documents (bug 1629)
321
322 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         Fix toggling of collapsable insets with the mouse (bug 1558)
325
326         * lyxfunc.C (dispatch): adapt to LCursor changes
327
328         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
329         make sure that dispatch is not invoked twice
330
331         * cursor.C (needsUpdate): new method
332         (dispatch): return void
333         (result): new method, to access the DispatchResult of the cursor.
334
335 2004-08-13  José Matos  <jamatos@lyx.org>
336
337         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
338
339 2004-08-13  André Pönitz  <poenitz@gmx.net>
340
341         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
342
343         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
344           multiple cells
345
346 2004-08-12  André Pönitz  <poenitz@gmx.net>
347
348         * text3.C: take out the 'cursor right' form insertInset and only
349         do it in those places when it is really needed. Fixes crash on
350         C-m...
351
352 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
355
356         * BufferView_pimpl.C (setBuffer): initialize the current font of
357         the underlying LyXText
358
359 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * kbsequence.C (print): use UI native formatting for menu
362         shortcuts
363
364         * text.C (insertChar): call Paragraph::insertChar with a font
365         argument (cosmetic)
366
367         * paragraph.C (insertInset, insertChar): the version that takes a
368         LyXFont argument is now a wrapper around the other one (the
369         opposite used to be true).
370
371         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
372         argument. Font setting is done in Paragraph now.
373
374 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * outputparams.h: add new members intitle and lang.
377
378         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
379         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
380
381 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
382
383         * text3.C (dispatch): remove special handling of button 4 and 5,
384         it is now taken care of in the frontend code.
385
386 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * Spacing.h: add <string> (STLPort compile fix)
389
390 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
391
392         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
393
394 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
395
396         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
397         to bool.
398
399         * converter.C (showMessage): inherit from unary_function, make
400         operator() const.
401
402         * buffer.C (writeFile): initialize retval
403
404         * InsetList.h: rename private variable list to list_
405         * InsetList.[Ch]: adjust accordingly.
406
407 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
408
409         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
410         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
411         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
412         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
413         * ParagraphParameters.C, LaTeXFeatures.C: replace
414         "support/std_sstream.h" with <sstream>
415
416 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
417
418         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
419         * lyxsocket.C (LyXServerSocket): ditto
420         (serverCallback): ditto
421
422 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
423
424         * LaTeXFeatures.C: check release date when loading jurabib.
425
426 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
427
428         * lyxserver.C (startPipe): call register_socket_callback
429         (endPipe): call unregister_socket_callback
430
431 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
432
433         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
434         (LyXServerSocket): register the callback
435         (LyXServerSocket): unregister the callback
436         (fd): delete function
437         (serverCallback): improve error checking and setup the callbacks.
438         (dataCallback): change arg to fd.
439         (writeln): new func (copied fro the client socket) used for server
440         write to client.
441         (LyXDataSocket): simplify
442         (~LyXDataSocket): close ann unregiser callback
443         (server): delete function
444         (fd): delete function
445         (readln): small changes, improve some std::string usage
446         (writeln): constify a bit
447
448 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
451         Qt frontend
452
453 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * BufferView_pimpl.C (setBuffer): set the layout combox value only
456         after it has been populated
457
458 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text2.C (insertInset): move cursor when inserting inset.
461
462 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * kbmap.C (findbindings): a couple of new methods. returns a
465         container of kb_sequence objects. The real work is done by the
466         private recursive version
467         (printbindings): uses findbindings to print out a bracketed list
468         of bindings (renamed from findbinding).
469
470         * MenuBackend.C (binding): use kb_keymap::findbindings
471
472         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
473
474 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
475
476         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
477
478 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * paragraph.C (isWord): return true on insets that report
481         isLetter().
482
483         * text.C (getWord): use Paragraph::isWord to decide what is in a
484         word and what is not; fix bug 1609.
485
486 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
487
488         * tex-strings.C: add "none" to string_paperpackages[], fixes
489         off-by-one-error in the paperpackage selection.
490
491         * lyxlex.[Ch]:
492         * tex-strings.[Ch]: char const * string[n]
493         -> char const * const string[]
494
495 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
498         command, return early.
499
500 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
501
502         * debug.h: add DEBUG to enum and fix size of ANY.
503
504         * debug.C: add support for Debug::DEBUG
505         (showTags): cast errorTags.level to unsigned int
506
507         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
508         (redoCurrentBuffer): ditto
509         (updateScrollbar): ditto
510         * cursor.C (dispatch): ditto
511         * text2.C (setLayout): ditto
512         (setFont): ditto
513         (updateCounters): ditto
514         (editXY): ditto
515         (deleteEmptyParagraphMechanism): ditto
516
517 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
520         annotations to cleanup the Makefile slightly.
521
522 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * lyxrc.C: do not set user_email to a default value but use empty
525         instead. The entry used to be translated, which does not work
526         since at the point where lyxrc is constructed there is no
527         translation service available
528
529         * messages.C (getLocaleDir): remove and use directly
530         lyx_localedir() instead
531
532 2004-06-02  Angus Leeming  <leeming@lyx.org>
533
534         Fix crash caused by dereferencing null pointer 'exportdata' in
535         OutputParams by creating a new ExportData variable on the heap,
536         storing it in a boost::shared_ptr.
537         The crash was triggered when generating an Instant Preview
538         of an external inset.
539
540         * Makefile.am: add outputparams.C
541
542         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
543         (c-tor): allocate memory to it.
544
545         * exporter.C (c-tor): associated changes.
546
547 2004-06-01  Angus Leeming  <leeming@lyx.org>
548
549         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
550         contains data before calling isInset(0). (Bug 1513.)
551
552 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * exporter.C (checkOverwrite): new method
555         * exporter.C (copyFile): new method
556         * exporter.C (Export): copy referenced files to the document dir
557         * exporter.[Ch]: new class ExportedFile
558         * exporter.[Ch]: new class ExportData. Contains currently the
559         names of referenced external files
560         * outputparams.h: add exportdata member.
561
562 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
563
564         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
565         version.C-tmp
566
567 2004-05-19  Angus Leeming  <leeming@lyx.org>
568
569         * LaTeXFeatures.C:
570         * ToolbarBackend.C:
571         * bufferparams.C:
572         * lyxfunc.C: small changes due to the introduction of namespace
573         lyx::frontend and the moving of namespace biblio to lyx::biblio.
574
575 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * text3.C (dispatch): supress update when only moving the cursor
578         * cursor.C (selHandle): remove commented code
579
580 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
581
582         * paragraph.C (startTeXParParams): correct column count
583         * CutAndPaste.C (pasteSelection): remove const_cast
584         * output_docbook.C (docbookParagraphs): remove const_cast
585         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
586         const_cast and return ParagraphList::const_iterator
587         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
588         * output_plaintext.C (writeFileAscii): remove const_cast
589         * paragraph.[Ch] (simpleTeXOnePar): make const
590         * paragraph_funcs.C (outerPar): use const iterators
591         * paragraph_pimpl.C (validate): use const iterators
592         * text.C (setHeightOfRow): use const iterators
593
594 2004-05-17  Angus Leeming  <leeming@lyx.org>
595
596         * lfuns.h:
597         * LyXAction.C (init): new LFUN_INSET_REFRESH.
598
599         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
600         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
601         if the citation engine has changed.
602
603 2004-05-14  José Matos  <jamatos@lyx.org>
604
605         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
606         if the textclass does not provide it. Have it different for sgml and
607         xml.
608         support the language of document.
609         * output_docbook.C (docbookParagraphs):
610         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
611         first anchor as the id of the paragraph, remove special case code.
612         * sgml.C (escapeChar): escape only < & >.
613
614 2004-05-14  Angus Leeming  <leeming@lyx.org>
615
616         * bufferparams.h: move biblio::CiteEngine enum here to minimize
617         dependencies on src/frontends/controllers/biblio.h. Define a
618         CiteEngine_enum wrapper class to enable the enum to be forward
619         declared.
620
621 2004-05-12  Angus Leeming  <leeming@lyx.org>
622
623         * buffer.C: up LYX_FORMAT to 234.
624         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
625         use_numerical_citations with a single biblio::CiteEngine cite_engine
626         variable.
627         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
628
629 2004-05-13  José Matos  <jamatos@lyx.org>
630
631         * converter.h:
632         * converter.C (Converter, readFlags): add xml member.
633         * outputparams.h: add XML flavor.
634         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
635
636 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         * lyxfunc.C (dispatch):
639         (getStatus): fix handling of LFUN_SEQUENCE
640
641 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * debug.C (showLevel): do not forget the end-of-line marker
644
645 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * kbmap.C (read): do not stop parsing a bind file when an error
648         occurs (bug 1575)
649
650 2004-04-29  Angus Leeming  <leeming@lyx.org>
651
652         * cursor.C:
653         * factory.C:
654         * pariterator.C:
655         * text2.C: wrap a bunch of #warning statements
656         inside #ifdef WITH_WARNINGS blocks.
657
658 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
659
660         * buffer.C: increment format to 233.
661
662 2004-04-28  Angus Leeming  <leeming@lyx.org>
663
664         * BufferView_pimpl.C:
665         * lyxfunc.C:
666         * text3.C:
667         s/updateToolbar()/updateToolbars()/
668         s/Toolbar.h/Toolbars.h/
669
670 2004-04-28  Angus Leeming  <leeming@lyx.org>
671
672         * BufferView.[Ch] (c-tor):
673         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
674         No longer passes these data to the WorkArea generator.
675
676 2004-04-28  Angus Leeming  <leeming@lyx.org>
677
678         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
679
680 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
681
682         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
683
684 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * output_latex.C (TeXEnvironment): make sure that there is a line
687         break before \end{foo} for the last paragraph of a document
688         (TeXOnePar): if the paragraph is at the end of the document (or
689         inset) and the language has to be reset, then make sure that the
690         line break is _before_ the language command, not after (fixes bug
691         1225); also make sure that the language reset command is the first
692         thing after the paragraph (to ensure proper nesting of
693         environments and thus fix bug 1404)
694
695 2004-04-21  John Levon  <levon@movementarian.org>
696
697         * ToolbarBackend.h:
698         * ToolbarBackend.C: make "name" be a programmatic name
699         and a gui_name field.
700
701         * lyxfunc.C: display the minibuffer on M-x
702
703 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
706         (bug 1526)
707
708 2004-04-19  Angus Leeming  <leeming@lyx.org>
709
710         * BufferView_pimpl.C (setBuffer): changed preview interface.
711
712         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
713         possible values.
714
715 2004-04-19  John Levon  <levon@movementarian.org>
716
717         * BufferView_pimpl.C:
718         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
719
720 2004-04-05  Angus Leeming  <leeming@lyx.org>
721
722         * text.C (redoParagraphs): add call to updateCounters(), thereby
723         fixing the missing "Figure #:" label from the caption of a
724         figure float.
725
726 2004-04-13  Angus Leeming  <leeming@lyx.org>
727
728         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
729         cursor is clicked out of an inset.
730
731 2004-04-13  Angus Leeming  <leeming@lyx.org>
732
733         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
734         than an InsetOld one.
735
736 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * format.[Ch]: add editor to Format
739         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
740         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
741
742 2004-04-08  André Pönitz  <poenitz@gmx.net>
743
744         * metricsinfo.h: remove PainterInfo::width member
745
746 2004-04-08  Angus Leeming  <leeming@lyx.org>
747
748         * lyx_sty.C (boldsymbol_def): modify so that it outputs
749         "\providecommand" rather than "\newcommand", thereby preventing
750         clashes with packages that define "\boldsymbol" themselves.
751         Eg, beamer.
752
753 2004-04-08  Angus Leeming  <leeming@lyx.org>
754
755         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
756         thereby squashing an unnecessary warning.
757
758 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
759
760         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
761         setBuffer()
762
763 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
764
765         * BufferView.C (setCursor): call redoParagraph (some insets could
766         have been opened)
767         (putSelectionAt): remove the 'double update' trick
768
769         * BufferView_pimpl.C (fitCursor): call refreshPar
770         (workAreaDispatch): remove an uneeded update call
771         (dispatch): remove some manual update calls
772
773         * cursor.[Ch]: remove cached_y_, updatePos
774         (selHandle): set noUpdate when appropriate
775
776         * lyxfunc.C (dispatch): track if we need an update
777
778         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
779
780         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
781         (paintSelection): cheap optimization, do not call cursorX when not
782         needed
783         (paintPars): change signature
784         (refreshPar): add
785         (paintText): adjust
786         (paintTextInset): adjust
787
788         * text.C: adjust
789
790 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * lengthcommon.C: compilation fix: remove explicit array size from
793         unit_name[] and friends
794
795 2004-04-05  Angus Leeming  <leeming@lyx.org>
796
797         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
798
799         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
800         present only for the preferences dialog.
801         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
802
803 2004-04-05  Angus Leeming  <leeming@lyx.org>
804
805         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
806         to enable the frontends to export changes to lyxrc correctly.
807
808         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
809
810 2004-04-07  André Pönitz  <poenitz@gmx.net>
811
812         * cursor.[Ch] (selClear, adjust): remove math
813
814         * cursor_slice.C: more agressive assert
815
816         * lyxfunc.C:
817         * BufferView_pimpl.C: rework mouse event dispatch
818
819         * dociterator.C:
820         * paragraph.C:
821         * text2.C:
822         * text3.C: adjust
823
824 2004-04-05  André Pönitz  <poenitz@gmx.net>
825
826         * cursor.[Ch] (valign, halign...): remove unneeded functions
827
828 2004-04-05  Angus Leeming  <leeming@lyx.org>
829
830         * lyxlength.[Ch] (unit_name et al.): const-correct.
831
832 2004-04-05  Angus Leeming  <leeming@lyx.org>
833
834         * BufferView_pimpl.C:
835         * buffer.C:
836         * counters.C:
837         * cursor.C:
838         * lyxfunc.C
839         * paragraph.C:
840         * pariterator.C:
841         * text.C:
842         * text2.C:
843         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
844
845 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
846
847         * text3.C (getStatus): add LFUN_BEGINNINGBUF
848
849 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * lyxfind.C: add a couple of inTexted() tests + other small fixes
852         * BufferView_pimpl.[Ch] (getStatus)
853         * BufferView.[Ch] (getStatus): add
854         * lyxfunc.C (getStatus): move lfuns handled in
855         BufferView::dispatch to te function above
856         * Cursor.C (setSelection): set selection() = true
857
858 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
861
862 2004-03-31  Angus Leeming  <leeming@lyx.org>
863
864         * lyxfunc.C (dispatch): Fall through to the generic
865         Dialogs::show("preamble").
866
867 2004-03-31  Angus Leeming  <leeming@lyx.org>
868
869         * lyxfunc.C (dispatch): Fall through to the generic
870         Dialogs::show("spellchecker").
871
872 2004-03-31  Angus Leeming  <leeming@lyx.org>
873
874         * lyxfunc.C (getStatus, dispatch): changed invocation of the
875         preferences dialog.
876
877 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * BufferView.C
880         * cursor.[Ch]
881         * dociterator.[Ch]:
882         * insetiterator.[Ch]:
883         * lyxfind.C:
884         * lyxfunc.C:
885         * pariterator.[Ch]:
886         * text2.C:
887         * undo.[Ch]: s/DocumentIterator/DocIterator/g
888
889 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
890
891         * BufferView.C (setCursor, putSelectionAt): call edit to open the
892         insets where we are putting the cursor.
893
894 2004-03-31  Angus Leeming  <leeming@lyx.org>
895
896         * lfuns.h:
897         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
898
899         * lyxrc.[Ch] (read, write): overloaded member functions taking
900         a std::[io]stream arguments.
901
902         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
903
904 2004-03-31  Angus Leeming  <leeming@lyx.org>
905
906         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
907         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
908
909         * lyxtextclass.C (load): if the text class couldn't be loaded, then
910         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
911
912 2004-03-31  Angus Leeming  <leeming@lyx.org>
913
914         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
915         the LFUN_ALL_INSETS_TOGGLE code.
916
917 2004-03-30  Angus Leeming  <leeming@lyx.org>
918
919         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
920         has died. Fall through to the generic Dialogs::show("document").
921
922 2004-03-30  Angus Leeming  <leeming@lyx.org>
923
924         * lfuns.h:
925         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
926         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
927
928         * lyxfunc.C (getStatus, dispatch): define the actions for these
929         lfuns. Little more than a cut and pste job from ControlDocument.C
930
931         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
932
933 2004-03-30  Angus Leeming  <leeming@lyx.org>
934
935         * lfuns.h:
936         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
937         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
938
939         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
940         open/closed state of ollapsable insets. Usage:
941
942         all-inset-toggle <state> <name>, where
943         <state> == "open" || "closed" || "toggle" and
944         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
945
946         * lyxtext.h, text2.C (toggleInset): removed.
947
948         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
949         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
950         now passes LFUN_INSET_TOGGLE to the found inset.
951
952         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
953         is now invoked as "all-insets-toggle toggle branch".
954
955 2004-03-30  Angus Leeming  <leeming@lyx.org>
956
957         * dociterator.C:
958         * insetiterator.C:
959         * pariterator.[Ch]: added/corrected header blurb.
960
961 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
962
963         * dociterator.[Ch]: add an inset_ member
964         (backwardPos): implemented
965         (backwardPos, forwardPos): use inset_ when the stack is empty.
966         (doc_iterator_begin, doc_iterator_end): implemented
967         * pariterator.[Ch]: adjust, add begin, end
968         * insetiterator.[Ch]: adjust, add begin, end
969         * cursor.C:
970         * document.C:
971         * BufferView.C:
972         * BufferView_pimpl.C:
973         * CutAndPaste.C: adjust
974
975 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
976
977         * buffer.C: increment file format to 232.
978         * LaTeXFeatures.C: add bibtopic package.
979         * bufferparams.[Ch]: param \use_bibtopic.
980
981         * lyxrc.[Ch]: add lyxrc bibtex_command
982         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
983
984         * buffer.C: increment file format to 231.
985
986 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
987
988         * dociterator.C: implement forwardPar
989         * iterators.[Ch]: remove, replaced by
990         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
991         * BufferView.C:
992         * BufferView_pimpl.C:
993         * CutAndPaste.C:
994         * buffer.C:
995         * bufferview_funcs.C:
996         * cursor.C:
997         * lyxfind.C
998         * lyxfunc.C
999         * paragraph_funcs.C
1000         * toc.C:
1001         * Makefile.am: adjust
1002
1003 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * CutAndPaste.C (pasteSelection): fix 2 crashes
1006         (eraseSelection): fix a crash
1007         * paragraph_funcs.C: remove a warning
1008
1009 2004-03-28  Angus Leeming  <leeming@lyx.org>
1010
1011         * lfuns.h:
1012         * LyXAction.C (init): new LFUN_PRINT.
1013
1014         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1015
1016 2004-03-27  Angus Leeming  <leeming@lyx.org>
1017
1018         * lfuns.h:
1019         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1020
1021         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1022
1023 2004-03-27  Angus Leeming  <leeming@lyx.org>
1024
1025         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1026         insetlist always contains non-null pointers to insets.
1027
1028 2004-03-26  Angus Leeming  <leeming@lyx.org>
1029
1030         * src/BufferView_pimpl.C:
1031         * src/CutAndPaste.C:
1032         * src/buffer.C:
1033         * src/iterators.C:
1034         * src/output_plaintext.C:
1035         * src/outputparams.h:
1036         * src/paragraph_funcs.C:
1037         * src/rowpainter.C:
1038         * src/text.C:
1039         * src/text2.C:
1040         * src/frontends/controllers/ControlErrorList.C:
1041         * src/frontends/gtk/FileDialogPrivate.C:
1042         * src/frontends/gtk/GPainter.C:
1043         * src/frontends/gtk/GToolbar.C:
1044         * src/frontends/qt2/QRef.C:
1045         * src/mathed/math_scriptinset.C: squash compiler warnings.
1046
1047 2004-03-26  Angus Leeming  <leeming@lyx.org>
1048
1049         * ispell.C (LaunchIspell::start):
1050         * lyx_cb.C (AutoSaveBuffer::start):
1051         invoke run(DontWait) rather than runNonBlocking().
1052
1053 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1054
1055         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1056
1057 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * kbsequence.C (print): adjust
1060
1061         * kbmap.C (printKeySym): rename and change signature
1062         (printKey): use LyXKeySym::print()
1063
1064 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * undo.C: add using std::advance to compile for stlport
1067
1068 2004-03-24  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1071         it leads to a crash when no buffer is present.
1072
1073 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074             Martin Vermeer  <martin.vermeer@hut.fi>
1075
1076         * lyxfunc.C (dispatch):
1077         * bufferparams.C (readToken): use the new LColor::setColor
1078
1079         * LColor.[Ch] (setColor): new version that takes two strings as
1080         argument and creates a new color entry if necessary
1081
1082 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1083
1084         * buffer.C (makeLaTeXFile): if the main latex file that is
1085         processed is usually a subdocument of some master, then pretend
1086         for a while that it is actually the master
1087
1088 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1089
1090         * buffer.C (getLabelList):
1091         (getBibkeyList): use getMasterBuffer()
1092         (getMasterBuffer): new method. Returns the main document in the
1093         case where one is using included documents.
1094
1095 2004-03-25  André Pönitz  <poenitz@gmx.net>
1096
1097         * Makefile.am:
1098         * iterators.[Ch]:
1099         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1100
1101         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1102
1103         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1104         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1105
1106         * ParameterStruct.h: merge with ParagraphParameters
1107
1108         * lyxtext.h: remove LyXText::parOffset() and getPar()
1109
1110         * text3.C: Remove all 'manual' update calls. We do now one per user
1111         interaction which is completely sufficient.
1112
1113         * Bidi.C:
1114         * BufferView.[Ch]:
1115         * BufferView_pimpl.C:
1116         * FontIterator.[Ch]:
1117         * MenuBackend.C:
1118         * ParagraphParameters.[Ch]:
1119         * buffer.C:
1120         * buffer.h:
1121         * bufferlist.C:
1122         * cursor.[Ch]:
1123         * cursor_slice.[Ch]:
1124         * dociterator.[Ch]:
1125         * errorlist.[Ch]:
1126         * factory.C:
1127         * lfuns.h:
1128         * lyxfind.C:
1129         * lyxfunc.C:
1130         * output_docbook.[Ch]:
1131         * output_latex.[Ch]:
1132         * output_linuxdoc.[Ch]:
1133         * output_plaintext.[Ch]:
1134         * paragraph.[Ch]:
1135         * paragraph_funcs.[Ch]:
1136         * paragraph_pimpl.[Ch]:
1137         * rowpainter.C:
1138         * tabular.[Ch]:
1139         * text.C:
1140         * text2.C:
1141         * toc.C:
1142         * undo.[Ch]: adjust
1143
1144         * frontends/controllers/ControlDocument.C:
1145         * frontends/controllers/ControlErrorList.C:
1146         * frontends/controllers/ControlSpellchecker.C:
1147         * insets/inset.C:
1148         * insets/inset.h:
1149         * insets/insetbase.h:
1150         * insets/insetbibitem.C:
1151         * insets/insetbox.C:
1152         * insets/insetbranch.C:
1153         * insets/insetcaption.C:
1154         * insets/insetcharstyle.C:
1155         * insets/insetcharstyle.h:
1156         * insets/insetcollapsable.C:
1157         * insets/insetcollapsable.h:
1158         * insets/insetert.C:
1159         * insets/insetfloat.C:
1160         * insets/insetfoot.C:
1161         * insets/insetmarginal.C:
1162         * insets/insetnote.C:
1163         * insets/insetoptarg.C:
1164         * insets/insettabular.C:
1165         * insets/insettext.C:
1166         * insets/insettext.h:
1167         * insets/insetwrap.C:
1168         * mathed/math_mboxinset.C:
1169         * mathed/math_nestinset.C:
1170         * mathed/math_scriptinset.C:
1171         * mathed/math_scriptinset.h:
1172         * support/types.h:
1173
1174 2004-03-24  Angus Leeming  <leeming@lyx.org>
1175
1176         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1177         deal with any child processes that have finished but are waiting to
1178         communicate this fact to the rest of LyX.
1179
1180 2004-03-24  Angus Leeming  <leeming@lyx.org>
1181
1182         64-bit compile fixes.
1183
1184         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1185         (c-tor): pass lyx::pos_types rather than ints.
1186
1187         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1188         lyx::pos_type.
1189
1190         * text.C (Delete): compile fix.
1191         (getPar): ensure that function declaration is the same as that in
1192         the header file.
1193
1194 2004-03-23  Angus Leeming  <leeming@lyx.org>
1195
1196         * ispell.C (LaunchIspell):
1197         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1198         a boost::shred_ptr rather than a std::auto_ptr.
1199
1200 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1201
1202         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1203         handle LFUN_FILE_INSERT_*
1204
1205         * lyxrc.C (setDefaults, getDescription, output, read):
1206         * lyxrc.h: remove ps_command
1207
1208 2004-03-22  Angus Leeming  <leeming@lyx.org>
1209
1210         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1211         Ensure that error_handler is processed once only and that all data
1212         is saved before attempting to output any warning messages.
1213
1214         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1215
1216 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1219
1220 2004-03-19  André Pönitz  <poenitz@gmx.net>
1221
1222         * cursor.[Ch] (reset): take main text inset as argument
1223
1224         * BufferView: adjust
1225         * BufferView_pimpl.C: adjust
1226
1227         * paragraph.[Ch]: fix completely broken operator=()
1228
1229 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * LColor.C (getFromLyXName): make sure that the color name is used
1232         as lowercase.
1233
1234 2004-03-17  Angus Leeming  <leeming@lyx.org>
1235
1236         * lfuns.h:
1237         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1238
1239         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1240         dialog and to kill a forked process.
1241
1242 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * text2.C (setCursorFromCoordinates): fix font problem
1245
1246 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1247
1248         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1249         bogus "rebuild cursor" code
1250
1251 2004-03-11  André Pönitz  <poenitz@gmx.net>
1252
1253         * buffer.[Ch]: use InsetText instead of LyXText as container for
1254         the main lyx text.
1255
1256         * dociterator.[Ch]: drop the BufferView * member which is not needed
1257         anymore after the change to buffer.C
1258
1259         * paragraph_funcs.C:
1260         * text.C:
1261         * text2.C:
1262         * BufferView.[Ch]:
1263         * BufferView_pimpl.[Ch]:
1264         * cursor.[Ch]:
1265         * cursor_slice.[Ch]: adjust
1266
1267         * text3.C: fix bug in mathDispatch
1268
1269 2004-03-08  André Pönitz  <poenitz@gmx.net>
1270
1271         * undo.[Ch]: use 'StableDocumentIterator' as base for
1272         the Undo struct.
1273
1274 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1275
1276         * LaTeXFeatures.C:
1277         * bufferparams.[Ch]: add jurabib support and param.
1278
1279         * LaTeX.C: add FIXME/comment.
1280
1281 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * buffer.C: increment file format to 230.
1284
1285 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * cursor.C (dispatch): avoid infinite loops
1288
1289 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1290
1291         * rowpainter.C (paintSelection): fix x coordinates
1292
1293 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * text.C (rowBreakPoint): fix breaking before displayed insets
1296
1297 2004-03-01  André Pönitz  <poenitz@gmx.net>
1298
1299         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1300
1301         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1302
1303         * Makefile.am:
1304         * BufferView.C:
1305         * BufferView_pimpl.C:
1306         * buffer.C:
1307         * lyxfind.C:
1308         * lyxfunc.C:
1309         * text.C:
1310         * text2.C:
1311         * text3.C: adjust
1312
1313 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * lyxtext.h:
1316         * text.C:
1317         * text2.C:
1318         * rowpainter.C:
1319         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1320         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1321
1322 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1323
1324         * Bidi.[Ch] (computeTables): const correctness
1325         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1326         fill_hfill, fill_label_hfill and x from Row
1327         * lyxtext.h: prepareToPrint returns a RowMetrics
1328         * rowPainter.C: adjust
1329         * text.C (prepareToPrint): use width, not textWidth. adjust
1330         (redoParagraphInternal, cursorX): adjust
1331         * text2.C (getColumnNearX): adjust
1332         (init): put a default value to the top LyXText::width
1333
1334 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1337
1338 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1339
1340         * lyxtext.h: add FontIterator class
1341
1342         * text.C (FontIterator, operator*, operator->, operator++): add
1343         (rowBreakPoint, setRowWidth): adjust (fixing a
1344         rebreaking bug)
1345
1346 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * BufferView_pimpl.C (workAreaDispatch): allow also
1349         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1350
1351 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * text.C (rowBreakPoint): fix a bug showing with very large insets
1354
1355 2004-02-25  André Pönitz  <poenitz@gmx.net>
1356
1357         * text3.C:
1358         * cursor.[Ch]: move some mathed specific code to mathed
1359
1360 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1361
1362         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1363         use_tempdir in preferences
1364         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1365         tempfile creation
1366         * lyx_main.C: ensure that tempdir is valid
1367         * lyxlex.h: correct typo
1368         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1369         * paragraph.[Ch] (isMultiLingual): make const
1370         * cursor.[Ch] (openable): make const
1371
1372 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1373
1374         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1375
1376 2004-02-20  André Pönitz  <poenitz@gmx.net>
1377
1378         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1379
1380         * cursor.[Ch]: prepare for localized getStatus()
1381
1382         * lyxtext.h:
1383         * tabular.C:
1384         * text.C:
1385         * text2.C:
1386         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1387
1388 2004-02-20  André Pönitz  <poenitz@gmx.net>
1389
1390         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1391
1392 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * text2.C (setCursorFromCoordinates): switch to absolute coords
1395         (cursorUp): adjust
1396         (cursorDown): adjust
1397         * text3.C (dispatch): adjust
1398
1399 2004-02-16  André Pönitz  <poenitz@gmx.net>
1400
1401         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1402           insets/ChangeLog)
1403
1404         * cursor_slice.[Ch]: remove unneeded acessor function
1405
1406         * lyxtext.h: rename rtl() to isRTL()
1407
1408         * rowpainter.C:
1409         * tabular.C:
1410         * text.C:
1411         * text2.C:
1412         * text3.C: adjust
1413
1414 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1415
1416         * rowpainter.C (paintSelection): coord fix
1417
1418 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1419
1420         * Spacing.C: compile fix
1421
1422 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1423
1424         * cursor.C (dispatch): restore current_ before returning
1425
1426 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1427
1428         * text2.C (cursorUp, cursorDown): fix coords
1429         (moveUp): fix crash
1430
1431 2004-02-12  André Pönitz  <poenitz@gmx.net>
1432
1433         * lyxtext.h:
1434         * text.C:
1435         * text2.C:
1436         * text3.C: add LCursor & parameter to most cursor movement functions
1437           remove usage of LyXText::cursorRow() and cursorPar()
1438
1439         * cursor.[Ch]: add textRow() needed members
1440
1441         * BufferView.C:
1442         * BufferView_pimpl.C:
1443         * paragraph.[Ch]:
1444         * BufferView.C:
1445         * BufferView_pimpl.C: adjust
1446
1447 2004-02-11  André Pönitz  <poenitz@gmx.net>
1448
1449         * lyxfunc.C:
1450         * BufferView.[Ch]:
1451         * BufferView_pimpl.C: shift undo/redo handling
1452
1453         * cursor.[Ch]: fix mathed crash
1454
1455         * lyxfind.C:
1456         * lyxtext.h: move selectionAsText to LCursor
1457
1458         * output_latex.C:
1459         * paragraph.C:
1460         * text.C:
1461         * text2.C:
1462         * text3.C: adjust
1463
1464         * rowpainter.C: fix excessive drawing
1465
1466 2004-02-06  André Pönitz  <poenitz@gmx.net>
1467
1468         * BufferView.[Ch]:
1469         * BufferView_pimpl.[Ch]:
1470         * text3.C: move some text specific LFUN handling
1471
1472 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1473
1474         * text3.C (checkInsetHit): adjust coords
1475         * text2.C (getColumnNearX): adjust coords
1476         (edit): adjust coords
1477         * text.C (getRowNearY): add two asserts
1478
1479 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1480
1481         * converter.C:
1482         * format.C: add using std::distance to compile on gcc 2.95/stlport
1483
1484 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1487
1488 2004-02-04  André Pönitz  <poenitz@gmx.net>
1489
1490         * BufferView.[Ch] (insertInset):
1491         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1492
1493         * text2.C:
1494         * text3.C: adjust
1495
1496 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1499         on the default clause of the switch
1500         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1501         wasn't catched by LCursor::dispatch
1502
1503 2004-02-03  André Pönitz  <poenitz@gmx.net>
1504
1505         * BufferView.C:
1506         * cursor.[Ch]: some additional asserts
1507
1508         * undo.[Ch]: remove LyXText dependency in interface
1509
1510         * lyxfunc.C: adjust
1511
1512         * lyxtext.h (firstPar, lastPar): remove dead functions
1513
1514         * text.C:
1515         * text2.C:
1516         * text3.C:
1517         * paragraph.[Ch]: adjust
1518
1519 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * lyxfind.C (find): fix argument order in call to ::find
1522
1523 2004-02-02  André Pönitz  <poenitz@gmx.net>
1524
1525         * cursor.[Ch]: remove direct access to anchor
1526
1527         * text.C: remove findText() hack
1528
1529 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * iterators.[Ch] (lockPath): remove in favour of...
1532         * BufferView.[Ch] (setCursor): this addition
1533         * BufferView.C (putSelectionAt): adjust
1534         * undo.C (performUndoOrRedo): adjust
1535         * lyxfunc.C (dispatch): adjust
1536
1537 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * iterators.C (lockPath): add a missing slice
1540         * undo.C (performUndoOrRedo): remove redundant positioning code
1541
1542 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1543
1544         * vc-backend.C (scanMaster): ";" -> ';'
1545
1546 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1547
1548         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1549         std::binary_function
1550
1551         * lyxtextclass.C (compare_name): rename to...
1552         (LayoutNamesEqual): ...this
1553
1554         * lyxlex_pimpl.C (compare_tags): inherit from
1555         std::binary_function, put back into anon namespace
1556
1557         * lyxfind.C (MatchString): inherig from std::binary_function
1558         (findChange): use empty() istead of !size()
1559
1560         * format.C (FormatNamesEqual): new functor
1561         (getFormat): use it
1562         (getNumber): use it
1563         (add): use it
1564         (erase): use it
1565         (setViewer): use it
1566
1567         * converter.C (compare_Converter): rename to...
1568         (ConverterEqual): ...this, and fixup a bit.
1569         (getConverter): use it, and make function const
1570         (getNumber): use it, and make function const
1571         (add): use it
1572         (erase): use it:
1573
1574         * bufferlist.C: add using boost::bind
1575
1576         * MenuBackend.C (MenuNamesEqual): new functor
1577         (hasMenu): use it, and make function const
1578         (hasSubmenu): use nested bind to get rid of compare_memfun.
1579
1580 2004-01-30  André Pönitz  <poenitz@gmx.net>
1581
1582         * BufferView_pimpl.C:
1583         * cursor.C:
1584         * cursor.h:
1585         * cursor_slice.[Ch]:
1586         * lyxfunc.C:
1587         * lyxtext.h:
1588         * paragraph_funcs.C:
1589         * paragraph_funcs.h:
1590         * rowpainter.C:
1591         * text.C:
1592         * text2.C:
1593         * text3.C: move some of the edit(x,y) handling to the insets
1594         some coordinate changes.
1595
1596 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1597
1598         * text.C: add using statements for std::advance and std::distance
1599
1600         * paragraph.C: add using statement for std::distance
1601
1602         * lyxfind.C: add using statement for std::advance
1603
1604         * cursor.C (region): remove std:: from swap
1605         (openable): use nucleus in stead of operator->
1606
1607         * BufferView.C: add using statements for std::distance and std::swap
1608
1609 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1610
1611         * iterators.C: Remove the pimple, move the needed structures to
1612         the header file. Create accessor for the positions stack.
1613         (asPosIterator): remove function
1614
1615         * PosIterator.C (PosIterator): move constructors to top of file
1616         (PosIterator): reimplement the constructor taking a ParIterator in
1617         terms of setFrom.
1618         (setFrom): new function
1619         (operator!=): inline it
1620
1621 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1622
1623         * lyxfind.C (replaceAll): use std::advance
1624
1625         * iterators.h: inherit from std::iterator.
1626
1627         * PosIterator.C (advance, distance): remove
1628         * PosIterator.h: interit from std::iterator.
1629
1630 2004-01-26  André Pönitz  <poenitz@gmx.net>
1631
1632         * BufferView.[Ch]:
1633         * BufferView_pimpl.[Ch]:
1634         * InsetList.[Ch]:
1635         * PosIterator.[Ch]:
1636         * buffer.h:
1637         * bufferview_funcs.C:
1638         * cursor.[Ch]:
1639         * cursor_slice.h:
1640         * factory.[Ch]:
1641         * iterators.[Ch]:
1642         * lyxfind.C:
1643         * lyxfunc.C:
1644         * lyxtext.h:
1645         * output_docbook.C:
1646         * output_latex.C:
1647         * output_linuxdoc.C:
1648         * output_plaintext.C:
1649         * paragraph.[Ch]:
1650         * paragraph_funcs.[Ch]:
1651         * paragraph_pimpl.[Ch]:
1652         * rowpainter.C:
1653         * tabular.C:
1654         * tabular.h:
1655         * text.C:
1656         * text2.C:
1657         * text3.C: more IU:  dumps most of the rest of the mathcursor
1658     implementation into cursor.[Ch]; "globalize" a bit of it.
1659
1660 2004-01-25  Angus Leeming  <leeming@lyx.org>
1661
1662         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1663
1664 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * LaTeXFeatures.h: add nice_ and nice() const
1667         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1668
1669 2004-01-20  André Pönitz  <poenitz@gmx.net>
1670
1671         * BufferView.[Ch]:
1672         * BufferView_pimpl.C:
1673         * PosIterator.C:
1674         * bufferview_funcs.C:
1675         * cursor.[Ch]:
1676         * cursor_slice.[Ch]:
1677         * factory.C:
1678         * iterators.C:
1679         * lyx_cb.C:
1680         * lyxfind.C:
1681         * lyxfunc.C:
1682         * lyxtext.h:
1683         * rowpainter.C:
1684         * text.C:
1685         * text2.C:
1686         * text3.C:
1687         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1688           LCursor and mathcursor parts to LCursor and InsetBase.
1689
1690 2004-01-15  André Pönitz  <poenitz@gmx.net>
1691
1692         * cursor_slice.[Ch]: add a few covienience functions
1693
1694         * funcrequest.[Ch]: remove BufferView * member
1695
1696         * BufferView_pimpl.C:
1697         * cursor.C:
1698         * factory.[Ch]:
1699         * lyxfind.[Ch]:
1700         * lyxfunc.C:
1701         * lyxtext.h:
1702         * text3.C:
1703         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1704
1705 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1706
1707         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1708         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1709
1710 2004-01-13  André Pönitz  <poenitz@gmx.net>
1711
1712         * textcursor.[Ch]:
1713         * lyxtext.h: hide cursor and selection anchor behind accessor function
1714
1715         * BufferView.C:
1716         * BufferView_pimpl.[Ch]:
1717         * PosIterator.C:
1718         * bufferview_funcs.C:
1719         * cursor.h:
1720         * lyxfind.C:
1721         * lyxfunc.C:
1722         * text.C:
1723         * text2.C:
1724         * text3.C:
1725         * undo.C: adjust
1726
1727         * cursor.h:
1728         * cursor_slice.[Ch]: some integer type changes for inset unification
1729
1730         * lyxcursor.[hC]: remove, it's CursorSlice now.
1731
1732         * Makefile.am:
1733         * BufferView_pimpl.[Ch]:
1734         * bufferview_funcs.C:
1735         * cursor_slice.C:
1736         * lyxtext.h:
1737         * text.C:
1738         * text2.C:
1739         * text3.C:
1740         * textcursor.[Ch]: adjust
1741
1742 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * text2.C (undoSpan): add and use
1745         * text.C (breakParagraph): use undoSpan (fix bug 578)
1746         * lyxtext.h: adjust
1747
1748 2004-01-08  Angus Leeming  <leeming@lyx.org>
1749
1750         * BufferView_pimpl.C (MenuInsertLyXFile):
1751         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1752         * lyxfunc.C (menuNew, open, doImport):
1753         FileFilterList change to the FileDialog open and save functions.
1754
1755 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1756
1757         * ShareContainer.h: make isEqual and isUnique adaptable
1758
1759         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1760
1761 2004-01-07  Angus Leeming  <leeming@lyx.org>
1762
1763         * LyXAction.C:
1764         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1765
1766         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1767
1768         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1769         functions replacing find, replace and replaceAll.
1770
1771         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1772         LFUN_WORDFIND(FORWARD|BACKWARD).
1773
1774 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1775
1776         * text.C (breakParagraph): remove an outdated #warning
1777
1778 2004-01-07  André Pönitz  <poenitz@gmx.net>
1779
1780         * lyxfind.C: somewhat clearer logic
1781
1782         * text.C: prevent crash in cursorX on unitialized row cache
1783
1784 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * lyxcursor.[Ch] (operator>): add
1787         * textcursor.C (selStart, selEnd): use std::min and std::max
1788
1789 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1790
1791         * Chktex.C: include boost/format.hpp
1792
1793 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1794
1795         * InsetList.C: replace functor MathcIt with adaptable functor
1796         InsetTablePosLess
1797         (insetIterator): modify accordingly
1798
1799         * BranchList.h: move the BranchNamesEqual functor here from...
1800         * BranchList.C: ... to here
1801
1802         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1803         SameName and match.
1804         (add): replace a finding loop with std::find_if.
1805
1806 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1807
1808         * output_docbook.C: moving LatexParam functionality into
1809         .layout files
1810
1811 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1812
1813         * buffer.C: increment format to 229.
1814
1815 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1816
1817         * LaTeXFeatures.C:
1818         * lyx_sty.[Ch]: remove minipageindent_def
1819
1820         * LyXAction.C:
1821         * factory.C:
1822         * lfuns.h:
1823         * lyxfunc.C:
1824         * text3.C: remove LFUN_INSET_MINIPAGE
1825
1826 2003-12-28  Angus Leeming  <leeming@lyx.org>
1827
1828         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1829
1830 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * text2.C (setParagraph): fix off-by-one crash
1833
1834 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1835
1836         * output_docbook.C: header stuff for AGU
1837
1838 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * text2.C (redoCursor): remove
1841         * text.C:
1842         * text3.C:
1843         * BufferView_pimpl.C: remove calls to redoCursor and
1844         setCursor(cursor.par(), cursor.pos()) all around
1845
1846 2003-12-15  Angus Leeming  <leeming@lyx.org>
1847
1848         * buffer.C: up the format to 228.
1849
1850 2003-12-15  André Pönitz  <poenitz@gmx.net>
1851
1852         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1853         slices
1854
1855         * Makefile.am:
1856
1857         * BufferView_pimpl.C:
1858         * cursor.[Ch]:
1859         * lyxcursor.[Ch]:
1860         * rowpainter.[Ch]:
1861         * lyxtext.h:
1862         * text.C:
1863         * text2.C:
1864         * text3.C: adjust
1865
1866 2003-12-15  Angus Leeming  <leeming@lyx.org>
1867
1868         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1869         than getFromGUIName to manipulate the color.
1870
1871 2003-12-14  Angus Leeming  <leeming@lyx.org>
1872
1873         * BranchList.[Ch]: minimize the API.
1874         (Branch::getBranch, getColor): now return a 'const &'.
1875         (Branch::setSelected) now returns a bool set to true if the
1876         selection status changes.
1877         (BranchList::clear, size, getColor, setColor, setSelected,
1878         allBranches, allSelected, separator): removed.
1879         (BranchList::find): new functions, returning the Branch with
1880         the given name.
1881         (BranchList::add, remove): return a bool indicating that
1882         the operation was successful.
1883
1884         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1885         new InsetBranch::isBranchSlected member function.
1886
1887         * LColor.[Ch]: mimimize the API.
1888         (fill): renamed as addColor and made private.
1889         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1890         versions of these functions taking a string arg have been removed.
1891
1892         * bufferparams.C (readToken):
1893         * lyxfunc.C (dispatch):
1894         * lyxrc.C (read): changes due to the altered BranchList and
1895         LColor APIs.
1896
1897         * factory.C (createInset, readInset): changes due to altered
1898         InsetBranch c-tor.
1899
1900 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1901
1902         * factory.C:
1903         * lyxfunc.C: remove insetminipage. "minipage-insert"
1904         now produces a frameless minipage box inset.
1905
1906 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1907
1908         * textcursor.[Ch] (selStart,selEnd): add new methods
1909         remove selection::start, end, use LyXCursor::operator<
1910         * lyxcursor.[Ch] (operator<): add
1911         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1912         * BufferView.[Ch] (unsetXSel): add
1913         * text2.C (clearSelection): use unsetXSel,adjust
1914         * text.C: adjust
1915         * text3.C: adjust
1916         * rowpainter.C: adjust
1917         * bufferview_funcs.C (put_selection_at): adjust
1918
1919 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * BufferView_pimpl.C: small coord. correction
1922
1923 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1924
1925         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1926         dragging over the splash screen.
1927
1928 2003-12-11  Angus Leeming  <leeming@lyx.org>
1929
1930         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1931         as it is now handled in LyXText::dispatch.
1932
1933         * text3.C (doInsertInset): remove a level of nesting.
1934
1935 2003-12-11  Angus Leeming  <leeming@lyx.org>
1936
1937         * factory.C (createInset): changes due to the changed interface to
1938         InsetCommandMailer::string2params.
1939
1940 2003-12-10  Angus Leeming  <leeming@lyx.org>
1941
1942         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1943         'dialog-show-new-inset <inset name>'
1944
1945 2003-12-10  Angus Leeming  <leeming@lyx.org>
1946
1947         * buffer.C: up the format to 227.
1948
1949         * factory.C: the box inset is now identified simply by 'Box'.
1950
1951 2003-12-10  Angus Leeming  <leeming@lyx.org>
1952
1953         * buffer.C: up the format to 226.
1954
1955         * factory.C: the note inset is now identified simply by 'Note'.
1956
1957 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1960         when a pit is enough. Standarize a couple of loops.
1961
1962 2003-12-05  Angus Leeming  <leeming@lyx.org>
1963
1964         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1965         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1966         data to the re-worked "log" dialog.
1967
1968 2003-12-03  André Pönitz  <poenitz@gmx.net>
1969
1970         * PosIterator.C:
1971         * iterators.C:
1972         * lyxtext.h:
1973         * output_latex.C:
1974         * paragraph_funcs.C:
1975         * text.C:
1976         * text2.C: use Inset::getText instead of Inset::getParagraph
1977
1978 2003-12-03  André Pönitz  <poenitz@gmx.net>
1979
1980         * buffer.[Ch]:
1981         * lyxtext.h:
1982         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1983         InsetText::read() as LyXText::read()
1984
1985 2003-12-02  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1988         type. Add a comment in the implementation that the function uses
1989         the stream's bad() function rather than fail() as the std::streams
1990         would do.
1991
1992 2003-12-02  André Pönitz  <poenitz@gmx.net>
1993
1994         * lyxlex.[Ch]: make interface more similar to std::stream
1995
1996         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1997
1998 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1999
2000         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2001
2002 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2003
2004         * vspace.[Ch]: remove VSpace::NONE
2005
2006 2003-12-01  André Pönitz  <poenitz@gmx.net>
2007
2008         * buffer.[Ch]:
2009         * lyxtext.h: move ParagraphList member to LyXText
2010         rename LyXText::ownerParagraphs to LyXText::paragraph
2011
2012         * CutAndPaste.C:
2013         * bufferview_funcs.C:
2014         * iterators.[Ch]:
2015         * lyx_cb.C:
2016         * paragraph.C:
2017         * rowpainter.C:
2018         * tabular.C:
2019         * text.C:
2020         * text2.C:
2021         * text3.C: adjust
2022
2023         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2024
2025         * undo.C: fix cursor positioning
2026
2027 2003-12-01  John Levon  <levon@movementarian.org>
2028
2029         * BufferView_pimpl.C: fix a crash on exit with
2030         a buffer open
2031
2032 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2033
2034         * BranchList.C: fix setSelected() method.
2035
2036 2003-11-28  André Pönitz  <poenitz@gmx.net>
2037
2038         * ParagraphParameters.[Ch]:
2039         * ParameterStruct.h: remove space above/below from Paragraph to
2040          InsetVSpace
2041
2042         * BufferView_pimpl.C:
2043         * factory.C:
2044         * lyxfunc.C:
2045         * lyxtext.h:
2046         * output_latex.C:
2047         * paragraph.C:
2048         * paragraph_funcs.C:
2049         * rowpainter.[Ch]:
2050         * text.C:
2051         * text2.C:
2052         * text3.C: adjust
2053
2054 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2055
2056         * factory.C: Syntax change for CharStyles
2057
2058 2003-11-28  André Pönitz  <poenitz@gmx.net>
2059
2060         * BufferView.[Ch]:
2061         * BufferView.[Ch]:
2062         * buffer.[Ch]:
2063         * buffer.[Ch]: move LyXText member
2064
2065 2003-11-28  André Pönitz  <poenitz@gmx.net>
2066
2067         * BufferView.[Ch]: make LyXText * text a private member
2068
2069         * BufferView_pimpl.C:
2070         * cursor.C:
2071         * iterators.C:
2072         * lyx_cb.C:
2073         * lyxfind.C:
2074         * lyxtext.h:
2075         * rowpainter.[Ch]:
2076         * text.C:
2077         * text2.C:
2078         * undo.C: adjust
2079
2080         * output_plaintext.C: cleanup
2081
2082 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * buffer.C:
2085         * lyxtextclass.[Ch]: parametrize SGML document header
2086
2087 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2088
2089         * converter.[Ch]:
2090         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2091         getFlavor().
2092
2093 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * text2.C (setFont): rework using PosIterator (no more recursive)
2096         (setCharFont): no more needed
2097         (setLayout): no more selection cursors fiddling (done by redoCursor)
2098         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2099         destroy remaining ones)
2100
2101 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2104         * lyxtext.h: ditto
2105         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2106         selection cursors
2107         * lyxfunc.C: adjust
2108         * text3.C: adjust + re-allow multi par depth changes
2109         * textcursor.C: simplify a bit
2110
2111 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2112
2113         * src/buffer.C:
2114         * src/lyxlayout.C:
2115         * src/lyxlayout.h:
2116         * src/lyxtext.h:
2117         * src/output_docbook.C:
2118         * src/output_latex.C:
2119         * src/paragraph.C:
2120         * src/paragraph.h:
2121         * src/sgml.C:
2122         * src/sgml.h:
2123         * src/text2.C: Introducing a number of tags parametrizing various
2124         XML formats that we may want to support
2125
2126 2003-11-25  André Pönitz  <poenitz@gmx.net>
2127
2128         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2129
2130         * lyxtext.h (leftMargin/rightMargin): simplify interface
2131
2132         * rowpainter.C:
2133         * text.C:
2134         * text2.C:
2135         * text3.C: adjust
2136
2137 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2138
2139         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2140         master file to any child files. Fixes bug 546.
2141
2142 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2145
2146 2003-11-24  André Pönitz  <poenitz@gmx.net>
2147
2148         * rowpainter.C: simplification
2149
2150         * text2.C (updateCounters): remove call to redoParagraph on
2151         changed labels as this is far too expensive.
2152
2153 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * converter.C (convert): fix a crash: this function gets
2156         called with buffer == 0 from importer code.
2157
2158 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2159
2160         * text3.C (cursorPrevious): make sure that we do not compare
2161         iterators form different containers.
2162         (cursorNext): ditto
2163
2164         * rowpainter.C (paintSelection): make sure that we do not compare
2165         iterators from different containers.
2166
2167         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2168         iterators from different ParagraphList containers.
2169         [NEXT] ditto
2170
2171         * text2.C (LyXText): change order of initialization slightly
2172         (operator=): new function. copy all variables except cache_par_
2173         (moveUp): make sure that we do not compare iterators from
2174         different ParagraphList constainers.
2175         (moveDown): ditto
2176
2177         * text.C (firstPar): new function
2178         (lastPar): new function
2179         (endPar): new function
2180
2181         * lyxtext.h: move things around and group public functions, public
2182         variables, private functions, private variables
2183
2184 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2185
2186         * factory.C: change call to InsetERT constructor to avoid
2187         additional invocation of method status
2188         * text2.C (toggleInset): remove redundant update() call
2189         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2190         instead of a Bufferview pointer
2191
2192 2003-11-21  André Pönitz  <poenitz@gmx.net>
2193
2194         * rowpainter.C: simplification
2195
2196 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * text3.C (dispatch): make possible to extend a word/row selection
2199         with the mouse
2200
2201 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2202
2203         * lyxtext.h: x0_,y0_ -> xo_,yo_
2204         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2205         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2206         * rowpainter.C (paintRows): paint full paragraphs
2207
2208 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2211         screen coordinates)
2212
2213 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * lyxtext.h: add x0_, y0_
2216         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2217         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2218
2219 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * text2.C (setCursorIntern): move the x_target update here *
2222         * text3.C: change some bv() to true/false in calls to
2223         cursorUp/Down/Right/Left
2224         * cursor.C: use helper function.
2225
2226 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2229         * paragraph_funcs.[Ch]: correct comment
2230         * rowpainter.C: do not paint selections away from bv->cursor()
2231         Fix a long standing selection painting bug.
2232         * text3.C: generalize mouse-selection code to LyXTexts other that
2233         top one
2234         * textcursor.C: do not use y coords if we can use par offsets
2235
2236 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2239         cursor position after e.g. inset insert)
2240
2241 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * lyxfind.C (replace): adjust to locking removal + some
2244         code simplification
2245
2246 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2249         of the path
2250
2251 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2252
2253         * lyxlayout.[Ch]:
2254         * output_docbook.C: XML sanitation: new layout
2255         parameters InnerTag and CommandDepth
2256
2257 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * BufferView_pimpl.C:
2260         * factory.C:
2261         * text3.C: Fix the insertion and modification of button-style
2262         insets
2263
2264 2003-11-13  André Pönitz  <poenitz@gmx.net>
2265
2266         * InsetList.[Ch]: remove deleteLyXText
2267
2268         * paragraph.[Ch]: cache beginOfBody position
2269
2270         * Bidi.C:
2271         * text.C:
2272         * text2.C:
2273         * text3.C: remove superfluous update() calls
2274
2275         * vspace.C: cleanup
2276
2277 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2278
2279         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2280         * BufferView.C (fitLockedInsetCursor): remove
2281         * cursor.[Ch] (getDim): add
2282         * text.C (getRowNearY): add faster version
2283         * text3.C: remove some update calls
2284
2285 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2286
2287         * LaTeXFeatures.C:
2288         * LyXAction.C:
2289         * MenuBackend.C:
2290         * MenuBackend.h:
2291         * dispatchresult.h:
2292         * factory.C:
2293         * lfuns.h:
2294         * lyxfunc.C:
2295         * lyxtextclass.C:
2296         * lyxtextclass.h:
2297         * text3.C: The Character Style /XML short element patch.
2298
2299 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2300
2301         * text3.C:
2302         * factory.C: Small step to solving 'unable to insert some insets'
2303         problem
2304
2305 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * cursor.[Ch] (updatePos): new function for updating the y
2308         position of the tip inset
2309         * bufferview_funcs.C (put_selection_at):
2310         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2311
2312 2003-11-11  André Pönitz  <poenitz@gmx.net>
2313
2314         * text.C: remove big comment on invalid Paragraph pointers as it is
2315         not valid anymore
2316
2317 2003-11-11  André Pönitz  <poenitz@gmx.net>
2318
2319         * text_funcs.[Ch]: merge with ...
2320
2321         * text.C: ... this
2322
2323         * lyxtext.h:
2324         * text2.C:
2325         * text3.C: adjust
2326
2327         * Makefile.am: remove text_funcs.[Ch]
2328
2329 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2330
2331         * cursor.C (getPos): return absolute cached y coord
2332
2333         * BufferView_pimpl.C (fitCursor): new simplistic code
2334         (workAreaDispatch): add a fitCursor call
2335
2336 2003-11-10  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView.[Ch]:
2339         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2340
2341 2003-11-10  André Pönitz  <poenitz@gmx.net>
2342
2343         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2344         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2345         indicate that the cursor needs to leave an inset
2346
2347         * lyxtext.h: remove inset locking
2348
2349         * cursor.[Ch]: re-implement functionality provided by inset locking
2350
2351         * BufferView.[Ch]:
2352         * BufferView_pimpl.[Ch]:
2353         * LyXAction.C:
2354         * bufferview_funcs.[Ch]:
2355         * factory.C:
2356         * funcrequest.[Ch]:
2357         * iterators.C:
2358         * lyx_cb.C:
2359         * lyxfind.C:
2360         * lyxfunc.C:
2361         * text.C:
2362         * text2.C:
2363         * text3.C:
2364         * undo.C: adjust
2365
2366 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2367
2368         * PosIterator.[Ch]: replace the stack with a vector, add inset
2369         accesor
2370         * iterators.[C]: adjust
2371
2372 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2375         replaced
2376         * paragraph_funcs.C (readParToken): put the correct id in the
2377         error item, not the id of the top paragraph
2378
2379 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2380
2381         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2382         * bufferview_funcs.C (put_selection_at): use the above
2383
2384 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2385
2386         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2387
2388 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * output_linuxdoc.h:
2391         * output_plaintext.h:
2392         * output.h:
2393         * output_docbook.h: add #include statements
2394
2395 2003-11-05  José Matos  <jamatos@lyx.org>
2396
2397         * output_docbook.[Ch]:
2398         * output_latex.[Ch]:
2399         * output_linuxdoc.[Ch]:
2400         * output_plaintext.[Ch]: New files for output formats.
2401         * output.[Ch]: New file for helper functions.
2402
2403         * buffer.[Ch]:
2404         * paragraph_funcs.[Ch]: output functions moved to new files.
2405
2406         * outputparams.h: rename of latexrunparams.h
2407
2408         * LaTeX.[Ch]:
2409         * buffer.[Ch]:
2410         * bufferlist.[Ch]:
2411         * converter.[Ch]:
2412         * exporter.C:
2413         * paragraph.[Ch]:
2414         * paragraph_funcs.[Ch]:
2415         * paragraph_pimpl.[Ch]:
2416         * tabular.[Ch]: rename ascii to plaintext
2417         and LatexRunParams to OutputParams.
2418
2419 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2420
2421         * iterators.[Ch] (text): require bv argument
2422         * undo.C (recordUndo):
2423         * lyxfunc.C (dispatch):
2424         * bufferview_funcs.C (put_selection_at): adjust
2425
2426 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2427
2428         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2429
2430 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2431
2432         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2433         nestings
2434
2435 2003-11-04  André Pönitz  <poenitz@gmx.net>
2436
2437         * cursor.[Ch]: restructure
2438
2439         * BufferView.[Ch]:
2440         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2441
2442         * iterators.[Ch] (asCursor): remove
2443
2444         * lfuns.h: remove LFUN_INSET_EDIT
2445
2446         * lyxfunc.C:
2447         * tabular.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2451
2452 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2453
2454         * lyxfind.[Ch]: complete overhaul
2455         * BufferView_pimpl.C:
2456         * lyxfunc.C: adjust
2457         * paragraph.[Ch] (insert): add
2458
2459 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2460
2461         * BufferView.[Ch]:
2462         * lyxtext.h:
2463         * text.C: remove dead spellcheck code
2464
2465 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2466
2467         * dispatchresult.h: add a val setter
2468
2469         * cursor.C (dispatch): use a tempvar for data_[i]
2470
2471 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2472
2473         * PosIterator.[Ch]: compile fix
2474
2475 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2476
2477         * text.C (cursorPar): deactivate the cursor cache
2478
2479 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2480
2481         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2482
2483 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * text3.C (dispatch): adjust for new DisptchResult semantics.
2486
2487         * lyxfunc.C (dispatch): handle update when return from
2488         Cursor::dispatch, adjust for new DispatchResult semantics.
2489
2490         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2491         DispatchResult(true) mean to not update. Add class functions for
2492         setting dispatched and update, as well as reading.
2493
2494         * cursor.C (dispatch): don't handle update here
2495
2496 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2499         * trans_mgr.C: adjust
2500
2501         * paragraph_funcs.C (readParToken): exception safety
2502
2503         * lyxvc.h: store the vcs pointer in a scoped_ptr
2504         * lyxvc.C: adjust
2505
2506         * lyxsocket.C (serverCallback): exception safety
2507
2508         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2509
2510         * ispell.C (clone): make it return a auto_ptr
2511
2512         * factory.C (createInset): exception safety
2513         (readInset): exception safety
2514
2515         * bufferlist.C (newBuffer): exception safety
2516
2517         * Thesaurus.C (Thesaurus): use initialization for aik_
2518
2519         * MenuBackend.C (expandToc): exception safety.
2520
2521 2003-11-03  André Pönitz  <poenitz@gmx.net>
2522
2523         * buffer.C:
2524         * buffer.h:
2525         * bufferview_funcs.C: remove getInsetFromId()
2526
2527         * lyxcursor.[Ch]:
2528         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2529
2530         * lyxfunc.C:
2531         * text2.C:
2532         * text3.C: adjust
2533
2534 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2535
2536         * PosIterator.C (distance, advance): new
2537         * bufferview_funcs.[Ch] (put_selection_at): new
2538         * iterators.[Ch] (lockPath): new
2539
2540 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2541
2542         * iterators.[Ch] (asPosIterator): added
2543         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2544         * PosIterator.[Ch]: added
2545
2546 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * text3.C:
2549         * lyxfunc.C:
2550         * cursor.C (dispatch):
2551         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2552
2553         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2554         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2555         contructor, add a class function dispatched. Remove operator>=
2556
2557 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2558
2559         * debug.C: only use the default constructor for debugstream
2560         (lyxerr) here.
2561
2562         * main.C (main): include debug.h and setup the lyxerr streambuf
2563         here.
2564
2565 2003-10-31  José Matos  <jamatos@lyx.org>
2566
2567         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2568
2569         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2570         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2571         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2572         * paragraph_pimpl.C (simpleTeXSpecialC):
2573         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2574         add LatexRunParams argument.
2575
2576         * exporter.C (Export): change call accordingly.
2577
2578         * latexrunparams.h: add new member to take care of the other backends.
2579 2003-10-30  José Matos  <jamatos@lyx.org>
2580
2581         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2582         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2583         factorise code for paragraph output.
2584         * buffer.[Ch]:
2585         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2586         move functions.
2587
2588 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * text3.C (dispatch):
2591         * lyxfunc.C (dispatch):
2592         * cursor.C (dispatch):
2593         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2594
2595         * dispatchresult.h: make the dispatch_result_t ctor explicit
2596
2597 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * sgml.[Ch]:
2600         * buffer.C: small refactoring of docbook stuff
2601
2602 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2605         meaning.
2606
2607 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2610         operator dispatch_result_t, and operators for == != and >=
2611
2612         * cursor.C (dispatch): adjust for operator dispatch_result_t
2613         removal. comment out call to update
2614
2615         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2616
2617 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * text3.C:
2620         * text2.C:
2621         * text.C:
2622         * lyxtext.h:
2623         * lyxfunc.C:
2624         * cursor.C:
2625         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2626         (dispatch):
2627
2628         * dispatchresult.h: new file, DispatchResult broken out of
2629         insets/insetbase.h
2630
2631         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2632
2633 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2634
2635         * text.C (rowBreakPoint): put a hack inside #if 0
2636
2637 2003-10-28  André Pönitz  <poenitz@gmx.net>
2638
2639         * lyxtext.h:
2640         * metricsinfo.C:
2641         * paragraph_funcs.C:
2642         * rowpainter.C:
2643         * text.C:
2644         * text2.C: general cleanup (lots of small stuff)
2645
2646 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * text2.C (cursorEnd): simple fix to the "end key goes to one
2649         before the end on last row" bug
2650
2651 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * text.C (backspace): fix the "zombie characters"
2654
2655 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2658
2659 2003-10-27  André Pönitz  <poenitz@gmx.net>
2660
2661         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2662
2663         * factory.C: handle new InsetPagebreak, InsetLine
2664
2665         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2666         and move handling into new InsetPagebreak, InsetLine
2667
2668         * BufferView_pimpl.C:
2669         * LyXAction.C:
2670         * ParagraphParameters.C:
2671         * ParameterStruct.h:
2672         * lyxfunc.C:
2673         * lyxtext.h:
2674         * paragraph.C:
2675         * paragraph.h:
2676         * paragraph_funcs.C:
2677         * paragraph_pimpl.C:
2678         * rowpainter.C:
2679         * text.C:
2680         * text2.C:
2681         * text3.C: adjust
2682
2683 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * text.C:
2686         * lyxrow_funcs.[Ch]:
2687         * Bidi.C:
2688         * paragraph.C:
2689         * lyxtext.h:
2690         * rowpainter.C:
2691         * text2.C:
2692         * text3.C: remove lastPos uses in favour of Row::endpos
2693
2694 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * undo.C (performUndoOrRedo): fix two crashes by setting a
2697         cursor by hand and reordering some calls. Use bv->lockInset instead
2698         of inset->edit because the latter loses cursor information
2699
2700 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2701
2702         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2703         by Martin
2704         (rowBreakPoint): fix width. change point to point + 1.
2705         Add a missing check.
2706
2707 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2708
2709         * MenuBackend.C:
2710         * lyxfunc.C: fix (at least partly) the problems
2711         with the Nav menu and headers inside branch insets
2712         reported by Kayvan
2713
2714 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * paragraph.C (getChar): add strong asserts
2717
2718         * lyxrow_funcs.C (lastPos): remove hideous hack
2719
2720         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2721         (fill): adjust to that (avoid an infinite loop)
2722
2723 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2724
2725         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2726
2727 2003-10-23  André Pönitz  <poenitz@gmx.net>
2728
2729         * RowList_fwd.h: change list<> to vector<> to gain speed
2730         after suggestion from Alfredo
2731
2732 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * lyxtext.h: move the bidi stuff from here...
2735         * text.C: and here
2736         * text2.C: and here
2737         * Bidi.[Ch]: ... to here
2738
2739 2003-10-23  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxtext.h:
2742         * text.C (isLastRow, isFirstRow): new functions
2743
2744         * paragraph.h: new width cache member
2745
2746         * rowpainter.C: replace RowList::iterator with Row & where possible
2747
2748         * lyxfunc.C: replace several view()->text with a single call
2749
2750         * toc.C: fix 'unused' warning
2751
2752 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2755         when woring with stream::pos_type
2756         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2757
2758 2003-10-22  André Pönitz  <poenitz@gmx.net>
2759
2760         * lyxtext.h:
2761         * text.C: use Row & instead of RowList::iterator
2762
2763         * lyxrow.h: rename end() to endpos()
2764
2765         * rowpainter.C:
2766         * text.C:
2767         * text2.C: adjust
2768
2769 2003-10-22  Angus Leeming  <leeming@lyx.org>
2770
2771         * buffer.[Ch] (fully_loaded): new member function, returning true
2772         only when the file has been loaded fully.
2773         Used to prevent the premature generation of previews and by the
2774         citation inset to prevent computation of the natbib-style label.
2775
2776         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2777         templates are all set up.
2778
2779         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2780
2781 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * text.C: fixed an "oops" in the "is a bit silly"
2784         bug fix
2785
2786 2003-10-21  André Pönitz  <poenitz@gmx.net>
2787
2788         * FuncStatus.[Ch]: small stuff, whitespace
2789
2790         * lyxfont.[Ch]: operator<<() for debug reasons
2791
2792         * lyxfunc.C:
2793         * lyxrow_funcs.C:
2794         * lyxtext.h: whitespace, spelling
2795
2796         * paragraph.C: naming of variables
2797
2798         * text.C:
2799         * text2.C: small stuff
2800
2801
2802 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * text.C: (1) finish off the inset display() work;
2805         (2) fix the "is a bit silly" bug (accessing char
2806         past end of par).
2807
2808 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2809
2810         * text.C: re-introduce display() for insets, fixing the
2811         various bugs (stretch of line above, math inset
2812         positioning, ...)
2813
2814 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2815
2816         * text.C (rightMargin): remove spurious semicolon
2817
2818         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2819         1415)
2820
2821 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * text3.C: fix one crash due to wrong cursor def
2824
2825 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * vc-backend.C (scanMaster): make the regex static
2828
2829         * LaTeX.C (scanAuxFile): make the regexs static
2830
2831         * text3.C (doInsertInset, dispatch, dispatch):
2832         * text2.C (cursorUp, cursorDown):
2833         * text.C (selectNextWordToSpellcheck):
2834         * BufferView_pimpl.C (dispatch):
2835         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2836
2837 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * lyxsocket.C: include <cerrno>
2840
2841 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * lyxfunc.C (dispatch): remove textcache stuff
2844
2845         * bufferlist.C (release): remove textcache stuff
2846         (closeAll): ditto
2847
2848         * TextCache.C: delete file
2849         * TextCache.h: delete file
2850
2851         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2852
2853         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2854         delete of the bv_->text.
2855         (resizeCurrentBuffer): remove texcache stuff
2856         (workAreaResize): ditto
2857
2858 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2861         action.
2862
2863 2003-10-16  André Pönitz  <poenitz@gmx.net>
2864
2865         * lyxrow.[Ch]:
2866         * paragraph.h:
2867         * rowpainter.C:
2868         * text.C:
2869         * text2.C:
2870         * text3.C: speed up by storing y positions per paragraph plus per-row
2871         offset instead of having a 'full' y position in the row.
2872
2873 2003-10-15  André Pönitz  <poenitz@gmx.net>
2874
2875         * iterators.[Ch]:
2876         * iterators.[Ch]:
2877         * undo.[Ch]: make undo aware of inner insets
2878
2879 2003-10-14  Angus Leeming  <leeming@lyx.org>
2880
2881         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2882         static member functions LyX::ref() and LyX::cref.
2883         (lastfiles): new accessor functions for the new lastfiles_ member var.
2884         (addLyXView, views_): add a new LyXView to the list of views_.
2885         (updateInset): loop over all LyXViews to call their own updateInset
2886         member function, returning a pointer to the Buffer owning the inset.
2887
2888         * BufferView_pimpl.C (loadLyXFile):
2889         * MenuBackend.C (expandLastfiles):
2890         * bufferlist.C (MenuWrite, QuitLyX):
2891         lastfiles is no longer a global variable.
2892         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2893
2894         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2895         static function. Access through LyX::cref().emergencyCleanup().
2896
2897 2003-10-14  André Pönitz  <poenitz@gmx.net>
2898
2899         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2900
2901         * undo.[Ch]: restoring part of 'undo in insets'
2902
2903         * Makefile.am:
2904         * undo_funcs.[Ch]: merge with undo.[Ch]
2905
2906         * tabular.C: small cleansing stuff
2907
2908 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2909
2910         * paragraph_funcs.C (readParToken): report unknown insets as error
2911         boxes. Use the outer paragraph as location (also for unknown
2912         tokens).
2913
2914         * factory.C (readInset): do not abort on reading an unknown inset.
2915         Eat it and return 0.
2916
2917 2003-10-13  Angus Leeming  <leeming@lyx.org>
2918
2919         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2920
2921         * lyxrc.C: displayTranslator is now a function,
2922         declared in GraphicsTypes.h.
2923
2924 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2925
2926         * format.C: new placeholder $$a to pass the socket address.
2927
2928         * bufferlist.[Ch]: new function getBufferFromTmp.
2929
2930         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2931           files in the temporary dir.
2932
2933 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2934
2935         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2936
2937         * Makefile.am: add lyxsocket.[Ch].
2938
2939         * lyx_main.C (error_handler): handle SIGPIPE.
2940
2941 2003-10-13  André Pönitz  <poenitz@gmx.net>
2942
2943         * BufferView_pimpl.C:
2944         * lyxtext.h:
2945         * text.C:
2946         * text2.C:
2947         * text3.C:
2948         * undo_funcs.[Ch]: use paroffset_type instead of
2949           ParagraphList::iterators to prevent multiple conversion
2950           (and get a more robust interface)
2951
2952 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2955         * lyxtext.h: ditto
2956         * text3.C (dispatch): ditto
2957
2958 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2961         move the onlyfile, use onlyfile instead of foundfile in a couple
2962         of places.
2963
2964         * DepTable.C (update): flush the error stream a bit more
2965
2966 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * lyxserver.C (callback): adjust
2969
2970         * lyxfunc.C (getStatus): add a missing brace in commented code
2971         (ensureBufferClean): reindent
2972         (dispatch): delete version taking a string
2973
2974 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * LaTeX.C (deplog): move found file handlig from here...
2977         (handleFoundFile): .. to new function here.
2978         (deplog): make sure to discover several files mentioned on the
2979         same log line.
2980
2981 2003-10-10  André Pönitz  <poenitz@gmx.net>
2982
2983         * lyxfunc.C:
2984         * lyxtext.h:
2985         * tabular.C:
2986         * text.C:
2987         * text2.C:
2988         * text3.C: fix some of the tabular crashes
2989
2990 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2991
2992         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2993
2994         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2995
2996 2003-10-09  André Pönitz  <poenitz@gmx.net>
2997
2998         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2999
3000         * BufferView.C:
3001         * BufferView_pimpl.C:
3002         * bufferview_funcs.C:
3003         * lyx_cb.C:
3004         * lyxcursor.C:
3005         * lyxfind.C:
3006         * lyxfunc.C:
3007         * lyxtext.h:
3008         * text.C:
3009         * text2.C:
3010         * text3.C:
3011         * text_funcs.[Ch]:
3012         * textcursor.[Ch]:
3013         * undo_funcs.C: adjust
3014
3015 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * text2.C (incrementItemDepth): new function, use a backtracking
3018         algorithm to discover the correct item depth.
3019         (resetEnumCounterIfNeeded): new function, use a backtracking
3020         algorithm to discover if counter reset is needed.
3021         (setCounter): use them. Simplify a bit. Add different labels for
3022         different item depths for itemize.
3023
3024         * paragraph.C (Paragraph): remove initialization of enumdepth
3025         (operator=): ditto
3026
3027         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3028         enumerate and itemize. Change the type of itemdepth to signed char.
3029
3030 2003-10-08  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3033           thing assignable.
3034         * text.C:
3035         * text2.C: adjust
3036
3037         * tabular.[Ch]: fix crash after 'row-insert'
3038
3039 2003-10-08  Angus Leeming  <leeming@lyx.org>
3040
3041         Fix doxygen warnings.
3042
3043         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3044         Remove CutAndPaste:: prefix from header file declaration.
3045
3046         * LColor.h (fill): remove LColor:: prefix from declaration.
3047
3048         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3049         use lyx::depth_type rather than Paragraph::depth_type so that
3050         header file and .C file match.
3051
3052         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3053
3054         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3055         * aspell.C: \file aspell_local.C -> \file aspell.C
3056         * gettext.C: \file gettext.C -> \file src/gettext.C
3057         * gettext.h: \file gettext.h -> \file src/gettext.h
3058         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3059         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3060         * text.C: \file text.C -> \file src/text.C
3061
3062         * toc.C: move comment so that doxygen is not confused.
3063
3064 2003-10-07  Angus Leeming  <leeming@lyx.org>
3065
3066         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3067
3068 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3069
3070         * aspell.C:
3071         * aspell_local.h: add forgotten std::string's.
3072
3073 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3074
3075         * LaTeXFeatures.C:
3076         * LyXAction.C:
3077         * factory.C:
3078         * lfuns.h:
3079         * lyxfunc.C:
3080         * text3.C: The Box patch. Fancybox support, minipage, parbox
3081
3082 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3083
3084         * CutAndPaste.h:
3085         * DepTable.h:
3086         * FloatList.h:
3087         * LaTeXFeatures.h:
3088         * ParagraphParameters.h:
3089         * TextCache.h:
3090         * Thesaurus.h:
3091         * bufferlist.h:
3092         * exporter.h:
3093         * importer.h:
3094         * lastfiles.h:
3095         * lyxfind.h:
3096         * lyxfont.h:
3097         * lyxlex.h:
3098         * lyxtextclasslist.h:
3099         * messages.h:
3100         * paragraph.h:
3101         * paragraph_pimpl.C:
3102         * textcursor.h: add <string> and other small fixes to make Lars'
3103         std::string patch compile with STLport.
3104
3105 2003-10-06  Angus Leeming  <leeming@lyx.org>
3106
3107         * LColor.h: Add missing #include <string>.
3108
3109 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * All most all file in all subdirs: Make <string> be the prefered
3112         way of getting to std::string, add using declarations.
3113
3114 2003-10-06  André Pönitz  <poenitz@gmx.net>
3115
3116         * metricsinfo.C: initialize LyXFont before changing attribute.
3117         (fixes the 'math in \emph is upright' bug)
3118
3119 2003-10-06  André Pönitz  <poenitz@gmx.net>
3120
3121         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3122
3123 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3124
3125         * graph.C:
3126         * paragraph_pimpl.C: Small fixes to build using STLport
3127
3128 2003-10-02  André Pönitz  <poenitz@gmx.net>
3129
3130         * lyxfunc.C:
3131         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3132
3133 2003-10-01  André Pönitz  <poenitz@gmx.net>
3134
3135         * factory.C: assert early
3136
3137 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * lyx_main.C: remove the global debug object
3140
3141         * debug.h: adjust for new debugstream
3142
3143         * debug.C: adjust for new debugstream and keep the global debug
3144         object here.
3145
3146 2003-09-22  Angus Leeming  <leeming@lyx.org>
3147
3148         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3149         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3150         an incomplete class LyXFont.
3151
3152 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3153
3154         * factory.C: bug fix in branches
3155
3156 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * lyxfunc.C (processKeySym): adjust
3159         (dispatch): adjust
3160         (dispatch): change arg name from ev to func, adjust
3161         (sendDispatchMessage): ditto
3162
3163         * lyx_main.C (defaultKeyBindings): adjust keybindings
3164         (deadKeyBindings): ditto
3165
3166         * kbsequence.C (addkey): return a FuncRequest
3167
3168         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3169
3170         * kbmap.C (bind): take a FuncRequest as arg, adjust
3171         (read): adjust
3172         (lookup): adjust
3173         (defkey): change to take a FuncRequest as arg, adjust
3174         (findbinding): take a FuncRequest as arg, adjust.
3175
3176         * funcrequest.h (operator=): added
3177
3178         * funcrequest.C (FuncRequest): default kb_action changed from
3179         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3180
3181         * buffer.C (dispatch): simplify
3182         (dispatch): adjust to take a FuncRequest as arg, adjust
3183
3184         * boost.C (assertion_failed): change assertion message slightly
3185
3186         * ToolbarBackend.C (read): simplify
3187
3188         * MenuBackend.C (binding): adjust call to findbinding, add a
3189         message if no binding is found.
3190         (read): simplify
3191         (expandToc): correct by adding a empty FuncRequest
3192
3193         * LyXAction.C: include <boost/assert.hpp>
3194         (isPseudoAction): delete function
3195         (LookupFunc): change name to...
3196         (lookupFunc): this. change return type to FuncRequest.
3197         (getActionName): take kb_action as arg, simplify
3198         (funcHasFlag): add an assert, simplify.
3199
3200 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * toc.C (action): return a FuncRequest, simplify
3203
3204         * lyxfunc.C (processKeySym): adjust
3205         (getStatus): delete version that takes an int.
3206         (getStatus): adjust
3207         (dispatch): delete version that takes action as int
3208         (dispatch): adjust
3209         (sendDispatchMessage): simplify and adjust
3210
3211         * funcrequest.C (getArg): take unsigned int as arg
3212
3213         * ToolbarBackend.C (read): adjust
3214         (add): delete version that takes func as a string.
3215         (getIton): take a FuncRequest as arg
3216
3217         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3218         action.
3219
3220         * MenuBackend.C (MenuItem): add a new construct that only takes a
3221         Kind, simplify the constructor use for submenus.
3222         (add): adjust
3223         (expandLastfiles): adjust
3224         (expandDocuments): adjust
3225         (expandFormats): adjust
3226         (expandFloatListInsert): adjust
3227         (expandFloatInsert): adjust
3228         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3229
3230         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3231         Remove class variables lyx_pseudo_map and lyx_arg_map
3232
3233         * LyXAction.C (searchActionArg): delete function
3234         (getPseudoAction): delete function
3235         (retrieveActionArg): delete function
3236         (LookupFunc): make it return kb_action, simplify.
3237         (getActionName): simplify
3238
3239         * factory.C (createInset): fix new bug
3240
3241 2003-09-19  Angus Leeming  <leeming@lyx.org>
3242
3243         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3244         masterFilename_ parameter in the include inset.
3245
3246         * factory.C (createInset): changes due to the changes to InsetInclude.
3247
3248 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3249
3250         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3251
3252 2003-09-18  Angus Leeming  <leeming@lyx.org>
3253
3254         * buffer.C:
3255         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3256         Inset::fillWithBibKeys.
3257         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3258
3259 2003-09-18  Angus Leeming  <leeming@lyx.org>
3260
3261         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3262         variables.
3263         (ctor): pass and store a 'Buffer const &'
3264         (buffer): new member function.
3265
3266         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3267         '*this' to the LaTeXFeatures ctor.
3268
3269 2003-09-18  Angus Leeming  <leeming@lyx.org>
3270
3271         * LColor.h:
3272         * lyxfont.C:
3273         * lyxfont.h:
3274         * lyxtext.h:
3275         * text.C: rename EnumLColor as LColor_color.
3276
3277 2003-09-18  Angus Leeming  <leeming@lyx.org>
3278
3279         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3280         remove #include "insets/insetbase.h" from cursor.h.
3281
3282 2003-09-18  Angus Leeming  <leeming@lyx.org>
3283
3284         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3285         InsetOld_code to remove #include "inset.h".
3286
3287         * iterators.C: add #include "insets/inset.h"
3288
3289 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3290
3291         * BufferView.C: remove more locking stuff that apparently doesn't
3292         do anything sensible.
3293
3294 2003-09-16  André Pönitz  <poenitz@gmx.net>
3295
3296         * paragraph.[Ch]:
3297         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3298           performance boost.
3299
3300 2003-09-16  Angus Leeming  <leeming@lyx.org>
3301
3302         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3303
3304         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3305         arg/return type.
3306
3307         * paragraph.h: remove #include "lyxfont.h". Forward declare
3308         LyXFont_size.
3309
3310 2003-09-16  Angus Leeming  <leeming@lyx.org>
3311
3312         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3313         of support/textutils.h.
3314         (isWord): move the contents of support/textutils.h's IsWordChar here.
3315
3316         * buffer.C:
3317         * lyxfind.C:
3318         * rowpainter.C:
3319         * text.C:
3320         * text2.C: add #include "paragraph.h".
3321
3322         * rowpainter.C:
3323         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3324
3325 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * main.C:
3328         * lyx_main.C:
3329         * lyx_cb.C:
3330         * buffer.C:
3331         * LaTeX.C: use namespace alias for lyx::support::os
3332
3333 2003-09-16  Angus Leeming  <leeming@lyx.org>
3334
3335         * bufferparams.C:
3336         * bufferview_funcs.C:
3337         * factory.C:
3338         * lyxfunc.C:
3339         * paragraph_pimpl.C:
3340         * rowpainter.C:
3341         * text.C: add #include "LColor.h".
3342
3343 2003-09-16  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3346         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3347         return LyXFont &.
3348         Store the FontBits::color variable as an int rather than as an
3349         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3350         file.
3351
3352         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3353         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3354         string calls together.
3355
3356         * lyxrc.C: add #include "LColor.h".
3357
3358 2003-09-15  Angus Leeming  <leeming@lyx.org>
3359
3360         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3361         a cow_ptr.
3362
3363 2003-09-15  Angus Leeming  <leeming@lyx.org>
3364
3365         * LColor.h: add an EnumLColor wrapper for LColor::color.
3366
3367         * lyxfont.[Ch] (color, setColor, realColor):
3368         * lyxtext.h, text.C (backgroundColor):
3369         pass EnumLColor args to/from the functions, rather than LColor::color
3370         ones.
3371
3372         * lyxfont.h:
3373         * lyxtext.h: forward declare EnumLColor.
3374
3375         * lyx_main.C: add #include "LColor.h".
3376
3377 2003-09-15  Angus Leeming  <leeming@lyx.org>
3378
3379         * .cvsignore: add lyx-gtk.
3380
3381 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * Chktex.C
3384         * LaTeX.C
3385         * LaTeXFeatures.C
3386         * ParagraphParameters.C
3387         * Spacing.C
3388         * buffer.C
3389         * bufferparams.C
3390         * bufferview_funcs.C
3391         * chset.C
3392         * counters.C
3393         * funcrequest.C
3394         * lyxfont.C
3395         * lyxgluelength.C
3396         * lyxlength.C
3397         * paragraph.C
3398         * paragraph_funcs.C
3399         * text3.C
3400         * vc-backend.C: remove usage of STRCONV
3401
3402 2003-09-15  Angus Leeming  <leeming@lyx.org>
3403
3404         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3405         explicitly define the color passed to the painter.
3406
3407 2003-09-15  Angus Leeming  <leeming@lyx.org>
3408
3409         * bufferparams.C (BufferParams): reorder member initializers to avoid
3410         compiler warning.
3411
3412 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3415         * text.C (updateRowPositions): remove an unusual nop
3416
3417 2003-09-12  André Pönitz  <poenitz@gmx.net>
3418
3419         * BufferView_pimpl.C:
3420         * Bullet.C:
3421         * layout.h:
3422         * lyxfunc.C:
3423         * lyxlayout.[Ch]:
3424         * lyxtextclass.C:
3425         * rowpainter.C:
3426         * text.C:
3427         * text2.C:
3428         * Counters.[Ch]: finish the 'automatic counters' job
3429
3430 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3431
3432         * aspell.C: include <boost/assert.cpp> (compile fix)
3433
3434 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3435
3436         * boost.C (assertion_failed): use lyx::support::abort instead of
3437         assert.
3438
3439 2003-09-10  Angus Leeming  <leeming@lyx.org>
3440
3441         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3442         with their _fwd progeny.
3443
3444 2003-09-09  Angus Leeming  <leeming@lyx.org>
3445
3446         134 files throughtout the source tree: replace 'using namespace abc;'
3447         directives with the appropriate 'using abc::xyz;' declarations.
3448
3449 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3450
3451         * boost.C (emergencyCleanup): moved here from LAssert.c
3452         (assertion_failed): new function, called by BOOST_ASSERT
3453
3454         * several files: change Assert to BOOST_ASSERT
3455
3456 2003-09-09  Angus Leeming  <leeming@lyx.org>
3457
3458         * buffer.[Ch]: Add an Impl class and move Buffer's member
3459         variables into it. As a result move several header files out of
3460         buffer.h.
3461
3462         Add header files to lots of .C files all over the tree as a result.
3463
3464 2003-09-09  Angus Leeming  <leeming@lyx.org>
3465
3466         * buffer.[Ch]: make Buffer's member variables private. Add
3467         accessor functions.
3468
3469         Lots of changes all over the tree as a result.
3470
3471 2003-09-08  Angus Leeming  <leeming@lyx.org>
3472
3473         * graph.C: #include <config.h>.
3474
3475 2003-09-08  Angus Leeming  <leeming@lyx.org>
3476
3477         * BranchList.C:
3478         * BufferView.C:
3479         * BufferView_pimpl.C:
3480         * CutAndPaste.C:
3481         * DepTable.C:
3482         * LaTeX.C:
3483         * LaTeXFeatures.C:
3484         * LyXAction.C:
3485         * MenuBackend.C:
3486         * TextCache.C:
3487         * aspell.C:
3488         * buffer.C:
3489         * bufferlist.C:
3490         * changes.C:
3491         * chset.C:
3492         * converter.C:
3493         * counters.C:
3494         * debug.C:
3495         * graph.C:
3496         * ispell.C:
3497         * lyx_cb.C:
3498         * lyxfind.C:
3499         * lyxfunc.C:
3500         * lyxlex_pimpl.C:
3501         * lyxrc.C:
3502         * lyxrow.C:
3503         * paragraph.C:
3504         * rowpainter.C:
3505         * texrow.C:
3506         * text.C:
3507         * text2.C:
3508         * toc.C: remove redundant using directives.
3509
3510 2003-09-07  Angus Leeming  <leeming@lyx.org>
3511
3512         * LaTeXFeatures.h: remove #include "support/types.h".
3513         * ToolbarBackend.h: remove #include <algorithm>.
3514         * changes.h: remove #include <ctime>.
3515         * debug.h: remove #include <iosfwd>.
3516         * graph.h: remove #include "support/std_string.h".
3517         * lyx_main.h: remove #include <csignal>.
3518         * lyxlex_pimpl.h: remove #include <fstream>.
3519         * sgml.h: remove #include <algorithm>, <utility>.
3520         * toc.h: remove #include "support/std_ostream.h".
3521         Add #include <iosfwd>.
3522
3523 2003-09-07  Angus Leeming  <leeming@lyx.org>
3524
3525         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3526
3527         * converter.h: forward declare LatexRunParams.
3528         * encoding.h: remove #include "lyxrc.h".
3529         * lyxtext.h: remove #include "LColor.h".
3530         * lyxtextclass.h: remove #include "support/types.h".
3531         * trans.h: remove #include "tex-accent.h".
3532         * trans_mgr.h: remove #include "tex-accent.h".
3533         * insets/inset.h: remove #include "support/types.h", <vector>.
3534         * insets/insetcollapsable.h: remove #include "LColor.h".
3535         * insets/insetinclude.h: remove #include "dimension.h".
3536         * insets/insetlatexaccent.h: remove #include "dimension.h".
3537         * insets/insetoptarg.h:: remove #include "insettext.h".
3538         * insets/insettext.h: remove #include "dimension.h",
3539         <boost/shared_ptr.hpp>
3540
3541         * insets/renderers.h: add #include "dimension.h".
3542         * insets/updatableinset.h: add #include "support/types.h".
3543
3544         * many .C files: Associated changes.
3545
3546 2003-09-06  Angus Leeming  <leeming@lyx.org>
3547
3548         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3549         one, inside testInvariant.
3550
3551         * PrinterParams.C: new file.
3552         * PrinterParams.[Ch]: move the function bodies out of line.
3553
3554 2003-09-06  Angus Leeming  <leeming@lyx.org>
3555
3556         * ParagraphParameters.h: forward declare ParameterStruct rather than
3557         including its header file.
3558         (depth): moved out-of-line.
3559
3560 2003-09-06  Angus Leeming  <leeming@lyx.org>
3561
3562         * BufferView_pimpl.h:
3563         * kbmap.h:
3564         * kbsequence.h:
3565         * lyxfunc.h: forward declare LyXKeySym rather than
3566         #include "frontends/LyXKeySym.h".
3567
3568         * BufferView_pimpl.C:
3569         * kbmap.C:
3570         * kbsequence.C:
3571         * lyxfunc.C: associated changes.
3572
3573 2003-09-06  Angus Leeming  <leeming@lyx.org>
3574
3575         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3576         As a result, can remove the #include "insets/inset.h" from BufferView.h
3577
3578 2003-09-06  Angus Leeming  <leeming@lyx.org>
3579
3580         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3581         As a result, can remove the #include "insets/inset.h" from BufferView.h
3582
3583 2003-09-06  Angus Leeming  <leeming@lyx.org>
3584
3585         * buffer_funcs.C:
3586         * buffer.h:
3587         * bufferlist.C:
3588         * BufferView.C:
3589         * bufferview_funcs.C:
3590         * BufferView_pimpl.C:
3591         * CutAndPaste.C:
3592         * lyx_cb.C:
3593         * lyxfunc.C:
3594         * paragraph.h:
3595         * ParagraphParameters.C:
3596         * tabular.C:
3597         * text3.C:
3598         * toc.C:
3599         * undo_funcs.C:
3600         * frontends/controllers/ControlDocument.C:
3601         * insets/insetcaption.C: rearrange the #includes into some sort of
3602         coherent order.
3603
3604         * buffer.h: remove #includes ErrorList.h, undo.h
3605
3606 2003-09-06  Angus Leeming  <leeming@lyx.org>
3607
3608         * support/types.h: add a 'depth_type' typedef, used to store the
3609         nesting depth of a paragraph.
3610
3611         * paragraph.h:
3612         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3613         defining explicitly.
3614
3615         * buffer.h:
3616         * paragraph_funcs.h:
3617         * ParagraphParameters.h:
3618         * sgml.h: use lyx::depth_type rather than Paragraph or
3619         ParameterStruct's depth_type.
3620
3621         * buffer.h
3622         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3623
3624         * BufferView.C:
3625         * BufferView_pimpl.C:
3626         * CutAndPaste.C:
3627         * ParagraphParameters.C:
3628         * buffer_funcs.C:
3629         * bufferlist.C:
3630         * bufferview_funcs.C:
3631         * lyx_cb.C:
3632         * lyxfunc.C:
3633         * tabular.C:
3634         * text3.C:
3635         * toc.C:
3636         * undo_funcs.C:
3637         * frontends/LyXView.C:
3638         * frontends/controllers/ControlDocument.C:
3639         * frontends/controllers/ControlErrorList.C:
3640         * insets/insetbibitem.C:
3641         * insets/insetbranch.C:
3642         * insets/insetcaption.C:
3643         * insets/insetcollapsable.C:
3644         * insets/insetenv.C:
3645         * insets/insetert.C:
3646         * insets/insetfloat.C:
3647         * insets/insetfoot.C:
3648         * insets/insetfootlike.C:
3649         * insets/insetnewline.C:
3650         * insets/insetquotes.C:
3651         * insets/insettabular.C:
3652         * insets/insettext.C:
3653         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3654
3655         * frontends/controllers/ControlChanges.C: #include "changes.h".
3656
3657 2003-09-06  Angus Leeming  <leeming@lyx.org>
3658
3659         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3660         than #including paragraph.h.
3661
3662         * ParagraphList.h:
3663         * RowList.h: deleted. Superfluous.
3664
3665         * CutAndPaste.h:
3666         * iterators.h:
3667         * lyxcursor.h:
3668         * lyxtext.h:
3669         * text_funcs.h:
3670         * undo.h:
3671         * undo_funcs.h:
3672         * insets/inset.h:
3673         * insets/insettext.h: use ParagraphList_fwd.h rather than
3674         ParagraphList.h.
3675
3676         * paragraph.h: don't forward declare ParagraphList.
3677
3678         * buffer.h:
3679         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3680         rather than ParagraphList.h. paragraph.h is still needed for the
3681         Paragraph::depth_type parameters.
3682
3683         * textcursor.h: enable it to compile stand-alone in light of the
3684         above changes.
3685
3686         * bufferview_funcs.C:
3687         * iterators.C:
3688         * lyxfunc.C:
3689         * lyxrow_funcs.C:
3690         * paragraph.C:
3691         * rowpainter.C:
3692         * text.C:
3693         * text2.C:
3694         * text3.C:
3695         * text_funcs.C:
3696         * textcursor.C:
3697         * undo.C:
3698         * frontends/controllers/ControlParagraph.C:
3699         * frontends/controllers/ControlTabular.C:
3700         * insets/insetmarginal.C:
3701         * insets/insetminipage.C:
3702         * insets/insetnote.C:
3703         * insets/insetoptarg.C: add header files needed to compile again.
3704
3705 2003-09-06  Angus Leeming  <leeming@lyx.org>
3706
3707         * RowList_fwd.h: new file, forward-declaring Row rather than
3708         #including lyxrow.h.
3709
3710         * lyxrow_funcs.h:
3711         * lyxtext.h:
3712         * paragraph.h:
3713         * insets/insettext.h: use it instead of RowList.h
3714
3715         * bufferview_funcs.C:
3716         * lyxfunc.C:
3717         * lyxrow_funcs.C:
3718         * paragraph.C:
3719         * rowpainter.C:
3720         * text.C:
3721         * text2.C:
3722         * text3.C: #include "RowList.h".
3723
3724 2003-09-05  Angus Leeming  <leeming@lyx.org>
3725
3726         * factory.C (createInset):
3727         * vspace.C (c-tor): replace sscanf call with an istringstream.
3728         * ispell.C: re-add missing HP/UX headers.
3729         * lyxserver.C: re-add missing  os2 headers.
3730
3731 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3732
3733         * BranchList.C:
3734         * graph.C:
3735         * ispell.C:
3736         * lastfiles.C:
3737         * lyx_cb.C:
3738         * lyxserver.C:
3739         * texrow.C:
3740         * text3.C: re-add missing system headers, needed for 2.95.2.
3741
3742 2003-09-05  Angus Leeming  <leeming@lyx.org>
3743
3744         Changes most place everywhere due to the removal of using directives
3745         from support/std_sstream.h.
3746
3747 2003-09-05  Angus Leeming  <leeming@lyx.org>
3748
3749         Replace LString.h with support/std_string.h,
3750         Lsstream.h with support/std_sstream.h,
3751         support/LIstream.h with support/std_istream.h,
3752         support/LOstream.h with support/std_ostream.h.
3753
3754         Changes resulting throughout the tree.
3755
3756 2003-09-05  Angus Leeming  <leeming@lyx.org>
3757
3758         * sgml.h: ensure that the header file can be compiled stand-alone.
3759         * *.C: strip out redundant #includes. (320 in total.)
3760
3761 2003-09-04  Angus Leeming  <leeming@lyx.org>
3762
3763         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3764         here (from getPackages).
3765
3766         * debug.[Ch]: add a new EXTERNAL tag.
3767
3768 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3769
3770         * text2.C (cursorEnd): simplify
3771         (setCursor): adjust
3772         (getColumnNearX): adjust
3773
3774         * text.C (computeBidiTables): adjust
3775         (fill): adjust
3776
3777         * rowpainter.C (paintChars): adjust
3778         (paintSelection): adjust
3779         (paintChangeBar): adjust
3780         (paintText): adjust
3781
3782         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3783         lastPos instead.
3784         (numberOfSeparators): adjust
3785
3786 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3787
3788         * LyXAction.C:
3789         * box.[Ch]:
3790         * lfuns.h:
3791         * lyxfunc.C:
3792         * text3.C: Restricts the mouse click functionality
3793         of insets like bibtex, include, toc and floatlist to the visible
3794         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3795         up the dialogs. Cursor has to be in front of the inset (i.e.
3796         start of row) for this to function.
3797
3798 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3799
3800         * bufferview_funcs.C (currentState): output row information
3801
3802 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3803
3804         * bufferview_funcs.C (currentState): output paragraph position
3805
3806 2003-09-04  Angus Leeming  <leeming@lyx.org>
3807
3808         * FloatList.h: move out #include "Floating.h".
3809         * LaTeX.h: move out #include "DepTable.h".
3810         * LyXAction.h: move out #include "funcrequest.h".
3811         * buffer.h: move out #include "author.h", "iterators.h".
3812         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3813         * lyx_main.h: move out #include "errorlist.h".
3814         * lyxfunc.h: move out #include "FuncStatus.h".
3815         * lyxtext: move out #include "lyxcursor.h".
3816         * paragraph_pimpl.h: move out #include "counters.h".
3817
3818 2003-09-03  Angus Leeming  <leeming@lyx.org>
3819
3820         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3821         preamble_snippets list, enabling us to add snippets to the preamble
3822         only if the snippet was not there already.
3823
3824 2003-09-04  Angus Leeming  <leeming@lyx.org>
3825
3826         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3827
3828 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3831         update
3832
3833 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3834
3835         * BranchList.C: point fix, earlier forgotten
3836
3837 2003-09-02  Angus Leeming  <leeming@lyx.org>
3838
3839         * box.C (contains): renamed from 'contained' after a fantastic
3840         amount of hot air.
3841
3842 2003-09-02  John Levon  <levon@movementarian.org>
3843
3844         * BufferView.C:
3845         * lyxcursor.h:
3846         * lyxcursor.C:
3847         * lyxfunc.C:
3848         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3849
3850 2003-09-02  John Levon  <levon@movementarian.org>
3851
3852         * text2.C: simplification of cursorEnd(), including partial
3853         fix for bug 1376
3854
3855 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * buffer.C (readFile): add a space
3858
3859 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3862
3863 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * buffer.C (readFile): new function, take a filename and a
3866         ParagraphList::iterator
3867         (readFile): adjust
3868         (readFile): adjust, make it private. don't use setStream, make
3869         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3870         always contain the filename.
3871
3872         * BufferView.C (insertLyXFile): simplify and make it work for
3873         gzipped files.
3874
3875 2003-08-30  John Levon  <levon@movementarian.org>
3876
3877         * Makefile.am: fix dist (from Kayvan)
3878
3879 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * most files: change to use const Buffer refs
3882
3883 2003-08-27  André Pönitz  <poenitz@gmx.net>
3884
3885         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3886         on top of ownerPar().
3887
3888 2003-08-27  John Levon  <levon@movementarian.org>
3889
3890         * funcrequest.C: properly initialise POD members
3891
3892 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3893
3894         * lyxtext.h (top_y): move top_y from here
3895         * text.C:
3896         * text2.C:
3897         * text3.C:
3898         * BufferView.[Ch]:
3899         * BufferView_pimpl.[Ch]: to here
3900         * frontends/screen.C:
3901         * insets/insettabular.C:
3902         * insets/insettext.C: adjust
3903         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3904
3905 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3906
3907         * BufferView.[Ch]:
3908         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3909
3910 2003-08-26  André Pönitz  <poenitz@gmx.net>
3911
3912         * paragraph_func.[Ch] (outerPar): new function
3913
3914         * paragraph.C:
3915         * paragraph_funcs.C:
3916         * paragraph_funcs.h:
3917         * paragraph_pimpl.C:
3918         * text2.C: remove Inset::par_owner
3919
3920 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3921
3922         * lyxrow_funcs.C:
3923         * lyxtext.h:
3924         * text.C:
3925         * text2.C: eliminates the needFullRow/display() stuff
3926         altogether, putting the logic in metrics/draw in the insets.
3927
3928 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3929
3930         * text2.C (redoParagraphInternal, redoParagraphs):
3931         * text.C (redoParagraph): add a call to updateRowPositions at the
3932         end of each 'metrics-like' call. Remove all others.
3933         (getRow): remove the 'y-computing' version.
3934         (getRowNearY): do not compute nor return the real y. Solve the
3935         'y < 0' problem and simplify.
3936
3937 2003-08-22  Angus Leeming  <leeming@lyx.org>
3938
3939         * *.[Ch]: clean-up of licence and author blurbs.
3940         Also move config.h out of a few .h files and into a few .C files.
3941
3942 2003-08-22  André Pönitz  <poenitz@gmx.net>
3943
3944         * lyxrow.[Ch]: add x_ and *fill_ members
3945
3946         * lyxtext.h:
3947         * text.C:
3948         * rowpainter.C:
3949         * text2.C: adjust/remove prepareToPrint() calls
3950
3951 2003-08-22  André Pönitz  <poenitz@gmx.net>
3952
3953         * lyxrow.[Ch]: add  end_ member
3954
3955         * lyxrow_funcs.C: use LyXRow::end_
3956
3957         * lyxtext.h (singleWidth): add LyXFont parameter
3958
3959         * rowpainter.C:
3960         * text2.C: adjust LyXText::singleWidth() calls
3961
3962         * text.C (redoParagraph): simplify row breaking logic
3963
3964
3965 2003-08-19  André Pönitz  <poenitz@gmx.net>
3966
3967         * funcrequest.C: initialize button_ member
3968
3969         * text3.C:
3970         * rowpainter.[Ch]: interface consolidation
3971
3972 2003-08-18  André Pönitz  <poenitz@gmx.net>
3973
3974         * BufferView.C:
3975         * BufferView_pimpl.C:
3976         * lyxfind.C:
3977         * paragraph_funcs.C:
3978         * rowpainter.C:
3979         * text3.C: remove LyXScreen::draw() and fitCursor calls
3980
3981         * BranchList.h: remove spurious semicolons
3982
3983         * MenuBackend.C: fix branchlist related crash
3984
3985 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3986
3987         * BranchList.[Ch]:
3988         * InsetList.[Ch]:
3989         * LColor.[Ch]:
3990         * LyXAction.C:
3991         * Makefile.am:
3992         * MenuBackend.[Ch]:
3993         * bufferparams.[Ch]:
3994         * factory.C:
3995         * lfuns.h:
3996         * lyxfunc.C:
3997         * text3.C: implements the 'branch inset'
3998         idea. This allows the output of various versions of a document
3999         from a single source version, selectively outputing or suppressing
4000         output of parts of the text.
4001         This implementation contains a 'branch list editor' in a separate
4002         tab of the document settings dialog. Branches are user definable
4003         and have a "display colour" to distinguish them on-screen.
4004
4005         ColorHandler was somewhat cleaned up.
4006         (1) make possible a dynamically growing LColor list by allowing
4007         the graphic context cache to grow along (vector);
4008         (2) eliminate an IMHO unnecessary step in colour allocation.
4009
4010 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4011
4012         * BufferView_pimpl.C: compile fix
4013
4014 2003-08-15  André Pönitz  <poenitz@gmx.net>
4015
4016         * rowpainter.C: remove extra metrics calls
4017
4018         * lyxtext.h: merge the two constructors into a single one,
4019           pass reference to owner's par list
4020
4021         * BufferView_pimpl.C:
4022         * text.C:
4023         * text2.C: adjust
4024
4025 2003-08-15  André Pönitz  <poenitz@gmx.net>
4026
4027         * lyxrow_funcs.[Ch]:
4028         * lyxtext.h:
4029         * paragraph.h:
4030         * paragraph_funcs.C:
4031         * rowpainter.C:
4032         * text.C:
4033         * text2.C:
4034         * text3.C:
4035         * text_funcs.C: split LyXText::rowlist_ into individual
4036         Paragraph::rows_ chunks
4037
4038         * BufferView.[Ch]:
4039         * BufferView_pimpl.[Ch]:
4040         * lyxfind.C:
4041         * lyxtext.h:
4042         * text3.C: remove toggleSelection()
4043
4044 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4045
4046         * bufferlist.C: beautify two alerts (shorter text of buttons)
4047         * buffer.C: Remove redundant ' ' from message
4048         * tabular.h:
4049         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4050         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4051         rename VALIGN_CENTER to VALIGN_MIDDLE
4052
4053 2003-08-11  André Pönitz  <poenitz@gmx.net>
4054
4055         * lyxtext.h (getPar):
4056         * text.C: new function
4057
4058 2003-08-11  André Pönitz  <poenitz@gmx.net>
4059
4060         * Makefile.am:
4061         * tracer.[Ch]: remove unneeded files
4062
4063         * InsetList.[Ch]: remove resizeInsetsLyXText()
4064
4065         * lyxtext.h:
4066         * text.C:
4067         * text2.C:
4068         * text3.C: merge insertParagraphs() and appendParagraph()
4069         remove breakAgain(), update()
4070
4071         * BufferView_pimpl.[Ch]:
4072         * bufferview_funcs.[Ch]:
4073         * lyxfunc.C:
4074         * paragraph.[Ch]:
4075         * rowpainter.C:
4076         * tabular.C: adjust after text & InsetList changes.
4077
4078 2003-08-08  André Pönitz  <poenitz@gmx.net>
4079
4080         * text.C (insertChar, backspace): replace rowlist fiddling
4081         with rebreak of full par
4082
4083         * lyxtext.h:
4084         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4085         checkParagraph, updateInset): removed
4086
4087 2003-08-07  André Pönitz  <poenitz@gmx.net>
4088
4089         * paragraph.C:
4090         * text3.C: merge some LFUN handlers, remove dead code
4091
4092 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4093
4094         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4095
4096 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4097
4098         * text2.C (DEPM): fix part of bug 1255 and 1256
4099
4100 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4101
4102         * BufferView_pimpl.C (workAreaDispatch): change to use
4103         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4104         that are no mouse related.
4105
4106 2003-08-05  André Pönitz  <poenitz@gmx.net>
4107
4108         * BufferView.[Ch]:
4109         * BufferView_pimpl.[Ch]:
4110         * bufferview_funcs.C:
4111         * text2.C:
4112         * text3.C: rip out "deep update"
4113
4114         * textcursor.[Ch] (last_sel_cursor): remove unused member
4115
4116 2003-08-04  André Pönitz  <poenitz@gmx.net>
4117
4118         * BufferView.[Ch]:
4119         * BufferView_pimpl.[Ch]:
4120         * ParagraphParameters.C:
4121         * bufferview_funcs.C:
4122         * lyx_cb.C:
4123         * lyxfind.C:
4124         * lyxfunc.C:
4125         * text.C:
4126         * text2.C:
4127         * text3.C: replace "complicated" BufferView::update(...) calls with
4128         simpler ones.
4129
4130         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4131
4132 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4133
4134         * Makefile.am (lyx_SOURCES): add paper.h
4135
4136 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4137
4138         * Makefile.am: move things around so that both lyx-qt and
4139         lyx-xforms can be built (according to --with-frontend). Then lyx
4140         is a symbolic link to lyx-[firstfrontend]
4141
4142 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4143
4144         * Always use std::endl with lyxerr
4145
4146 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4147
4148         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4149
4150 2003-08-01  André Pönitz  <poenitz@gmx.net>
4151
4152         * BufferView.[Ch]:
4153         * BufferView_pimpl.[Ch]:
4154         * lyxfunc.C:
4155         * text3.C: merge BufferView::repaint() and BufferView::update()
4156
4157 2003-08-01  José Matos  <jamatos@lyx.org>
4158
4159         * buffer.[Ch]: file_format is no longer a buffer data element.
4160
4161 2003-08-01  André Pönitz  <poenitz@gmx.net>
4162
4163         * BufferView.C:
4164         * lyxtext.h:
4165         * text.C:
4166         * text2.C: make redoParagraph more independent of current cursor
4167
4168         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4169         * text.C:
4170         * text2.C: remove unneeded members
4171
4172 2003-07-30  André Pönitz  <poenitz@gmx.net>
4173
4174         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4175
4176         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4177           create a single function...
4178
4179         * paragraph_funcs.C (moveItem): ... here.
4180
4181         * text.C:
4182           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4183
4184 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4185
4186         * LColor.[Ch]: Add comment and greyedout logical colors.
4187
4188 2003-07-30  André Pönitz  <poenitz@gmx.net>
4189
4190         * tabular.C: don't use Assert too heavily. This crashes where it
4191           shouldn't
4192
4193 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4196         is disabled (bug 1232)
4197
4198 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4199
4200         * factory.C: limited 'arg' scope
4201
4202 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4203
4204         * factory.C: fixed Note submenu issues
4205
4206 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4207
4208         * factory.C: submenu for Note/Comment/Greyedout
4209
4210 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * lyx_main.C (LyX):
4213         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4214
4215 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4216
4217         * LaTeXFeatures.C:
4218         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4219         greyedout. Patch provided by Jürgen Spitzmüller.
4220
4221 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4222
4223         * kbmap.C (read): fix error message when reading bind files
4224
4225 2003-07-29  Angus Leeming  <leeming@lyx.org>
4226
4227         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4228         certainly does not do what it purports to do. I am doing it, and
4229         us, a favour by killing it.
4230
4231 2003-07-28  José Matos  <jamatos@lyx.org>
4232
4233         * buffer.C (readBody, do_writeFile):
4234         * paragraph.C(readParagraph): \end_document replaces \the_end.
4235
4236 2003-07-29  André Pönitz  <poenitz@gmx.net>
4237
4238         * BufferView.[Ch]:
4239         * BufferView_pimpl.[Ch]:
4240         * lyxfunc.C:
4241         * text2.C:
4242         * text3.C:
4243         * textcursor.[Ch]: remove toggleToggle & Co
4244
4245 2003-07-28  José Matos  <jamatos@fep.up.pt>
4246
4247         * buffer.C (readParagraph):
4248         * params_func (readParToken, readParagraph):
4249         * paragraph.C (write): \layout -> \begin_layout.
4250
4251 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * lyxlex_pimpl.C (setFile): clean up slightly.
4254
4255         * bufferparams.h: add compressed var
4256
4257         * buffer_funcs.C (readFile): adjust for LyXLex change
4258         (newFile): ditto + simplify
4259
4260         * buffer.C (writeFile): handle writing of compressed files
4261
4262         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4263         Check if the file is compressed and set a bufferparm if so.
4264
4265         * Makefile.am (lyx_LDADD): remove explicit -lz
4266
4267 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4268
4269         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4270         makeDocBookFile): put the real LyX version in the first line of
4271         the file
4272
4273         * version.h:
4274         * version.C.in: remove lyx_docversion
4275
4276         * tabular.C (write_attribute): add a template-based version to
4277         write enums properly
4278
4279 2003-07-28  André Pönitz  <poenitz@gmx.net>
4280
4281         * lyxtext.h:
4282         * text.C:
4283         * text2.C:
4284         * text3.C: use doubles again for x-coordinates. They are needed.
4285
4286 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * messages.C (getLocaleDir): use lyx_localedir()
4289
4290         * lyxlex_pimpl.C (setFile): compress stuff
4291
4292         * buffer.C (writeFile): add some compression stuff
4293         (do_writeFile): new func, dont call expliti close... will this
4294         breake anything?
4295
4296         * Makefile.am (lyx_LDADD): add -lz
4297
4298 2003-07-28  José Matos  <jamatos@fep.up.pt>
4299
4300         * buffer.C: increment file format.
4301         * paragraph_funcs (readParagraph, readParToken):
4302         * paragraph.C (readParagraph): add \end_layout.
4303
4304 2003-07-27  Angus Leeming  <leeming@lyx.org>
4305
4306         * Makefile.am: remove special casing for configure-time setting of
4307         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4308
4309         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4310         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4311
4312 2003-07-26  André Pönitz  <poenitz@gmx.net>
4313
4314         * paragraph_func.[Ch]:
4315         * paragraph.C (realizeFont): inline it whereever it is used
4316
4317         * rowpainter.C:
4318         * text.C:
4319         * text2.C:
4320         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4321
4322
4323 2003-07-26  André Pönitz  <poenitz@gmx.net>
4324
4325         *       lyxtext.h:
4326         * text.C:
4327         * text2.C: get rid of LyXText::need_break_row
4328
4329 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * toc.[Ch]: put namespace toc inside namespace lyx
4332
4333         * MenuBackend.C (expandToc2): adjust for lyx::toc
4334         (expandToc): ditto
4335
4336         * lyxfunc.C (dispatch): adjust for lyx::find
4337
4338         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4339         lyx::find instead. Reorganize a bit.
4340         (LyXReplace): rename to replace
4341         (LyXFind): rename to find
4342
4343         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4344         (dispatch): ditto
4345
4346 2003-07-26  André Pönitz  <poenitz@gmx.net>
4347
4348         * text.C (setHeightOfRow): restrict scope of temporary variable
4349
4350         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4351           code (never has been used?)
4352
4353 2003-07-27  Asger Alstrup  <alstrup@local>
4354
4355         * text.C (fill): Optimise algorithm to exploit that we can reuse
4356         the LyXFont for many characters.
4357         (setHeightOfRow): Same thing.
4358         (rowBreakPoint): Same thing.
4359
4360 2003-07-26  Asger Alstrup  <alstrup@local>
4361
4362         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4363
4364         * text.C (singleWidth): Spurious font copying in hot-spot
4365         singleWidth avoided. Reorder tests for arabic for efficiency.
4366
4367         * text.C (fill): handle empty paragraphs better.
4368
4369 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4370
4371         * ispell.C:
4372         * encoding.h: add includes
4373
4374         * lyxrc.C: remove reading of bind files
4375
4376         * lyx_main.C (init): setup bindings and menus only if we have a
4377         gui.
4378
4379         * kbmap.C (read): new method. Do the actual reading of bind
4380         files.
4381
4382         * converter.C (dvipdfm_options):
4383         * bufferparams.C:
4384         * lyxrc.C (read):
4385         (output): adapt PAPER_* enums.
4386
4387         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4388
4389         * bufferparams.h: remove paper-related enums from there
4390
4391         * paper.h: New file. A trivial header file to hold paper-related
4392         enums. It should later expand to contain many paper-related
4393         horrors access.
4394
4395         * lyxrc.C: declare extern displayTranslator
4396
4397 2003-07-27  José Matos  <jamatos@fep.up.pt>
4398
4399         * tabular.[Ch] (linuxdoc): add support for tables and figures
4400         (linuxdoc).
4401
4402 2003-07-27  José Matos  <jamatos@fep.up.pt>
4403
4404         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4405         consistency in both functions.
4406         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4407
4408 2003-07-26  Asger Alstrup  <alstrup@local>
4409
4410         * rowpainter.C (paintRows): Change algorithm to work directly on
4411         the insets rather than asking every character in the document
4412         whether its an inset.
4413
4414 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * buffer.C (openFileWrite): factorize some code
4417
4418 2003-07-26  Angus Leeming  <leeming@lyx.org>
4419
4420         * lyx_cb.C:
4421         * lyx_main.[Ch]: replace occurances of system_tempdir with
4422         os::getTmpDir().
4423
4424 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * rename Inset to InsetOld
4427
4428 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4429
4430         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4431         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4432         which I think is a bit clearer. EDIT is gone, since it was
4433         premature optimisation, and broken for mathed anyway.
4434         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4435         with cursor positioning in insets as well (math insets still do not
4436         work, but that's a different story anyway.) It mysteriously
4437         crashes sometimes with undo in the first paragraph, but I'm fairly
4438         confident that this is a compiler bug.
4439
4440 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * paragraph.C (Paragraph): adjust for new clone return type
4443         (operator==): ditto
4444         (copyIntoMinibuffer): ditto
4445
4446 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4447
4448         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4449         by not having a special case, and always doing a full rebreak of
4450         the document after undo.
4451
4452 2003-07-23  Angus Leeming  <leeming@lyx.org>
4453
4454         * factory.C (createInset): InsetExternal::setParams now takes a
4455         Buffer const * arg.
4456
4457 2003-07-23  Angus Leeming  <leeming@lyx.org>
4458
4459         * factory.C (createInset): changed interface to the external and
4460         graphics mailers' string2params functions.
4461
4462 2003-07-23  Angus Leeming  <leeming@lyx.org>
4463
4464         * factory.C (createInset): pass a
4465         Buffer const * parameter to InsetExternalMailer's string2params.
4466
4467 2003-07-22  John Levon  <levon@movementarian.org>
4468
4469         * Thesaurus.h: include the right aiksaurus header
4470
4471 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4472
4473         * MenuBackend.C (expand): check menu shortcuts unconditionally
4474
4475 2003-07-21  Angus Leeming  <leeming@lyx.org>
4476
4477         * factory.C (createInset): pass a
4478         buffer_path parameter to InsetGraphicsMailer's string2params.
4479
4480 2003-07-21  Angus Leeming  <leeming@lyx.org>
4481
4482         * BufferView_pimpl.C (buffer):
4483         * buffer.C (d-tor):
4484         * lyx_main.C (LyX):
4485         * lyxfunc.C (dispatch):
4486         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4487         rather than the grfx shortcut.
4488
4489 2003-07-21  André Pönitz  <poenitz@gmx.net>
4490
4491         * rowpainter.C: remove unused variables
4492
4493         * tabular_funcs.C:
4494         * tabular_funcs.h: move to tabular.C
4495         * Makefile.am: adjust
4496
4497         * tabular.[Ch]: basic optical cleaning
4498
4499         * author.h: pass references, not values
4500
4501 2003-07-18  André Pönitz  <poenitz@gmx.net>
4502
4503         * lyxtext.h:
4504         * metricsinfo.C:
4505         * metricsinfo.h:
4506         * rowpainter.C:
4507         * text.C:
4508         * text2.C:
4509         * text3.C: two-phase drawing for InsetText and InsetTabular
4510         some float -> int changes.
4511
4512 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * lyx_main.C: fix the fix
4515
4516 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * lyx_main.C: fix a crash in batch mode if no files specified
4519         * converter.C: ws
4520
4521 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * format.[Ch] (papersize): moved to BufferParams
4524         * converter.[Ch] (dvips_options): moved to BufferParams
4525         (dvipdfm_options): moved to anon namespace
4526         * bufferparams.[Ch]: added above functions.
4527
4528 2003-07-17  André Pönitz  <poenitz@gmx.net>
4529
4530         * lyxtext.h:
4531         * rowpainter.C:
4532         * text2.C: don't call inset->update() anymore
4533
4534         * metricsinfo.[Ch]: add convenience constructor
4535
4536 2003-07-16  André Pönitz  <poenitz@gmx.net>
4537
4538         * lyxcursor.[Ch]:
4539         * lyxfunc.[Ch]:
4540         * text.C:
4541         * text2.C: replace the LyXCursor::irow_ member with
4542          on-demand computation of the value
4543
4544 2003-07-16  John Levon  <levon@movementarian.org>
4545
4546         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4547
4548 2003-07-15  André Pönitz  <poenitz@gmx.net>
4549
4550         * text.C:
4551         * text2.C: remove no more needed refresh_row
4552
4553 2003-07-15  André Pönitz  <poenitz@gmx.net>
4554
4555         * lyxtext.h:
4556         * rowpainter.C:
4557         * text2.C:
4558         * text3.C: refresh_status tristate -> need_update bool
4559
4560 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * lyxtext.h (init): remove reinit argument (act as if always true)
4563         * text2.C: adjust to that
4564
4565 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4566
4567         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4568         * text3.C: use it to delete selections in some cases
4569         (bugs 441, 673, 702, 954).
4570
4571 2003-07-14  André Pönitz  <poenitz@gmx.net>
4572
4573         * rowpainter.[Ch]: reduce interface
4574
4575 2003-07-14  André Pönitz  <poenitz@gmx.net>
4576
4577         * BufferView_pimpl.C:
4578         * text2.C: adjust after removing unused BufferView * argument
4579
4580 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * text2.C (init): fix a crash fired on resize
4583
4584 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * buffer.[Ch]: added new closing signal
4587         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4588         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4589         BufferView::Pimpl via the closing the signal
4590
4591 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * buffer.[Ch]: take out all bv-related from buffer
4594         * BufferView.C:
4595         * BufferView_pimpl.[Ch]: connect to new signals
4596         * CutAndPaste.C: removed useless asserts
4597         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4598         * lyxvc.[Ch]:
4599         * vc-backend.[Ch]:
4600         * lyxfunc.C: moved view-related funciontality from vc here
4601         * paragraph.C: removed outdated comments
4602         * text.C: ws
4603
4604 2003-07-10  André Pönitz  <poenitz@gmx.net>
4605
4606         * BufferView_pimpl.C:
4607         * tabular.h:
4608         * tabular_funcs.C:
4609         * text.C:
4610         * text2.C: remove InsetText::InnerCache, clean up consequences
4611
4612 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4613
4614         * ispell.C: fix two typos in error messages
4615
4616 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4617
4618         * Extend Note inset to other forms of annotation like Comment
4619         and Greyedout. Right button click gives dialog.
4620
4621         Files modified or added (+):
4622
4623         * insetnote.[Ch]
4624         * FormNote.[Ch]      +
4625         * ControlNote.[Ch]   +
4626         * form_note.fd       +
4627         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4628         frontends/controllers
4629         * xforms/Dialogs.C
4630         * factory.C
4631
4632 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4633
4634         * aspell.C: add missing namespace lyx::support
4635
4636 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4637
4638         * BufferView.[Ch] (newFile): Add
4639         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4640         * LaTeX.[Ch] (message): added this signal and use it
4641         * buffer.[Ch] (busy, message): added these signals and use them
4642         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4643         * converter.C:
4644         * exporter.C:
4645         * format.C:
4646         * importer.C: use buffer signals instead of direct bv calling
4647         * lyx_cb.[Ch] (ShowMessage): removed
4648         * lyx_main.C:
4649         * lyxfunc.C:
4650         * paragraph_funcs.C:
4651         * text2.C: use buffer signals
4652
4653 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * introduce namespace lyx::graphics
4656
4657 2003-07-02  André Pönitz  <poenitz@gmx.net>
4658
4659         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4660
4661 2003-07-01  André Pönitz  <poenitz@gmx.net>
4662
4663         * text.C:
4664         * text2.C:
4665         * text3.C:
4666         * text_funcs.[Ch]:
4667         * textcursor.h:
4668         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4669           text*.C to text_func.C
4670
4671 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * introduce namespace lyx::support
4674
4675 2003-06-30  André Pönitz  <poenitz@gmx.net>
4676
4677         * Chktex.C:
4678         * funcrequest.C:
4679         * lyxtext.h:
4680         * text.C: re-enable --with-included-string
4681
4682 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * textcursor.C: add <config.h>
4685
4686         * text.C (getWord): remove const from word_location arg
4687
4688         * lyxvc.C (getLogFile): fix const type order
4689
4690         * lyxtext.h: remove const from word_location arg, add arg name
4691
4692         * lyxlayout.h: currect type on labeltype.
4693
4694         * importer.C: correct \file
4695
4696         * converter.C (intToFormat): use std:: on ret val, ws changes
4697
4698         * bufferlist.h: correct \file
4699
4700         * buffer.C (makeLinuxDocFile): fix const type order
4701         (makeDocBookFile): ditto
4702         (fillWithBibKeys): use std:: on stdlib args.
4703
4704         * CutAndPaste.C: fix authors.
4705         (availableSelections): use std:: on return vector
4706
4707 2003-06-27  André Pönitz  <poenitz@gmx.net>
4708
4709         * BufferView_pimpl.C:
4710         * bufferview_funcs.C:
4711         * lyxcursor.C:
4712         * lyxcursor.h:
4713         * lyxfunc.C:
4714         * lyxtext.h:
4715         * rowpainter.C:
4716         * text.C:
4717         * text2.C:
4718         * text3.C: remove LyXCursor::row_ member
4719
4720         * lyxtext.h:
4721         * text.C: rename fullRebreak() to partialRebreak() and implement
4722           a fullRebreak() that really bereks fully
4723
4724         * textcursor.h: new struct for cursor-related data
4725
4726 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4727
4728         * lyx_main.C (LyX): get full path of document loaded on the
4729         command line
4730
4731 2003-06-26  André Pönitz  <poenitz@gmx.net>
4732
4733         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4734           remove unused/broken operator>,<,>=.
4735
4736         *       text.C: remove only use of broken operator<= in an Assert().
4737
4738 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4739
4740         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4741         moved errorlist_.clear to showErrorList
4742
4743 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4744
4745         * converter.C (scanLog, runLaTeX):
4746         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4747         move the bv->showErrorList call to the callers
4748         * lyxfunc.C: i.e. here...
4749         * text2.C: and here
4750         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4751         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4752         namespace, the second to...
4753         * buffer_funcs (BufferFormat, parseErrors): added
4754         * errorlist.C (ErrorList(TeXErrors const &)): removed
4755
4756 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4757
4758         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4759
4760 2003-06-24  "Garst R. Reese" <reese@isn.net>
4761
4762         * debug.C: fix typo
4763
4764 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4765
4766         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4767
4768         * version.C.in: change docversion to 1.4
4769
4770 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * buffer.C: fix a bug just introduced
4773
4774 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4775
4776         * buffer.[Ch]: added the parseError signal and use it, removed
4777         sgmlError
4778         * BufferView.[Ch] (addError): moved to ...
4779         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4780         to the Buffer::parseError signal to catch (guess what) parse errors
4781         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4782
4783 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4786         ability to create a buffer and to return an existing one from
4787         the list. Moved these functions to...
4788         * buffer_funcs.[Ch]: added
4789         * BufferView.[Ch] (loadLyXFile): added
4790         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4791         job removed from bufferlist::loadLyXFile.
4792         * buffer.C (setReadOnly): make it work without view
4793         (i.e added an if (users))
4794
4795 2003-06-19  Angus Leeming  <leeming@lyx.org>
4796
4797         * lfuns.h:
4798         * LyXAction.C (init):
4799         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4800         with LFUN_DIALOG_SHOW <name> <data>.
4801
4802 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4803
4804         * CutAndPaste.C (availableSelections): small compilation fix for
4805         ancient (gcc 2.9x) compilers
4806
4807 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * text3.C (cursorNext): add tmp var
4810
4811         * text2.C (updateCounters): for function calling out of for clause
4812         (replaceSelectionWithString): ditto
4813         (insertStringAsParagraphs): ditto
4814         (getColumnNearX): add tmp var
4815         (setCursorFromCoordinates): add tmp var
4816         (cursorDownParagraph): add tmp var
4817         (deleteEmptyParagraphMechanism): add tmp var
4818
4819         * text.C (insertChar): add tmp var
4820
4821         * rowpainter.C (paintDepthBar): add tmp var
4822
4823         * CutAndPaste.C (availableSelections): potentially check all
4824         paragraphs in a cut to fill the shown strings.
4825
4826 2003-06-18  André Pönitz  <poenitz@gmx.net>
4827
4828         * kbmap.[Ch]: use vector<> instead of list<>
4829
4830 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4831
4832         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4833         pasteSelection with index
4834
4835         * text2.C (pasteSelection): modify, call pasteSelection with index
4836
4837         * paragraph.C (asString): reimplement version with no interval to
4838         call the one with interval.
4839
4840         * lyxtext.h: add index arg to pasteSelection
4841
4842         * MenuBackend.C (MenuItem): handle PasteRecent
4843         (Menu::read::Menutags): add md_pasterecent
4844         (read): handle it
4845         (expandPasteRecent): new function
4846         (expand): use it
4847
4848         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4849
4850         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4851         the limited stack
4852         (availableSelections): new function
4853
4854 2003-06-17  Angus Leeming  <leeming@lyx.org>
4855
4856         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4857
4858 2003-06-17  Angus Leeming  <leeming@lyx.org>
4859
4860         * lfuns.h:
4861         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4862
4863         * lyxfunc.C (dispatch): invoke it.
4864
4865 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4866
4867         * iterators.C (operator++, ParPosition): reintroduce some
4868         const_cast for the benefit of older compilers.
4869
4870 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4871
4872         * text3.C (dispatch): do not modify clipboard when doing
4873         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4874         LFUN_DELETE_SKIP on a selection selection
4875
4876 2003-06-16  André Pönitz  <poenitz@gmx.net>
4877
4878         * BufferView.C:
4879         * buffer.C:
4880         * buffer.h:
4881         * paragraph.C:
4882         * tabular.[Ch]: IU of clone() and getLabelList();
4883
4884 2003-06-13  André Pönitz  <poenitz@gmx.net>
4885
4886         * tabular.h: compactification
4887
4888 2003-06-12  André Pönitz  <poenitz@gmx.net>
4889
4890         * tabular.C:
4891         * tabular.h:
4892         * tabular_funcs.h: some renaming plus whitespace
4893
4894 2003-06-12  André Pönitz  <poenitz@gmx.net>
4895
4896         * BufferView.C:
4897         * BufferView_pimpl.C:
4898         * CutAndPaste.C:
4899         * buffer.C:
4900         * iterators.[Ch]:
4901         * lyxfunc.C:
4902         * text.C:
4903         * toc.C: Return a Paragraph & for ParIterator::operator*()
4904
4905 2003-06-11  John Levon  <levon@movementarian.org>
4906
4907         * lyx_main.C:
4908         * ToolbarBackend.h:
4909         * ToolbarBackend.C: add "Toolbars" section and
4910         put the flags there
4911
4912 2003-06-10  Angus Leeming  <leeming@lyx.org>
4913
4914         * lfuns.h:
4915         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4916
4917         * lyxfunc.C (dispatch): invoke it.
4918
4919 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * main.C: protect <ios> with HAVE_IOS
4922         (main): protect sync_with_stdio with HAVE_IOS
4923
4924 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4925
4926         * text2.C (cutSelection): adjust
4927         (pasteSelection): adjust
4928
4929         * messages.C: handle get of empty string
4930
4931         * main.C (main): use sync_with_stdio(false)
4932
4933         * lyxfunc.C (dispatch): adjust
4934
4935         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4936         (WriteAs): remove unneeded BufferView arg.
4937
4938         * bufferparams.h: use correct types on papersize, papersize2 and
4939         paperpackage.
4940
4941         * bufferparams.C (readToken): adjust for type
4942         (writeLaTeX): add missing cases to switch.
4943
4944         * bufferlist.C (quitWriteBuffer): adjust
4945         (close): adjust
4946
4947         * buffer.C (asciiParagraph): remove some commented code.
4948
4949         * CutAndPaste.C: remove current_view extern variable.
4950         (cutSelection): add BufferParams arg.
4951         (eraseSelection): add BufferParams arg.
4952         (pasteSelection): add Buffer const & arg
4953
4954 2003-06-07  John Levon  <levon@movementarian.org>
4955
4956         * buffer.C:
4957         * paragraph_funcs.C:
4958         * paragraph_pimpl.C:
4959         * text.C:
4960         * text2.C:
4961         * paragraph.h:
4962         * paragraph.C: allow InsetERT to freely space lines,
4963         and some consolidation of code
4964
4965 2003-06-06  José Matos  <jamatos@fep.up.pt>
4966
4967         * buffer.C (makeDocBookFile): fix bug #821
4968
4969 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4972
4973 2003-06-04  Angus Leeming  <leeming@lyx.org>
4974
4975         * buffer.C: bump format to 224.
4976
4977 2003-06-05  André Pönitz  <poenitz@gmx.net>
4978
4979         * text2.C (redoParagraphs): remove two const_cast<>
4980
4981 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4982
4983         * ParagraphList.h: remove last remnants of NO_STD_LIST
4984
4985 2003-06-03  Angus Leeming  <leeming@lyx.org>
4986
4987         * factory.C (createInset): small change to the way InsetExternal's params
4988         are set.
4989
4990 2003-06-04  André Pönitz  <poenitz@gmx.net>
4991
4992         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4993
4994         * paragraph_pimpl.h:
4995         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4996
4997         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4998
4999         * undo_funcs.C: make some simple cases of undo work again
5000
5001 2003-06-03  John Levon  <levon@movementarian.org>
5002
5003         * ispell.C: HPUX doesn't have sys/select.h
5004         (from Albert Chin)
5005
5006 2003-06-03  John Levon  <levon@movementarian.org>
5007
5008         * CutAndPaste.C: update tabular and include inset
5009         buffer references
5010
5011         * buffer.h:
5012         * paragraph.h:
5013         * paragraph.C: remove owningBuffer(), don't pass Buffer
5014         to clone()
5015
5016         * factory.C: insetGraphicsParams changed
5017
5018 2003-06-02  John Levon  <levon@movementarian.org>
5019
5020         * LyXAction.C:
5021         * factory.C:
5022         * lfuns.h:
5023         * lyxfunc.C:
5024         * text3.C: remove insetparent
5025
5026 2003-06-02  John Levon  <levon@movementarian.org>
5027
5028         * buffer.h:
5029         * buffer.C: fix inset_iterator.end(), move out of line
5030         (bug 1149)
5031
5032 2003-06-01  John Levon  <levon@movementarian.org>
5033
5034         * text3.C: use a proper cut/paste when doing inset
5035         insert (from Jürgen Spitzmüller)
5036
5037 2003-06-01  John Levon  <levon@movementarian.org>
5038
5039         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5040
5041 2003-05-30  André Pönitz  <poenitz@gmx.net>
5042
5043         * rowpainter.C: unify second drawing phase
5044
5045 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * trans_mgr.C: remove one case of current_view
5048
5049         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5050
5051         * paragraph_funcs.h: remove paragraph.h include
5052
5053         * paragraph.h: delete NO_STD_LIST stuff
5054
5055         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5056
5057         * buffer.h: remove paragraph.h include
5058
5059         * ParagraphList.C: delete file
5060
5061         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5062
5063         * toc.C (getTocList): adjust
5064
5065         * paragraph_pimpl.C (validate): adjust
5066
5067         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5068
5069         * paragraph.C (Paragraph): adjust
5070         (getPositionOfInset): use const_iterator, adjust
5071         (bibitem): use const_iterator, adjust
5072         (setInsetOwner): adjust
5073
5074         * iterators.C (operator++): adjust
5075
5076         * InsetList.[Ch]: Replace selfmade iterator with standard
5077         vector::iterator also introduce const_iterator. Remove getPos,
5078         getInset and setInset from InsetTable. Adjust accordingly.
5079
5080         * BufferView.C (lockInset): adjust
5081         (ChangeInsets): adjust
5082
5083         * tabular.[Ch]: delete commented same_id functions
5084
5085 2003-05-28  John Levon  <levon@movementarian.org>
5086
5087         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5088
5089 2003-05-28  André Pönitz  <poenitz@gmx.net>
5090
5091         * metricsinfo.[Ch]: remove 'fullredraw' member
5092
5093 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5094
5095         * lyxtextclass.C (operator): remove caching.
5096
5097 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * text3.C: adjust
5100
5101         * text2.C (cursorBottom): adjust
5102         (setCounter): use ParagraphList::find, adjust
5103
5104         * text.C (workWidth): use ParagraphList::find, adjust
5105
5106         * lyxcursor.C (LyXCursor): adjust
5107
5108         * buffer.C (inset_iterator): adjust
5109
5110         * ParagraphList.h: make iterator(value_type) private, make
5111         ParagraphList a friend of iterator.
5112
5113         * ParagraphList.C (find): new function
5114
5115         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5116
5117 2003-05-27  André Pönitz  <poenitz@gmx.net>
5118
5119         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5120
5121 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5122
5123         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5124
5125 2003-05-26  John Levon  <levon@movementarian.org>
5126
5127         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5128
5129 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * remove same_id from function signatures, adjust.
5132
5133 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5136
5137         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5138
5139         * paragraph.C (Paragraph): get rid of same_ids parameter
5140
5141         * ParagraphList.C (insert): adjust
5142         (push_back): adjust
5143
5144 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * paragraph_funcs.C (breakParagraph): adjust
5147         (breakParagraphConservative): adjust
5148
5149         * buffer.C (readParagraph): adjust
5150
5151         * ParagraphList.C (insert): take a reference instead of a pointer
5152         (insert): adjust
5153
5154         * paragraph.[Ch] (id): new function
5155
5156         * bufferlist.C (newFile): adjust
5157
5158         * ParagraphList.C (ParagraphList): adjust
5159         (assign): adjust
5160         (push_back): take a reference instead of a pointer.
5161
5162         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5163
5164         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5165         instead.
5166
5167         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5168         set else use old code.
5169
5170         * ParagraphList.C: remove all NO_NEXT code and only compile this
5171         code of NO_STD_LIST is set.
5172
5173 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * BufferView_pimpl.C:
5176         * TextCache.C:
5177         * TextCache.h:
5178         * bufferlist.C:
5179         * errorlist.h:
5180         * format.C:
5181         * format.h:
5182         * graph.C:
5183         * lyxfunc.C:
5184         * lyxrc.C:
5185         * graphics/GraphicsConverter.C:
5186         * graphics/PreviewLoader.C: header adjustment
5187
5188 2003-05-23  Angus Leeming  <leeming@lyx.org>
5189
5190         * LaTeXFeatures.[Ch] (useBabel): new method.
5191         * bufferparams.C (writeLaTeX): use it.
5192
5193 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * ParagraphList.h (set): remove unused function.
5196
5197 2003-05-23  André Pönitz  <poenitz@gmx.net>
5198
5199         * BufferView.C:
5200         * BufferView_pimpl.C:
5201         * buffer.C:
5202         * buffer.h:
5203         * lyxfunc.C:
5204         * undo_funcs.C: setUndo reworked
5205
5206         * iterators.[Ch]: add access to topmost ParagraphList
5207
5208         * lyxtext.[Ch] (workWidth): add a const
5209
5210 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5211
5212         * texrow.[Ch] (increasePos): remove function
5213         * exporter.C (export): removed unused var and outdated comment
5214
5215 2003-05-23  Angus Leeming  <leeming@lyx.org>
5216
5217         * latexrunparams.h: rename fragile as moving_arg.
5218         * paragraph.C (simpleTeXOnePar): ditto.
5219         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5220
5221 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5224         (createUndo): ditto
5225         (textUndoOrRedo): comment out a currently unused var.
5226
5227         * paragraph.h (NO_NEXT): enable NO_NEXT
5228
5229         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5230
5231         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5232
5233         * exporter.C (Export): adjust for removeAutoInsets removal.
5234
5235         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5236
5237         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5238
5239         * BufferView.[Ch] (removeAutoInsets): delete function
5240
5241 2003-05-22  Angus Leeming  <leeming@lyx.org>
5242
5243         * latexrunparams.h: add a free_spacing variable.
5244
5245         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5246         to pass moving_arg, as the data is stored in runparams.fragile.
5247
5248         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5249         to Inset::latexOptional or to simpleTeXOnePar.
5250
5251         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5252         free_spacing arg to Inset::latexOptional.
5253
5254         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5255         free_spacing arg.
5256
5257 2003-05-22  Angus Leeming  <leeming@lyx.org>
5258
5259         * latexrunparams.h: add fragile and use_babel variables.
5260
5261         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5262         * buffer.C (makeLaTeXFile): store this returned value in
5263         runparams.use_babel, thus passing it to the inset::latex methods.
5264
5265         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5266         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5267
5268         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5269         longer has a fragile arg, as it is stored in runparams.fragile.
5270
5271         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5272         moving_arg parameter as the data is stored in runparams.fragile.
5273
5274         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5275         a fragile parameter as the data is stored in runparams.fragile.
5276
5277 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5280
5281 2003-05-22  Angus Leeming  <leeming@lyx.org>
5282
5283         * latexrunparams.h: add a 'bool nice' which defaults to false.
5284
5285         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5286         now encapsulated within runparams.
5287
5288         * bufferlist.C (updateIncludedTeXfiles):
5289         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5290
5291 2003-05-22  Angus Leeming  <leeming@lyx.org>
5292
5293         * latexrunparams.h: new file containing struct LatexRunParams.
5294         * Makefile.am: add new file.
5295
5296         * LaTeX.[Ch] (c-tor, run):
5297         * buffer.[Ch] (makeLaTeXFile):
5298         * bufferlist.[Ch] (updateIncludedTeXfiles):
5299         * converter.C (convert, scanLog):
5300         * converter.[Ch] (runLaTeX):
5301         * exporter.C (Export):
5302         * paragraph.[Ch] (simpleTeXOnePar):
5303         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5304         * paragraph_funcs.[Ch] (latexParagraphs):
5305         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5306         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5307         pass around a LatexRunParams parameter.
5308
5309 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * paragraph.[Ch]: remove unused constructor
5312
5313         * ParagraphList.C (erase): new function, taking two iterators
5314
5315 2003-05-22  André Pönitz  <poenitz@gmx.net>
5316
5317         * undo_funcs.C: remove duplicated code
5318
5319         * iterator.[Ch]: operator=
5320
5321 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * tabular.C (SetMultiColumn): ws changes
5324
5325         * rowpainter.C (paintFirst): get rid of a ->previous
5326
5327         * lyx_cb.C (getPossibleLabel): parlist simplification
5328
5329         * BufferView.C (ChangeInsets): simplify slightly.
5330
5331 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5332
5333         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5334         * lfuns.h: new LFUN_SPACE
5335         * lyxfunc.C: protected space has a new lfun
5336         * paragraph_funcs.C: read new space insets
5337         * text3.C:
5338         * factory.C: handle new space insets
5339
5340 2003-05-22  André Pönitz  <poenitz@gmx.net>
5341
5342         * BufferView.C:
5343         * BufferView_pimpl.C:
5344         * buffer.[Ch]:
5345         * lyxfunc.C:
5346         * undo_funcs.C: return a ParIterator from getParFromID.
5347
5348         * iterators.[Ch]: add two const's
5349
5350 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * toc.C (getTocList): adjust
5353
5354         * iterators.[Ch]: rework for parlist
5355
5356         * buffer.C (par_iterator_begin): adjust
5357         (par_iterator_end): adjust
5358
5359         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5360
5361         * BufferView.C (removeAutoInsets): adjust
5362         (ChangeInsets): adjust
5363
5364 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5365
5366         * text.C (top_y): fix bug 1110
5367
5368 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * errorlist.[Ch]: added
5371         * buffer.C:
5372         * BufferView.[Ch]:
5373         * BufferView_pimpl.C:
5374         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5375         instead
5376
5377 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * Makefile.am: ensure that lyx is relinked upon changes to the
5380         various "convenience" libs.
5381
5382 2003-05-20  Angus Leeming  <leeming@lyx.org>
5383
5384         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5385         files are compiled in alphabetical order again.
5386
5387         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5388
5389 2003-05-19  Angus Leeming  <leeming@lyx.org>
5390
5391         * gettext.[Ch]: remove "char const * _(char const *)".
5392
5393 2003-05-19  André Pönitz  <poenitz@gmx.net>
5394
5395         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5396
5397         * Makefile.am:
5398         * BufferView.C:
5399         * DepTable.h:
5400         * LaTeXFeatures.C:
5401         * buffer.C:
5402         * lyxfont.C:
5403         * lyxlex.h:
5404         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5405
5406 2003-05-19  André Pönitz  <poenitz@gmx.net>
5407
5408         * buffer.C:
5409         * lyxlayout.[Ch]:
5410         * lyxtextclass.[Ch]:
5411         * paragraph.C:
5412         * paragraph_funcs.[Ch]:
5413         * text2.C:
5414         * text3.C: more insetenv work
5415
5416 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5417
5418         * ParagraphParameters.C (params2string): small bug fixed
5419
5420 2003-05-16  André Pönitz  <poenitz@gmx.net>
5421
5422         * debug.C:
5423         * bufferview_funcs.C: patch from Kornel Benko to prevent
5424           crash when _(...) is called twice in a statement
5425
5426 2003-05-16  André Pönitz  <poenitz@gmx.net>
5427
5428         * BufferView.C:
5429         * lyxfunc.C:
5430         * text.C:
5431         * text2.C:
5432         * text3.C:
5433         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5434
5435 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * lyx_main.C (init): remove spurious static_cast
5438
5439 2003-05-14  André Pönitz  <poenitz@gmx.net>
5440
5441         * BufferView.C: fix format string
5442
5443 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5444
5445         * BufferView.[Ch] (insertErrors): removed
5446         * BufferView.[Ch] (showErrorList): added
5447         * buffer.C (runChkTeX):
5448         * converter.C (scanLog): call showErrorList instead of inserterrors
5449
5450 2003-05-13  André Pönitz  <poenitz@gmx.net>
5451
5452         * BufferView_pimpl.C:
5453         * buffer.C:
5454         * bufferview_func.C:
5455         * MenuBackend.C:
5456         * lyxfunc.C:
5457         * lyxrc.C:
5458         * tex-accent.C:
5459         * text3.C:
5460         * toc.C:
5461         * tabular_funcs.h: tostr() from its own header
5462
5463         * ParagraphParameters.C:
5464         * ToolbarBackend.C:
5465         * bufferparams.C:
5466         * format.C:
5467         * lyxlex_pimpl.C:
5468         * text3.C: STRCONV()
5469
5470 2003-05-12  André Pönitz  <poenitz@gmx.net>
5471
5472         * BufferView.C:
5473         * BufferView_pimpl.C:
5474         * CutAndPaste.C:
5475         * LaTeX.C:
5476         * LaTeXFeatures.C:
5477         * ParagraphParameters.C:
5478         * buffer.C:
5479         * bufferlist.C:
5480         * bufferparams.C:
5481         * bufferview_funcs.C:
5482         * converter.C:
5483         * counters.C:
5484         * debug.C:
5485         * exporter.C:
5486         * format.C:
5487         * importer.C:
5488         * lyx_cb.C:
5489         * lyx_main.C:
5490         * lyxfont.C:
5491         * lyxfunc.C:
5492         * lyxvc.C:
5493         * paragraph.C:
5494         * paragraph_funcs.C:
5495         * tabular.C:
5496         * tabular_funcs.C:
5497         * text2.C:
5498         * text3.C:  boost::format -> bformat  all over the place
5499
5500
5501 2003-05-09  André Pönitz  <poenitz@gmx.net>
5502
5503         * LColor.[Ch]: Pimpl the #include <map> away
5504
5505 2003-05-09  John Levon  <levon@movementarian.org>
5506
5507         * bufferlist.C: never remove emergency saves
5508
5509 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * Makefile.am: better lib building
5512
5513 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5516         instead.
5517         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5518         (simpleTeXSpecialChars): adjust
5519         (simpleTeXSpecialChars): adjust
5520         * paragraph.C (simpleTeXOnePar): adjust
5521         * buffer.C (makeLaTeXFile): adjust
5522
5523         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5524
5525         * text2.C (changeDepth): parlist cleanup
5526         (getColumnNearX): ditto
5527
5528         * rowpainter.C (getLabelFont): parlist cleanup
5529
5530         * bufferlist.C (newFile): parlist cleanup
5531
5532         * CutAndPaste.C (eraseSelection): parlist cleanup
5533
5534         * BufferView_pimpl.C (trackChanges): parlist cleanup
5535         (dispatch): ditto
5536
5537         * BufferView.C (lockInset): parlist cleanup.
5538         (ChangeInsets): ditto
5539
5540 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * CutAndPaste.h: Update file header.
5543
5544         * CutAndPaste.C: Update file header.
5545         Store the parts cut out of the Document in a limited_stack.
5546         (copySelection): adjust
5547         (pasteSelection): new function, takes the index in the limited stack.
5548         (nrOfParagraphs): adjust
5549         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5550         simplify error inset insertion.
5551         (checkPastePossible): adjust
5552
5553 2003-05-06  John Levon  <levon@movementarian.org>
5554
5555         * text2.C: don't cast wrap inset to float
5556
5557 2003-05-05  André Pönitz  <poenitz@gmx.net>
5558
5559         * iterator.C:
5560         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5561
5562         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5563           few naked Paragraph *.
5564
5565 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5566
5567         * bufferparams.C: Output warning if a document with missing
5568         TeX document class is loaded
5569         * exporter.C: Disable TeX exports if the document class is missing
5570         * lyxtextclass.C:
5571         * lyxtextclass.h:
5572         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5573         isTeXClassAvailable()
5574
5575 2003-05-03  John Levon  <levon@movementarian.org>
5576
5577         * BufferView.h:
5578         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5579         explicit cursor show/hide
5580
5581         * BufferView_pimpl.h:
5582         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5583         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5584
5585         * lyxfunc.C: hide cursor before dispatching.
5586
5587         * lyx_cb.C:
5588         * lyxfind.C:
5589         * text.C:
5590         * text3.C: remove explicit cursor hides
5591
5592 2003-05-02  André Pönitz  <poenitz@gmx.net>
5593
5594         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5595
5596         * undo_funcs.C:
5597         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5598           linked lists
5599
5600         * text2.C: tiny whitespace
5601
5602 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * undo_funcs.C: almost only ws changes.
5605
5606         * ParagraphList.C (splice): just return if pl is empty.
5607
5608 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5609
5610         * ParagraphList.C (splice): new function.
5611
5612         * CutAndPaste.C (pasteSelection): use it
5613
5614 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * CutAndPaste.C (pasteSelection): remove the last next and
5617         previous from this file.
5618
5619 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * CutAndPaste.C (pasteSelection): more clean up, user proper
5622         ParagraphList functions for pasteing.
5623
5624         * ParagraphList.C (insert): new function, three arg insert
5625
5626 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * ParagraphList.C (insert): new function, three arg insert
5629
5630         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5631         not on paragraphs.
5632
5633 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5636
5637 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5640
5641 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5644         (copySelection): clean up a bit.
5645         (pasteSelection): use make_pair
5646
5647         * ParagraphList.C (ParagraphList): implement copy constructor
5648         (operator=): implement, base on copy constructor.
5649         (assign): new func
5650
5651         * paragraph.C (erase): return a bool
5652
5653         * paragraph_pimpl.C (erasePos): remove function, move contents...
5654         (erase): ... here. Return a bool.
5655         (erase): call erase instead of erasePos.
5656
5657 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5658
5659         * ParagraphList.h: define PitPosPair
5660         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5661         ParagraphList, fix a bug on pasting multiple pars
5662         * text2.C: change interface to C&P
5663
5664 2003-04-30  André Pönitz  <poenitz@gmx.net>
5665
5666         * undo_func.C: revert part of yesterday's patch 2
5667
5668 2003-04-30  John Levon  <levon@movementarian.org>
5669
5670         * LColor.C: s/tabular/table/
5671
5672 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * text3.C (dispatch): do not convert iterator -> pointer
5675         * undo_funcs.C (setCursorParUndo): ditto
5676         * text_funcs.C (transposeChars): ditto
5677
5678         * text2.C (setLayout): ws changes only
5679
5680         * text.C (breakParagraph): do not convert iterator -> pointer
5681         (insertChar): ditto
5682         (acceptChange): ditto
5683         (rejectChange): ditto
5684         (changeCase): ditto
5685         (Delete): ditto
5686         (backspace): ditto
5687
5688         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5689         pointer
5690
5691 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5692
5693         * text3.C (gotoInset): YABG (yet another bad getChar)
5694
5695 2003-04-29  André Pönitz  <poenitz@gmx.net>
5696
5697         * paragraph.h: make operator= private unimplemented as long as
5698           it is unusable
5699
5700         * ParagraphList.C: whitespace
5701
5702         * paragraph.[Ch]:
5703         * paragraph_pimpl.[Ch]:
5704         * paragraph_funcs.C:
5705         * CutAndPaste.C:
5706         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5707
5708         * text2.C:
5709           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5710
5711 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5712
5713         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5714         * paragraph.[Ch] (erase):
5715         * paragraph_pimpl.[Ch] (erase): change return type and value
5716         * text2.C (cutSelection): some rework
5717
5718 2003-04-28  John Levon  <levon@movementarian.org>
5719
5720         * bufferlist.C: changes for unsaved changes dialog
5721
5722 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * bufferlist.C (newFile): set language (messages_) for new
5725         documents also.
5726
5727         * buffer.C (readFile): ws changes only.
5728
5729 2003-04-28  André Pönitz  <poenitz@gmx.net>
5730
5731         * undo_funcs.C:
5732         * lyxfunc.C:
5733         * buffer.[Ch]:
5734         * BufferView_pimpl.C:
5735         * BufferView.C: getParFromID related ParagraphList::iterator changes
5736
5737 2003-04-28  André Pönitz  <poenitz@gmx.net>
5738
5739         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5740           Changes
5741
5742 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * messages.C: remove one more localedir class variable.
5745
5746 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * messages.C (getLocaleDir): singleton generation function
5749         (Pimpl): use it.
5750         (Messages): add a default constructor.
5751
5752         * main.C (main): do not setup localedir here, do not call
5753         gettext_init.
5754
5755         * gettext.C (_): use it.
5756         (gettext_init): delete funciton
5757
5758 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * gettext.C (getLyXMessages): new singleton generating function.
5761
5762         * buffer.C (updateDocLang): adjust
5763
5764         * Makefile.am (messages.o): add target
5765         (main.o): remove target
5766
5767 2003-04-27  John Levon  <levon@movementarian.org>
5768
5769         * bufferlist.C:
5770         * lyx_cb.C:
5771         * lyxfunc.C:
5772         * lyxvc.C: specify cancel button in Alert::prompt
5773
5774 2003-04-26  John Levon  <levon@movementarian.org>
5775
5776         * text3.C:
5777         * lyxfunc.C:
5778         * lfuns.h:
5779         * LyXAction.C: add LFUN_INSET_SETTINGS
5780
5781         * lyxfunc.C: don't enable tabular-feature when there's
5782         just any locking inset
5783
5784 2003-04-26  John Levon  <levon@movementarian.org>
5785
5786         * bufferlist.C: re-add Cancel to buffer close question
5787
5788         * lyxfunc.C: fix import UI a bit
5789
5790 2003-04-25  John Levon  <levon@movementarian.org>
5791
5792         * gettext.C: remove the broken asserts for now
5793
5794 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * messages.C: make case where setlocale cannot comply work better.
5797
5798         * buffer.C (updateDocLang): new function
5799         (changeLanguage): use it
5800         (readFile): use it
5801
5802         * text2.C (setCounter): use B_ a bit.
5803
5804         * lyxlayout.C (Read): be sure to trim the label strings.
5805
5806         * messages.C (Messages): fix typo in comment
5807
5808         * buffer.C (readFile): set message_ after file is loaded.
5809         (makeDocBookFile): remove double return
5810         (changeLanguage): reset message_ upon language change.
5811         (B_): new func, use this to get translated buffer strings.
5812
5813         * main.C: add myself and Jean Marc as authors.
5814
5815 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * messages.[hC]: pimplify Messages, and three different pimpls to be
5818         used in different circumstances.
5819
5820         * gettext.[Ch]: change for use with new message code.
5821
5822 2003-04-24 André Pönitz <poenitz@gmx.net>
5823
5824         * factory.C: support for eqref
5825
5826 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5827
5828         * messages.[Ch]: add missing char
5829
5830         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5831
5832         * messages.[Ch]: New files
5833
5834 2003-04-18  John Levon  <levon@movementarian.org>
5835
5836         * BufferView.h:
5837         * BufferView.C:
5838         * BufferView_pimpl.C:
5839         * lfuns.h:
5840         * LyXAction.C:
5841         * lyxtext.h:
5842         * text2.C: remove layout-copy/paste (bug 778)
5843
5844 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5845
5846         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5847
5848 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5851         if they succeed. Act accordingly.
5852
5853 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * text2.C (setCharFont): adjust
5856         (setCounter): adjust
5857         (insertStringAsLines): adjust
5858
5859         * text.C (leftMargin): adjust
5860         (setHeightOfRow): adjust
5861
5862         * rowpainter.C (paintFirst): adjust
5863         (paintLast): adjust
5864
5865         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5866         (outerHook): ditto
5867         (isFirstInSequence): ditto
5868         (getEndLabel): ditto
5869         (outerFont): adjust
5870
5871         * paragraph.C (getParLanguage): comment out some hard stuff.
5872
5873         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5874         (sgmlError): ditto
5875         (simpleDocBookOnePar): ditto
5876         (makeDocBookFile): use ParagraphList::iterator
5877
5878         * CutAndPaste.C (pasteSelection): adjust
5879
5880 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * text2.C (getFont): adjust
5883         (getLayoutFont): adjust
5884         (getLabelFont): adjust
5885
5886         * paragraph_funcs.C (TeXOnePar): adjust
5887
5888         * buffer.C (simpleLinuxDocOnePar): adjust
5889         (simpleDocBookOnePar): adjust
5890
5891         * CutAndPaste.C (pasteSelection): adjust
5892
5893         * BufferView.C (getEncoding): adjust
5894
5895         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5896
5897 2003-04-16  John Levon  <levon@movementarian.org>
5898
5899         * lyxfind.C: use parlist stuff for search/changes
5900
5901 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5904
5905         * text2.C (deleteEmptyParagraphMechanism): adjust
5906
5907         * text2.[Ch] (ownerParagraph): delete func (both of them
5908
5909 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5912
5913 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * ParagraphList.C: prepare for NO_NEXT
5916
5917 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * text2.C (getFont): adjust
5920         (getLayoutFont): adjust
5921         (getLabelFont): adjust
5922
5923         * paragraph.C (getFont): adjust
5924         (getLabelFont): adjust
5925         (getLayoutFont): adjust
5926
5927         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5928
5929 2003-04-15  John Levon  <levon@movementarian.org>
5930
5931         From Angus Leeming
5932
5933         * lyx_main.C: handle Include in .ui files
5934
5935 2003-04-15  John Levon  <levon@movementarian.org>
5936
5937         * MenuBackend.C: make the doc files length shorter
5938
5939         * ToolbarBackend.h:
5940         * ToolbarBackend.C: handle toolbar placement flags,
5941         Minibuffer
5942
5943 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5946         adjust
5947
5948         * paragraph_funcs.C (TeXOnePar): adjust
5949
5950         * paragraph.C (getLabelFont): add outerfont arg, adjust
5951         (getLayoutFont): ditto
5952         (simpleTeXOnePar): adjust
5953
5954         * paragraph_pimpl.C (realizeFont): delete func
5955
5956 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5959         row argument, constify cur argument.
5960
5961 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * text2.C (getFont): adjust
5964         (getLayoutFont): adjust
5965         (getLabelFont): adjust
5966
5967         * paragraph_funcs.C (TeXOnePar): adjust
5968         (outerFont): new func...
5969         (realizeFont): ...moved out from here, changed this to facilitate
5970         transition
5971
5972         * paragraph.C (getFont): take outerfont as arg, adjust
5973         (simpleTeXOnePar): add outerfont arg, adjust
5974
5975         * buffer.C (simpleLinuxDocOnePar): adjust
5976         (simpleDocBookOnePar): adjust
5977
5978         * CutAndPaste.C (pasteSelection): adjust
5979
5980         * BufferView.C (getEncoding): adjust
5981
5982 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * text2.C (setCharFont): adjust
5985         (setCounter): adjust
5986
5987         * text.C (leftMargin): adjust
5988         (setHeightOfRow): adjust
5989
5990         * rowpainter.C (paintFirst): adjust
5991         (paintLast): adjust
5992
5993         * paragraph_pimpl.C (realizeFont): adjust
5994
5995         * paragraph.C (isFirstInSequence): move from here...
5996         * paragraph_funcs.C (isFirstInSequence): ...to here
5997
5998         * paragraph.C (outerHook): move from here...
5999         * paragraph_funcs.C (outerHook): ...to here
6000
6001         * paragraph.C (depthHook): move from here...
6002         * paragraph_funcs.C (depthHook): ...to here
6003
6004         * paragraph.C (getEndLabel): move from here...
6005         * paragraph_funcs.C (getEndLabel): ...to here
6006
6007         * text2.C (realizeFont): move from here...
6008         * paragraph_funcs.C (realizeFont): ...to here
6009
6010 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6013
6014 2003-04-14  Angus Leeming  <leeming@lyx.org>
6015
6016         * LColor.[Ch]: scrap LColor mathcursor.
6017
6018 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * lyxlex.[Ch] (text): delete function
6021         * trans.C (Load): adjust
6022         * paragraph_funcs.C (readParToken): adjust
6023
6024 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6027         vector<char> instead of a char[].
6028
6029         * lyxlex_pimpl.C (getString): adjust
6030         (next): adjust
6031         (lex): use getString
6032         (eatLine): adjust
6033         (nextToken): adjust
6034
6035         * lyxlex.C (text): use pimpl_->getString()
6036         (getBool): ditto
6037         (findToken): ditto
6038
6039 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6042         (makeFontEntriesLayoutSpecific): temp var for par.size()
6043         (setLayout): temp var for ownerParagraphs().end()
6044         (fullRebreak): temp var for rows().end()
6045         (selectionAsString): temp var for boost::next(startpit), realize
6046         that the while really is a regular for loop.
6047         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6048         setCursor in one place.
6049         (setParagraph): temp vr for ownerParagraphs().end()
6050         (updateCounters): make the while loop a for loop
6051         (cutSelection): temp var for ownerParagraphs().end()
6052         (updateInset): make the do {} while() a regular for loop
6053         (getCursorX): use temp vars
6054         (setCurrentFont): use temp vars
6055         (getColumnNearX): use temp vars
6056
6057 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * text.C (transformChar): use temp var for getChar
6060         (computeBidiTables): use temp var for row->par()
6061         (fill): move temp vars for row->par() and pit->layout() earlier in
6062         the function.
6063         (labelFill): use temp var for row->par()
6064         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6065         asc and desc, realize that pit never changes and that firstpit is
6066         just a duplicate and not needed. Exchange rit->par() with pit in a
6067         lot of places.
6068         (breakAgain): use a temp var for boost::next(rit)
6069         (breakAgainOneRow): ditto
6070         (breakParagraph): use a temp var for rows().begin()
6071         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6072         (cursorRightOneWord): use temp var for cursor.par() and
6073         cursor.pos(), remove usage of tmpcursor.
6074         (cursorLeftOneWord): use temp var for cursor.par() and
6075         cursor.pos() only set cur at end of function.
6076
6077 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * text.C, text2.C: exchange all usage of Paragraph::next with
6080         boost::next(ParagraphList::iterator)
6081
6082         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6083
6084         * text2.C (cursorTop): simplify implementation
6085         (cursorBottom): ditto
6086         (setParagraph): use ParagraphList::iterator
6087         (setCurrentFont): adjust
6088         (getColumnNearX): adjust
6089         (cursorRight): adjust
6090         (cursorLeft): remove usage of Paragraph::previous
6091         (cursorUpParagraph): ditto
6092         (deleteEmptyParagraphMechanism): slight cleanup
6093
6094         * text.C (isBoundary): take a Paragraph const & instead of a
6095         pointer as arg.
6096         (addressBreakPoint): ditto
6097         (leftMargin): remove usage of Paragraph::previous.
6098         (setHeightOfRow): ditto
6099         (cursorLeftOneWord): ditto
6100         (selectNextWordToSpellcheck): ditto
6101         (Delete): ditto
6102         (backspace): ditto
6103         (breakParagraph): remove one usage of Paragraph::next
6104         (redoParagraph): ditto
6105         (acceptChange): ditto
6106         (insertChar): adjust
6107         (rowBreakPoint): adjust
6108
6109         * bufferview_funcs.C (toggleAndShow): adjust
6110
6111 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6114         methods to access it.
6115         * lyxtext.h:
6116         * text.C: Added updateRowPositions to compute all row positions.
6117         Make top_y and getRowNearY() to use the cached y position
6118
6119 2003-04-11  John Levon  <levon@movementarian.org>
6120
6121         * text.C (rowBreakPoint): reintroduce the labelEnd
6122         checks, code copied from the row fill stuff. Deep voodoo.
6123
6124         * text.C (fill): add a comment and debugging for the
6125         next poor soul.
6126
6127 2003-04-11  John Levon  <levon@movementarian.org>
6128
6129         * text.C: make sure fullrow insets get wrapped to the next line,
6130         even when they're in a manual label
6131
6132 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * text2.C (insertParagraph): make it take ParagraphList::iterator
6135         as arg.
6136         (setLayout): make it return ParagraphList::iterator
6137         (redoParagraphs): ditto
6138         (setCounter): ditto
6139         (checkParagraph): ditto
6140
6141         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6142
6143         * text2.C: adjust several funcs.
6144         (realizeFont): take a ParagraphList::iterator as arg.
6145         (getLayoutFont): ditto
6146         (getLabelFont): ditto
6147         (setCharFont): ditto
6148
6149         * text.C: adjust several funcs.
6150
6151 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6152
6153         * text.C (selectNextWordToSpellcheck): don't accidentally
6154         skip insets
6155
6156 2003-04-10  John Levon  <levon@movementarian.org>
6157
6158         * ToolbarBackend.C (getIcon): special handling for
6159         LFUN_MATH_DELIM
6160
6161 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6162
6163         * text2.C (cursorRight): a getChar assert fixed
6164
6165 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * text2.C (getFont): change to take a ParagraphList::iterator
6168         instead of Paragraph*
6169         Adjust several functions.
6170
6171         * text.C (transformChar): change to take a ParagraphList::iterator
6172         instead of Paragraph*
6173         (singleWidth): ditto
6174         Adjust several functions.
6175
6176         * rowpainter.C: adjust several functions
6177         * rowpainter.h:store a ParagraphList::iterator and not a
6178         Paragraph&.
6179
6180
6181 2003-04-09  John Levon  <levon@movementarian.org>
6182
6183         * lyxfunc.C:
6184         * lfuns.h:
6185         * LyXAction.h:
6186         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6187         and the "help" bits as well
6188
6189 2003-04-09  John Levon  <levon@movementarian.org>
6190
6191         * ToolbarBackend.h:
6192         * ToolbarBackend.C: allow multiple toolbars
6193
6194 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * undo_funcs.C (setCursorParUndo): adjust
6197
6198         * text_funcs.C (transposeChars): adjust
6199
6200         * text3.C (gotoNextInset): adjust
6201         (dispatch): adjust
6202
6203         * text2.C (setLayout): adjust
6204         (changeDepth): adjust
6205         (setFont): adjust
6206         (redoParagraphs): adjust
6207         (selectionAsString): adjust
6208         (setParagraph): adjust
6209         (insertInset): adjust
6210         (cutSelection): adjust
6211         (copySelection): adjust
6212         (pasteSelection): adjust
6213         (insertStringAsLines): adjust
6214         (updateInset): adjust
6215         (setCursor): change to take a ParagraphList::iterator parameter
6216         (setCursorIntern): change to take a ParagraphList::iterator parameter
6217         (setCurrentFont): adjust
6218         (cursorLeft): adjust
6219         (cursorRight): adjust
6220         (deleteEmptyParagraphMechanism): adjust
6221
6222         * text.C (breakParagraph): adjust
6223         (insertChar): adjust
6224         (acceptChange): adjust
6225         (rejectChange): adjust
6226         (selectNextWordToSpellcheck): adjust
6227         (changeCase): adjust
6228         (Delete): adjust
6229         (backspace): adjust
6230
6231         * lyxfind.C (SearchForward): adjust
6232         (SearchBackward): adjust
6233         (nextChange): adjust
6234
6235         * lyxcursor.C (par): adjust
6236
6237         * lyxcursor.h: store a ParagraphList::iterator instead of a
6238         Paragraph*
6239
6240         * lyx_cb.C (getPossibleLabel): adjust
6241
6242         * bufferview_funcs.C (toggleAndShow): adjust
6243
6244         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6245         (dispatch): adjust
6246
6247         * BufferView.C (removeAutoInsets): adjust
6248         (lockedInsetStoreUndo): adjust
6249
6250 2003-04-09  John Levon  <levon@movementarian.org>
6251
6252         * ToolbarBackend.C: try icon without argument
6253         if with argument fails
6254
6255 2003-04-08  John Levon  <levon@movementarian.org>
6256
6257         * ToolbarBackend.h:
6258         * ToolbarBackend.C: add getIcon(), handle tooltip,
6259         and change from "Icon" to "Item".
6260
6261 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6262
6263         * BufferView.C (lockInset): another bad getchar crunched
6264
6265 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6266
6267         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6268         again)
6269
6270 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6271
6272         * lyxfind.C (searchForward, searchBackwards): bug 782
6273
6274 2003-04-07  John Levon  <levon@movementarian.org>
6275
6276         * paragraph.C: remove dead comment
6277
6278         * text.C: remove troublesome depth-fiddling code
6279         in leftMargin() and rightMargin() (bug 1017)
6280
6281         * text.C: fix breaking of rows in nested lists
6282         (bug 1004)
6283
6284         * text2.C (updateCounters): fix up depth values
6285         (bug 1013)
6286
6287 2003-04-07  John Levon  <levon@movementarian.org>
6288
6289         * BufferView_pimpl.C: clear message when doc finishes resizing,
6290         and after a mouse event
6291
6292         * lyxfunc.C: clear message after exiting inset
6293
6294 2003-04-07  John Levon  <levon@movementarian.org>
6295
6296         * bufferview_funcs.C: show math status not outside
6297         status in the statusbar
6298
6299 2003-04-07  John Levon  <levon@movementarian.org>
6300
6301         * lyxfunc.C: note status changed after a depth change
6302
6303 2003-04-04  Angus Leeming  <leeming@lyx.org>
6304
6305         * LaTeX.h: move AuxInfo operator==, != out of line.
6306         Remove LaTeX virtual destructor; nothing derives from it.
6307         Move operator()() out of public area and rename it startscript().
6308         Change protected for private.
6309
6310 2003-04-04  Angus Leeming  <leeming@lyx.org>
6311
6312         * lyxfunc.C:
6313         * text2.C: remove unneeded #includes.
6314
6315 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * text2.C (dEPM): fix the heigth of the next row
6318
6319 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6320
6321         * text.C: squashed an invalid getChar requester + some ws changes
6322
6323 2003-04-03  John Levon  <levon@movementarian.org>
6324
6325         * bufferview_funcs.h:
6326         * bufferview_funcs.C:
6327         * lyxfunc.C:
6328         * lyxtext.h:
6329         * text2.C: make getStatus work for the env depth lfuns
6330
6331 2003-04-03  John Levon  <levon@movementarian.org>
6332
6333         * bufferview_funcs.h:
6334         * bufferview_funcs.C:
6335         * lyxfunc.C:
6336         * lyxtext.h:
6337         * text2.C: parlistize decDepth(), by merging it with incDepth()
6338
6339 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * lyxrow.h: store a ParagraphList::iterator instead of a
6342         Paragraph* and adjust other class functions to suit.
6343
6344         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6345         above.
6346
6347 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * text2.C (setCursor): do not anchor to cursor row for the time being
6350
6351 2003-04-02  John Levon  <levon@movementarian.org>
6352
6353         * LyXAction.C:
6354         * lfuns.h:
6355         * lyx_main.C:
6356         * lyxtext.h:
6357         * text.C:
6358         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6359
6360 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * paragraph.h: make ParagraphList and ParagraphList::iterator
6363         friends of Paragraph.
6364
6365         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6366
6367         * ParagraphList.C: Use the private next_ and previous_ from
6368         Paragraph.
6369
6370 2003-04-01  John Levon  <levon@movementarian.org>
6371
6372         * ToolbarBackend.h:
6373         * ToolbarBackend.C:
6374         * Makefile.am: rename, remove defaults gunk
6375
6376         * MenuBackend.h:
6377         * MenuBackend.C: remove defaults gunk
6378
6379         * Languages.h:
6380         * Languages.C: remove defaults gunk
6381
6382         * lyx_main.h:
6383         * lyx_main.C: error out if files couldn't be found.
6384
6385 2003-04-02  John Levon  <levon@movementarian.org>
6386
6387         * text2.C: make incDepth() use parlist
6388
6389 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * undo_funcs.C (firstUndoParagraph): adjust
6392
6393         * text3.C (gotoInset): adjust
6394         (dispatch): adjust, and rewrite loop.
6395
6396         * text2.C (init): adjust, and rewrite loop.
6397         (redoParagraphs): adjust
6398         (updateInset): adjust, and rewrite loop.
6399         (deleteEmptyParagraphMechanism): adjust
6400
6401         * tabular.C (LyXTabular): adjust
6402         (SetMultiColumn): adjust
6403         (TeXRow): adjust
6404
6405         * lyxtext.[Ch] (ownerParagraph): delete function
6406         (ownerParagraphs): new function returns a ParagraphList.
6407
6408         * BufferView.C (removeAutoInsets): adjust
6409         (insertErrors): adjust
6410         (setCursorFromRow): adjust
6411
6412 2003-04-01  Angus Leeming  <leeming@lyx.org>
6413
6414         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6415         in the frontends.
6416
6417 2003-04-02  John Levon  <levon@movementarian.org>
6418
6419         * lyxtext.h:
6420         * text.C:
6421         * Makefile.am:
6422         * text_funcs.h:
6423         * text_funcs.C: make transposeChars a free function
6424
6425         * lyxrow_funcs.C: remove wrong comment
6426
6427 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * lyxtext.h: adjust
6430         * rowpainter.C: adjust
6431         * text.C: adjust
6432         * text2.C: adjust
6433         * text3.C: adjust
6434
6435         * lyxrow_funcs. [Ch]: new files
6436
6437         * lyxrow.[Ch]: remove next and previous pointers
6438         (next,previous): remove accessor functions
6439         (isParEnd): move to lyxrow_funcs
6440         (lastPos): move to lyxrow_funcs
6441         (nextRowIsAllInset): move to lyxrow_funcs
6442         (lastPrintablePos): move to lyxrow_funcs
6443         (numberOfSeparators): move to lyxrow_funcs
6444         (numberOfHfills): move to lyxrow_funcs
6445         (numberOfLabelHfills): move to lyxrow_funcs
6446         (hfillExpansion): move to lyxrow_funcs
6447
6448         * lyxfunc.C: adjust
6449
6450         * bufferview_funcs.C (toggleAndShow): adjust
6451
6452         * RowList.h: Remove class RowList from file leave just a
6453         std::list<Row>.
6454
6455         * RowList.C: delete file
6456
6457         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6458         and lyxrow_funcs.h
6459
6460 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * text3.C (cursorPrevious): adjust
6463         (cursorNext): adjust
6464         (dispatch): adjust
6465
6466         * text2.C (redoHeightOfParagraph): adjust
6467         (redoDrawingOfParagraph): adjust
6468         (setCursor): adjust
6469
6470         * text.C (breakParagraph): adjust
6471         (insertChar): adjust
6472         (backspace): adjust
6473
6474         * rowpainter.C (RowPainter): adjust
6475         (leftMargin): simplify and adjust
6476         (most rowpainter functions): adjust.
6477
6478         * rowpainter.h: store the row as RowList::iterator not as Row*
6479
6480         * lyxcursor.C (row): taka RowList::iterator as arg
6481         (irow): ditto
6482
6483         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6484         of Row*.
6485
6486 2003-04-01  Angus Leeming  <leeming@lyx.org>
6487
6488         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6489         stuff like bool Bool.
6490
6491 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6492
6493         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6494         rewrite a loop
6495
6496 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6499         RowList::iterator.
6500
6501         * lyxtext.h (rows): drop one version and leve a const variant that
6502         returns a RowList::iterator.
6503
6504 2003-03-31  Angus Leeming  <leeming@lyx.org>
6505
6506         * text.C (fill): ensure that the signature is the same as that in the
6507         header file.
6508
6509 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * text2.C (redoParagraphs): adjust
6512         (updateCounters): adjust
6513         (checkParagraph): adjust
6514         (getColumnNearX): adjust and reformat a bit.
6515
6516         * text.C (top_y): adjust
6517         (workWidth): adjust
6518         (leftMargin): adjust
6519         (prepareToPrint): adjust
6520         (getRow): adjust
6521         (getRowNearY): adjust
6522
6523         * lyxtext.h: make rowlist_ mutable.
6524
6525         * RowList.h: add const_iterator
6526         * RowList.C: adjust for RowList::const_iterator.
6527
6528         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6529         adjust.
6530
6531 2003-03-31  John Levon  <levon@movementarian.org>
6532
6533         * lyxrc.h:
6534         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6535
6536         * lyx_main.C: set default fonts from using lyx_gui funcs
6537
6538         * exporter.C: pdf_mode moved from lyxrc
6539
6540         * lyx_cb.C:
6541         * lyxfunc.C: changes from above
6542
6543 2003-03-31  John Levon  <levon@movementarian.org>
6544
6545         * lyx_main.C: fix to the last fix
6546
6547 2003-03-31  John Levon  <levon@movementarian.org>
6548
6549         * bufferlist.C: "Load original" -> "Load Original"
6550
6551         * converter.C:
6552         * exporter.C:
6553         * importer.C:
6554         * lyx_main.C:
6555         * format.C: more Alert cleanups
6556
6557 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * text2.C (removeParagraph): make it take a RowList::iterator as
6560         arg, adjust.
6561         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6562         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6563
6564         * text.C (anchor_row): make it take a RowList::iterator as arg,
6565         adjust.
6566         (computeBidiTables): make it take a const reference to Row instead
6567         of Row pointer, adjust.
6568         (leftMargin): make it take a RowList::iterator as arg, adjust.
6569         (rowBreakPoint): adjust
6570         (breakAgainOneRow): make it take a RowList::iterator as arg,
6571         adjust.
6572         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6573
6574         * bufferview_funcs.C (toggleAndShow): adjust
6575
6576 2003-03-30  John Levon  <levon@movementarian.org>
6577
6578         * Makefile.am:
6579         * BoostFormat.h:
6580         * boost-inst.C: moved to support
6581
6582         * several files: changes as a result
6583
6584 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * text2.C (LyXText): adjust.
6587         (init): adjust
6588         (removeRow): make it take a RowList::iterator as arg, adjust.
6589         (fullRebreak): adjust
6590         (deleteEmptyParagraphMechanism): adjust
6591         (clearPaint): adjust
6592         (postPaint): adjust
6593
6594         * text.C (top_y): adjust
6595         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6596         (breakAgain): make it take a RowList::iterator as arg, adjust.
6597         (breakParagraph): adjust
6598         (insertChar): adjust
6599         (backspace): adjust
6600
6601         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6602         need_break_row, and refresh_row.
6603
6604         * text3.C (dispatch): adjust
6605
6606         * text2.C (checkParagraph): adjust
6607         (setCursor): adjust
6608         (setCursorFromCoordinates): adjust
6609
6610         * text.C (top_y): adjust
6611         (workWidth): adjust
6612         (getRow): make it return a RowList::iterator, adjust
6613         (getRowNearY): make it return a RowList::iterator, adjust
6614
6615         * text2.C (init): adjust
6616         (insertRow): remove function
6617         (insertParagraph): adjust
6618         (redoParagraphs): adjust
6619         (fullRebreak): adjust
6620         (updateCounters): adjust
6621
6622         * text.C (top_y): rewrite to use RowList iterators.
6623         (top_y): adjust
6624         (setHeightOfRow): rewrite to sue RowList iterators.
6625         (appendParagraph): adjust
6626         (breakAgain): adjust
6627         (breakAgainOneRow): adjust
6628         (breakParagraph): adjust
6629         (getRow): adjust
6630         (getRowNearY): adjust, and remove commented code.
6631
6632         * lyxtext.h (firstRow): delete function
6633         (lastRow): delete function
6634         (rows): new function (const and non-const versions.)
6635         (insertRow): delete function
6636
6637         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6638
6639 2003-03-29  John Levon  <levon@movementarian.org>
6640
6641         * BufferView_pimpl.C: always update scrollbar top
6642         because pasting text when we're anchored could mean we
6643         miss an update altogether
6644
6645 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * text2.C (init): use rowlist_.end() and not 0.
6648         (insertRow): change to take a RowList::iterator as arg, adjust
6649         for this.
6650         (insertParagraph): change to take a RowList::iterator as arg,
6651         adjust for this.
6652         (redoParagraphs): remove some debug msgs.
6653
6654         * text.C (appendParagraph): change to take a RowList::iterator
6655         arg, adjust for this.
6656         (breakAgain): add an assert
6657         (breakAgainOneRow): ditto
6658
6659 2003-03-29  John Levon  <levon@movementarian.org>
6660
6661         * text2.C: do not clear selection after inc/decDepth
6662         (bug 550)
6663
6664 2003-03-29  John Levon  <levon@movementarian.org>
6665
6666         * BufferView.C:
6667         * buffer.C: fix broken strerrors according to Lars
6668
6669 2003-03-29  John Levon  <levon@movementarian.org>
6670
6671         * converters.C: more Alert cleanups
6672
6673 2003-03-29  John Levon  <levon@movementarian.org>
6674
6675         * bufferview_funcs.C: remove pointless Alert
6676
6677         * buffer.C: fix confusing error message when
6678         a template is chmoded 000
6679
6680 2003-03-29  John Levon  <levon@movementarian.org>
6681
6682         * BufferView.C:
6683         * BufferView.h:
6684         * BufferView_pimpl.C: Alert fixes
6685
6686         * Makefile.am:
6687         * tabular.C:
6688         * tabular-old.C: remove unused table compat reading
6689
6690 2003-03-29  John Levon  <levon@movementarian.org>
6691
6692         * BufferView.C:
6693         * buffer.C:
6694         * lyx_cb.h:
6695         * lyx_cb.C: more Alert cleanups
6696
6697         * lyxfunc.C: don't allow chktex if not latex document
6698
6699 2003-03-29  John Levon  <levon@movementarian.org>
6700
6701         * lyx_cb.C:
6702         * BufferView.C:
6703         * buffer.C: warnings pushed down from support/,
6704         kill err_alert
6705
6706 2003-03-29  John Levon  <levon@movementarian.org>
6707
6708         * lyxfunc.C: safety check for C-r (revert)
6709
6710 2003-03-29  John Levon  <levon@movementarian.org>
6711
6712         * bufferlist.h:
6713         * bufferlist.C: several UI fixes using Alert::prompt.
6714         Fix the pointless looping quit code. Fix stupid revert
6715         behaviour (bug 938)
6716
6717         * lyxvc.h:
6718         * lyxvc.C:
6719         * lyx_cb.C: use Alert::prompt
6720
6721         * lyx_main.C: remove a silly question
6722
6723         * lyxfunc.C: remove a couple of silly questions,
6724         use Alert::prompt
6725
6726 2003-03-28  John Levon  <levon@movementarian.org>
6727
6728         * text2.C: fix bug 974 (End on empty par)
6729
6730 2003-03-28  John Levon  <levon@movementarian.org>
6731
6732         * BufferView_pimpl.C:
6733         * LyXAction.C:
6734         * lfuns.h: remove do-nothing math greek lfuns
6735
6736 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * lyxgluelength.h (isValidGlueLength): add default arg on
6739         parameter 2. Remove default arg from friend in class.
6740
6741         * lyxlength.h (isValidLength): add default arg on parameter 2.
6742         Remove default arg from friend in class.
6743
6744         * text2.C (LyXText): adjust, initialize refresh_row.
6745         (init): adjust
6746         (removeRow): adjust
6747         (insertRow): adjust
6748         (insertParagraph): adjst
6749         (redoParagraphs): adjust
6750         (fullRebreak): adjust
6751         (updateCounters): adjust
6752         (deleteEmptyParagraphMechanism): first attempt at fixing a
6753         crashing bug.
6754
6755         * text.C (top_y): adjust
6756         (setHeightOfRow): adjust
6757         (getRow): adjust
6758         (getRowNearY): adjust
6759
6760         * lyxtext.h: include RowList.h
6761         (~LyXText): not needed anymore, deleted.
6762         (firstRow): modify for RowList
6763         (lastRow): new function
6764         Delete firstrow and lastrow class variables, add a Rowlist
6765         rowlist_ class variable.
6766
6767         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6768         paragraph is empty.
6769
6770         * RowList.C (insert): fix case where it == begin().
6771
6772 2003-03-26  Angus Leeming  <leeming@lyx.org>
6773
6774         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6775         the thesaurus dialog.
6776
6777 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6780
6781         * RowList.[Ch]: new files
6782
6783         * ParagraphList.C (erase): handle the case where it == begin
6784         correctly.
6785
6786 2003-03-25  John Levon  <levon@movementarian.org>
6787
6788         * Makefile.am:
6789         * aspell_local.h:
6790         * aspell.C: add new aspell support
6791
6792         * lyxrc.h:
6793         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6794         have it accessible.
6795
6796 2003-03-25  Angus Leeming  <leeming@lyx.org>
6797
6798         * lfuns.h:
6799         * LyXAction.C (init): new LFUN_INSET_INSERT.
6800
6801         * BufferView_pimpl.C (dispatch): split out part of the
6802         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6803
6804         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6805         LFUN_INSET_APPLY.
6806
6807 2003-03-25  Angus Leeming  <leeming@lyx.org>
6808
6809         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6810
6811 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6812
6813         * text2.C:
6814         * text3.C: remove useless row->height(0)
6815
6816 2003-03-25  John Levon  <levon@movementarian.org>
6817
6818         * lyxtext.h:
6819         * text2.C:
6820         * text3.C: rename the refreshing stuff to better names
6821
6822 2003-03-24  John Levon  <levon@movementarian.org>
6823
6824         * BufferView_pimpl.h:
6825         * BufferView_pimpl.C: update layout choice on a mouse
6826         press/release
6827
6828 2003-03-23  John Levon  <levon@movementarian.org>
6829
6830         * Makefile.am: fix commandtags.h reference
6831
6832 2003-03-22  John Levon  <levon@movementarian.org>
6833
6834         * BufferView_pimpl.C:
6835         * lyxtext.h:
6836         * rowpainter.C:
6837         * rowpainter.h:
6838         * text.C:
6839         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6840
6841 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6842
6843         * lyxtext.h:
6844         * text.C: take the rtl methods out of line
6845
6846 2003-03-21 André Pönitz <poenitz@gmx.net>
6847
6848         * metricsinfo.[Ch]: new files containing structures to be passed around
6849         during the two-phase-drawing...
6850
6851 2003-03-21 André Pönitz <poenitz@gmx.net>
6852
6853         * lyxtextclass.C: read 'environment' tag.
6854
6855 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6856
6857         * text2.C (removeRow): fix bug 964
6858
6859 2003-03-20  John Levon  <levon@movementarian.org>
6860
6861         * rowpainter.C:
6862         * text.C:
6863         * text2.C: paint cleanups. Inset::update() dropped font
6864         parameter
6865
6866 2003-03-19  John Levon  <levon@movementarian.org>
6867
6868         * lyxfunc.C: only fitcursor/markDirty if available()
6869
6870 2003-03-19  John Levon  <levon@movementarian.org>
6871
6872         * commandtags.h: rename to ...
6873
6874         * lfuns.h: ... this, and renumber / cleanup
6875
6876 2003-03-19  John Levon  <levon@movementarian.org>
6877
6878         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6879         fit the cursor after an lfun
6880
6881         * BufferView.h:
6882         * BufferView.C:
6883         * BufferView_pimpl.h:
6884         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6885
6886         * LyXAction.C: layout-character should have ReadOnly
6887
6888         * ParagraphParameters.C:
6889         * buffer.C:
6890         * bufferview_funcs.C:
6891         * lyx_cb.C:
6892         * lyxfind.C:
6893         * lyxtext.h:
6894         * text.C:
6895         * text2.C:
6896         * text3.C:
6897         * undo_funcs.C: changes from above
6898
6899 2003-03-18  John Levon  <levon@movementarian.org>
6900
6901         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6902         remove it from update()
6903
6904         * lyxfunc.C: update layout choice after an lfun
6905
6906         * text3.C: remove extra updateLayoutChoice()s
6907
6908 2003-03-18  John Levon  <levon@movementarian.org>
6909
6910         * text.C: top_y change means full repaint, fix
6911         a drawing bug with cursor movement
6912
6913 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6914
6915         * lyxtext.h:
6916         * text.C:
6917         * text2.C: anchor row on setCursor
6918
6919 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * lyxtext.h: remove almost all mutable keywords
6922         * text.C:
6923         * text2.C:
6924         * text3.C: remove const keywords accordingly
6925
6926 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6929         anon namespace
6930         (TeXEnvironment): ditto
6931         (TeXOnePar): ditto
6932
6933 2003-03-17  John Levon  <levon@movementarian.org>
6934
6935         * text.C (rowBreakPoint): remove attempt to fix displayed
6936         math insets inside a manual label
6937
6938 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * lyxtext.h: remove BufferView* as first arg from almost all class
6941         functions.
6942         * other files: adjust.
6943
6944 2003-03-17  John Levon  <levon@movementarian.org>
6945
6946         * lyxtext.h:
6947         * undo_funcs.C:
6948         * text2.C: more paint cleanups
6949
6950         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6951
6952         * rowpainter.h:
6953         * rowpainter.C: remove "smart" background painting code
6954
6955 2003-03-16  John Levon  <levon@movementarian.org>
6956
6957         * lyxtext.h:
6958         * text.C:
6959         * text2.C:
6960         * text3.C: add helper functions for setting refresh_row/y
6961
6962 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6963
6964         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6965         newline inset which *can* get inserted in the pass_thru layouts.
6966         This is primarily for literate documents.
6967
6968 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6969
6970         * buffer.C: increment LYX_FORMAT to 223
6971
6972 2003-03-14 André Pönitz <poenitz@gmx.net>
6973
6974         * textclass.h: prepare for environment handling, ws changes
6975         * lyxlayout.C: read latexheader and latexfooter tags
6976
6977 2003-03-14  John Levon  <levon@movementarian.org>
6978
6979         * text2.C: rewrite ::status() a bit
6980
6981 2003-03-13  John Levon  <levon@movementarian.org>
6982
6983         * lyxtext.h: add some docs
6984
6985 2003-03-13  John Levon  <levon@movementarian.org>
6986
6987         * lyxtext.h:
6988         * text.C:
6989         * text2.C:
6990         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6991
6992 2003-03-13  John Levon  <levon@movementarian.org>
6993
6994         * text3.C: fix appendix redrawing
6995
6996 2003-03-13  John Levon  <levon@movementarian.org>
6997
6998         * text.C (setHeightOfRow):
6999         * rowpainter.h:
7000         * rowpainter.C: make appendix mark have the text
7001           "Appendix" so the user knows what it is
7002
7003         * LColor.h:
7004         * LColor.C: s/appendixline/appendix/ from above
7005
7006 2003-03-13  John Levon  <levon@movementarian.org>
7007
7008         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7009
7010         * text.C: fix a getChar(pos) bug properly
7011
7012 2003-03-13  Angus Leeming  <leeming@lyx.org>
7013
7014         * commandtags.h:
7015         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7016         Probably only temporary. Let's see how things pan out.
7017
7018         * BufferView.C (unlockInset):
7019         * BufferView_pimpl.C (fitCursor):
7020         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7021
7022         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7023         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7024
7025         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7026         new functions that convert ParagraphParameters to and from a string.
7027
7028         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7029         BufferView::Pimpl's dispatch.
7030         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7031
7032 2003-03-13 André Pönitz <poenitz@gmx.net>
7033
7034         * lyxfunc.C:
7035         * text3.C:
7036         * factory.C: make it aware of InsetEnv
7037
7038 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text2.C (setCursor): never ask for one past last
7041         (setCursor): add some debugging messages.
7042
7043         * text.C (singleWidth): never ask for one past last
7044         (singleWidth): ditto
7045         (leftMargin): ditto
7046         (rightMargin): ditto
7047         (rowBreakPoint): ditto
7048         (setHeightOfRow): ditto
7049         (prepareToPrint): ditto
7050
7051         * rowpainter.C (paintBackground): never ask for one past last
7052         (paintText): never ask for one past last
7053
7054         * paragraph_pimpl.C (getChar): make the assert stricter, never
7055         allow the one past last pos to be taken
7056
7057         * paragraph.C (getChar): ws changes only
7058
7059         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7060         (numberOfSeparators): ditto
7061         (numberOfHfills): ditto
7062
7063 2003-03-12  John Levon  <levon@movementarian.org>
7064
7065         * author.h:
7066         * author.C:
7067         * bufferparams.h:
7068         * bufferparams.C:
7069         * paragraph_funcs.C: fix per-buffer authorlists
7070
7071 2003-03-12  John Levon  <levon@movementarian.org>
7072
7073         * text.C: fix newline in right address
7074
7075 2003-03-12  Angus Leeming  <leeming@lyx.org>
7076
7077         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7078         duplicate those in LyXFunc::dispatch.
7079
7080         * commandtags.h:
7081         * LyXAction.C:
7082         * ToolbarDefaults.C:
7083         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7084         Add LFUN_FONTFREE_UPDATE.
7085
7086         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7087         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7088
7089         * bufferview_func.[Ch]: several new functions to facilliate
7090         transfer of data to and from the character dialog.
7091
7092 2003-03-12  John Levon  <levon@movementarian.org>
7093
7094         * buffer.C:
7095         * paragraph.h:
7096         * paragraph.C:
7097         * paragraph_funcs.C:
7098         * paragraph_pimpl.C:
7099         * sgml.C:
7100         * tabular.C:
7101         * text.C:
7102         * text3.C: remove META_NEWLINE in favour of an inset
7103
7104         * rowpainter.h:
7105         * rowpainter.C: remove paintNewline (done by inset)
7106
7107 2003-03-12  John Levon  <levon@movementarian.org>
7108
7109         * paragraph_pimpl.C: complain about bad getChar()s
7110         for a while at least
7111
7112 2003-03-12  John Levon  <levon@movementarian.org>
7113
7114         * buffer.h:
7115         * buffer.C: move paragraph read into a separate function,
7116         a little renaming to reflect that.
7117
7118         * bufferparams.h:
7119         * bufferparams.C: remove the author_ids map, not necessary now
7120
7121         * factory.h:
7122         * factory.C: moved Buffer::readInset to here
7123
7124         * paragraph_funcs.h:
7125         * paragraph_funcs.C: readParagraph free function moved from
7126         buffer.C
7127
7128         * tabular.C: name change
7129
7130 2003-03-12  John Levon  <levon@movementarian.org>
7131
7132         * buffer.C:
7133         * ParagraphParameters.C: move par params input to
7134         a read() method
7135
7136         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7137         behave like a normal read from the stream wrt reading
7138         a line vs. a \\token
7139
7140 2003-03-12  John Levon  <levon@movementarian.org>
7141
7142         * paragraph.C:
7143         * ParagraphParameters.h:
7144         * ParagraphParameters.C: move output code to a
7145         ::write() method
7146
7147 2003-03-12  John Levon  <levon@movementarian.org>
7148
7149         * BufferView.C (insertLyXFile):
7150         * buffer.h:
7151         * buffer.C:
7152         * tabular.C: use a parlist iterator for creating the
7153           document.
7154
7155 2003-03-12  John Levon  <levon@movementarian.org>
7156
7157         * buffer.C: make current_change static local not
7158           static file-scope
7159
7160 2003-03-12  John Levon  <levon@movementarian.org>
7161
7162         * buffer.C: fix insertStringAsLines for change tracking
7163
7164 2003-03-12  John Levon  <levon@movementarian.org>
7165
7166         * BufferView.C:
7167         * tabular.C:
7168         * buffer.h:
7169         * buffer.C:
7170         * bufferparams.h:
7171         * bufferparams.C: move author list into params. Rename some
7172           functions. Move the header reading into a separate token
7173           loop. Move the header token reading into BufferParams.
7174
7175 2003-03-12  John Levon  <levon@movementarian.org>
7176
7177         * changes.C: put debug inside lyxerr.debugging() checks
7178
7179 2003-03-11 André Pönitz <poenitz@gmx.net>
7180
7181         * factory.C: make it aware of InsetHFill
7182
7183 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7184
7185         * buffer.C (latexParagraphs): move function from here...
7186         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7187         args.
7188
7189 2003-03-10  Angus Leeming  <leeming@lyx.org>
7190
7191         * LyXAction.C (init): fix bug in poplating array with multiple entries
7192         with the same LFUN (spotted by JMarc).
7193
7194 2003-03-10  John Levon  <levon@movementarian.org>
7195
7196         * text.C:
7197         * text2.C: move getColumnNearX() near its
7198         only call site
7199
7200 2003-03-10  John Levon  <levon@movementarian.org>
7201
7202         * text.C: fix break before a minipage
7203
7204 2003-03-10  John Levon  <levon@movementarian.org>
7205
7206         * text.C: fix the last commit
7207
7208 2003-03-09  John Levon  <levon@movementarian.org>
7209
7210         * lyxtext.h:
7211         * text.C:
7212         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7213         bug 365 (don't break before insets unless needed). Don't
7214         return a value > last under any circumstances.
7215
7216 2003-03-09  Angus Leeming  <leeming@lyx.org>
7217
7218         * BufferView_pimpl.C (trackChanges, dispatch): call
7219         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7220
7221 2003-03-09  Angus Leeming  <leeming@lyx.org>
7222
7223         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7224         than Dialogs::showAboutlyx().
7225
7226 2003-03-09  Angus Leeming  <leeming@lyx.org>
7227
7228         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7229         than Dialogs::showTabularCreate().
7230
7231 2003-03-09  John Levon  <levon@movementarian.org>
7232
7233         * lyxtext.h:
7234         * text.C:
7235         * text2.C: 3rd arg to nextBreakPoint was always the same.
7236           Use references.
7237
7238 2003-03-08  John Levon  <levon@movementarian.org>
7239
7240         * lyxrow.C:
7241         * paragraph.C:
7242         * paragraph.h:
7243         * rowpainter.C:
7244         * text.C:
7245         * text2.C: Remove the "main" bit from the "main body"
7246           notion.
7247
7248 2003-03-08  John Levon  <levon@movementarian.org>
7249
7250         * text.C (leftMargin): The left margin of an empty
7251         manual label paragraph should not include the label width
7252         string length.
7253
7254         * text.C (prepareToPrint): don't attempt to measure hfills
7255         for empty manual label paragraphs - the answer should be 0
7256
7257 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * CutAndPaste.C: remove commented code and reindent.
7260
7261 2003-03-08  John Levon  <levon@movementarian.org>
7262
7263         * lyxfunc.h:
7264         * lyxfunc.C: move reloadBuffer()
7265
7266         * BufferView.h:
7267         * BufferView.C: to here
7268
7269         * lyxvc.C: add comment
7270
7271         * vc-backend.h:
7272         * vc-backend.C: call bv->reload() to avoid
7273           getStatus() check on MENURELOAD
7274
7275 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7276
7277         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7278         to an old format .dep file.
7279
7280 2003-03-07  Angus Leeming  <leeming@lyx.org>
7281
7282         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7283         when the LFUN_MOUSE_RELEASE should have been handled by
7284         inset->localDispatch.
7285
7286 2003-03-07  Angus Leeming  <leeming@lyx.org>
7287
7288         * BufferView_pimpl.C (dispatch):
7289         * LyXAction.C (init):
7290         * ToolbarDefaults.C (init):
7291         * commandtags.h:
7292         * lyxfunc.C (getStatus):
7293         remove LFUN_INSET_GRAPHICS.
7294
7295         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7296
7297 2003-03-07  Angus Leeming  <leeming@lyx.org>
7298
7299         * commandtags.h:
7300         * LyXAction.C (init):
7301         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7302
7303         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7304
7305         * commandtags.h:
7306         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7307
7308         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7309         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7310
7311 2003-03-07  Angus Leeming  <leeming@lyx.org>
7312
7313         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7314         remove "ert".
7315
7316 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * ParagraphList.C (front): new function
7319         (back): implement
7320
7321 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7322
7323         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7324         and top_row_offset_. removed var first_y.
7325         * text.C (top_y):
7326         * text2.C (LyXText, removeRow):
7327         * text3.C:
7328         * BufferView_pimpl.C:
7329         use these methods instead of using first_y
7330
7331 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * text2.C (pasteSelection): adjust for checkPastePossible
7334
7335         * CutAndPaste.C: remove Paragraph * buf and replace with
7336         ParagraphList paragraphs.
7337         (DeleteBuffer): delete
7338         (cutSelection): change the tc type to textclass_type
7339         (copySelection): change the tc type to textclass_type
7340         (copySelection): adjust for ParagraphList
7341         (pasteSelection): change the tc type to textclass_type
7342         (pasteSelection): adjust for Paragraphlist
7343         (nrOfParagraphs): simplify for ParagraphList
7344         (checkPastePossible): simplify for ParagraphList
7345         (checkPastePossible): remove unused arg
7346
7347         * ParagraphList.C (insert): handle the case where there are no
7348         paragraphs yet.
7349
7350         * CutAndPaste.h: make CutAndPaste a namespace.
7351
7352         * text3.C (dispatch): adjust
7353
7354         * text.C (breakParagraph): add a ParagraphList as arg
7355
7356         * paragraph_funcs.C (breakParagraph): change to take a
7357         BufferParams and a ParagraphList as args.
7358         (breakParagraphConservative): ditto
7359         (mergeParagraph): ditto
7360         (TeXDeeper): add a ParagraphList arg
7361         (TeXEnvironment): ditto
7362         (TeXOnePar): ditto
7363
7364         * buffer.C (readLyXformat2): adjust
7365         (insertStringAsLines): adjust
7366         (latexParagraphs): adjust
7367
7368         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7369         (cutSelection): adjust
7370         (pasteSelection): adjust
7371
7372         * BufferView_pimpl.C (insertInset): adjust
7373
7374 2003-03-05  Angus Leeming  <leeming@lyx.org>
7375
7376         * commandtags.h:
7377         * LyXAction.C (init):
7378         * BufferView_pimpl.C (dispatch):
7379         * lyxfunc.C (getStatus):
7380         remove LFUN_CHILD_INSERT.
7381
7382         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7383
7384 2003-03-05  Angus Leeming  <leeming@lyx.org>
7385
7386         * commandtags.h:
7387         * LyXAction.C (init):
7388         * src/factory.C (createInset):
7389         * lyxfunc.C (getStatus):
7390         * text3.C (dispatch):
7391         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7392
7393         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7394
7395 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * ParagraphList.C (insert): handle insert right before end()
7398         (erase): fix cases where it can be first or last paragraph.
7399
7400 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7403         Paragraph::next and Paragraph::previous
7404         (TeXOnePar): ditto
7405
7406         * text.C (breakParagraph): adjust
7407
7408         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7409         BufferParams& as arg.
7410         (breakParagraph): use ParagraphList::insert
7411         (breakParagraphConservative): take a Buffer* instead of a
7412         BufferParams& as arg.
7413         (breakParagraphConservative): use ParagraphList::insert.
7414
7415         * buffer.C (insertStringAsLines): un-const it
7416         (insertStringAsLines): adjust
7417
7418         * ParagraphList.C (insert): new function
7419
7420         * CutAndPaste.C (pasteSelection): adjust
7421
7422         * text.C (backspace): adjust
7423
7424         * tabular.C (SetMultiColumn): adjust
7425
7426         * CutAndPaste.C (cutSelection): adjust
7427         (pasteSelection): adjust
7428
7429         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7430         Buffer const * as arg
7431
7432         * ParagraphList.C (erase): new function
7433         * paragraph_funcs.C (mergeParagraph): use it
7434         (mergeParagraph): make it take a Buffer* instead of a
7435         BufferParams* as arg
7436
7437         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7438         as arg
7439         (breakParagraphConservative): ditto
7440
7441         * paragraph.h: remove the breakParagraph friend
7442
7443         * paragraph.C (eraseIntern): new function
7444         (setChange): new function
7445
7446         * paragraph_funcs.C (mergeParagraph): make it take a
7447         ParagraphList::iterator instead of a Paragraph *, adjust
7448         accordingly.
7449
7450         * paragraph.h: move an #endif so that the change tracking stuff
7451         also works in the NO_NEXT case.
7452
7453 2003-03-04  Angus Leeming  <leeming@lyx.org>
7454
7455         * commandtags.h:
7456         * LyXAction.C: new LFUN_INSET_MODIFY.
7457
7458         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7459         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7460
7461 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * several files: ws changes only
7464
7465         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7466         (TeXEnvironment): ditto
7467         (TeXDeeper): ditto
7468
7469         * buffer.C (makeLaTeXFile): adjust
7470         (latexParagraphs): make it take ParagraphList::iterator as args
7471
7472 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * buffer.C (latexParagraphs): adjust
7475
7476         * paragraph.C (TeXOnePar): move function...
7477         (optArgInset): move function...
7478         (TeXEnvironment): move function...
7479         * paragraph_pimpl.C (TeXDeeper): move function...
7480         * paragraph_funcs.C: ...here
7481
7482         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7483
7484 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * buffer.C (readInset): remove compability code for old Figure and
7487         InsetInfo insets
7488
7489 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * buffer.C: ws changes
7492         (readInset):
7493
7494         * BufferView_pimpl.C: ditto
7495         * author.C: ditto
7496         * buffer.h: ditto
7497         * bufferlist.h: ditto
7498         * changes.h: ditto
7499         * lyxfunc.C: ditto
7500
7501 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7502
7503         * converter.[Ch]: split into itself +
7504         * graph.[Ch]
7505         * format.[Ch]
7506         * Makefile.am: += graph.[Ch] + format.[Ch]
7507         * MenuBackend.C
7508         * buffer.C
7509         * exporter.C
7510         * importer.C
7511         * lyx_main.C
7512         * lyxfunc.C
7513         * lyxrc.C: added #include "format.h"
7514
7515 2003-02-27  Angus Leeming  <leeming@lyx.org>
7516
7517         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7518           a label.
7519
7520         * factory.C (createInset): add "label" to the factory.
7521
7522         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7523           string and do no more.
7524
7525 2003-02-27  Angus Leeming  <leeming@lyx.org>
7526
7527         * commandtags.h:
7528         * LyXAction.C (init):
7529         * factory.C (createInset):
7530         * BufferView_pimpl.C (dispatch):
7531           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7532
7533         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7534
7535         * lyxfunc.C (dispatch):
7536         * text3.C (dispatch): pass name to params2string.
7537
7538 2003-02-26  Angus Leeming  <leeming@lyx.org>
7539
7540         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7541           blocks together.
7542           Rearrange the ~includes. Strip out the unnecessary ones.
7543
7544         * factory.C (createInset): reformat.
7545           create new insets for the various LFUN_XYZ_APPLY lfuns.
7546
7547 2003-02-26  John Levon  <levon@movementarian.org>
7548
7549         * lyxrow.h:
7550         * lyxrow.C: add isParStart,isParEnd helpers
7551
7552         * paragraph.h: make isInserted/DeletedText take refs
7553
7554         * paragraph_funcs.h:
7555         * paragraph_funcs.C: remove #if 0'd code
7556
7557         * lyxtext.h:
7558         * text3.C:
7559         * text2.C:
7560         * text.C: use lyxrow helpers above.
7561           Move draw and paint routines to RowPainter.
7562           Make several methods use refs not pointers.
7563           Make backgroundColor() const.
7564           Add markChangeInDraw(), isInInset().
7565           Merge changeRegionCase into changeCase.
7566           Make workWidth() shouldn't-happen code into an Assert.
7567
7568         * rowpainter.h:
7569         * rowpainter.C: new class for painting a row.
7570
7571         * vspace.h:
7572         * vspace.C: make inPixels take a ref
7573
7574 2003-02-26  Angus Leeming  <leeming@lyx.org>
7575
7576         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7577         LFUN_REF_APPLY.
7578
7579 2003-02-25  John Levon  <levon@movementarian.org>
7580
7581         * ispell.C: give the forked command a more accurate name
7582
7583 2003-02-22  John Levon  <levon@movementarian.org>
7584
7585         * toc.h:
7586         * toc.C: make TocItem store an id not a Paragraph *
7587           (bug #913)
7588
7589 2003-02-21  Angus Leeming  <leeming@lyx.org>
7590
7591         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7592           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7593           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7594           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7595           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7596           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7597
7598         * BufferView_pimpl.C (dispatch):
7599         * LyXAction.C (init):
7600         * factory.C (createInset):
7601         * lyxfunc.C (getStatus, dispatch):
7602         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7603
7604 2003-02-21  Angus Leeming  <leeming@lyx.org>
7605
7606         * BufferView_pimpl.C (MenuInsertLyXFile):
7607         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7608         * lyxfunc.C (menuNew, open, doImport):
7609           no longer pass a LyXView & to fileDlg.
7610
7611 2003-02-21  Angus Leeming  <leeming@lyx.org>
7612
7613         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7614         * LyXAction.C: change, BIBKEY to BIBITEM.
7615         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7616         Change InsetBibKey to InsetBibitem.
7617         Change BIBKEY_CODE to BIBITEM_CODE.
7618         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7619         * factory.C: replace insetbib.h with insetbibitem.h.
7620         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7621         * paragraph.C: replace insetbib.h with insetbibitem.h.
7622         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7623         Change bibkey() to bibitem().
7624         * text.C: remove insetbib.h.
7625         * text2.C: replace insetbib.h with insetbibitem.h.
7626         change bibkey() to bibitem().
7627         * text3.C: remove insetbib.h.
7628         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7629
7630 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7631
7632         * lyxrc.C (output): enclose user email in quotes (in case there are
7633         several words)
7634
7635 2003-02-18  John Levon  <levon@movementarian.org>
7636
7637         * buffer.h: add std::
7638
7639 2003-02-17  John Levon  <levon@movementarian.org>
7640
7641         * SpellBase.h:
7642         * ispell.h:
7643         * ispell.C:
7644         * pspell.h:
7645         * pspell.C: reworking. Especially in ispell, a large
7646           number of clean ups and bug fixes.
7647
7648         * lyxfunc.C: fix revert to behave sensibly
7649
7650 2003-02-17 André Pönitz <poenitz@gmx.net>
7651
7652         * LyXAction.C:
7653         * commandtags.h: new LFUN_INSERT_BIBKEY
7654
7655         * layout.h:
7656         * lyxlayout.C:
7657         * buffer.C:
7658         * factory.C:
7659         * text.C:
7660         * text2.C:
7661         * text3.C:
7662         * paragraph.[Ch]:
7663         * paragraph_func.C: remove special bibkey handling
7664
7665 2003-02-17  John Levon  <levon@movementarian.org>
7666
7667         * text.C (Delete): fix case where delete at the end of
7668           the very first paragraph would not merge the pars
7669
7670 2003-02-17  John Levon  <levon@movementarian.org>
7671
7672         * lyxrow.C: fix lastPrintablePos()
7673
7674 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7675
7676         * bufferparams.C (writeLaTeX): add a std:here
7677
7678         * buffer.C: and remove a using directive there
7679
7680 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7681
7682         * buffer.C (makeLaTeXFile): move the code that generates the
7683           preamble...
7684
7685         * bufferparams.C (writeLaTeX): ... in this new method
7686
7687         * LaTeXFeatures.C (getEncodingSet): make const
7688           (getLanguages): make const
7689
7690         * MenuBackend.C (binding): returns the binding associated to this
7691           action
7692           (add): sets the status of each item by calling getStatus. Adds
7693           some intelligence.
7694           (read): add support for OptSubMenu
7695           (expand): remove extra separator at the end of expanded menu
7696
7697 2003-02-15  John Levon  <levon@movementarian.org>
7698
7699         * BufferView.C:
7700         * BufferView_pimpl.C:
7701         * bufferlist.h:
7702         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7703           inset code that had no actual effect. Remove unneeded status
7704           code.
7705
7706 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7709           in preamble
7710
7711 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7712
7713         * text.C (drawLengthMarker): also draw an arrow marker for
7714           symbolic lengths (medskip...)
7715
7716 2003-02-14  John Levon  <levon@movementarian.org>
7717
7718         * tabular.h:
7719         * tabular.C: better method names
7720
7721 2003-02-14  John Levon  <levon@movementarian.org>
7722
7723         * BufferView_pimpl.C:
7724         * bufferlist.C:
7725         * buffer.C:
7726         * converter.C:
7727         * lyx_cb.C:
7728         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7729           it's a more accurate name. Remove some pointless uses.
7730
7731 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7732
7733         * text2.C (LyXText): change order of initilizers to shut off
7734           warnings
7735
7736 2003-02-14  John Levon  <levon@movementarian.org>
7737
7738         * buffer.C: use ParIterator for getParFromID()
7739
7740         * paragraph.h:
7741         * paragraph.C:
7742         * paragraph_pimpl.h:
7743         * paragraph_pimpl.C: remove unused getParFromID()
7744
7745 2003-02-14  John Levon  <levon@movementarian.org>
7746
7747         * buffer.C: remove some very old #if 0'd parse code
7748
7749 2003-02-13  John Levon  <levon@movementarian.org>
7750
7751         * text.h:
7752         * text.C:
7753         * text2.C: move hfillExpansion(), numberOfSeparators(),
7754           rowLast(), rowLastPrintable(), numberofHfills(),
7755           numberOfLabelHfills() ...
7756
7757         * lyxrow.h:
7758         * lyxrow.C: ... to member functions here.
7759
7760         * paragraph.h:
7761         * paragraph.C:
7762         * lyxtext.h:
7763         * text.C: remove LyXText::beginningOfMainBody(), and call
7764           p->beginningOfMainBody() directly. Move the check for
7765           LABEL_MANUAL into the latter.
7766
7767         * text.h:
7768         * text.C:
7769         * text2.C:
7770         * vspace.C:
7771         * BufferView.h:
7772         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7773
7774         * text.h:
7775         * text.C:
7776         * text2.C:
7777         * text3.C:
7778         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7779           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7780
7781 2003-02-13  John Levon  <levon@movementarian.org>
7782
7783         * CutAndPaste.C: remove debug
7784
7785 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7786
7787         * paragraph.C (asString): remove two unused variables
7788
7789         * lyxtextclass.C (readTitleType):
7790           (Read):
7791           (LyXTextClass): handle new members titletype_ and titlename_
7792
7793         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7794
7795 2003-02-09  John Levon  <levon@movementarian.org>
7796
7797         * buffer.h:
7798         * buffer.C: replace hand-coded list with a map for the dep clean
7799
7800 2003-02-08  John Levon  <levon@movementarian.org>
7801
7802         * LaTeX.C: consolidate code into showRunMessage() helper
7803
7804 2003-02-08  John Levon  <levon@movementarian.org>
7805
7806         * lyxfind.C:
7807         * lyxtext.h:
7808         * text2.C:
7809         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7810           and pass the size in explicitly
7811
7812         * BufferView_pimpl.h:
7813         * BufferView_pimpl.C:
7814         * BufferView.h:
7815         * BufferView.C: add getCurrentChange()
7816
7817         * BufferView_pimpl.h:
7818         * BufferView_pimpl.C: handle change lfuns
7819
7820         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7821           for changes. Mark pasted paragraphs as new.
7822
7823         * support/lyxtime.h:
7824         * support/lyxtime.C:
7825         * DepTable.C: abstract time_t as lyx::time_type
7826
7827         * LColor.h:
7828         * LColor.C: add colours for new text, deleted text, changebars
7829
7830         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7831           package use "usenames" option.
7832
7833         * commandtags.h:
7834         * lyxfunc.C:
7835         * LyXAction.C: add change lfuns
7836
7837         * Makefile.am:
7838         * author.h:
7839         * author.C: author handling
7840
7841         * buffer.h:
7842         * buffer.C: add a per-buffer author list, with first entry as
7843           current author. Handle new .lyx tokens for change tracking. Output
7844           author list to .lyx file. Output dvipost stuff to .tex preamble.
7845           Bump lyx format to 222.
7846
7847         * bufferlist.h:
7848         * bufferlist.C: add setCurrentAuthor() to reset current author details
7849           in all buffers.
7850
7851         * bufferparams.h:
7852         * bufferparams.C: add param for tracking
7853
7854         * bufferview_funcs.C: output change info in minibuffer
7855
7856         * Makefile.am:
7857         * changes.h:
7858         * changes.C: add change-tracking structure
7859
7860         * debug.h:
7861         * debug.C: add CHANGES debug flag
7862
7863         * lyxfind.h:
7864         * lyxfind.C: add code for finding the next change piece
7865
7866         * lyxrc.h:
7867         * lyxrc.C: add user_name and user_email
7868
7869         * lyxrow.h:
7870         * lyxrow.C: add a metric for the top of the text line
7871
7872         * lyxtext.h:
7873         * text.C: implement accept/rejectChange()
7874
7875         * lyxtext.h:
7876         * text.C: paint changebars. Paint new/deleted text in the chosen
7877         colours. Strike through deleted text.
7878
7879         * paragraph.h:
7880         * paragraph.C:
7881         * paragraph_pimpl.h:
7882         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7883           in the current change to the insert functions. Rework erase to
7884           mark text as deleted, adding an eraseIntern() and a range-based
7885           erase(). Implement per-paragraph change lookup and
7886           accept/reject.
7887
7888         * paragraph_funcs.C: Fixup paste for change tracking.
7889
7890         * tabular.C: mark added row/columns as new.
7891
7892         * text.C: fix rowLast() to never return -1. Don't allow
7893           spellchecking of deleted text. Track transpose changes. Don't
7894           allow paragraph break or merge where appropriate.
7895
7896         * text2.C: leave cursor at end of selection after a cut.
7897
7898 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7899
7900         * text.C (getLengthMarkerHeight):
7901         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7902         visible on screen too.
7903
7904 2003-02-07  John Levon  <levon@movementarian.org>
7905
7906         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7907
7908 2003-02-05  Angus Leeming  <leeming@lyx.org>
7909
7910         * lyxserver.C (read_ready): revert my patch of 11 September last year
7911         as it sends PC cpu through the roof. Presumably this means that
7912         the lyxserver will no longer run on an Alpha...
7913
7914 2003-01-30  Angus Leeming  <leeming@lyx.org>
7915
7916         * factory.C (createInset): create an InsetCommandParam of type "index"
7917         and use it to 'do the right thing'.
7918
7919         * text2.C (getStringToIndex): ensure that cursor position is always
7920         reset to the reset_cursor position.
7921
7922 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7923
7924         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7925         disabled.
7926
7927 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7928
7929         * bufferview.C:
7930         * lyxcb.C:
7931         * lyxfunc.C: Output messages with identical spelling, punctuation,
7932         and spaces
7933
7934 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7935
7936         * MenuBackend.C (expandFormats): List only viewable export formats
7937         in "View" menu
7938
7939         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7940         message
7941
7942         * lyxfunc.C (getStatus): Make sure that formats other than
7943         "fax" can also be disabled
7944
7945 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7946
7947         * text3.C (dispatch): put the lfuns that insert insets in 3
7948         groups, and call doInsertInset with appropriate arguments.
7949         (doInsertInset): new function, that creates an inset and inserts
7950         it according to some boolean parameters.
7951
7952 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * buffer.C (readFile): remember to pass on 'par' when calling
7955         readFile recursively.
7956
7957 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7958
7959         * MenuBackend.C (expandFormats): add "..." to import formats.
7960
7961 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7962
7963         * paragraph.C (asString): Remove XForms RTL hacks.
7964
7965 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7966         * buffer.C: fix typo
7967
7968 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * Makefile.am (LIBS): delete var
7971         (lyx_LDADD): add @LIBS@ here instead.
7972
7973 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7974
7975         * Clarify the meaning of "wheel mouse jump"
7976
7977 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7978
7979         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7980         tabular in a float
7981
7982 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7983
7984         * importer.C (Loaders): do not preallocate 3 elements in the
7985         vector, since one ends up with 6 elements otherwise
7986
7987 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7988
7989         * DepTable.C (write): write the file name as last element of the
7990         .dep file (because it may contain spaces)
7991         (read): read info in the right order
7992
7993 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7994
7995         * paragraph_pimpl.C (simpleTeXBlanks):
7996         (simpleTeXSpecialChars):
7997         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7998
7999         * tabular.C (latex): add some missing case statements. Reindent.
8000
8001         * MenuBackend.C (expandToc): remove unused variable.
8002
8003 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8004
8005         * LColor.C:
8006         * LaTeX.C:
8007         * LyXAction.C:
8008         * MenuBackend.C:
8009         * buffer.C:
8010         * exporter.C:
8011         * lyxfunc.C:
8012         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8013         and the like.
8014
8015 2003-01-05  John Levon  <levon@movementarian.org>
8016
8017         * BufferView.h:
8018         * BufferView.C: add getEncoding()
8019
8020         * kbsequence.h:
8021         * kbsequence.C: do not store last keypress
8022
8023         * lyxfunc.h:
8024         * lyxfunc.C: store last keypress here instead. Pass encoding
8025           to getISOEncoded()
8026
8027 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8028
8029         * lyx_main.C (init): remove annoying error message when following
8030         symbolic links (bug #780)
8031
8032 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8033
8034         * text.C (insertChar):
8035         * lyxrc.C (getDescription): remove extra spaces
8036
8037 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8038
8039         * lyxrc.C (getDescription): remove extra spaces
8040
8041 2002-12-20  John Levon  <levon@movementarian.org>
8042
8043         * text3.C: hack fix for page up/down across tall rows
8044
8045 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8046
8047         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8048         not been invoked
8049
8050 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8051
8052         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8053         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8054         thesaurus is not compiled in
8055
8056 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8057
8058         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8059
8060 2002-12-16  Angus Leeming  <leeming@lyx.org>
8061
8062         * lyxrc.[Ch]:
8063         * lyx_main.C (init): remove override_x_deadkeys stuff.
8064
8065 2002-12-12  John Levon  <levon@movementarian.org>
8066
8067         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8068           insert. Only remove shift modifier under strict
8069           circumstances.
8070
8071 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * MenuBackend.C (expandToc): fix crash.
8074
8075 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * MenuBackend.C (expandToc): gettext on float names.
8078
8079 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8080
8081         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8082         implement bool empty() [bug 490]
8083
8084 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8087
8088 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * several files: ws changes
8091
8092 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * text2.C (setCounter): clean up a bit, use boost.format.
8095         (updateCounters): initialize par upon declaration.
8096
8097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8098         if the layout exists. We do not just store the layout any more.
8099         (SwitchLayoutsBetweenClasses): use boost.format
8100
8101 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8102
8103         * converter.C (convert): if from and to files are the same, use a
8104         temporary files as intermediary
8105
8106 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8107
8108         * commandtags.h:
8109         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8110
8111 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8112
8113         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8114
8115 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * tabular.C (asciiPrintCell): use string(size, char) instead of
8118         explicit loop.
8119
8120         * sgml.C (openTag): fix order of arguments to string constructor
8121         (closeTag): ditto
8122
8123         * lyxfunc.C (dispatch): use boost.format
8124
8125         * lots of files: change "c" -> 'c'
8126
8127 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8128
8129         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8130
8131 2002-11-25  Angus Leeming  <leeming@lyx.org>
8132
8133         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8134
8135         * lyx_main.C (init): compile fix.
8136
8137 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * lyx_cb.C (start): boost.formatify
8140         do not include <iostream>
8141
8142         * lengthcommon.C: ws only
8143
8144         * boost-inst.C,BoostFormat.h: add more explict instantations
8145
8146 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * lots of files: handle USE_BOOST_FORMAT
8149
8150 2002-11-21  John Levon  <levon@movementarian.org>
8151
8152         * pspell.C: fix compile
8153
8154 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8155
8156         * lyxfunc.C (dispatch): use boost::format
8157         (open): ditto
8158         (doImport): ditto
8159
8160         * lyxfont.C (stateText): use boost::format
8161
8162         * lyx_main.C (LyX): use boost::format
8163         (init): ditto
8164         (queryUserLyXDir): ditto
8165         (readRcFile): ditto
8166         (parse_dbg): ditto
8167         (typedef boost::function): use the recommened syntax.
8168
8169         * importer.C (Import): use boost::format
8170
8171         * debug.C (showLevel): use boost::format
8172
8173         * converter.C (view): use boost::format
8174         (convert): ditto
8175         (move): ditto
8176         (scanLog): ditto
8177
8178         * bufferview_funcs.C (currentState): use boost::format
8179
8180         * bufferlist.C (emergencyWrite): use boost::format
8181
8182         * buffer.C (readLyXformat2): use boost::format
8183         (parseSingleLyXformat2Token): ditto
8184
8185         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8186
8187         * LaTeX.C (run): use boost::format
8188
8189         * Chktex.C (scanLogFile): use boost::format
8190
8191         * BufferView_pimpl.C (savePosition): use boost::format
8192         (restorePosition): ditto
8193         (MenuInsertLyXFile): ditto
8194
8195         * BoostFormat.h: help file for explicit instation.
8196
8197 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8198
8199         * tabular.C (latex): Support for block alignment in fixed width
8200         columns.
8201
8202 2002-11-17  John Levon  <levon@movementarian.org>
8203
8204         * BufferView_pimpl.C:
8205         * lyx_cb.C:
8206         * lyxfunc.C: split filedialog into open/save
8207
8208 2002-11-08  Juergen Vigna  <jug@sad.it>
8209
8210         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8211         by my last patch (hopefully).
8212
8213 2002-11-08  John Levon  <levon@movementarian.org>
8214
8215         * iterators.h:
8216         * iterators.C:
8217         * buffer.h:
8218         * buffer.C:
8219         * paragraph.h:
8220         * paragraph.C:
8221         * toc.h:
8222         * toc.C: ParConstIterator, and use it (from Lars)
8223
8224 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8225
8226         * lyxtextclass.[Ch]: revise and add doxygen comments
8227
8228 2002-11-07  John Levon  <levon@movementarian.org>
8229
8230         * text.C: fix progress value for spellchecker
8231
8232         * toc.C: fix navigate menu for insetwrap inside minipage
8233
8234         * paragraph_funcs.C: added FIXME for suspect code
8235
8236 2002-11-07  John Levon  <levon@movementarian.org>
8237
8238         * BufferView_pimpl.C: fix redrawing of insets
8239           on buffer switch
8240
8241 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8242
8243         * text2.C (updateCounters): fix bug 668
8244
8245 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8246
8247         * text3.C (dispatch): Do not make the buffer dirty when moving the
8248         cursor.
8249
8250 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * vc-backend.C: STRCONV
8253         (scanMaster): ditto
8254
8255         * text2.C (setCounter): STRCONV
8256
8257         * paragraph.C (asString): STRCONV
8258
8259         * lyxlength.C (asString): STRCONV
8260         (asLatexString): ditto
8261
8262         * lyxgluelength.C (asString): STRCONV
8263         (asLatexString): ditto
8264
8265         * lyxfunc.C (dispatch): STRCONV
8266         (open): ditto
8267
8268         * lyxfont.C (stateText): STRCONV
8269
8270         * importer.C (Import): STRCONV
8271
8272         * counters.C (labelItem): STRCONV
8273         (numberLabel): ditto
8274         (numberLabel): remove unused ostringstream o
8275
8276         * chset.C: STRCONV
8277         (loadFile): ditto
8278
8279         * bufferview_funcs.C (currentState): STRCONV
8280
8281         * buffer.C (readFile): STRCONV
8282         (asciiParagraph): ditto
8283         (makeLaTeXFile): ditto
8284
8285         * Spacing.C (writeEnvirBegin): STRCONV
8286
8287         * LaTeXFeatures.C (getLanguages): STRCONV
8288         (getPackages): ditto
8289         (getMacros): ditto
8290         (getBabelOptions): ditto
8291         (getTClassPreamble): ditto
8292         (getLyXSGMLEntities): ditto
8293         (getIncludedFiles): ditto
8294
8295         * LaTeX.C: STRCONV
8296         (run): ditto
8297         (scanAuxFile): ditto
8298         (deplog): ditto
8299
8300         * LString.h: add the STRCONV macros
8301
8302         * BufferView_pimpl.C (savePosition): STRCONV
8303         (restorePosition): ditto
8304         (MenuInsertLyXFile): ditto
8305
8306         * vc-backend.C (scanMaster): change from submatch[...] to
8307         submatch.str(...)
8308
8309         * funcrequest.C: include config.h
8310
8311         * factory.C: include config.h
8312
8313         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8314
8315         * box.C: include config.h
8316
8317         * LaTeX.C (scanAuxFile): change from submatch[...] to
8318         submatch.str(...)
8319         (deplog): ditto
8320
8321 2002-10-25  Angus Leeming  <leeming@lyx.org>
8322
8323         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8324
8325         * ispell.[Ch] (setError): new method.
8326         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8327         Use setError() insetead of goto END.
8328
8329         * lyx_cb.C (AutoSave): move out child process into new class
8330         AutoSaveBuffer.
8331
8332 2002-10-30  John Levon  <levon@movementarian.org>
8333
8334         * text3.C: make start appendix undoable
8335
8336 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8337
8338         * lyxlength.C (inPixels): Fix returned value.
8339
8340         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8341         environment.
8342
8343 2002-10-24  Angus Leeming  <leeming@lyx.org>
8344
8345         * lyxgluelength.h: no need to forward declare BufferParams
8346         or BufferView, so don't.
8347
8348 2002-10-21  John Levon  <levon@movementarian.org>
8349
8350         * BufferView.C: menuUndo ->undo, redo
8351
8352         * BufferView.h: document, remove dead, make some methods private
8353
8354         * paragraph_funcs.h:
8355         * paragraph_funcs.C:
8356         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8357
8358         * buffer.h:
8359         * buffer.C:
8360         * sgml.h:
8361         * sgml.C: move sgml open/close tag into sgml.C
8362
8363         * bufferview_funcs.h: unused prototype
8364
8365         * lyxfunc.h:
8366         * lyxfunc.C: remove unused
8367
8368         * lyxtext.h:
8369         * text.C: remove unused
8370
8371 2002-10-21  John Levon  <levon@movementarian.org>
8372
8373         * BufferView.h:
8374         * BufferView.C:
8375         * BufferView_pimpl.h:
8376         * BufferView_pimpl.C: fix mouse wheel handling based on
8377           patch from Darren Freeman
8378
8379 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8382
8383 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8384
8385         * lyxlength.C (inPixels): Fix hanfling of negative length.
8386         Fix LyXLength::MU case.
8387
8388 2002-10-16  John Levon  <levon@movementarian.org>
8389
8390         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8391
8392 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8393
8394         * converter.C (view): add support for $$i (file name) and $$p
8395         (file path) for the viewer command. If $$i is not specified, then
8396         it is appended to the command (for compatibility with old syntax)
8397
8398 2002-10-14  Juergen Vigna  <jug@sad.it>
8399
8400         * undo_funcs.C (textHandleUndo): alter the order in which the
8401         new undopar is added to the LyXText, as we have to set first
8402         the right prev/next and then add it as otherwise the rebuild of
8403         LyXText is not correct. Also reset the cursor to the right paragraph,
8404         with this IMO we could remove the hack in "redoParagraphs()".
8405
8406 2002-10-09  Angus Leeming  <leeming@lyx.org>
8407
8408         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8409         to turn off an optimisation if a new inset is to be inserted.
8410
8411 2002-10-11 André Pönitz <poenitz@gmx.net>
8412
8413         * lyxtext.h: make some functions public to allow access
8414         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8415
8416 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8417
8418         * text3.C (dispatch): when changing layout, avoid an infinite loop
8419         [bug #652]
8420
8421 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8422
8423         * lyxrc.C (read): treat a viewer or converter command of "none" as
8424         if it were empty.
8425
8426         * MenuBackend.C (expandFormats): for an update, also allow the
8427         formats that are not viewable
8428
8429         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8430         script if it is newer than the lyxrc.defaults in user directory
8431
8432 2002-10-07 André Pönitz <poenitz@gmx.net>
8433
8434         * text.C: Vitaly Lipatov's small i18n fix
8435
8436 2002-09-25  Angus Leeming  <leeming@lyx.org>
8437
8438         * ispell.h: doxygen fix.
8439
8440 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8441
8442         * buffer.h (readFile): Add a new argument to the method, to allow
8443         reading of old-format templates.
8444
8445 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8446
8447         * toc.C (getTocList): Get TOC from InsetWrap.
8448
8449 2002-09-16  John Levon  <levon@movementarian.org>
8450
8451         * lyxfunc.C: check tabular for cut/copy too
8452
8453 2002-09-12  John Levon  <levon@movementarian.org>
8454
8455         * LyXAction.C: tidy
8456
8457         * factory.h:
8458         * factory.C: add header
8459
8460         * paragraph_funcs.h:
8461         * paragraph_funcs.C: cleanup
8462
8463 2002-09-11  John Levon  <levon@movementarian.org>
8464
8465         * PrinterParams.h: odd/even default to true
8466
8467 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8468
8469         * PrinterParams.h: update printer parameters for new xforms dialog
8470
8471 2002-09-11  Angus Leeming  <leeming@lyx.org>
8472
8473         * lyxserver.C (read_ready): re-write to make it more transparent
8474         and to make it work in coherent fashion under Tru64 Unix.
8475
8476 2002-09-11  André Pönitz <poenitz@gmx.net>
8477
8478         * commandtags.h:
8479         * LyXAction.C:
8480         * text3.C: implement LFUN_WORDSEL
8481
8482 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8485         make floatlist_ a boost::shared_ptr<FloatList>
8486
8487         * lyxtextclass.C: include FloatList.h
8488         (LyXTextClass): initialize floatlist_
8489         (TextClassTags): add TC_NOFLOAT
8490         (Read): match "nofloat" to TC_NOFLOAT and use it.
8491         (readFloat): modify call to floatlist_
8492         (floats): ditto
8493         (floats): ditto
8494
8495         * FloatList.[Ch] (FloatList): remove commented out float
8496         initialization.
8497         (erase): new function
8498
8499 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8500
8501         * MenuBackend.C (expandToc): fix crash when there is no document
8502         open
8503
8504 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8505
8506         * many files: Add insetwrap.
8507
8508 2002-09-09  John Levon  <levon@movementarian.org>
8509
8510         * text2.C: remove confusing and awkward depth wraparound
8511
8512 2002-09-09  John Levon  <levon@movementarian.org>
8513
8514         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8515
8516         * buffer.h:
8517         * buffer.C: remove getIncludeonlyList()
8518
8519         * paragraph.C:
8520         * lyxfunc.C: remove headers
8521
8522 2002-09-09  Juergen Vigna  <jug@sad.it>
8523
8524         * text.C (getColumnNearX): fix form Michael this is most
8525         probably a cut&paste bug.
8526
8527 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8530
8531         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8532         references, ws changes.
8533
8534         * text2.C (init): update counters after init
8535         (insertParagraph): no need to set counter on idividual paragraphs.
8536         (setCounter): access the counters object in the textclass object
8537         on in the buffer object.
8538         (updateCounters): ditto
8539
8540         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8541         shared_ptr<Counters> to avoid loading counters.h in all
8542         compilation units.
8543         (LyXTextClass): initialize ctrs_
8544         (TextClassTags): add TC_COUNTER, and ...
8545         (Read): use it here.
8546         (CounterTags): new tags
8547         (readCounter): new function
8548         (counters): new funtion
8549         (defaultLayoutName): return a const reference
8550
8551         * counters.C (Counters): remove contructor
8552         (newCounter): remove a couple of unneeded statements.
8553         (newCounter): simplify a bit.
8554         (numberLabel): some small formatting changes.
8555
8556         * buffer.[Ch]: remove all traces of counters, move the Counters
8557         object to the LyXTextClass.
8558
8559 2002-09-06  Alain Castera  <castera@in2p3.fr>
8560
8561         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8562         package to set the horizontal alignment on fixed width columns.
8563
8564         * lyx_sty.C:
8565         * lyx_sty.h: added tabularnewline macro def.
8566
8567         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8568
8569 2002-09-06  John Levon  <levon@movementarian.org>
8570
8571         * LyXAction.C: tooltips for sub/superscript
8572
8573         * MenuBackend.C: a bit more verbose
8574
8575         * lyxfunc.C: tiny clean
8576
8577         * undo_funcs.C: document undo_frozen
8578
8579 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * counters.C (Counters): add missing algorithm counter.
8582
8583         * text2.C (setCounter): lookup the counter with layouts latexname
8584         instead of by section number.
8585         (setCounter): use a hackish way to lookup the correct enum
8586         counter.
8587         a float name->type change
8588         reset enum couners with counter name directly instead of depth value.
8589
8590         * counters.C (Counters): remove the push_backs, change to use the
8591         float type not the float name.
8592         (labelItem): remove unused string, float name->type change
8593
8594         * counters.h: don't include vector, loose the enums and sects vectors
8595
8596 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8597
8598         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8599         (Read): add float->TC_FLOAT to textclassTags
8600         (Read): and handle it in the switch
8601         (readFloat): new function
8602
8603         * FloatList.C (FloatList): comment out the hardcoded float
8604         definitions.
8605
8606         * lyxlayout.h: ws change.
8607
8608 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8609
8610         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8611
8612 2002-09-03  Angus Leeming  <leeming@lyx.org>
8613
8614         * BufferView_pimpl.h: qualified name is not allowed in member
8615         declaration: WorkArea & Pimpl::workarea() const;
8616
8617         * factory.C: added using std::endl directive.
8618
8619         * text3.C: added using std::find and std::vector directives.
8620
8621 2002-08-29  André Pönitz <poenitz@gmx.net>
8622
8623         * lyxtext.h:
8624         * text2.C: remove unused member number_of_rows
8625
8626         * Makefile.am:
8627         * BufferView2.C: remove file, move contents to...
8628         * BufferView.C: ... here
8629
8630         * BufferView_pimpl.C:
8631         * factory.C: move more inset creation to factory
8632
8633         * vspace.C: avoid direct usage of LyXText, ws changes
8634
8635         * BufferView.[Ch]:
8636                 don't provide direct access to WorkArea, use two simple
8637                 acessors haveSelction() and workHeight() instead
8638
8639
8640 2002-08-29  John Levon  <levon@movementarian.org>
8641
8642         * BufferView_pimpl.C (dispatch): do not continue when
8643           no buffer
8644
8645 2002-08-28  André Pönitz <poenitz@gmx.net>
8646
8647         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8648
8649         * BufferView.h:
8650         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8651
8652 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8653
8654         * buffer.C: increment LYX_FORMAT to 221
8655
8656         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8657         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8658
8659         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8660
8661         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8662
8663 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * factory.C (createInset): use LyXTextClass::floats
8666
8667         * MenuBackend.C (expandFloatListInsert):
8668         (expandFloatInsert):
8669         (expandToc):
8670
8671         * text2.C (setCounter):
8672
8673         * LaTeXFeatures.C (useFloat):
8674         (getFloatDefinitions):
8675
8676         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8677
8678         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8679         floatlist_, with accessor floats().
8680
8681         * FloatList.h: remove global FloatList
8682
8683 2002-08-26  André Pönitz <poenitz@gmx.net>
8684
8685         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8686
8687         * BufferView.h:
8688         * BufferView2.C:
8689         * BufferView_pimpl.C:
8690         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8691
8692 2002-08-25  John Levon  <levon@movementarian.org>
8693
8694         * LyXAction.C: fix margin note description
8695
8696 2002-08-24  John Levon  <levon@movementarian.org>
8697
8698         * buffer.C:
8699         * bufferlist.C:
8700         * bufferview_funcs.C:
8701         * lyxfont.C:
8702         * undo_funcs.C: cleanups
8703
8704         * lyxfunc.C: disable CUT/COPY when no selection
8705
8706 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8707
8708         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8709         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8710
8711         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8712         Add backward compatibility to "mono", "gray" and "no".
8713
8714 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8715
8716         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8717         (and file_format >= 200).
8718
8719 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8722
8723 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8724
8725         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8726
8727 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8728
8729         * BufferView_pimpl.C:
8730         * LyXAction.C:
8731         * buffer.C:
8732         * commandtags.h:
8733         * lyxfunc.C:
8734         * paragraph.[Ch]:
8735         * text2.C:
8736         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8737         inset and code to make it  work with the paragraph code. The inset
8738         can be anywhere in the paragraph, but will only do the expected
8739         thing in LaTeX if the layout file contains the parameter line
8740                         OptionalArgs    1
8741         (or more generally, a nonzero value) for that layout.
8742
8743 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8744
8745         * paragraph.h: remove the declaration of undefined counters class
8746         function.
8747
8748 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8749
8750         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8751         Dr. Richard Hawkins.
8752
8753 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8754
8755         * paragraph_funcs.h: remove some unneeded includes
8756
8757         * text.C (backspace): pasteParagraph now in global scipe
8758
8759         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8760         (pasteSelection): ditto
8761
8762         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8763         * paragraph_funcs.C (pasteParagraph): ... here
8764
8765 2002-08-20  André Pönitz <poenitz@gmx.net>
8766
8767         * commandtags.h: new LFUNs for swapping/copying table row/colums
8768
8769         * LyXAction.C:
8770         * lyxfunc.C: support for new lfuns
8771
8772 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8773
8774         * tabular.C:
8775         * buffer.[Ch]: remove NO_COMPABILITY stuff
8776
8777 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * boost.C (throw_exception): new file, with helper function for
8780         boost compiled without exceptions.
8781
8782         * paragraph.h:
8783         * lyxlength.C:
8784         * buffer.C:
8785         * ParameterStruct.h:
8786         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8787
8788         * bufferlist.C (emergencyWriteAll): use boost bind
8789
8790         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8791
8792         * text.C: include paragraph_funcs.h
8793         (breakParagraph): breakParagraph is now in global scope
8794
8795         * paragraph_funcs.[Ch]: new files
8796
8797         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8798         global scope
8799
8800         * buffer.C: include paragraph_funcs.h
8801         (insertStringAsLines): breakParagraph is now in global scope
8802
8803         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8804         paragraph_funcs.C
8805
8806         * CutAndPaste.C: include paragraph_funcs.h
8807         (cutSelection): breakParagraphConservative is now in global scope
8808         (pasteSelection): ditto
8809
8810         * buffer.h: declare oprator== and operator!= for
8811         Buffer::inset_iterator
8812
8813         * bufferlist.C (emergencyWrite): don't use fmt(...)
8814
8815         * text3.C: add using std::endl
8816
8817         * BufferView.C (moveCursorUpdate): remove default arg
8818
8819 2002-08-20  André Pönitz <poenitz@gmx.net>
8820
8821         * buffer.[Ch]: move inline functions to .C
8822
8823         * BufferView2.C:
8824         * BufferView_pimpl.C:
8825         * text.C:
8826         * buffer.[Ch]: use improved inset_iterator
8827
8828         * buffer.C:
8829         * paragraph.[Ch]: write one paragraph at a time
8830
8831 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8834         style if style is not specified.
8835
8836 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * text2.C (setCounter): when searching for right label for a
8839         caption, make sure to recurse to parent insets (so that a caption
8840         in a minipage in a figure float works) (bug #568)
8841
8842 2002-08-20  André Pönitz <poenitz@gmx.net>
8843
8844         * text3.C: new file for LyXText::dispatch() and helpers
8845
8846         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8847
8848         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8849
8850 2002-08-19  André Pönitz <poenitz@gmx.net>
8851
8852         * lyxtext.h:
8853         * text.C: new LyXText::dispatch()
8854
8855         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8856
8857 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8858
8859         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8860
8861         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8862         Hebrew text.
8863
8864 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * Makefile.am: use $(variables) instead of @substitutions@
8867
8868 2002-08-15  André Pönitz <poenitz@gmx.net>
8869
8870         * lyxfunc.C:
8871         * BufferView_pimpl.C: streamlining mathed <-> outer world
8872         interaction
8873
8874         * commandtags.h:
8875         * LyXAction.C: remove unused LFUN_MATH
8876
8877 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8878
8879         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8880
8881 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * paragraph.C (Paragraph): reformat a bit
8884         (cutIntoMinibuffer): use builtin InsetList function instad of
8885         doing it manually.
8886         (getInset): ditto
8887
8888         * buffer.C: include boost/bind.hpp, add using std::for_each
8889         (writeFileAscii): use ParagraphList iterators
8890         (validate): use for_each for validate traversal of paragraphs
8891         (getBibkeyList): use ParagraphList iterators
8892         (resizeInsets): use for_each to resizeInsetsLyXText for all
8893         paragraphs.
8894         (getParFromID): use ParagraphList iterators
8895
8896         * BufferView2.C (lockInset): use paragraph list and iterators
8897
8898 2002-08-14  John Levon  <levon@movementarian.org>
8899
8900         * lyxserver.C: remove spurious xforms include
8901
8902 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8905
8906 2002-08-13  André Pönitz <poenitz@gmx.net>
8907
8908         * LyXAction.[Ch]:
8909         * lyxfunc.C: further cleaning
8910
8911 2002-08-13  André Pönitz <poenitz@gmx.net>
8912
8913         * funcrequest.h: new constructor
8914
8915         * funcrequest.C: move stuff here from .h
8916
8917         * Makefile.am:
8918         * BufferView_pimpl.C:
8919         * LyXAction.C:
8920         * toc.C:
8921         * lyxfunc.C: subsequent changes
8922
8923         * lyxfunc.h: new view() member function
8924
8925         * lyxfunc.C: subsequent changes
8926
8927 2002-08-13  Angus Leeming  <leeming@lyx.org>
8928
8929         * BufferView2.C:
8930         * BufferView_pimpl.C:
8931         * buffer.C:
8932         * converter.C:
8933         * importer.C:
8934         * lyxfunc.C:
8935         * lyxvc.C:
8936         * toc.C:
8937         * vc-backend.C:
8938         changes due to the changed LyXView interface that now returns references
8939         to member variables not pointers.
8940
8941 2002-08-13  Angus Leeming  <leeming@lyx.org>
8942
8943         * WordLangTuple (word, lang_code): return references to strings,
8944         not strings.
8945
8946         * BufferView.h:
8947         * SpellBase.h:
8948         * lyxtext.h: forward-declare WordLangTuple.
8949
8950         * BufferView2.C:
8951         * ispell.C:
8952         * pspell.C:
8953         * text.C: #include "WordLangTuple.h".
8954
8955         * lyxtext.h:
8956         * text.C: (selectNextWordToSpellcheck): constify return type.
8957
8958 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8959
8960         * buffer.C:
8961         * buffer.h:
8962         * lyxtext.h:
8963         * paragraph.C:
8964         * paragraph_pimpl.h:
8965         * text.C:
8966         * text2.C:
8967         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8968         suggested by Angus.
8969         Made updateCounter always count from start of buffer, and removed
8970         second argument (par).
8971         Reverted floats number display to '#'. Perhaps I'll try again when the
8972         code base is sanitized a bit.
8973
8974 2002-08-12  Angus Leeming  <leeming@lyx.org>
8975
8976         * buffer.[Ch] (getLabelList): constify.
8977
8978 2002-08-07  André Pönitz <poenitz@gmx.net>
8979
8980         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8981
8982         * funcrequest.h: extension to keep mouse (x,y) position
8983
8984 2002-08-12  Juergen Vigna  <jug@sad.it>
8985
8986         * BufferView2.C (insertErrors): forbid undo when inserting error
8987         insets.
8988
8989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8990
8991 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8992
8993         * ParagraphList.[Ch]: new files
8994
8995         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8996
8997         * BufferView2.C (lockInset): ParagraphList changes
8998         * toc.C: ditto
8999         * text2.C: ditto
9000         * bufferlist.C: ditto
9001         * buffer.h: ditto
9002         * buffer.C: ditto
9003
9004 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9005
9006         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9007         unused class variable counter_,
9008
9009         * paragraph.[Ch] (getFirstCounter): delete unused function
9010
9011         * counters.C: include LAssert.h
9012         (reset): add a new function with no arg, change other version to
9013         not have def. arg and to not allow empty arg.
9014
9015         * text2.C (setCounter): remove empty arg from call to Counters::reset
9016
9017 2002-08-11  John Levon  <levon@movementarian.org>
9018
9019         * Makefile.am: add WordLangTuple.h
9020
9021 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9022
9023         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9024         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9025
9026         * insets/insettext.C: InsetList changes
9027
9028         * graphics/GraphicsSupport.C (operator()): InsetList changes
9029
9030         * toc.C (getTocList): InsetList changes
9031
9032         * paragraph_pimpl.[Ch]: InsetList changes
9033
9034         * paragraph.[Ch]: InsetList changes
9035
9036         * buffer.C (inset_iterator): InsetList changes
9037         (setParagraph): ditto
9038         * buffer.h (inset_iterator): ditto
9039         * iterators.C (operator++): ditto
9040         * iterators.h: ditto
9041
9042         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9043
9044         * InsetList.[Ch]: new files, most InsetList handling moved out of
9045         paragraph.C.
9046
9047         * BufferView2.C (removeAutoInsets): InsetList changes
9048         (lockInset): ditto
9049         (ChangeInsets): ditto
9050
9051 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9052
9053         * paragraph_pimpl.h (empty): new function
9054
9055         * paragraph.[Ch] (empty): new function
9056
9057         * other files: use the new Paragraph::empty function
9058
9059 2002-08-09  John Levon  <levon@movementarian.org>
9060
9061         * lyxtext.h: remove unused refresh_height
9062
9063 2002-08-09  John Levon  <levon@movementarian.org>
9064
9065         * Makefile.am:
9066         * sgml.h:
9067         * sgml.C:
9068         * buffer.C:
9069         * paragraph.h:
9070         * paragraph.C: move sgml char escaping out of paragraph
9071
9072         * paragraph.h:
9073         * paragraph.C: remove id setter
9074
9075         * buffer.C:
9076         * paragraph.C:
9077         * paragraph_pimpl.C: remove dead tex_code_break_column
9078
9079         * bufferview_funcs.C: small cleanup
9080
9081         * lyxfunc.C: remove dead proto
9082
9083         * lyxtext.h: make some stuff private. Remove some dead stuff.
9084
9085         * lyxgluelength.C: make as[LyX]String() readable
9086
9087 2002-08-08  John Levon  <levon@movementarian.org>
9088
9089         * LyXAction.h:
9090         * LyXAction.C:
9091         * MenuBackend.C:
9092         * ToolbarDefaults.C:
9093         * lyxfunc.C:
9094         * lyxrc.C:
9095         * toc.C: lyxaction cleanup
9096
9097 2002-08-08  John Levon  <levon@movementarian.org>
9098
9099         * BufferView2.C: small cleanup
9100
9101         * lyxfind.h:
9102         * lyxfind.C: move unnecessary header into the .C
9103
9104 2002-08-08  John Levon  <levon@movementarian.org>
9105
9106         * funcrequest.h: just tedious nonsense
9107
9108         * lyx_main.h:
9109         * lyx_main.C: cleanups
9110
9111         * buffer.C:
9112         * vspace.C: remove dead header lyx_main.h
9113
9114 2002-08-07  Angus Leeming  <leeming@lyx.org>
9115
9116         * Paragraph.[Ch]:
9117         * paragraph_pimpl.h:
9118         Forward declare class Counters in paragraph.h by moving the ctrs member
9119         variable into Paragraph::Pimpl.
9120         (counters): new method, returning a reference to pimpl_->ctrs.
9121
9122         * text2.C: ensuing changes.
9123
9124 2002-08-07  John Levon  <levon@movementarian.org>
9125
9126         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9127
9128         * BufferView_pimpl.C: announce X selection on double/triple
9129           click
9130
9131         * lyx_main.C: use correct bool in batch dispatch
9132
9133         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9134
9135 2002-08-07  André Pönitz <poenitz@gmx.net>
9136
9137         * funcrequest.h: new class to wrap a kb_action and its argument
9138
9139         * BufferView.[Ch]:
9140         * BufferView_pimpl[Ch]:
9141         * LaTeX.C:
9142         * LyXAction.[Ch]:
9143         * lyxfunc.[Ch]:
9144         * lyxrc.C: subsequent changes
9145
9146
9147 2002-08-07  John Levon  <levon@movementarian.org>
9148
9149         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9150           document options change.
9151
9152 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9153
9154         * counters.[Ch]
9155         * text2.C
9156         * paragraph.[Ch]
9157         * makefile.am: move counters functionality over from
9158         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9159
9160 2002-08-06  John Levon  <levon@movementarian.org>
9161
9162         * WordLangTuple.h: new file for word + language code tuple
9163
9164         * SpellBase.h:
9165         * pspell.h:
9166         * pspell.C:
9167         * ispell.h:
9168         * ispell.C:
9169         * lyxtext.h:
9170         * text.C:
9171         * text2.C:
9172         * BufferView.h:
9173         * BufferView2.C: use WordLangTuple
9174
9175         * layout.h:
9176         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9177
9178 2002-08-06  John Levon  <levon@movementarian.org>
9179
9180         * lyx_main.C: fix cmdline batch handling
9181
9182 2002-08-06  André Pönitz <poenitz@gmx.net>
9183
9184         * lyxrc.C: set default for show_banner to true
9185
9186 2002-08-06  John Levon  <levon@movementarian.org>
9187
9188         * pspell.C: fix a crash, and allow new aspell to work
9189
9190 2002-08-06  John Levon  <levon@movementarian.org>
9191
9192         * lyxfunc.C:
9193         * kbmap.C: small cleanup
9194
9195         * vspace.h:
9196         * vspace.C: add const
9197
9198 2002-08-05  John Levon  <levon@movementarian.org>
9199
9200         * LyXAction.C: back to tabular-insert
9201
9202 2002-08-04  John Levon  <levon@movementarian.org>
9203
9204         * BufferView.h:
9205         * BufferView.C: cosmetic change
9206
9207         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9208
9209         * bufferlist.C:
9210         * buffer.h:
9211         * buffer.C:
9212         * lyxcb.h:
9213         * lyxcb.C:
9214         * lyxserver.C:
9215         * lyxvc.C:
9216         * vc-backend.C:
9217         * BufferView2.C: purge all "Lyx" not "LyX" strings
9218
9219         * lyxcursor.h:
9220         * lyxcursor.C: attempt to add some documentation
9221
9222         * lyxfunc.C:
9223         * commandtags.h:
9224         * LyXAction.C:
9225         * ToolbarDefaults.C:
9226         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9227           merge with LFUN_TABULAR_INSERT
9228
9229         * Makefile.am:
9230         * SpellBase.h:
9231         * ispell.h:
9232         * ispell.C:
9233         * pspell.h:
9234         * pspell.C: split up i/pspell implementations into separate
9235           files, many cleanups
9236
9237         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9238
9239         * text2.C: some cleanup
9240
9241         * lyxfunc.C: don't check for isp_command == "none" any more, it
9242           didn't make any sense
9243
9244 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9245
9246         * counters.[Ch]
9247         * text2.C
9248         * paragraph.[Ch]
9249         * makefile.am: move counters functionality over
9250         from text2.C/paragraph.[Ch] to counters.[Ch], and
9251         make proper C++.
9252 2002-08-02  John Levon  <levon@movementarian.org>
9253
9254         * buffer.C: s/lyxconvert/lyx2lyx/
9255
9256 2002-08-02  Angus Leeming  <leeming@lyx.org>
9257
9258         * lyxlex.C: revert John's change as it breaks reading of the user
9259         preamble.
9260
9261 2002-08-02  Angus Leeming  <leeming@lyx.org>
9262
9263         * importer.C (Import):
9264         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9265         changes due to LyXView::view() now returning a boost::shared_ptr.
9266
9267 2002-08-02  John Levon  <levon@movementarian.org>
9268
9269         * lyxlex.C: small cleanup
9270
9271 2002-08-02  John Levon  <levon@movementarian.org>
9272
9273         * text2.C (status): small cleanup, no logic change
9274
9275 2002-08-01  John Levon  <levon@movementarian.org>
9276
9277         * buffer.h:
9278         * buffer.C (writeFile): don't output alerts, caller
9279           handles this
9280
9281         * bufferlist.C:
9282         * lyx_cb.C: from above
9283
9284         * lyxfunc.C: allow to open non-existent files
9285
9286 2002-07-31  John Levon  <levon@movementarian.org>
9287
9288         * lyxserver.C: don't let incidental errors get
9289           in the way (errno)
9290
9291 2002-07-30  John Levon  <levon@movementarian.org>
9292
9293         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9294
9295 2002-07-30  John Levon  <levon@movementarian.org>
9296
9297         * lyxserver.h:
9298         * lyxserver.C: remove I/O callback too
9299
9300 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9301
9302         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9303         log.
9304
9305 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * many files: strip,frontStrip -> trim,ltrim,rtrim
9308
9309 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * PrinterParams.h: remove extern containsOnly, and include
9312         support/lstrings.h instead.
9313
9314         * LaTeX.C (scanAuxFile): modify because of strip changes
9315         (deplog): ditto
9316         * buffer.C (makeLaTeXFile): ditto
9317         * bufferparams.C (writeFile): ditt
9318         * lyxfont.C (stateText): ditto
9319         * lyxserver.C (read_ready): ditto
9320         * vc-backend.C (scanMaster): ditto
9321
9322         * BufferView_pimpl.h: ws changes
9323
9324         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9325
9326 2002-07-26  André Pönitz <poenitz@gmx.net>
9327
9328         * kb_sequence.C: remove unnedred usings
9329
9330 2002-07-26  Juergen Vigna  <jug@sad.it>
9331
9332         * lyxfind.C (LyXReplace): we have to check better if the returned
9333         text is not of theLockingInset()->getLockingInset().
9334
9335 2002-07-25  Juergen Vigna  <jug@sad.it>
9336
9337         * lyxfind.C (LyXReplace): don't replace if we don't get the
9338         right LyXText.
9339
9340         * undo_funcs.C (createUndo): remove debugging code.
9341
9342 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9343
9344         * buffer.C (parseSingleLyXformat2Token): Use default placement
9345         when reading old floats.
9346
9347         * FloatList.C (FloatList): Change the default placement of figure
9348         and tables to "tbp".
9349
9350 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * MenuBackend.C: using std::max
9353
9354 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * MenuBackend.C (expandToc):
9357         (expandToc2): code moved from xforms menu frontend. It is now
9358         generic and TOCs are transparent to menu frontends.
9359
9360 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * toc.C (getTocList): protect against buf=0
9363
9364         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9365         Menu as first parameter. Now, this calls itself recursively to
9366         expand a whole tree (this will be useful for TOC handling)
9367         (expandFloatInsert): remove 'wide' version of floats
9368
9369         * MenuBackend.h (submenuname): returns the name of the submenu.
9370         (submenu): returns the submenu itself, provided it has been
9371         created by MenuBackend::expand
9372
9373 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9374
9375         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9376         insets which have noFontChange == true. (bug #172)
9377
9378 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9379
9380         * BufferView_pimpl.C: add connection objects and use them...
9381         (Pimpl): here.
9382
9383 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9384
9385         * MenuBackend.C (expandLastfiles):
9386         (expandDocuments):
9387         (expandFormats):
9388         (expandFloatListInsert):
9389         (expandFloatInsert):
9390         (expand): split expand in parts
9391
9392 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * lyx_gui.C: use lyx_gui::exit()
9395
9396 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * LyXAction.C: show the failing pseudo action
9399
9400 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9401
9402         * buffer.C (readFile): Run the lyxconvert script in order to read
9403         old files.
9404
9405 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * LyXAction.C:
9408         * commandtags.h:
9409         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9410
9411 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * LyXAction.C:
9414         * commandtags.h:
9415         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9416
9417 2002-07-22  Herbert Voss  <voss@lyx.org>
9418
9419         * lengthcommon.C:
9420         * lyxlength.[Ch]: add support for the vertical lengths
9421
9422 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9423
9424         * toc.[Ch]: std:: fixes
9425
9426 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * lyxrc.C: do not include lyx_main.h
9429
9430         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9431         for layouts
9432
9433         * lyxrc.C:
9434         * encoding.C:
9435         * bufferlist.C:
9436         * BufferView2.C: include "lyxlex.h"
9437
9438         * tabular.h:
9439         * bufferparams.h: do not #include "lyxlex.h"
9440
9441         * lyxtextclasslist.C (Add): remove method
9442         (classlist): renamed to classlist_
9443
9444         * paragraph_pimpl.C:
9445         * paragraph.C:
9446         * text2.C:
9447         * CutAndPaste.C:
9448         * bufferview_funcs.C:
9449         * bufferlist.C:
9450         * text.C:
9451         * LaTeXFeatures.C:
9452         * buffer.C:
9453         * toc.C (getTocList): use BufferParams::getLyXTextClass
9454
9455         * toc.C (getTocList): use InsetFloat::addToToc
9456
9457         * toc.[Ch]: new files, containing helper functions to handle table
9458         of contents
9459
9460         * lyxfunc.C (dispatch): no need to remove spaces around command
9461         given as a string
9462         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9463         first command of the sequence; it is not very clever, but I do not
9464         have a better idea, actually
9465
9466         * LyXAction.C (LookupFunc): make sure to remove space at the
9467         beginning and end of the command
9468
9469 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9470
9471         * MenuBackend.C (getMenubar): new method: return the menubar of
9472         this menu set
9473         (read): treat differently reading of menu and menubar (in
9474         particular, the menubar has no name now)
9475         (Menu::menubar): remove
9476
9477         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9478         saving is finished
9479
9480 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9483         a bibitem inset in a RTL paragraph.
9484
9485 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * paragraph_pimpl.C: constify
9488
9489         * BufferView_pimpl.C:
9490         * LaTeX.C:
9491         * lyxfunc.C: fix dispatch in a nicer way
9492
9493 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * lyxfunc.C (dispatch):
9496         * BufferView_pimpl.C:
9497         * BufferView_pimpl.h:
9498         * BufferView.C:
9499         * BufferView.h: rename Dispatch() to dispatch()
9500
9501         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9502
9503         * lyxlayout.C (Read): honor DependsOn tag
9504
9505         * lyxlayout.[Ch] (depends_on): new method
9506
9507         * version.C.in: update lyx_docversion
9508
9509         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9510
9511         * paragraph.C (validate): remove from here...
9512         * paragraph_pimpl.C (validate): ... and move here
9513         (isTextAt): make it const
9514
9515         * buffer.C (getLists): ws cleanup
9516
9517 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * language.C (read): Use iso8859-1 encoding in latex_lang
9520         (this prevents LyX from crashing when using iso10646-1 encoding).
9521
9522 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9523
9524         * text2.C (toggleInset): if cursor is inside an inset, close the
9525         inset and leave cursor _after_ it
9526
9527 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * lyxfunc.C: move minibuffer completion handling out of here
9530
9531 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * BufferView_pimpl.C:
9534         * LaTeX.C: fix dispatch calls
9535
9536 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9537
9538         * text.C (drawChars): Fix Arabic text rendering.
9539
9540 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * LyXAction.C:
9543         * commandtags.h:
9544         * lyxfunc.C: remove message-push/pop
9545
9546         * lyxserver.C:
9547         * lyxfunc.h:
9548         * lyxfunc.C: rationalise some code by removing verboseDispatch
9549           in favour of a bool argument to dispatch()
9550
9551 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * lyx_main.C (init): make sure to read symlinks as absolute paths
9554
9555 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * lyxfunc.h:
9558         * lyxfunc.C: no need for commandshortcut to be a member
9559
9560 2002-07-15  André Pönitz <poenitz@gmx.net>
9561
9562         * converter.C: add support for $$s (scripts from lib/scripts dir)
9563         * lyx_main.C: white space
9564
9565 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9566
9567         * bufferlist.C:
9568         * lyxrc.h:
9569         * lyxrc.C: remove second exit confirmation
9570
9571 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * BufferView.h:
9574         * BufferView.C:
9575         * BufferView2.C:
9576         * BufferView_pimpl.h:
9577         * BufferView_pimpl.C:
9578         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9579
9580 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * MenuBackend.C (expand): add numeric shortcuts to document menu
9583
9584         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9585
9586 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9587
9588         * lyxfont.C (setLyXFamily):
9589         (setLyXSeries):
9590         (setLyXShape):
9591         (setLyXSize):
9592         (setLyXMisc):
9593         (lyxRead):
9594         * debug.C (value):
9595         * buffer.C (asciiParagraph): use ascii_lowercase
9596
9597 2002-07-15  Mike Fabian  <mfabian@suse.de>
9598
9599         * lyxlex_pimpl.C (search_kw):
9600         * lyxlex.C (getLongString):
9601         * converter.h (operator<):
9602         * converter.C (operator<):
9603         * buffer.C (parseSingleLyXformat2Token):
9604         (asciiParagraph):
9605         * ToolbarDefaults.C (read):
9606         * MenuBackend.C (checkShortcuts):
9607         (read):
9608         * LColor.C (getFromGUIName):
9609         (getFromLyXName): use the compare_ascii_no_case instead of
9610         compare_no_case, because in turkish, 'i' is not the lowercase
9611         version of 'I', and thus turkish locale breaks parsing of tags.
9612
9613 2002-07-16  Angus Leeming  <leeming@lyx.org>
9614
9615         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9616         now takes a Buffer const & argument.
9617
9618 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * BufferView.C (resize): check there's a buffer to resize
9621
9622 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9623
9624         * lyxfunc.C: remove dead code
9625
9626         * lyxserver.h:
9627         * lyxserver.C: use lyx_guii::set_read_callback
9628
9629 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9630
9631         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9632         an inset in a RTL paragraph.
9633
9634 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * lyxfunc.C: repaint after a font size update
9637
9638 2002-07-15  André Pönitz <poenitz@gmx.net>
9639
9640         * lyxlength.C: inBP should be able to return negative values
9641
9642 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * lyxfunc.C: use lyx_gui::update_fonts()
9645
9646 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * lyxfunc.C: use lyx_gui::update_color()
9649
9650 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * bufferlist.C:
9653         * lyxfunc.h:
9654         * lyxfunc.C:
9655         * lyxrc.h:
9656         * lyxrc.C: remove file->new asks for name option, and let
9657           buffer-new take an argument
9658
9659 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9660
9661         * BufferView_pimpl.C: remove unneeded extra repaint()
9662
9663 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * LyXAction.C: allow command-sequence with NoBuffer
9666
9667         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9668
9669 2002-07-10  Angus Leeming  <leeming@lyx.org>
9670
9671         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9672
9673 2002-07-09  Angus Leeming  <leeming@lyx.org>
9674
9675         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9676
9677 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * lengthcommon.h: whitespace
9680
9681         * lyxfunc.C: update scrollbar after goto paragraph
9682
9683         * lyxtext.h: factor out page break drawing, and fix it so
9684           page break/added space paints as selected nicely
9685
9686 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * BufferView_pimpl.C: add FIXMEs, clean up a little
9689
9690 2002-07-09  André Pönitz <poenitz@gmx.net>
9691
9692         * lyxfont.[Ch]: support for wasy symbols
9693
9694 2002-07-08  André Pönitz <poenitz@gmx.net>
9695
9696         * BufferView_pimpl.C: apply John's patch for #93.
9697
9698 2002-07-05  Angus Leeming  <leeming@lyx.org>
9699
9700         * BufferView_pimpl.C (buffer): generate previews if desired.
9701
9702         * LColor.h: add "preview" to the color enum.
9703
9704         * LColor.C (LColor): add a corresponding entry to the items array.
9705
9706         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9707         with this buffer.
9708
9709 2002-07-05  Angus Leeming  <leeming@lyx.org>
9710
9711         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9712         The body of the code is now in the method that is passed an ostream &
9713         rather than a file name.
9714         Pass an additional only_preamble parameter, useful for the forthcoming
9715         preview stuff.
9716
9717 2002-07-03  André Pönitz <poenitz@gmx.net>
9718
9719         * lyxfunc.C: simplify getStatus() a bit for math stuff
9720
9721 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9724
9725 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9726
9727         * text.C (changeRegionCase): do not change case of all the
9728         document when region ends at paragraph end (bug #461)
9729
9730 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * paragraph.C (startTeXParParams):
9733         (endTeXParParams): add \protect when necessary
9734
9735 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * BufferView_pimpl.C (workAreaExpose): remove warning
9738
9739 2002-06-27  Angus Leeming  <leeming@lyx.org>
9740
9741         * Makefile.am: add lyxlayout_ptr_fwd.h.
9742
9743 2002-06-26  André Pönitz <poenitz@gmx.net>
9744
9745         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9746
9747 2002-06-25  Angus Leeming  <leeming@lyx.org>
9748
9749         * lyxfunc.C (dispatch): Comment out the call to
9750         grfx::GCache::changeDisplay. The method no longer exists now that the
9751         pixmap generation part of the graphics loader has been moved into
9752         InsetGraphics.
9753
9754 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9755
9756         * text2.C: layout as layout
9757
9758         * text.C: layout as layout
9759
9760         * tabular.C (OldFormatRead): layout as layout
9761
9762         * paragraph_pimpl.C (TeXDeeper): layout as layout
9763         (realizeFont): layout as layout
9764
9765         * paragraph.C (writeFile): layout as layout
9766         (validate): layout as layout
9767         (getFont): layout as layout
9768         (getLabelFont): layout as layout
9769         (getLayoutFont): layout as layout
9770         (breakParagraph): layout as layout
9771         (stripLeadingSpaces): layout as layout
9772         (getEndLabel): layout as layout
9773         (getMaxDepthAfter): layout as layout
9774         (applyLayout): layout as layout
9775         (TeXOnePar): layout as layout
9776         (simpleTeXOnePar): layout as layout
9777         (TeXEnvironment): layout as layout
9778         (layout): layout as layout
9779         (layout): layout as layout
9780
9781         * lyxtextclass.C (compare_name): new functor to work with
9782         shared_ptr, layout as layout
9783         (Read): layout as layout
9784         (hasLayout): layout as layout
9785         (operator): layout as layout
9786         (delete_layout): layout as layout
9787         (defaultLayout): layout as layout
9788
9789         * lyxlayout_ptr_fwd.h: new file
9790
9791         * lyxlayout.C (Read): layout as layout
9792
9793         * lyx_cb.C (MenuInsertLabel): layout as layout
9794
9795         * bufferlist.C (newFile): layout as layout
9796
9797         * buffer.C (readLyXformat2): layout as layout
9798         (parseSingleLyXformat2Token): layout as layout
9799         (insertStringAsLines): layout as layout
9800         (asciiParagraph): layout as layout
9801         (latexParagraphs): layout as layout
9802         (makeLinuxDocFile): layout as layout
9803         (simpleLinuxDocOnePar): layout as layout
9804         (makeDocBookFile): layout as layout
9805         (simpleDocBookOnePar): layout as layout
9806         (getLists): layout as layout
9807
9808         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9809
9810         * CutAndPaste.C (cutSelection): layout as layout
9811         (pasteSelection): layout as layout
9812         (SwitchLayoutsBetweenClasses): layout as layout
9813
9814         * BufferView_pimpl.C (Dispatch): layout as layout
9815         (smartQuote): layout as layout
9816
9817         * BufferView2.C (unlockInset): layout as layout
9818
9819 2002-06-24  André Pönitz <poenitz@gmx.net>
9820
9821         * lyxfunc.C: fix #487
9822
9823 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * lyxrc.h:
9826         * lyxrc.C:
9827         * lyxfunc.C: remove display_shortcuts, show_banner
9828
9829 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * Buffer_pimpl.C: oops, update on resize
9832
9833 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * buffer.C:
9836         * converter.C:
9837         * exporter.C:
9838         * lyxfunc.C:
9839         * BufferView.h:
9840         * BufferView.C: use repaint()
9841
9842         * BufferView_pimpl.h:
9843         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9844           as it's a clearer description. Remove superfluous
9845           redraws.
9846
9847 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * text.C: fix bug 488. Not ideal, but getting
9850           getWord() to work properly for the insets that
9851           matter is more difficult ...
9852
9853 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * BufferView_pimpl.C:
9856         * LyXAction.C:
9857         * commandtags.h:
9858         * lyxfunc.C: remove the six million index lyxfuncs to just
9859           one, and DTRT (bug 458)
9860
9861 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * BufferView.h:
9864         * BufferView.C:
9865         * BufferView_pimpl.h:
9866         * BufferView_pimpl.C: clean up resize() stuff,
9867           and unnecessary updateScreen()s
9868
9869 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * BufferView.h:
9872         * BufferView.C:
9873         * BufferView_pimpl.h:
9874         * BufferView_pimpl.C:
9875         * lyxfind.h:
9876         * lyxfind.C:
9877         * minibuffer.C: remove focus management of workarea,
9878           not needed. Use screen's greyOut()
9879
9880 2002-06-17  Herbert Voss  <voss@lyx.org>
9881
9882         * converter.C: (convert) do not post a message, when converting
9883         fails, let the calling function decide what to do in this case
9884
9885 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * lyxfunc.C: tidy up a little
9888
9889 2002-06-16    <alstrup@diku.dk>
9890
9891         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9892         Got rid of FORMS_H_LOCATION include. Now we are
9893         GUII.
9894
9895 2002-06-15  LyX Development team  <lyx@rilke>
9896
9897         * buffer.[Ch] (sgmlOpenTag):
9898         (sgmlCloseTag): Added support for avoiding pernicious mixed
9899         content. Return number of lines written.
9900
9901         (makeLinuxDocFile):
9902         (makeDocBookFile): Fixed calls to sgml*Tag.
9903         Simple white space clean.
9904
9905         (simpleDocBookOnePar): Simple white space clean.
9906
9907         * tabular.[Ch] (docBook): Renamed to docbook and got another
9908         argument to related with the pernicious mixed content.
9909
9910         (docbookRow): Fixed calls for docbook inset method.
9911
9912 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9913
9914         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9915         so it's X11 independent.
9916
9917         * kb*.[Ch]: ditto.
9918
9919         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9920
9921 2002-06-15  Lyx Development team  <lyx@electronia>
9922
9923         * intl.h: Renamed getTrans to getTransManager.
9924
9925 2002-06-14  Angus Leeming  <leeming@lyx.org>
9926
9927         * Makefile.am: nuke forgotten stl_string_fwd.h.
9928
9929 2002-06-12  Angus Leeming  <leeming@lyx.org>
9930
9931         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9932
9933 2002-06-13  Angus Leeming  <leeming@lyx.org>
9934
9935         * LaTeX.C:
9936         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9937
9938 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9939
9940         * kbmap.C (getiso): add support for cyrillic and greek
9941
9942 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * BufferView.h:
9945         * BufferView.C:
9946         * BufferView_pimpl.h:
9947         * BufferView_pimpl.C: move bogus scrolling logic
9948           to xforms
9949
9950 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * lyxfunc.C:
9953         * BufferView_pimpl.C: view->resize() change
9954
9955 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * BufferView_pimpl.C: topCursorVisible
9958           prototype change
9959
9960 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * Makefile.am:
9963         * lyx_gui.h:
9964         * lyx_gui.C: move to frontends/
9965
9966         * main.C:
9967         * lyx_main.h:
9968         * lyx_main.C: changes from above
9969
9970 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * intl.C:
9973         * intl.h:
9974         * kbmap.C:
9975         * kbsequence.C:
9976         * lyx_cb.C:
9977         * lyx_main.C: minor tidy
9978
9979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * BufferView_pimpl.h:
9982         * BufferView_pimpl.C:
9983         * BufferView.h:
9984         * BufferView.C: make painter() const,
9985           remove dead code
9986
9987         * BufferView2.C: use screen() accessor
9988
9989         * lyx_main.h:
9990         * lyx_main.C: some minor cleanup
9991
9992 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * BufferView_pimpl.h:
9995         * BufferView_pimpl.C: remove enter/leaveView,
9996           use workHeight()
9997
9998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * BufferView.h:
10001         * BufferView.C:
10002         * BufferView2.C:
10003         * BufferView_pimpl.h:
10004         * BufferView_pimpl.C: only construct screen once,
10005           rename
10006
10007         * lyxrc.C: remove pointless comment
10008
10009 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * BufferView.h:
10012         * BufferView.C: remove active() and belowMouse()
10013
10014         * BufferView_pimpl.h:
10015         * BufferView_pimpl.C: use workarea() not workarea_,
10016           and make it use a scoped_ptr instead
10017
10018 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * lyx_gui.C: add debug message on BadWindow
10021
10022 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10023
10024         * sp_spell.C: fdopen is not part of the C++ standard.
10025
10026         * paragraph.C (InsetIterator): use >= instead of ==
10027
10028 2002-06-07  Angus Leeming  <leeming@lyx.org>
10029
10030         Fixes needed to compile with Compaq cxx 6.5.
10031         * BufferView_pimpl.C:
10032         * DepTable.C:
10033         * buffer.C:
10034         * converter.C:
10035         * encoding.C:
10036         * lyx_gui.C:
10037         * lyx_main.C:
10038         * lyxtextclasslist.C:
10039         * minibuffer.C:
10040         * sp_spell.C:
10041         * tabular_funcs.C:
10042         * vc-backend.C:
10043         all c-library variables have been moved into namespace std. Wrap
10044         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10045
10046         * lyxlength.C:
10047         * tabular-old.C:
10048         * tabular.C:
10049         Add a using std::abs declaration.
10050
10051         * kbmap.h (modifier_pair):
10052         * paragraph.h (InsetTable, InsetList):
10053         * lyxfont.h (FontBits):
10054         type definition made public.
10055
10056         * bufferlist.C (emergencyWriteAll): the compiler complains that
10057         there is more than one possible lyx::class_fun template to choose from.
10058         I re-named the void specialisation as lyx::void_class_fun.
10059
10060         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10061
10062         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10063         the compiler is is unable to find tostr in write_attribute.
10064
10065 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * buffer.C (sgmlError): hide #warning
10068
10069 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * xtl/*: get rid of xtl, which is not in use anyway
10072
10073         * LyXAction.C (init):
10074         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10075         were unimplemented xtl experimentation
10076
10077 2002-06-04  André Pönitz <poenitz@gmx.net>
10078
10079         * lyxfunc.C: disable array operation on simple formulae
10080
10081 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * converter.C: constify a bit
10084
10085 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * lyx_gui.C: check xforms version correctly
10088
10089 2002-04-30  Herbert Voss  <voss@lyx.org>
10090
10091         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10092         "keep" option
10093
10094 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10097           attempt to register it with a VCS)
10098
10099 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * lyx_main.C (init): honor variables LYX_DIR_13x and
10102         LYX_USERDIR_13x
10103
10104 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * buffer.h:
10107         * buffer.C:
10108         * lyx_main.C: fix a crash on bad command line,
10109           and give a useful exit status on error
10110
10111         * lyxfunc.C (doImport): allow -i lyx to work
10112
10113 2002-03-30  André Pönitz <poenitz@gmx.net>
10114
10115         * lyxfunc.C: mathed font changes
10116
10117 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * LaTeX.C:
10120         * importer.h:
10121         * importer.C:
10122         * lyx_sty.h:
10123         * lyx_sty.C:
10124         * lyxlex.C:
10125         * lyxrow.h:
10126         * lyxtext.h:
10127         * paragraph.h:
10128         * paragraph.C:
10129         * texrow.h:
10130         * texrow.C:
10131         * text.C:
10132         * trans_mgr.h: srcdocs, and some minor cleanups
10133
10134 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10137         call getFont all the time)
10138
10139 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * switch from SigC signals to boost::signals
10142
10143 2002-05-29  André Pönitz <poenitz@gmx.net>
10144
10145         * paragraph_pimpl.C (getChar): don't call size() too often...
10146
10147 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * paragraph_pimpl.C (insertChar): do not try to update tables when
10150         appending (pos == size())
10151
10152         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10153         in order to reduce drastically the number of comparisons needed to
10154         parse a large document
10155
10156 2002-05-29  André Pönitz <poenitz@gmx.net>
10157
10158         * text.C:
10159         * text2.C:
10160         * lyxtextclass.C:
10161         * sp_pspell.h:
10162         * textclasslist.[Ch]:
10163         * sp_ispell.h: whitespace change
10164
10165 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10168         lyxaction directly now.
10169
10170 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * trans.C:
10173         * lyxfont.C:
10174         * lyxvc.C: remove unused headers
10175
10176 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * Makefile.am:
10179         * buffer.h:
10180         * undostack.h:
10181         * undostack.C:
10182         * undo_funcs.h:
10183         * undo_funcs.C: some cleanups. Use shared_ptr
10184           and a template for the undo stacks.
10185
10186 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * BufferView_pimpl.h:
10189         * BufferView_pimpl.C:
10190         * kbmap.h:
10191         * kbmap.C:
10192         * kbsequence.h:
10193         * kbsequence.C:
10194         * lyxfunc.h:
10195         * lyxfunc.C:
10196         * text2.C: use key_state/mouse_state
10197
10198 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10199
10200         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10201         and LSubstring
10202
10203         * chset.C: change include order
10204         (loadFile): use boost regex and get rid of LRegex and LSubstring
10205
10206         * Makefile.am (BOOST_LIBS): new variable
10207         (lyx_LDADD): use it
10208
10209         * LaTeX.C: change include order.
10210         (scanAuxFile): use boost regex and get rid of LRegex and
10211         LSubstring
10212         (deplog): ditto
10213
10214 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * ColorHandler.h:
10217         * ColorHandler.C:
10218         * FontInfo.h:
10219         * FontInfo.C: moved to frontends/xforms/
10220
10221         * FontLoader.h:
10222         * FontLoader.C: moved into frontends for GUIIzation
10223
10224         * Makefile.am:
10225         * lyx_gui.C:
10226         * lyxfont.C:
10227         * lyxfunc.C: changes from above
10228
10229 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * LColor.C: remove spurious X include
10232
10233         * BufferView_pimpl.C:
10234         * Makefile.am:
10235         * font.h:
10236         * font.C:
10237         * text.C:
10238         * text2.C: move font metrics to frontends/
10239
10240 2002-05-24  Juergen Vigna  <jug@sad.it>
10241
10242         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10243         setting the undo_cursor.
10244
10245         * ParagraphParameters.h: include local includes first.
10246
10247 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * BufferView_pimpl.C:
10250         * BufferView_pimpl.h:
10251         * Makefile.am:
10252         * WorkArea.h:
10253         * WorkArea.C:
10254         * screen.C: move WorkArea into frontends/
10255
10256         * lyxscreen.h:
10257         * screen.C:
10258         * text.C:
10259         * BufferView.C:
10260         * BufferView2.C: move LyXScreen into frontends/
10261
10262         * lyxlookup.h:
10263         * lyxlookup.C:
10264         * lyx_gui.C: move lyxlookup into frontends/xforms/
10265
10266 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * BufferView2.C:
10269         * BufferView_pimpl.C:
10270         * FontLoader.C:
10271         * LyXView.h:
10272         * LyXView.C:
10273         * Makefile.am:
10274         * WorkArea.C:
10275         * XFormsView.h:
10276         * XFormsView.C:
10277         * buffer.C:
10278         * bufferlist.C:
10279         * bufferview_funcs.C:
10280         * converter.C:
10281         * importer.C:
10282         * lyx_cb.C:
10283         * lyx_gui.C:
10284         * lyx_main.C:
10285         * lyx_find.C:
10286         * lyxfunc.C:
10287         * lyxvc.C:
10288         * minibuffer.C:
10289         * text.C:
10290         * text2.C:
10291         * trans.C:
10292         * vc-backend.C: move LyX/XFormsView into frontends/
10293
10294 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * Makefile.am:
10297         * PainterBase.C:
10298         * PainterBase.h:
10299         * Painter.C:
10300         * Painter.h:
10301         * WorkArea.C:
10302         * WorkArea.h:
10303         * screen.C:
10304         * tabular.C:
10305         * text.C:
10306         * text2.C: move Painter to frontends/
10307
10308 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10309
10310         * buffer.C: comment out some some code that depend upon lyx_format
10311         < 220
10312
10313         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10314         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10315
10316         * buffer.h (NO_COMPABILITY): turn off compability
10317
10318         * ColorHandler.C: include scoped_array.hpp
10319
10320         * font.C: Use more specific smart_ptr header.
10321         * Painter.C: ditto
10322         * gettext.C: ditto
10323         * ShareContainer.h: ditto
10324         * lyx_main.h: ditto
10325         * kbmap.h: ditto
10326         * FontInfo.h: ditto
10327         * BufferView_pimpl.h: ditto
10328         * ColorHandler.h: ditto
10329
10330         * kbmap.C (defkey): change call to shared_ptr::reset
10331
10332 2002-05-21  Juergen Vigna  <jug@sad.it>
10333
10334         * buffer.C (insertErtContents): fix to insert ert asis if it is
10335         non empty. Skip it completely if it contains only whitespaces.
10336
10337 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * BufferView_pimpl.C:
10340         * BufferView2.C: clear selection on paste (bug 393)
10341
10342 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * DepTable.C: include ctime
10345
10346 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10347
10348         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10349
10350 2002-05-14  Juergen Vigna  <jug@sad.it>
10351
10352         * text.C (breakParagraph): fixed function to honor the keepempty
10353         layout in the right maner and also to permit the right breaking
10354         algorithm on empty or non empyt keepempty paragraphs.
10355
10356         * paragraph.C (breakParagraph): we have to check also if the par
10357         is really empty (!size()) for isempty otherwise we do the wrong
10358         paragraph break.
10359
10360 2002-05-10  Juergen Vigna  <jug@sad.it>
10361
10362         * buffer.[Ch] : The following are only changes to the ert
10363         compatibility read reading old LaTeX layout and font stuff and
10364         convert it to ERTInsets.
10365
10366         * buffer.h: added isErtInset().
10367
10368         * buffer.C (struct ErtComp): add a fromlayout bool to check
10369         if we're inside a LaTeX layout.
10370         (isErtInset): new helper function.
10371         (insertErtContents): look for other ert insets before this one
10372         and insert the contents there, so that we don't have subsequent
10373         ERT insets with nothing between them. This way we create only one
10374         inset with multiple paragraphs. Also check if we don't insert only
10375         spaces ' ' as they are ignored anyway afterwards in the .tex file
10376         so if we have only spaces we will ignore this latex part in the
10377         new file.
10378         (parseSingleLyXformat2Token \\layout): better compatibility when
10379         reading layout-latex stuff.
10380         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10381         language tag.
10382         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10383         stuff after reading the inset only get the information back from
10384         the stack.
10385
10386 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10387
10388         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10389
10390         * LaTeXFeatures.C (getBabelOptions): New method.
10391
10392 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10393
10394         * BufferView_pimpl.C (Dispatch): work around missing argument for
10395         'layout'
10396
10397 2002-05-08  Juergen Vigna  <jug@sad.it>
10398
10399         * text.C (leftMargin): handle paragraph leftindent.
10400
10401         * paragraph.C (writeFile): write the new \\leftindent tag.
10402         (validate): handle leftindent code.
10403         (TeXEnvironment): handle paragraphleftindent code again.
10404
10405         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10406
10407         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10408         for paragrap_extra indent code and new token \\leftindent.
10409         (latexParagraphs): handle the leftindent as environment.
10410
10411         * ParameterStruct.h: added leftindent support.
10412
10413         * ParagraphParameters.C (leftIndent): added support functions for
10414         the paragraph left indent.
10415
10416         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10417         more appropriate.
10418
10419 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10420
10421         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10422         inside insetERT.
10423
10424         * text.C (computeBidiTables): No bidi in insetERT.
10425
10426         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10427         in RTL documents.
10428
10429 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * version.C.in: pre 5
10432
10433 2002-05-02  José Matos  <jamatos@fep.up.pt>
10434         * buffer.C (makeDocBookFile): white space changes, add newline to
10435         command styles.
10436         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10437
10438         * tabular.C (docBook): fix typo.
10439
10440 2002-05-03  Juergen Vigna  <jug@sad.it>
10441
10442         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10443         change in LyXText as we can not be sure it was not freed.
10444         (drawOneRow): remove unused code.
10445
10446         * text.C (drawInset): redo the calculation of the need_break_row as
10447         it could have a row which was already freed.
10448         (draw): look at the return value of drawInset and return false if
10449         it also returned false.
10450         (paintRowText): look at the return value of draw and return false if
10451         it also returned false.
10452
10453         * lyxtext.h: added bool return type to drawInset() and draw() so that
10454         if we have a change in the row so that the rowbreak has to be redone
10455         we abort drawing as it will be called again.
10456
10457 2002-05-02  Juergen Vigna  <jug@sad.it>
10458
10459         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10460         a change in the maintext also if we're inside an inset.
10461         (Dispatch): set the cursor again after a break line and after the
10462         screen has been updated as it could be we're in a different row.
10463
10464         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10465         to set the cursor behind the pargraph with > size().
10466         (setCursor): check also for the same paragraph when checking where
10467         to put the cursor if we have a NFR inset.
10468
10469         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10470         parts of layout read further up as it still was in the wrong
10471         position.
10472
10473 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10474
10475         * screen.C (drawFromTo): change sine fullRebreak always return
10476         true.
10477
10478         * buffer.C (parseSingleLyXformat2Token): reindent some
10479
10480         * BufferView_pimpl.C (update): change since fullRebreak always
10481         return true.
10482         (Dispatch): git rid of the last hardcoded "Standard"s.
10483
10484 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * text2.[Ch] (fullRebreak): make it return void now that we always
10487         returned true.
10488
10489 2002-04-30  Juergen Vigna  <jug@sad.it>
10490
10491         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10492         ert compatibility check for "latex" layout.
10493
10494 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10497         minipages: use col% instead of p%, and also use the current font.
10498         (makeLaTeXFile): Fix use babel condition.
10499         (parseSingleLyXformat2Token): Correct font when reading old floats.
10500
10501 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10502
10503         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10504         inserting list of floats.
10505
10506 2002-04-25  Herbert Voss  <voss@lyx.org>
10507
10508         * MenuBackend.C (expand): don't add the graphics extensions to the
10509         export menu
10510
10511 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10514         non-existing layout, do not complain if it was the default layout
10515         of the original class (bug #342)
10516
10517 2002-04-24  Juergen Vigna  <jug@sad.it>
10518
10519         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10520         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10521
10522 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10523
10524         * buffer.C (getBibkeyList): If using \bibliography, return the
10525         option field with the reference itself. Enables us to provide natbib
10526         support when using \bibliography.
10527
10528 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10529
10530         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10531
10532         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10533         natbib is provided by the LaTeX class.
10534
10535 2002-04-23  Juergen Vigna  <jug@sad.it>
10536
10537         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10538         Wakeup functions.
10539
10540         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10541
10542 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10545
10546         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10547         ensuremath around textordmasculine, textordfeminine and
10548         textdegree.
10549
10550 2002-04-19  Juergen Vigna  <jug@sad.it>
10551
10552         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10553         reinitializing the buffer otherwise row-dimensions may be wrong.
10554         (update): reset also the selection cursors if they do exits otherwise
10555         their x/y positions may be wrong.
10556
10557         * text2.C (cursorDown): don't enter the inset if we came from a row
10558         above and are one row over the inset.
10559
10560         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10561         really leaving an inset.
10562
10563 2002-04-18  Juergen Vigna  <jug@sad.it>
10564
10565         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10566         of the selected paragraph does not have the selected layout also if
10567         the last one had!
10568
10569         * text2.C (setLayout): fixed bug which did not change last selected
10570         paragraph.
10571
10572         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10573         changed the read and substituted \\end_float with \\end_inset!
10574
10575         * BufferView_pimpl.C (cursorPrevious):
10576         (cursorNext): fixed to make it work with rows heigher than the work
10577         area without moving the cursor only the draw of the row.
10578         (workAreaMotionNotify): fix jumping over high rows.
10579
10580 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10581
10582         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10583         Ressler.
10584
10585 2002-04-16  Juergen Vigna  <jug@sad.it>
10586
10587         * text2.C (setCursor): set also the irow().
10588         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10589         (cursorUp):
10590         (cursorDown): support for locking an inset if the x_fix value goes
10591         inside it. That way I can transverse insets too with cursor up/down.
10592
10593         * lyxrow.h: added irow helper function same as other (i) functions.
10594
10595         * BufferView_pimpl.C (cursorPrevious):
10596         (cursorNext): fixed for insets!
10597
10598 2002-04-15  Juergen Vigna  <jug@sad.it>
10599
10600         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10601         position otherwise it is wrong in some cases.
10602
10603         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10604         inside the inset before the call.
10605
10606 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10607
10608         * buffer.[Ch] (getBibkeyList): make it const.
10609
10610 2002-04-12  Juergen Vigna  <jug@sad.it>
10611
10612         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10613
10614         * text2.C (getCursorX): new helper function
10615         (setCursor): compute also ix_
10616         (setCursorFromCoordinates): set also ix.
10617
10618         * lyxcursor.h: added ix_ and helper functions.
10619
10620         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10621
10622         * buffer.C (insertStringAsLines): dont break paragraph if the this
10623         paragraph is inside an inset which does not permit it!
10624
10625         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10626         also with no chars on this paragraph.
10627         (paintRowText): only paint stuff if it's inside the workarea!
10628
10629         * paragraph.C (breakParagraph): honor keepempty flag and break the
10630         paragraph always below not above.
10631
10632         * BufferView2.C (unlockInset): update the paragraph layout on inset
10633         unlock as we changed paragraph in such a case.
10634
10635         * lyxfind.C (LyXFind): clear the former selection if not found!
10636
10637         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10638         again called in insertChar().
10639
10640         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10641         an inset which uses the whole row!
10642         (rightMargin): ditto.
10643         (insertChar): force a rebreak if we inserted an inset!
10644
10645 2002-03-28  Herbert Voss  <voss@lyx.org>
10646
10647         * lyxlength.[Ch]: add inBP() to get the right PS-point
10648         units (BigPoint). With inPixels we have rounding errors
10649
10650 2002-04-11  Juergen Vigna  <jug@sad.it>
10651
10652         * text2.C (setCursorFromCoordinates): set iy to the right value.
10653         (setCursor): add check if row->previous exists!
10654
10655         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10656         an old float_type as this was the case in the old code!
10657
10658         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10659
10660         * BufferView2.C (showLockedInsetCursor): use iy
10661         (fitLockedInsetCursor): ditto
10662
10663         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10664         locked insets as there we have the right value now.
10665
10666         * lyxcursor.C: added iy_ variable and iy functions to set to the
10667         baseline of cursor-y of the locked inset.
10668
10669         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10670         (setCursor): fixed for insets which need a full row.
10671
10672         * text.C (rowLastPrintable): don't ignore the last space when before
10673         an inset which needs a full row.
10674         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10675         as last character of a row when before a inset which needs a full row.
10676
10677 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * version.C.in: update date
10680
10681         * text2.C (fullRebreak): try to always return true and see what
10682         happens...
10683
10684 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * MenuBackend.C (expand): use Floating::listName
10687
10688         * FloatList.C (FloatList): add listName argument to the built-in
10689         floats
10690
10691         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10692         text associated with the float.
10693
10694 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10697
10698 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * ShareContainer.h: add a couple of missing typenames.
10701
10702 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * lyxrc.C (getDescription): use _() correctly rather than N_().
10705
10706 2002-03-28  Herbert Voss  <voss@lyx.org>
10707
10708         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10709         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10710
10711 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10712
10713         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10714         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10715
10716 2002-03-29  Juergen Vigna  <jug@sad.it>
10717
10718         * lyxfunc.C (dispatch): add a missing fitCursor call.
10719
10720         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10721         it was scrolled by a cursor move, so return the bool status.
10722
10723         * BufferView.C (fitCursor): return the bool flag also to the outside
10724         world as this is needed.
10725
10726         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10727
10728         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10729         call the edit() as it is not needed (and wrong) IMO.
10730         (workAreaButtonPress): set the screen_first variable before evt.
10731         unlock the inset as this may change screen_first and then we have
10732         a wrong y position for the click!
10733
10734 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * MenuBackend.C (expand): another translation that I missed
10737
10738 2002-03-28  Juergen Vigna  <jug@sad.it>
10739
10740         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10741
10742         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10743
10744 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10747
10748         * MenuBackend.C (expand): fix export/view/update when there is no
10749         document open.
10750
10751 2002-03-27  Herbert Voss  <voss@lyx.org>
10752
10753         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10754         and text%
10755
10756 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * bufferview_funcs.C (currentState): only show paragraph number
10759         for is DEVEL_VERSION is set.
10760
10761         * lyxfunc.C (dispatch): put warning in INFO channel
10762
10763         * MenuBackend.C (expand): translate the name of floats
10764
10765         * FloatList.C (FloatList): mark the float names for translation
10766
10767         * converter.C (convert): use LibScriptSearch
10768
10769 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * MenuBackend.C (defaults): fix default menu (we might as well get
10772         rid of it...)
10773
10774 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10775
10776         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10777         directory.
10778
10779 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * lyxvc.C: reorder includes.
10782
10783 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10786           properly
10787
10788 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * CutAndPaste.C: change layouts earlier on paste
10791           to avoid crashing when calling getFont()
10792
10793 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10794
10795         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10796         irritating #error.
10797
10798 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * WorkArea.C: remove 'Pending' debug message.
10801
10802         * most files: ws cleanup
10803
10804         * buffer.[Ch]: ws changes
10805
10806         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10807
10808 2002-03-21  Juergen Vigna  <jug@sad.it>
10809
10810         * tabular.C (SetMultiColumn): collapse also the contents of the
10811         cells and set the last border right. Added a Buffer const * param.
10812
10813 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10816         linking or not.
10817
10818 2002-03-19  Juergen Vigna  <jug@sad.it>
10819
10820         * text2.C (clearSelection): reset also xsel_cache.
10821
10822         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10823         where it needs to be called (John tells us to do so too :)
10824         (selectionLost): reset sel_cache.
10825
10826         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10827
10828 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10829
10830         * text2.C (setCursorIntern): put debuging code in INSETS channel
10831
10832 2002-03-19  André Pönitz <poenitz@gmx.net>
10833
10834         * lyxfunc.C: tiny whitespace change
10835
10836 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * ToolbarDefaults.C (init):
10839         * LyXAction.C (init):
10840         * commandtags.h:
10841         * BufferView_pimpl.C (Dispatch):
10842         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10843
10844 2002-03-19  Allan Rae  <rae@lyx.org>
10845
10846         * exporter.C (Export): removeAutoInsets before doing anything else.
10847         While I've just introduced a dependency on BufferView this really is
10848         the best place to clean the buffer otherwise you need to cleanup in
10849         a dozen places before calling export or cleanup in a dozen functions
10850         that export calls.
10851
10852         * converter.C (runLaTeX):
10853         (scanLog): Better handling of removeAutoInsets and screen updates.
10854
10855         * lyxfunc.C (dispatch): small whitespace changes
10856
10857 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * WorkArea.C (C_WorkAreaEvent): return a value.
10860         (event_cb): return 1 if we handled the event, 0 otherwise.
10861
10862         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10863
10864 2002-03-18  Juergen Vigna  <jug@sad.it>
10865
10866         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10867         (GetAdditionalWidth): ditto.
10868         (RightLine): ditto.
10869         (LeftLine): ditto.
10870
10871         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10872         inset if we're there actually (probably not used right now but this
10873         is the direction to go for unifying code).
10874         (paste): disable code to clear the selection.
10875
10876         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10877         inside an InsetText and move the check further up as it is in the
10878         wrong place.
10879
10880         * text2.C (pasteSelection): set a selection over the pasted text.
10881
10882 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10883
10884         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10885         and libgraphics to build on Cygwin.
10886
10887 2002-03-15  Juergen Vigna  <jug@sad.it>
10888
10889         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10890         inserting an Inset into the paragraph. I know this is not the best
10891         fix but we already use current_view in CutAndPaste so we will remove
10892         all of it's using at the same time.
10893
10894         * buffer.C (sgmlError): deactivated function till it is rewritten in
10895         the right mode, now it can create problems.
10896
10897         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10898         before accessing it.
10899
10900 2002-03-14  Juergen Vigna  <jug@sad.it>
10901
10902         * undo_funcs.C (textHandleUndo): do the right thing when updating
10903         the inset after the undo/redo.
10904
10905         * text2.C (setCursor): just some testcode for #44 not ready yet.
10906
10907         * undo_funcs.C (textHandleUndo): set the next() and previous()
10908         pointers of the paragraph to 0 before deleting otherwise we have
10909         problems with the Paragraph::[destructor].
10910
10911         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10912         on a paragraph insertion.
10913
10914 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10915
10916         * buffer.C (asciiParagraph): use += operator for char append to
10917         string.
10918
10919         * paragraph.C (getFontSettings): compare >= not just >
10920         (highestFontInRange): ditto
10921         (setFont): ditto
10922
10923 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10924
10925         * paragraph.C: change several algorithm to be more appripriate for
10926         the problem domain. This is lookip in FontList and in the InsetList.
10927
10928 2002-03-13  André Pönitz <poenitz@gmx.net>
10929
10930         * commandtags.h:
10931         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10932
10933 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * commandtags.h:
10936         * LyXAction.C:
10937         * lyxfunc.C:
10938         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10939
10940 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * Painter.C (display): anon helper function, adjust code for this
10943         change.
10944         (pixmap): remove function.
10945
10946         * Painter.h: remove private display variable.
10947
10948         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10949
10950 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10951
10952         * WorkArea.[Ch]: remove figinset_canvas cruft.
10953
10954 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10955
10956         * lyxtextclass.C (operator): add one item cache optimization.
10957
10958         * bufferlist.h: doxy changes
10959
10960         * bufferlist.C: ws changes
10961
10962         * DepTable.[Ch] (ext_exist): place const in the right spot.
10963
10964         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10965         call resizeInsets.
10966         (workAreaExpose): call resizeInsets when the with BufferView changes.
10967         (Dispatch): adjust for protectedBlank removal
10968         (specialChar): call updateInset if the insert went ok.
10969
10970         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10971         specialChar instead.
10972
10973         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10974
10975         * BufferView.h: doxy change
10976
10977         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10978
10979         * lyxtextclass.C (operator[]): remove non-const version
10980         (defaultLayout): remove non-const version
10981
10982 2002-03-12  Juergen Vigna  <jug@sad.it>
10983
10984         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10985         did resize the LyXText too.
10986
10987         * buffer.C (readLyXformat2): set layout information on newly allocated
10988         paragraphs.
10989
10990         * tabular.C (OldFormatRead): set layout information on the paragraph.
10991
10992 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10993
10994         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10995
10996 2002-03-11  Juergen Vigna  <jug@sad.it>
10997
10998         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10999         plainly wrong.
11000         (resizeCurrentBuffer): force also the insets to resize themselfes.
11001         (moveCursorUpdate): fixed up for InsetText.
11002
11003 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11004
11005         * commandtags.h:
11006         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11007         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11008         value of Dialogs::tooltipsEnabled().
11009         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11010
11011 2002-03-08  Juergen Vigna  <jug@sad.it>
11012
11013         * BufferView_pimpl.C (updateInset): update inset inside inset also
11014         if it isn't inside theLockingInset().
11015
11016 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * buffer.C (asciiParagraph): redo some of the word and line length
11019         handling.
11020         (getLists): look for Caption instead of caption.
11021
11022 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * buffer.C (Buffer): initialize niceFile to true
11025         (makeLaTeXFile):
11026         (makeLinuxDocFile):
11027         (makeDocBookFile): make sure niceFile is true on exit
11028
11029 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11030
11031         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11032
11033 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11034
11035         * LyXSendto.C: remove.
11036         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11037         * lyx_gui.C: remove now-redundant comment.
11038         * ColorHandler.h: remove forward declaration of class WorkArea.
11039         * lyxfunc.C: remove #include "WorkArea.h".
11040
11041 2002-03-07  Juergen Vigna  <jug@sad.it>
11042
11043         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11044         got moved away with the DEPM and also set the inset_owner always
11045         right which before could have been omitted.
11046
11047 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11050         wanted layout is not found.
11051
11052 2002-03-07  Juergen Vigna  <jug@sad.it>
11053
11054         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11055
11056 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11057
11058         * paragraph.C (breakParagraph): use default layout not layout of
11059         prev paragraph.
11060         (Paragraph): clear ParagraphParameters.
11061
11062 2002-03-06  Juergen Vigna  <jug@sad.it>
11063
11064         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11065         otherwise it would not be a valid lenght. Fixed a special case in
11066         the minipage compatibility read where we end the document with a
11067         minipage.
11068
11069         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11070         was set as it could be 0 for InsetTexts first entry.
11071
11072 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * paragraph.C (writeFile): if layout is empty write out
11075         defaultLayoutName().
11076
11077         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11078         file without named layout we set layout to defaultLayoutName().
11079
11080 2002-03-06  Juergen Vigna  <jug@sad.it>
11081
11082         * CutAndPaste.C (copySelection): set layout for new paragraph.
11083
11084         * text.C (prepareToPrint): leave ERT inset left aligned
11085         (leftMargin): don't indent paragraphs inside ERT insets
11086
11087 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * paragraph.C (breakParagraph): dont call clear do the work manually
11090
11091         * paragraph.[Ch] (clear): remove function
11092
11093 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * paragraph.C (Paragraph): dont call clear, the work has already
11096         been done.
11097
11098         * lyxtextclass.C (operator): assert if n is empty
11099
11100         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11101         work manually instead.
11102
11103 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * BufferView_pimpl.C: protect selectionLost against text == 0
11106
11107 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11108
11109         * text.C (breakParagraph): fix a setting layout to '0' problem.
11110
11111 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11112
11113         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11114         final location of file, for the included files, and graphics.
11115
11116 2002-03-05  Juergen Vigna  <jug@sad.it>
11117
11118         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11119
11120 2002-03-04  Juergen Vigna  <jug@sad.it>
11121
11122         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11123
11124         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11125         last column of multicolumn cells.
11126         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11127
11128 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11129
11130         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11131         file if it doesn't go to a temporary file.
11132
11133         * buffer.C (sgmlOpenTag):
11134         (sgmlCloseTag):  remove extra newline insertion.
11135
11136 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * text.C (getRowNearY): comment out debug msg
11139
11140 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * text2.C: first -> first_y
11143
11144         * text.C (getRowNearY): add some attemts at a possible
11145         optimization, not working.
11146
11147         * tabular.[Ch]: add BufferParams to several function so that newly
11148         created paragraph can be initialized to he default layotu for the
11149         buffers textclass.
11150
11151         * tabular-old.C (ReadOld): add buf->params to call of Init
11152
11153         * screen.C: rename text->first to text->first_y
11154
11155         * paragraph.C (breakParagraph): always set layout in the broken
11156         paragraph
11157
11158         * lyxtextclass.C (Read): remove lowercase
11159         (hasLayout): ditto
11160         (operator): ditto
11161         (delete_layout): ditto
11162
11163         * lyxtext.h: rename first -> first_y
11164
11165         * lyxlayout.C (Read): remove lowercase
11166         (name): ditto
11167         (setName): ditto
11168         (obsoleted_by): ditto
11169
11170         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11171
11172         * buffer.C (insertErtContents): add params are to InsetERT
11173         (parseSingleLyXformat2Token): add code to check if a paragraphs
11174         layout really exist.
11175         (parseSingleLyXformat2Token): add params to several inset
11176         constructors
11177         (asciiParagraph): remove lowercase, do the layout comparisons with
11178         no_case
11179
11180         * BufferView_pimpl.C (cursorNext): first -> first_y
11181         (resizeCurrentBuffer): first -> first_y
11182         (updateScrollbar): first -> first_y
11183         (scrollCB): first -> first_y
11184         (workAreaMotionNotify): first -> first_y
11185         (workAreaButtonPress): first -> first_y
11186         (checkInsetHit): first -> first_y
11187         (cursorPrevious): first -> first_y
11188         (cursorNext): first -> first_y
11189         (Dispatch): add buffer_->params to severl inset contructors
11190
11191 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * lyxlayout.C (Read): remove some debug info that I forgot.
11194
11195         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11196         clean up the code slightly.
11197         (makeLinuxDocFile): ditto
11198         (makeDocBookFile): ditto
11199
11200         * text2.C: layout as string
11201
11202         * text.C: layout as string
11203
11204         * paragraph_pimpl.C: layout as string
11205
11206         * paragraph.[Ch]: layout as string
11207
11208         * lyxtextclasslist.[Ch]: layout as string
11209
11210         * lyxtextclass.[Ch]: layout as string
11211
11212         * lyxtext.h: layout as string
11213
11214         * lyxlayout.[Ch]: layout as string
11215
11216         * lyx_cb.C: layout as string
11217
11218         * bufferview_funcs.C: layout as string
11219
11220         * bufferparams.C: layout as string
11221
11222         * buffer.C: layout as string
11223
11224         * LyXView.[Ch]: layout as string
11225
11226         * LaTeXFeatures.[Ch]: layout as string
11227
11228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11229
11230         * BufferView_pimpl.C: change current_layout to string, remove
11231         lyx::layout_type.
11232         (Dispatch):
11233         (smartQuote):
11234         (insertInset):
11235         (workAreaButtonRelease): layout as string
11236
11237         * BufferView2.C (unlockInset): adjust
11238
11239         * vspace.C (asLatexCommand): use an explict temp variable.
11240
11241 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * Makefile.am: use FRONTEND_*
11244
11245 2002-03-01  Juergen Vigna  <jug@sad.it>
11246
11247         * tabular.C (SetWidthOfMulticolCell): changed to something better
11248         I hope but still work in progress.
11249         (recalculateMulticolumnsOfColumn): renamed function from
11250         recalculateMulticolCells as it is more appropriate now.
11251         (SetWidthOfCell): calculate multicols better.
11252
11253 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11256
11257         * lyxfunc.C (processKeySym): print sequence also if it is
11258         `deleted' (complete)
11259
11260         * kbsequence.C (print): print sequence even if it is deleted
11261         (complete would be a better word, actually).
11262
11263         * lyxfunc.C (dispatch): print complete options after a prefix key
11264
11265         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11266
11267 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11268
11269         * text2.C (setCharFont): eliminate setCharFont code duplication.
11270
11271 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11274         LFUN_TABULAR_FEATURE (bug #177)
11275
11276 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11277
11278         * Makefile.am: remove figure.h
11279
11280 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * Bufferview_pimpl.C:
11283         * CutAndPasteC:
11284         * LaTeX.C:
11285         * LyXSendto.C:
11286         * buffer.C:
11287         * bufferlist.C:
11288         * converter.C:
11289         * language.C:
11290         * lyxfunc.C:
11291         * lyxvc.C:
11292         * paragraph.C:
11293         * text.C:
11294         * text2.C: remove #include "lyx_gui_misc.h".
11295
11296         * LaTeX.C: added #include <cstdio>
11297
11298 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11301         that the paragraph following this one can have.
11302
11303         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11304
11305         * vspace.C (asLatexCommand): fix bogus gcc warning
11306
11307         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11308
11309 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11310
11311         * text2.C (setLayout): get rid of redundant code
11312
11313 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11314
11315         * text2.C (incDepth): make sure depth cannot be increased beyond
11316         reasonable values.
11317
11318 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11319
11320         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11321         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11322
11323         * PainterBase.h (image):
11324         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11325         a LyXImage const *.
11326
11327 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * BufferView.C:
11330         * BufferView.h:
11331         * BufferView_pimpl.C:
11332         * BufferView_pimpl.h:
11333         * LaTeXFeatures.C:
11334         * LyXAction.C:
11335         * LyXView.C:
11336         * Makefile.am:
11337         * UpdateList.h:
11338         * UpdateList.C:
11339         * buffer.C:
11340         * figure.h:
11341         * figureForm.C:
11342         * figureForm.h:
11343         * figure_form.C:
11344         * figure_form.h:
11345         * lyx_cb.C:
11346         * lyx_gui.C:
11347         * lyx_gui_misc.C:
11348         * lyxfunc.C:
11349         * sp_base.h:
11350         * sp_ispell.h:
11351         * sp_pspell.h:
11352         * sp_spell.C: remove fig inset, and the crap house of
11353           cards that follows it
11354
11355 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * Makefile.am:
11358         * lyxserver.C:
11359         * os2_defines.h:
11360         * os2_errortable.h:
11361         * nt_defines.h: move .h into support/
11362
11363         * vms_defines.h: remove
11364
11365         * WorkArea.C: add space in debug output
11366
11367         * text2.C:
11368         * paragraph.C:
11369         * buffer.C: add WITH_WARNINGS
11370
11371         * vc-backend.h:
11372         * vc-backend.C:
11373         * bufferlist.C: s/retrive/retrieve/, add docs
11374
11375         * vspace.h:
11376         * vspace.C:
11377         * kbmap.h:
11378         * lyxlength.h:
11379         * lyxgluelength.h:
11380         * length_common.h:
11381         * chset.h:
11382         * chset.C: add docs
11383
11384         * lyxgui.C: add ID to X error handler
11385
11386         * lyxtestclass.c: fix typo
11387
11388 2002-02-26  Juergen Vigna  <jug@sad.it>
11389
11390         * tabular_funcs.C (write_attribute): changed so that some default
11391         attributes are not written at all.
11392         (getTokenValue): set default values before trying to read the
11393         value so we have the return value always set as default if we don't
11394         find the token we search for.
11395
11396         * tabular.C (Write): write bools as bools not as strings!
11397
11398 2002-02-22  Juergen Vigna  <jug@sad.it>
11399
11400         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11401         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11402
11403         * text.C (leftMargin): don't add an indent for paragraphs inside
11404         tabular cells (fix #208).
11405
11406 2002-02-21  José Matos  <jamatos@fep.up.pt>
11407
11408         * tabular.C (docBook): fixed support for long tables.
11409
11410 2002-02-20  Juergen Vigna  <jug@sad.it>
11411
11412         * text2.C (getFont): get the drawing font of the Inset if this
11413         paragraph is inside an inset (only important for InsetERT for now).
11414
11415         * buffer.C (insertErtContents): use new lanugage params in ERT
11416         constructor.
11417
11418         * CutAndPaste.C: commenting out seemingly uneeded code.
11419
11420 2002-02-19  Allan Rae  <rae@lyx.org>
11421
11422         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11423         Iterators might be simple to use but they also get invalidated.
11424         (removeAutoInsets): renamed saved cursor tracking variables and added
11425         some comments to clarify what everything does.
11426
11427 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11428
11429         * Chktex.C:
11430         * LaTeX.C:
11431         * LyXSendto.C:
11432         * converter.C:
11433         * lyx_cb.C:
11434         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11435         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11436
11437         * lyxfunc.C:
11438         * vc-backend.h: remove #include "support/syscall.h"
11439
11440         * LaTeX.C:
11441         * LyXSendto.C:
11442         * converter.C: rearrange #includes in Lars' approved fashion.
11443
11444         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11445         forward declare class Timeout in the header file.
11446
11447         * XFormsView.C: changes due to the above.
11448
11449         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11450         similar to LyXView.
11451
11452         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11453         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11454
11455 2002-02-18  José Matos  <jamatos@fep.up.pt>
11456
11457         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11458         insets contents.
11459
11460 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11461
11462         * a lot of small ws changes
11463         * add a lot of using std::XXX
11464         * use std construcs some places where approp.
11465         * use some exisint stuff from lyxfunctional where approp.
11466         * Make file changes to use partial linking (lets test this now...)
11467
11468 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * Chktex.C:
11471         * buffer.C:
11472         remove #include "support/syscontr.h" as it's redundant. Always has been.
11473
11474         * Chktex.C:
11475         * LaTeX.C:
11476         * LyXSendto.C:
11477         * converter.C:
11478         * lyx_cb.C:
11479         * vc-backend.C:
11480         change Systemcalls::System to Systemcalls::Wait and
11481         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11482         No change of functionality, just reflects the stripped down Systemcalls
11483         class.
11484
11485 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11486
11487         * debug.[Ch]: add a GRAPHICS type to the enum.
11488
11489 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11492
11493         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11494         there is an inset.
11495
11496 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11499         match the changes below.
11500
11501         * text2.C (toggleInset): if there is not editable inset at cursor
11502         position, try to see if cursor is _inside_ a collapsable inset
11503         and close it.
11504
11505 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11506
11507         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11508         document menu has a nice checkbox
11509
11510 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11511
11512         * lyxlength.C (asLatexString): change PW to output as percent of
11513         \textwidth.
11514
11515         * lengthcommon.C: change '%' to 't%'
11516
11517         * lyxfunc.C (dispatch): a few comments from Martin
11518
11519 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * WorkArea.h:
11522         * WorkArea.C:
11523         * BufferView_pimpl.h:
11524         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11525           the X selection.
11526
11527 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * vspace.C (inPixels): fix compiler warning
11530
11531 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * lyxfunc.C (getStatus): fix status message for disabled commands.
11534
11535 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * BufferView_pimpl.C: fix crash on close buffer
11538         during selection (#227)
11539
11540 2002-01-27  Herbert Voss  <voss@lyx.org>
11541
11542         * buffer.C: link old Figure to new graphic inset
11543
11544 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * FontLoader.C (getFontinfo): Change the latex font names in order
11547         to match the names of type1inst.
11548
11549 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11552
11553         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11554         (extchanged): ditto
11555         (ext_exist): ditto
11556         (remove_files_with_extension): ditto
11557         (remove_file): ditto
11558         (write): ditto
11559
11560         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11561         document is smaller than the work area height. Do not initialize
11562         static variables to 0.
11563
11564 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11567
11568         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11569         LFUN_LAYOUT_PARAGRAPHS.
11570
11571         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11572         tabular. It is possible to provide a possible cell, which will
11573         typically be the actcell from the corresponding insettabular
11574
11575         * lyxfunc.C (getStatus): small cleanup; disable
11576         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11577         true
11578
11579 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11580
11581         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11582
11583         * paragraph.C (startTeXParParams):
11584         (endTeXParParams): new methods. The LaTeX code to
11585         start/end paragraph formatting
11586         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11587         empty (fixes bug #200)
11588
11589         * vspace.C (inPixels): adapt to the change below
11590         (inPixels): [later] more cleanups (remove unused variables)
11591
11592         * lyxlength.C (inPixels): change to use a width and a height as
11593         parameter.
11594
11595 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11596
11597         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11598         Replaced with \paperwidth
11599
11600         * DepTable.C (insert): add std:: qualifier
11601
11602 2002-01-18  Allan Rae  <rae@lyx.org>
11603
11604         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11605         updated also?
11606
11607         * text.C (drawInset): Turned out I didn't know enough about how
11608         rebreaking worked.  This fixes most of the redraw problems.  I see
11609         an occasional cursor trail when a line is broken now and the cursor
11610         placement can seem out by a few pixels also after a rebreak.
11611
11612 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * buffer.C (parseSingleLyXformat2Token): update because minipage
11615         width is now a LyXLength
11616
11617         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11618
11619         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11620         math insets
11621
11622 2002-01-17  Juergen Vigna  <jug@sad.it>
11623
11624         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11625
11626         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11627         is set correctly and the inset is updated correctly.
11628
11629 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11632         the beginning of the loop.
11633
11634 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * lyxrc.C: improve help for use_scalable_fonts
11637
11638 2002-01-17  Allan Rae  <rae@lyx.org>
11639
11640         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11641
11642 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11645         make sure to set their inset_owner to the right value (bug #171)
11646
11647 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11648
11649         * DepTable.h
11650         * DepTable.C: Implement mtime checking to reduce time spent doing
11651         CRCs.
11652
11653 2002-01-16  Juergen Vigna  <jug@sad.it>
11654
11655         * tabular.C (GetAdditionalHeight): one of error fixed.
11656
11657         * lyxrc.C (output): small fix in writing use_pspell.
11658
11659 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11660
11661         * sp_base.h: #include LString.h
11662
11663 2002-01-16  Allan Rae  <rae@lyx.org>
11664
11665         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11666         Can someone check this please?
11667
11668         * text.C (drawInset): It was possible that p.row would be removed by
11669         breakAgainOneRow upsetting a few other settings.  There may be another
11670         small tweak possible by setting need_break_row = 0 when p.row has been
11671         removed but I don't know enough about the logic here.
11672
11673 2002-01-15  Allan Rae  <rae@lyx.org>
11674
11675         * text.C (insertChar): removed conditional truism.
11676
11677         * BufferView2.C (removeAutoInsets): More tweaks.
11678         cur_par_prev could be a stray pointer.  Check for trailing empty line
11679         in case last line was cur_par and only had an error inset on it.
11680
11681 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11682
11683         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11684         absolute
11685
11686         * vc-backend.C (most methods):
11687         * exporter.C (Export):
11688         * converter.C (convert):
11689         (runLaTeX):
11690         * LyXSendto.C (SendtoApplyCB):
11691         * lyxfunc.C (dispatch):
11692         (menuNew):
11693         (open):
11694         (doImport):
11695         * lyx_cb.C (AutoSave):
11696         (InsertAsciiFile):
11697         * BufferView_pimpl.C (MenuInsertLyXFile):
11698         * buffer.C (runChktex): use Buffer::filePath().
11699
11700         * buffer.h: rename filename to filename_; rename filepath to
11701         filepath_ and make it private
11702         (filePath): new method
11703
11704         * buffer.C (writeFile): use fileName()
11705         (getLatexName):
11706
11707         * lyx_main.C (init): fix starting  of LyX when the binary is a
11708         link from so,ewhere else.
11709
11710         * minibuffer.C: include <cctype> for isprint
11711
11712 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11713
11714         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11715         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11716         name clash with InsetCollapsable's width function.
11717
11718 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * lastfiles.C: include <iterator>
11721
11722 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11723
11724         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11725         std::count.
11726
11727         * buffer.C (makeLaTeXFile): ditto.
11728         Also make loop operation more transparent.
11729
11730 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * ToolbarDefaults.C: remove trailing comma closing namespace.
11733
11734         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11735
11736         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11737         as in WorkArea.
11738
11739         * trans.C (Load): comment out unused variable, allowed.
11740
11741 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11742
11743         * minibuffer.[Ch] (append_char): new method to recieve input from the
11744         drop-down completion browser. If a key was pressed, then recieve this
11745         char and append it to the existing string.
11746         (peek_event): modify the positioning data passed to the completion
11747         browser so that it can be placed above the minibuffer rather than below.
11748 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11749
11750         * LyXAction.C (init): alloe error-next for readonly documents.
11751
11752         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11753         count.
11754
11755 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * bufferlist.C (readFile): create the buffer _after_ checking that
11758         the file exists.
11759
11760         * lyxfunc.C (verboseDispatch): fix handling of arguments
11761
11762         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11763
11764         * lyxrc.C: use string::erase() instead of initializing to "".
11765
11766
11767 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * BufferView_pimpl.h:
11770         * BufferView_pimpl.C:
11771         * WorkArea.h:
11772         * WorkArea.C:
11773         * text2.C: tell X when we have made a selection for copying
11774
11775 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11776
11777         * BufferView_pimpl.C (MenuInsertLyXFile):
11778         * lyxfunc.C (menuNew):
11779         (open):
11780         (doImport): add shortcuts to directory buttons
11781
11782         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11783         open a float)
11784
11785         * lyxfunc.C (setStatusMessage):
11786         (getStatusMessage): new methods
11787         (getStatus):use setStatusMessage instead of setErrorMessage
11788         (dispatch): when function is disabled, set error message here
11789         [instead of in getStatus previously]
11790
11791         * BufferView_pimpl.C (workAreaButtonRelease): update
11792         toolbar/menubar here too.
11793
11794 2002-01-13  Allan Rae  <rae@lyx.org>
11795
11796         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11797         Now seems indestructible.  Remaining task is to audit all other
11798         code affected by deleteEmptyParagraphMechanism.  One small quirk
11799         left is that an empty document with an error in the preamble can
11800         be made to report an error but no error box appears.  I don't know
11801         where it goes.
11802         (removeAutoInsets): Improved comments.
11803
11804 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * Thesaurus.h:
11807         * Thesaurus.C: update for Aiksaurus 0.14
11808
11809 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11810
11811         * text2.C (firstParagraph): removed member function, all uses
11812         replaces with ownerParagraph
11813         (redoParagraphs): here
11814         (updateInset): here
11815         (toggleAppendix): here
11816         * BufferView2.C (insertErrors): here
11817         (setCursorFromRow): here
11818
11819 2002-01-13  Allan Rae  <rae@lyx.org>
11820
11821         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11822         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11823         There is still a way to segfault this although you may have to do this
11824         multiple times: Have an InsetERT with an unknown command in it.
11825         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11826         <down-arrow>, <Enter> again, View->DVI, BANG!
11827
11828         * text2.C (setCursor):
11829         (deleteEmptyParagraphMechanism):
11830         * lyxtext.h (setCursor):
11831         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11832         Making use of the return value may help fix other bugs.
11833
11834 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11835
11836         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11837
11838         * LyXView.C (updateMenubar): call MenuBar::update here
11839         (updateToolbar): but not here
11840         (showState): do not update toolbar/menubar
11841
11842         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11843         should need to care about that.
11844
11845         * lyxfunc.C (verboseDispatch): simplify a bit
11846         (getStatus): have a version which takes a pseudoaction, and
11847         another which requires a (kb_action,string).
11848
11849         * LyXAction.C (retrieveActionArg): make it work also when action
11850         is not a pseudo-action.
11851         (getActionName): simplify a bit
11852         (helpText):
11853
11854 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * lyxfunc.C (verboseDispatch): new families of methods with
11857         several ways to specify a command and a bool to indicate whether
11858         the command name and shortcut should be displayed in minibuffer
11859         (eventually, we could extend that to a finer bitmask like
11860         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11861         (dispatch): the pristine dispatch command which just, well,
11862         dispatchs! Note it still sets its result to minibuffer; I'm not
11863         sure we want that.
11864
11865         * lyxfunc.h: remove setHintMessage
11866
11867         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11868
11869 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * BufferView_pimpl.C (specialChar): delete new inset if we have
11872         not been able to insert it.
11873
11874         * kbmap.C: revert to using int instead of kb_action, since all we
11875         are dealing with is pseudo-actions.
11876
11877         * LyXAction.C (searchActionArg): change to return int instead of
11878         kb_action, since the result is a pseudoaction.
11879
11880 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11881
11882         * buffer.C (insertErtContents): Fix (partially) the font bug.
11883
11884 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11887         as the other one is broken on my machine!
11888
11889 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11890
11891         * commandtags.h:
11892         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11893
11894 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11895
11896         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11897         reflect their actual use. Provide compatibility code for older lyxrc
11898         files.
11899
11900         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11901         FL_NORMAL_STYLE.
11902         change names of popup font variables in line with the changes to lyxrc.C
11903
11904 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * buffer.C (asciiParagraph): avoid outputing a word twice after
11907         an inset.
11908
11909         * lyxrc.C (getDescription): document that document_path and
11910         template_path can be empty.
11911
11912 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * LaTeXFeatures.C (getMacros):
11915         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11916
11917         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11918
11919         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11920         getPackages.
11921         (getPackages): rename feature "floats" to "float". Use an array to
11922         iterate over 'simple' features (i.e. just a \usepackage). Add
11923         handling of "amsmath" (renamed from "amsstyle").
11924
11925 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11926
11927         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11928         features list.
11929
11930 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11931
11932         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11933         FuncStaus::FuncStatus & FuncStaus::some_method().
11934
11935 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11936
11937         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11938         of the func_satus stuff. Edited and massaged in various ways by
11939         JMarc.
11940
11941         * lyxfunc.C (getStatus): use FuncStatus
11942
11943 2002-01-08  Juergen Vigna  <jug@sad.it>
11944
11945         * text.C (nextBreakPoint): use function Inset::isChar().
11946
11947         * paragraph.C (TeXOnePar): use function
11948         Inset::forceDefaultParagraphs.
11949
11950         * buffer.C (latexParagraphs): use function
11951         Inset::forceDefaultParagraphs.
11952
11953 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11954
11955         * lyx_gui.C (init): set the style of the menu popups to
11956         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11957
11958 2002-01-07  Juergen Vigna  <jug@sad.it>
11959
11960         * text.C (setHeightOfRow): small fix
11961         (prepareToPrint): don't look at alignment if we don't have the place
11962         for doing it.
11963
11964 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * box.C: New file. Move the Box methods and functions out of box.h,
11967         following Lars' suggestion.
11968
11969 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * box.h: #include "support/LOstream.h", needed for inlined function.
11972
11973         * lyxtextclass.C:
11974         * lyxtextclasslist.C: added some using std declarations.
11975
11976 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * box.h: make signed dimensions to allow insets wider than
11979           the screen (bug #162)
11980
11981         * BufferView_pimpl.C: add some insetHit debug
11982
11983 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * vc-backend.C: add FIXME
11986
11987 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * lyxfunc.C (getStatus): enable code for showing math font status
11990         in toolbar/menu.
11991
11992 2002-01-07  Juergen Vigna  <jug@sad.it>
11993
11994         * text.C (nextBreakPoint): removed debug output not needed anymore.
11995
11996 2002-01-06  Juergen Vigna  <jug@sad.it>
11997
11998         * text.C (nextBreakPoint): fixed up this function we had this bug
11999         since ever but now hopefully we break row better.
12000         (insertChar): we have to check if an inset is the next char as it
12001         could now happen that a large inset is causing a break.
12002
12003 2002-01-05  Juergen Vigna  <jug@sad.it>
12004
12005         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12006         if it doesn't like to be drawed.
12007
12008 2002-01-04  Juergen Vigna  <jug@sad.it>
12009
12010         * BufferView2.C (lockInset): forgot to set a cursor.
12011
12012         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12013
12014 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12015
12016         * FormMathsPanel.C:
12017         * FormMathsPanel.h
12018         * MathsSymbols.C:
12019         * form_maths_panel.C:
12020         * form_maths_panel.h:
12021         * form_maths_panel.fd: implemented sub- and super- buttons in math
12022         panel.
12023
12024         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12025         (or ^ space) to be used as in TeX (req'd by André).
12026
12027         * lyxfunc.C: Allow ^ and _ again to be used both as
12028         super/subscript (mathed) and as themselves (in text).
12029
12030 2002-01-03  Allan Rae  <rae@lyx.org>
12031
12032         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12033         "LyX" or the filename of the current buffer if it has one.  This is a
12034         modified form of John Levon's patch.
12035
12036         * XFormsView.C (setWindowTitle): also set icon title.
12037
12038         * LyXView.h (setWindowTitle): signature changed.
12039         * XFormsView.h (setWindowTitle): ditto.
12040
12041 2002-01-02  Juergen Vigna  <jug@sad.it>
12042
12043         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12044
12045 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12046
12047         * screen.C (topCursorVisible): introduce a temp var for
12048         text->cursor.row(), handle the case where this row is null. (kindo
12049         hachish)
12050
12051         * text2.C (setCursor): add a couple of asserts.
12052
12053         * paragraph.h (inset_iterator): add -> operator
12054
12055         * paragraph.[Ch] (autoDeleteInsets): remove member function
12056
12057         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12058         cursor pos correctly and handle inset deletion by itself.
12059         (insertErrors): move iterator declaration out of for expression
12060
12061         * lyxtextclass.C: add <algorithm>
12062
12063         * Makefile.am: added the new files to sources, removed layout.C
12064
12065         * layout.C: removed file
12066
12067         * layout.h: remove LYX_DUMMY_LAYOUT
12068
12069         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12070         layout.
12071
12072         * lyxlayout.[Ch]:
12073         * lyxtextclass.[Ch]:
12074         * lyxtextclasslist.[Ch]: new files
12075
12076         * include order changes to a lot of files, also changes because of
12077         the six new files.
12078
12079 2001-12-27  Juergen Vigna  <jug@sad.it>
12080
12081         * buffer.C (asciiParagraph): more fixes.
12082
12083         * tabular.C (ascii): make ascii export support export of only the
12084         data separated by a column-delimiter.
12085         (ascii): better support for ascii export.
12086
12087         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12088
12089 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * tabular_funcs.C: use a "using std::getline" instead of the
12092         previous fix from Angus (necessary for cxx + lyxstring)
12093
12094 2001-12-24  Juergen Vigna  <jug@sad.it>
12095
12096         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12097
12098         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12099         problems. First check a minipage also if we have some ert-contents
12100         (not only on par->size(), second set the right depth of the paragraph
12101         on the relink to the root-paragraph-list!
12102
12103         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12104         which then did not anymore update the main paragraphs on undo/redo!
12105
12106 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12109         code. Support all font-changing funcs (even those which are not in
12110         menu currently). Support for reporting font settings in
12111         mathed (disabled until Andre provides a function on mathed's side).
12112
12113         * func_status.h (toggle): small helper function to set toggle
12114         state on a flag.
12115
12116 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * tabular_funcs.C: getline -> std::getline
12119
12120 2001-12-21  Juergen Vigna  <jug@sad.it>
12121
12122         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12123         accessed and could be 0 (I couldn't generate this but it seems
12124         Michael could!).
12125
12126 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12129         * tabular_funcs.h: here and include iosfwd
12130
12131 2001-12-20  Juergen Vigna  <jug@sad.it>
12132
12133         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12134         inside inset but undo_par was.
12135
12136 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * Thesaurus.C: always include <config.h> in sources.
12139
12140         * Painter.h:
12141         * lyxlookup.h:
12142         * box.h: do not include <config.h> in header files
12143
12144         * text.C (paintLastRow): remove unused variable
12145
12146         * text.C (transformChar):
12147         (insertChar):
12148         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12149
12150         * Painter.C (text):
12151         * font.C (width): rewrite to use uppercase() instead of
12152         islower/toupper.
12153
12154         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12155
12156 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyxfind.C: clean up of find failure position change
12159
12160 2001-12-20  Juergen Vigna  <jug@sad.it>
12161
12162         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12163
12164         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12165         (TeXRow): added to LaTeX a single tabular row.
12166         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12167         (Latex): simplified and finally good LT-h/f support.
12168         (various_functions): just small adaptions for LT-h/f support.
12169
12170         * tabular_funcs.[hC]: added and moved here all not classfunctions
12171         of LyXTabular.
12172
12173 2001-12-19  Juergen Vigna  <jug@sad.it>
12174
12175         * tabular.[Ch]: better support for longtabular options (not finished
12176         yet!)
12177
12178 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * text.C (paintLastRow): use the label font instead of the font of
12181         the last character to compute the size of *_BOX. This makes more
12182         sense and avoids a crash with empty paragraphs.
12183         Use Painter::rectangle to draw EMPTY_BOX.
12184
12185 2001-12-19  Juergen Vigna  <jug@sad.it>
12186
12187         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12188         the paragraphs if the replaced paragraph is not the first one!
12189         Tried to delete not used paragraphs but does not work yet so for
12190         now it's inside #ifdef's and by default off!
12191
12192 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * MenuBackend.C: include "lyx_main.h" instead of declaring
12195         lastfiles (actually was declared as LastFiles* instead of a
12196         scoped_ptr).
12197
12198 2001-12-17  Juergen Vigna  <jug@sad.it>
12199
12200         * tabular.C (AppendColumn): applied John's fix
12201
12202 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * BufferView.h:
12205         * BufferView.C:
12206         * BufferView_pimpl.h:
12207         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12208
12209         * Makefile.am:
12210         * box.h: new start of class for above
12211
12212         * lyxfunc.C: ignore space-only minibuffer dispatches.
12213           Show the command name when it doesn't exist
12214
12215         * minibuffer.C: don't add empty lines to the history
12216
12217         * minibuffer.C: add a space on dropdown completion
12218
12219 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * text.C: fix line above/below drawing in insets
12222
12223 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12224
12225         * lyxlength.C (LyXLength): Initialize private variables.
12226
12227 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12228
12229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12230         when inserting error insets.
12231
12232 2001-12-13  Juergen Vigna  <jug@sad.it>
12233
12234         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12235         actually sometimes the before-paragraph.
12236         (setUndo): don't clear the redostack if we're not actually undoing!
12237
12238 2001-12-06  Juergen Vigna  <jug@sad.it>
12239
12240         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12241         and fixed redoing of main paragraph, so we can use it now ;)
12242
12243         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12244
12245 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12246
12247         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12248         Juergen's request
12249
12250 2001-12-13  André Pönitz <poenitz@gmx.net>
12251
12252         * undostack.[Ch]:
12253         * undo_func.C: minor cleanup
12254
12255 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12256
12257         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12258         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12259         font in urw-fonts package which is marked as -urw-fontspecific and
12260         does not work (incidentally, changing the encoding in the
12261         fonts.dir of this package to -adobe-fontspecific fixes the
12262         problem).
12263
12264         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12265         is a crash when undoing first paragraph (Juergen, please take a
12266         look). THis does not mean the undo fix is wrong, just that it
12267         uncovers problems.
12268
12269         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12270         the (Paragraph*) version when needed instead of duplicating the
12271         code.
12272
12273         * text.C (workWidth): use Inset::parOwner to find out where the
12274         inset has been inserted. This is a huge performance gain for large
12275         documents with lots of insets. If Inset::parOwner is not set, fall
12276         back on the brute force method
12277
12278         * paragraph_pimpl.C (insertInset):
12279         * paragraph.C (Paragraph):
12280         (cutIntoMinibuffer): set parOwner of insets when
12281         inserting/removing them
12282
12283         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12284
12285 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12286
12287         * commandtags.h:
12288         * LyXAction.C:
12289         * lyx_main.C:
12290         * lyxfunc.C:
12291         * mathed/formulabase.C:
12292         * mathed/math_cursor.[Ch]:
12293         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12294
12295
12296 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * lyxlength.[Ch] (operator!=): new function
12299
12300 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12301
12302         * text.C (workWidth): use Inset::parOwner to find out where the
12303         inset has been inserted. This is a huge performance gain for large
12304         documents with lots of insets. If Inset::parOwner is not set, fall
12305         back on the brute force method
12306
12307         * paragraph_pimpl.C (insertInset):
12308         * paragraph.C (Paragraph):
12309         (cutIntoMinibuffer): set parOwner of insets when
12310         inserting/removing them
12311
12312         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12313
12314 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12315
12316         * tabular-old.C (getTokenValue):
12317         * tabular.C (getTokenValue):
12318         (write_attribute): new versions for LyXLength
12319         (everywhere): adjust the use of widths
12320
12321         * tabular.h: change the type of widths from string to LyXLength
12322
12323 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12324
12325         * paragraph.C: fixed missing line number count when exporting
12326         Environments to LaTeX file
12327
12328         * buffer.C: added informational message for checking line numbers.
12329
12330 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12331
12332         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12333         paragraph, do the 'double space' part, but not the 'empty
12334         paragraph' one.
12335
12336         * text.C (workWidth): small optimization
12337         (getLengthMarkerHeight): use minimal size for negative lengths.
12338
12339 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12340
12341         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12342
12343         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12344
12345 2001-12-11  André Pönitz <poenitz@gmx.net>
12346
12347         * FontLoader.C:
12348         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12349
12350 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * text2.C: keep selection on a setFont()
12353
12354 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * lyx_cb.C: another bv->text misuse, from insert label
12357
12358 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * kbsequence.h:
12361         * kbsequence.C: re-instate nmodifier mask
12362
12363 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12364
12365         * lyx_main.h: make lyxGUI private.
12366
12367 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * lyxfind.C: place the cursor correctly on failed search
12370
12371 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * text.C (getLengthMarkerHeight): for small heights, the arrows
12374         are not always on top/bottom of the text
12375         (drawLengthMarker): smaller arrows; take the left margin in
12376         account; draw also vfills.
12377         (paintFirstRow):
12378         (paintLastRow): remove special code for vfill and standard spaces,
12379         since everything is handled in drawLengthMarker now.
12380
12381 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * buffer.C (insertErtContents): try to handle font and language
12384         interaction a bit better.g
12385
12386         * ColorHandler.C (updateColor): change the hash to cover the whole
12387         LColor enum, ws cleanup
12388         (getGCLinepars): ditto
12389         (getGCLinepars): only lookup in the linecache once.
12390
12391 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12392
12393         * iterators.C (operator++): Make the iterator more robust
12394
12395         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12396         (John's patch)
12397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12398
12399 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyxtext.h:
12402         * text.C: better added space drawing
12403
12404 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * LyXView.C:
12407         * BufferView2.C: fix layout combo update on inset unlock
12408
12409 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * Makefile.am: don't compile unused files
12412
12413 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * lyxfunc.C:
12416         * commandtags.h:
12417         * LyXAction.C: remove old LFUN_LAYOUTNO
12418
12419 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * paragraph_pimpl.h:
12422         * paragraph_pimpl.C: isTextAt() doesn't need font param
12423
12424 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * lyxlex.h:
12427         * lyxlex.C: little cleanup
12428
12429 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * BufferView_pimpl.C: fix insertAscii for insets
12432
12433 2001-12-05  Juergen Vigna  <jug@sad.it>
12434
12435         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12436         set the right font on the "multi" paragraph paste!
12437
12438 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * trans_decl.h:
12441         * trans_mgr.[Ch]:
12442         * trans.[Ch]:
12443         * lyxgluelength.C:
12444         * lyxlength.C: remove out-commented code.
12445
12446         * BufferView_pimpl:
12447         * CutAndPaste.C:
12448         * DepTable.C:
12449         * buffer.C:
12450         * chset.C:
12451         * lastfiles.C:
12452         * lyxlex.C:
12453         * lyxlex_pimpl.C:
12454         * lyxserver.C:
12455         * screen.C:
12456         * tabular-old.C:
12457         * tabular.C:
12458         * text.C:
12459         * trans_mgr.C:
12460         * vc-backend.C: change "while(" to "while ("
12461
12462         * lyxlength.[Ch]: add zero function to check if length is zero or
12463         not
12464         * lyxgluelength.C: use it
12465
12466 2001-12-05  Allan Rae  <rae@lyx.org>
12467
12468         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12469         Works for 2.95.3, from what I understand of Garst's reports this should
12470         work for other g++ versions.  We're screwed if the abs(int) definition
12471         changed between bugfix releases of gcc.
12472
12473 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * text.C: fix chapter label offset !
12476
12477 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxtext.h:
12480         * text.C: fix hfill at end of line, clean up
12481
12482 2001-12-04  Juergen Vigna  <jug@sad.it>
12483
12484         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12485         that we force an update of the inset and it's owners if neccessary.
12486
12487 2001-12-03  Juergen Vigna  <jug@sad.it>
12488
12489         * text.C (rowLast): simplified code
12490
12491 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * lyxfunc.C: fix show options on timeout
12494
12495 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * screen.C (topCursorVisible): scroll half a page when the cursor
12498         reached top of bottom of screen
12499
12500 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * minibuffer.C: deactivate on loss of focus
12503
12504 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * vspace.[Ch] (operator!=): add operator.
12507
12508 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * BufferView_pimpl.C: refuse to open an inset when
12511         there's a selection.
12512
12513 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * BufferView_pimpl.C: allow to click on RHS of full row insets
12516
12517 2001-11-30  Juergen Vigna  <jug@sad.it>
12518
12519         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12520         insets for undo reasons.
12521
12522 2001-11-28  André Pönitz <poenitz@gmx.net>
12523
12524         * vspace.[Ch]: cosmetical changes
12525
12526 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * LyXAction.h:
12529         * LyXAction.C:
12530         * lyxfunc.h:
12531         * lyxfunc.C:
12532         * kbmap.h:
12533         * kbmap.C:
12534         * lyxrc.C:
12535         * kbsequence.h:
12536         * kbsequence.C: part re-write of old kb code
12537
12538         * Painter.C:
12539         * WorkArea.C: remove Lgb_bug_find_hack
12540
12541 2001-11-30  José Matos <jamatos@fep.up.pt>
12542
12543         * buffer.C (makeDocBookFile): add a comment to point a hack.
12544         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12545         Fixed a double write of labels.
12546
12547 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12548
12549         * LaTeX.C:
12550         * LaTeX.h Fixed bug in LaTeX class where it would not
12551         re-run latex if no depfiles were changed, but the .dvi was removed.
12552
12553 2001-11-28  André Pönitz <poenitz@gmx.net>
12554
12555         * all the files from the change on 2001/11/26:
12556         use lyx::layout_type instead of LyXTextClass::size_type
12557         use lyx::textclass_type instead of LyXTextClassList::size_type
12558
12559 2001-11-29  Juergen Vigna  <jug@sad.it>
12560
12561         * text.C: added support for paragraph::isFreeSpacing()
12562
12563         * buffer.C: same as above
12564
12565         * paragraph.h: inserted isFreeSpacing() function to enable
12566         FreeSpacing inside InsetERT.
12567
12568         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12569         of the paragraph's in the cut/copy buffer to 0!
12570
12571         * text2.C (removeRow): remove the assert as it can!
12572
12573         * lyxtext.h: added helper function firstRow returning firstrow and
12574         made firstrow private again.
12575
12576         * BufferView2.C (lockInset): don't relock if we're already locked!
12577
12578         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12579         the only paragraph.
12580         (removeRow): added Assert::(firstrow)
12581
12582         * debug.C: forgot to add INSETTEXT here.
12583
12584 2001-11-28  Juergen Vigna  <jug@sad.it>
12585
12586         * sp_spell.C (initialize): changed error text to more general
12587         spellchecker command use (not only ispell!)
12588
12589         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12590
12591         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12592
12593 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * vspace.C: initialise lyxgluelength on failure
12596
12597 2001-11-28  Allan Rae  <rae@lyx.org>
12598
12599         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12600         declaration & definition that looks like a function declaration.
12601
12602 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * BufferView2.C (copy):
12605         (copyEnvironment): do not clear the selection when doing a copy.
12606
12607         * text.C (paintFirstRow): compilation fix
12608
12609 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12610
12611         * tabular.C (Latex): correct line count when writing latex.
12612
12613 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * paragraph_pimpl.h:
12616         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12617           bug a bit
12618
12619 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * text.C:
12622         * LColor.h:
12623         * LColor.C: change vfillline->added_space
12624
12625         * text.C: add markers and text for added space
12626
12627         * vspace.C: fix comment
12628
12629 2001-11-28  André Pönitz <poenitz@gmx.net>
12630
12631         * paragraph.C: whitespace changes
12632         * all the other files from the change on 2001/11/26:
12633         change *::pos_type into lyx::pos_type
12634
12635 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12636
12637         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12638         language of the document when inserting error insets.
12639
12640 2001-11-26  André Pönitz <poenitz@gmx.net>
12641
12642         * BufferView_pimpl.[Ch]:
12643         *       CutAndPaste.C:
12644         * buffer.[Ch]:
12645         * lyxcursor.[Ch]:
12646         * lyxfind.C:
12647         * lyxfunc.C:
12648         * lyxrow.[Ch]:
12649         * paragraph.[Ch]:
12650         * paragraph_pimpl.[Ch]:
12651         * sp_spell.C:
12652         * text.C:
12653         * text2.C: reduce header dependencies, introduce type for positions
12654
12655 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * <various>: change to use Alert.h
12658
12659 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12660
12661         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12662         when encountering an unknown token.
12663         (readLyXformat2): Show an error message if there were unknown tokens.
12664
12665 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * BufferView2.C:
12668         * BufferView_pimpl.C:
12669         * buffer.C:
12670         * paragraph.h:
12671         * text.C:
12672         * text2.C: use par->isInset()
12673
12674 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * paragraph_pimpl.h:
12677         * paragraph_pimpl.C: cleanup
12678
12679 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * text2.C (removeRow):
12682         * text.C (setHeightOfRow): remove useless (and costly) call to
12683         getRow.
12684
12685 2001-11-20  Allan Rae  <rae@lyx.org>
12686
12687         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12688         Now need Inset*::checkInsertChar() to return true for appropriate
12689         cases so that the characters in the minibuffer will actually be
12690         inserted.
12691
12692 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * text.C: change the order of the includes.
12695         (workWidth): initialize it at once.
12696         (workWidth): make maxw unsigned
12697         (setHeightOfRow): remove unused variable (inset)
12698         (selectSelectedWord): remove unused variable (inset)
12699         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12700
12701 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12704         server is not running.
12705         (openConnection):
12706         (closeConnection): add debug info when server is disabled.
12707
12708         * ColorHandler.C (getGCForeground): send debug message to GUI
12709         channel.
12710
12711         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12712
12713         * kbmap.C (bind): modify because return conventions of
12714         kb_sequence::parse have changed.
12715
12716         * kbsequence.C (parse): only ignore spaces and not any stupid
12717         control character. This avoids tests like s[i] <= ' ', which are
12718         guaranteed to fail with 8bit characters and signed chars.
12719         Change return code to string::npos when there have been no error
12720         (0 was a bad idea when error is at first character)
12721
12722 2001-11-14  José Matos  <jamatos@fep.up.pt>
12723
12724         * buffer.h:
12725         * buffer.C (simpleDocBookOnePar): removed unused argument.
12726
12727 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12730         insets which are part of a word. Paragraph::isLetter takes care of
12731         that now. Use Paragraph::isInset to identify insets.
12732         (selectSelectedWord): do not test for hyphenation break.
12733
12734         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12735         that protected spaces are considered as spaces.
12736
12737         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12738         Inset::isLetter.
12739
12740 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * lyxserver.h:
12743         * lyxserver.C: fix it. and small cleanup.
12744
12745 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * BufferView_pimpl.C: use inline helpers
12748
12749         * LaTeXFeatures.h:
12750         * LaTeXFeatures.C: fix typos
12751
12752         * Spacing.h:
12753         * Spacing.C: move spacing_string into class
12754
12755         * ToolbarDefaults.C: move stuff into namespace anon
12756
12757         * layout.h: update enum
12758
12759         * lyxfunc.C: use better debug
12760
12761         * minibuffer.h: fix typo
12762
12763         * debug.h:
12764         * debug.C:
12765         * WorkArea.C: add and use Debug::WORKAREA
12766
12767         * lyxtext.h:
12768         * text.C:
12769         * text2.C: code re-organisation, inline helpers
12770
12771 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12772
12773         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12774         std::vector.empty().
12775
12776 2001-11-09  Allan Rae  <rae@lyx.org>
12777
12778         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12779         '\n's after tables.  Tabular and ERT inset work now makes this no
12780         longer necessary.
12781
12782 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * minibuffer.h:
12785         * minibuffer.C: fix crash, improve drop-down completion
12786
12787 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * lyxserver.h:
12790         * lyxserver.C: invalidate fd's when doing endPipe()
12791
12792 2001-11-08  José Matos  <jamatos@fep.up.pt>
12793
12794         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12795         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12796
12797         * paragraph.h:
12798         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12799
12800 2001-11-07  José Matos  <jamatos@fep.up.pt>
12801
12802         * buffer.h:
12803         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12804         const qualifier.
12805
12806         * buffer.C (sgmlOpenTag):
12807         * buffer.C (sgmlCloseTag): removed debug info.
12808
12809         * buffer.h (sgmlOpenTag):
12810         * buffer.h (sgmlCloseTag): made public.
12811
12812 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12813
12814         * buffer.C (saveParamsAsDefaults):
12815         * lyx_cb.C (MenuLayoutSave): remove
12816
12817         * LyXAction.C (init):
12818         * commandtags.h:
12819         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12820
12821 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * buffer.C (setPaperStuff): removed from here...
12824
12825         * bufferparams.C (setPaperStuff): ... and moved there.
12826
12827 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * minibuffer.h:
12830         * minibuffer.C:
12831         * XFormsView.C: add support for drop-down completion
12832
12833 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12834
12835         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12836         commands.
12837
12838 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12839
12840         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12841         disabled.
12842
12843 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * lyx_main.C: change ref to known bugs
12846
12847 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12848
12849         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12850         to work around older babel problems.
12851
12852 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12853
12854         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12855
12856 2001-10-24  Juergen Vigna  <jug@sad.it>
12857
12858         * tabular-old.C (ReadOld): below variable changes reflected.
12859
12860         * tabular.[Ch]: added ltType struct for longtable header/footer
12861         defines and changed all instances where they are used. Added
12862         future support for double top/bottom rows.
12863
12864 2001-10-24  José Matos  <jamatos@fep.up.pt>
12865
12866         * buffer.h (docbookHandleCaption):
12867         * buffer.C (docbookHandleCaption): removed unused function.
12868         (makeDocBookFile): moved docbook supported version to v4.1.
12869
12870 2001-10-24  José Matos  <jamatos@fep.up.pt>
12871
12872         * tabular.h:
12873         * tabular.C (docbookRow): new function to export docbook code of a row.
12874         (DocBook): now honors the longtable flags.
12875
12876 2001-10-23  José Matos  <jamatos@fep.up.pt>
12877
12878         * LaTeXFeatures.h:
12879         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12880         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12881
12882         * buffer.C (makeLinuxDocFile):
12883         (makeDocBookFile): reworked the preamble, more clean, and with
12884         support for lyx defined entities. Changed the document declaration
12885         to be more XML friendly.
12886
12887         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12888         if we need to output XML that should be done with a filter.
12889
12890 2001-10-22  Juergen Vigna  <jug@sad.it>
12891
12892         * sp_pspell.h (class PSpell): add alive function needed in the
12893         controller to see if the spellchecker could be started.
12894
12895 2001-10-22  Juergen Vigna  <jug@sad.it>
12896
12897         * buffer.C (insertStringAsLines): modify the font for inserting
12898         chars in certain conditions by calling checkInsertChar(font).
12899
12900 2001-10-19  Juergen Vigna  <jug@sad.it>
12901
12902         * text.C (workWidth): use getRow instead of wrong algorithm.
12903         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12904
12905 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * lyxserver.h:
12908         * lyxserver.C:
12909         * lyx_main.h:
12910         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12911
12912 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12913
12914         * text.C (workWidth): do not search for the exact row when
12915         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12916         optimization for big documents.
12917
12918 2001-10-18  Juergen Vigna  <jug@sad.it>
12919
12920         * text.C (workWidth): new function with added Inset * parameter.
12921
12922 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12923
12924         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12925
12926         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12927         change return type of getColumnNearX.
12928
12929
12930         * text.C (changeRegionCase): use uppercase/lowercase instead of
12931         toupper/tolower.
12932         (leftMargin):
12933         (rightMargin): simplify code by factoring out the uses of
12934         textclasslist.
12935         (labelFill):
12936         (numberOfHfills):
12937         (setHeightOfRow):
12938         (appendParagraph): use Paragraph::size_type
12939
12940 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * vspace.C (asLatexString): add a missing break
12943
12944 2001-10-15  Herbert Voss  <voss@perce.de>
12945
12946         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12947
12948 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12949
12950         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12951         is not available.
12952
12953 2001-10-10  André Pönitz <poenitz@gmx.net>
12954
12955         * lyxfunc.C: removed greek_kb_flag.
12956
12957 2001-10-10  Herbert Voss  <voss@perce.de>
12958
12959         * lyx_main.C: delete global string help_lyxdir.
12960
12961 2001-10-09  Herbert Voss  <voss@perce.de>
12962
12963         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12964
12965         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12966
12967         * lyx_main.C: added global string help_lyxdir.
12968
12969         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12970
12971 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12972
12973         * lyxrc.C (set_font_norm_type): support iso8859-4
12974
12975 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12976
12977         * LaTeX.C (deplog): add another regex for MikTeX
12978
12979 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12980
12981         * lyxrc.C (set_font_norm_type): support iso8859-3
12982
12983 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12986
12987         * LaTeXFeatures.C: remove special case of french and index
12988
12989         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12990         before \begin{document}). This solves several incompatibilities.
12991
12992 2001-10-03  Garst Reese  <reese@isn.net>
12993
12994         * lyx_cb.C: change CheckTex error msg.
12995
12996 2001-10-03  José Matos  <jamatos@fep.up.pt>
12997
12998         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12999
13000 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * .cvsignore: update
13003
13004         * lyx_main.C (commandLineVersionInfo): use new style version info.
13005
13006         * buffer.C (writeFile):
13007         (makeLaTeXFile):
13008         (makeLinuxDocFile):
13009         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13010
13011         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13012
13013         * version.h: update to use stuff in version.C
13014
13015         * version.C.in: new file. Contains version information determined
13016         at compile time. This is a merging of version.h and
13017         version_info.h.in.
13018
13019 2001-10-03  Juergen Vigna  <jug@sad.it>
13020
13021         * BufferView_pimpl.C (update): don't change "dirty" status in
13022         updateInset call.
13023
13024 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13025
13026         * WorkArea.C (c-tor): re-position version string slightly.
13027
13028 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13029
13030         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13031         revert to previous code.
13032
13033         WorkArea.[Ch]: (show, destroySplash): methods removed.
13034
13035         WorkArea.C: rework code so that it's an amalgam of the codes before and
13036         after the splash screen was moved to WorkArea.
13037
13038 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * lyxrc.C (read):
13041         * vspace.C (inPixels):
13042         (lyx_advance):
13043         * kbmap.C (bind):
13044         * buffer.C (insertStringAsLines):
13045         (asciiParagraph): fix types to be large enough
13046
13047         * lyxlex_pimpl.h: change member status from short to int
13048
13049         * layout.h: fix type of endlabeltype
13050
13051         * kbmap.C (bind):
13052         * kbsequence.C (parse): change return type to string::size_type
13053
13054         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13055         variable
13056
13057         * Bullet.C (bulletSize):
13058         (bulletEntry): do not use short ints as parameters
13059
13060         * BufferView2.C (insertLyXFile): change a char to an int.
13061
13062         * WorkArea.C (WorkArea): remove unneeded floats in computation
13063
13064 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13067
13068         * paragraph.C (asString): Do not ignore newline/hfill chars when
13069         copying to the clipboard.
13070
13071 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13072
13073         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13074         after a multi-line inset.
13075
13076 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13077
13078         * paragraph.C (validate): Set NeedLyXFootnoteCode
13079
13080 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13083         and decrease-error to decrease.
13084
13085 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13088         it more readable (should be equivalent)
13089
13090 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13091
13092         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13093
13094 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13095
13096         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13097         of a cursor (row, etc.) after a character has been deleted
13098         (deleteEmptyParagraphMechanism): call the method above on _all_
13099         cursors held by the LyXText when a double space has been
13100         detected/deleted.
13101
13102 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13105         pixmap.
13106         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13107
13108         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13109         background. Use greyOut() and the new show() methods to toggle between
13110         the foreground and background. Add code to remove the splash after
13111         its initial showing.
13112
13113         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13114         (create_forms): no longer call Dialogs::showSplash.
13115
13116 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13117
13118         * .cvsignore: add version_info.h
13119
13120 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13121
13122         * version_info.h.in: new file
13123
13124         * Makefile.am: add version_info.h.in
13125
13126         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13127         version_info.h instead of VERSION_INFO
13128
13129 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13130
13131         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13132         The ERT inset now returns string().
13133
13134 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13135
13136         * lyxtext.h, text.C (selectNextWord): renamed as
13137         selectNextWordToSpellcheck.
13138
13139         * text.C (selectNextWordToSpellcheck): Modified to not select
13140         words inside an ERT inset.
13141
13142 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * lyx_cb.C (MenuLayoutSave): change a bit the question
13145
13146         * sp_base.h: include <sys/types.h>
13147
13148 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13149
13150         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13151
13152 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13153
13154         * several files: fix typos in user-visible strings
13155
13156 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * text2.C (pasteSelection): do not set the selection, since it
13159         will be cleared later. Actually, the intent was to fix the way the
13160         selection was set, but I figured rmoving the code was just as good.
13161
13162 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * FontLoader.C (available): Check if font is available without
13165         loading the font.
13166
13167 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13168
13169         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13170
13171 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13172
13173         * lyxrc.[Ch]: added display_graphics variable and associated code.
13174
13175 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * bufferparams.C (hasClassDefaults): new method. Returns true if
13178         the buffer parameters correspond to known class defaults
13179
13180 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13181
13182         * XFormsView.C (show): set minimum size to the main window.
13183
13184 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * text2.C (copySelection):
13187         (cutSelection):
13188         * lyxfind.C (LyXReplace):
13189         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13190         LyXText::selectionAsString.
13191
13192         * paragraph.C (asString): add "label" argument to the second form
13193
13194         * text2.C (selectionAsString): add "label" argument and pass it to
13195         Paragraph::asString.
13196
13197 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * lyx_main.C (commandLineHelp): remove version information
13200
13201 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13202
13203         * lyx_main.C: add -version commandline option
13204
13205 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * paragraph.h: make the optional constructor arg required instead.
13208         some modifications to other files because of this.
13209
13210         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13211
13212         * lyxserver.C (C_LyXComm_callback): make it static
13213
13214         * lyx_main.C (error_handler): make it static
13215
13216         * lyx_gui.C (LyX_XErrHandler): make it static
13217
13218         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13219
13220         * WorkArea.C: make the extern "C" methods static.
13221
13222         * Makefile.am (lyx_LDADD): simplify
13223
13224 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13227         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13228
13229         * LyXAction.C (init):
13230         * lyxfunc.C (dispatch): associated code removal.
13231
13232 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13233
13234         * lyxfont.h (isSymbolFont): shut off warning
13235
13236         * text.C (setHeightOfRow):
13237         (getVisibleRow): fix crash with empty paragraphs which have a
13238         bottom line
13239
13240 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13241
13242         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13243         code.
13244
13245 2001-09-04  José Matos  <jamatos@fep.up.pt>
13246         * buffer.C
13247         * buffer.h
13248         * tabular.C (docbook): rename docBook method to docbook.
13249
13250 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13251
13252         * Makefile.am: add dependencies to main.o.
13253
13254 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * FontLoader.C (available): Return false if !lyxrc.use_gui
13257
13258 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13259
13260         * FontInfo.C (query):
13261         * converter.C (view):
13262         * importer.C (Import):
13263         * exporter.C (Export): Can not -> cannot.
13264
13265 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13266
13267         * BufferView_pimpl.C: allow to create index inset even if
13268           string is empty
13269
13270 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13271
13272         * buffer.C (getLists): replace boost::tie code with an explicit pair
13273         as boost::tie can break some compilers.
13274
13275         * iterators.h: Added a std:: declaration to the return type of
13276         ParIterator::size.
13277
13278 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13281           case.
13282
13283 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * iterators.[Ch]: New files. Provide paragraph iterators.
13286
13287         * buffer.C (changeLanguage): Use paragraph iterators.
13288         (isMultiLingual): ditto
13289
13290         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13291
13292 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13293
13294         * FontLoader.C: Support for cmr font.
13295
13296 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13297
13298         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13299         (available): New method.
13300
13301         * FontInfo.C (getFontname): Use scalable fonts even when
13302         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13303         found.
13304
13305 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13306
13307         * converter.C (Formats::view): reverted! Incorrect fix.
13308
13309 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13310
13311         * converter.C (Formats::view): only output the -paper option
13312         if the dvi viewer is xdvi, thereby fixing bug #233429.
13313
13314 2001-08-23  Herbert Voss  <voss@perce>
13315
13316         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13317
13318 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13319
13320         * Spacing.h (Spacing): Set space to Default on in the default
13321         constructor.
13322
13323 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13324
13325         * vc-backend.h (RCS::versionString): add RCS to version
13326         (CVS::versionString): add CVS to version
13327
13328         * vc-backend.C (scanMaster): do not add CVS to version.
13329         (scanMaster): do not add RCS to version
13330
13331         * lyxvc.C (versionString): new method
13332
13333         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13334
13335 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * Spacing.C (set): initialize fval
13338
13339 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13342         " or \.
13343
13344 2001-08-16  Juergen Vigna  <jug@sad.it>
13345
13346         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13347
13348 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13349
13350         * BufferView_pimpl.C:
13351         * figureForm.C:
13352         * lyxtext.h:
13353         * text2.C: setParagraph takes linespacing now
13354
13355 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13356
13357         * LyxAction.C: add internal LFUN_CITATION_INSERT
13358
13359         * LyXView.C: actually apply fix
13360
13361         * bufferlist.C: fix open non-existent file
13362
13363         * lyxfind.C: fix indentation
13364
13365         * lyxfunc.C: remove unneeded assert, fix typo
13366
13367 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * MenuBackend.C: use "Floatname List"
13370
13371 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13372
13373         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13374         when converting LaTeX layout to insetERT.
13375         Generate a non-collapsed float when reading old float
13376
13377 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13378
13379         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13380         ERT insets.
13381
13382 2001-08-13  Juergen Vigna  <jug@sad.it>
13383
13384         * text.C (fill): return 0 instead of 20 as this seems to be the more
13385         correct value.
13386
13387 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13388
13389         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13390         lyxrc.font_norm.
13391
13392 2001-08-13  Juergen Vigna  <jug@sad.it>
13393
13394         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13395         casesensitive off.
13396         (SearchBackward): comment out the unlocking of the inset_owner this
13397         should not be needed!
13398
13399 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13400
13401         * Many files: Remove inherit_language, and add latex_language
13402
13403         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13404         collapsible insets.
13405
13406 2001-08-10  Juergen Vigna  <jug@sad.it>
13407
13408         * text.C (prepareToPrint): fixed hfill-width in draw!
13409
13410         * BufferView2.C (selectLastWord): save the selection cursor as this
13411         now is cleared in the function LyXText::clearSelection!
13412
13413 2001-08-08  Juergen Vigna  <jug@sad.it>
13414
13415         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13416         BACKSPACE type functions.
13417
13418         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13419         is only cutted from the document but not put in the cut-buffer, where
13420         still the old stuff should be.
13421
13422         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13423
13424         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13425
13426         * tabular.C (SetWidthOfCell): fixed special case where the width
13427         was not updated!
13428         (LeftLine): handle '|' in align_special.
13429         (RightLine): ditto
13430         (LeftAlreadyDrawed): ditto
13431         (SetWidthOfCell): ditto
13432
13433 2001-08-07  Juergen Vigna  <jug@sad.it>
13434
13435         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13436
13437 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13440         * lyxlex.[hC]: ditto
13441
13442 2001-08-06  Juergen Vigna  <jug@sad.it>
13443
13444         * text.C (getVisibleRow): fix up row clearing a bit.
13445
13446 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * minibuffer.C: make sure the X server sees the changes in the input.
13449
13450 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * paragraph.C (getFont): split into...
13453         (getLabelFont): this
13454         (getLayoutFont): and this
13455         * paragraph_pimpl.C (realizeFont): calling this
13456
13457         * text2.C (getFont): split into...
13458         (getLayoutFont): this
13459         (getLabelFont): and this
13460         (realizeFont): all three calling this
13461
13462         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13463         files where used.
13464
13465 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13468
13469 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13470
13471         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13472         layouts from the Quote inset insertion.
13473
13474 2001-08-03  Juergen Vigna  <jug@sad.it>
13475
13476         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13477
13478         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13479         only if status not is already CHANGED_IN_DRAW (second level).
13480
13481         * text.C (draw): don't set the need_break_row when inside an
13482         InsetText LyXText.
13483
13484 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * buffer.C (parseSingleLyXformat2Token): handle more latex
13487         conversion cases.
13488
13489         * bufferview_funcs.[hC]: change function names to
13490         begin with small char, adjust other files.
13491
13492 2001-08-02  André Pönitz <poenitz@gmx.net>
13493
13494         * lyxfunc.C:
13495         BufferView_pimpl.C: remove broken special code for math-greek
13496
13497 2001-08-02  Juergen Vigna  <jug@sad.it>
13498
13499         * BufferView_pimpl.C (update): redone this function so that we
13500         update the text again if there was a CHANGE_IN_DRAW.
13501
13502         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13503         (drawFromTo): added a new internal bool which is used by draw() and
13504         redraw() function.
13505         (general): some cursor drawing problems fixed.
13506
13507 2001-08-01  Juergen Vigna  <jug@sad.it>
13508
13509         * lyxfind.C (LyXFind): fixed
13510         (SearchForward): ditto
13511         (SearchBackward): ditto
13512
13513         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13514         spurius drawing of the cursor in the main area.
13515
13516         * text2.C (status): small fix which could lead to a segfault!
13517         (clearSelection): remove unneeded BufferView param.
13518
13519 2001-08-01  André Pönitz <poenitz@gmx.net>
13520
13521         * lyxfunc.C: small change due to changed mathed interface
13522
13523 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13526
13527 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13528
13529         * lyxfunc.c: fail gracefully if file doesn't exist
13530
13531         * LyXSendto.C:
13532         * buffer.C:
13533         * lyxfunc.C:
13534         * BufferView_pimpl.C: IsDirWriteable() proto changed
13535
13536         * LyXView.C: fix updateWindowTitle() to store the last title
13537
13538 2001-07-31  Juergen Vigna  <jug@sad.it>
13539
13540         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13541         the font (wrong since using of Paragraph::highestFontInRange).
13542
13543         * paragraph.C (highestFontInRange): added a default_size parameter.
13544
13545         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13546         (setHeightOfRow): reformat
13547
13548 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * converter.[hC] + affected files: move to (inital-char)lowercase
13551         function names.
13552
13553         * ParagraphParameters.C (ParagraphParameters): remove commented code
13554
13555         * PainterBase.[Ch]: remove commented code
13556
13557         * LaTeXFeatures.h: add "bool floats" for float.sty
13558
13559         * LaTeXFeatures.C (LaTeXFeatures): init floats
13560         (require): handle float
13561         (getPackages): do it with floats
13562
13563 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13564
13565         * BufferView_pimpl.C (Dispatch): improve handling of
13566         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13567
13568         * commandtags.h: #include lyxfont.h here temporarily to avoid
13569         keybinding bug.
13570
13571         * bufferlist.h: include LString.h here.
13572
13573 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * text2.C (getStringToIndex): new method.
13576
13577 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13578
13579         * *: Reduced header file dependencies all over.
13580
13581 2001-07-30  Baruch Even  <baruch@lyx.org>
13582
13583         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13584
13585 2001-07-29  Baruch Even  <baruch@lyx.org>
13586
13587         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13588
13589 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * ParameterStruct.h (endif): add a default constructor to make
13592         sure that all variables is initialized.
13593
13594         * ParagraphParameters.C (ParagraphParameters): adjust
13595
13596 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13599         index; also, check that there is something to index, and that it
13600         does not span over several paragraphs.
13601         (doubleClick): use WHOLE_WORD_STRICT for double click.
13602
13603         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13604
13605         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13606         scheme.
13607
13608 2001-07-26  Baruch Even  <baruch@lyx.org>
13609
13610         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13611         an InsetFig figure, backwards compatible reading of old figure code.
13612
13613 2001-07-27  Juergen Vigna  <jug@sad.it>
13614
13615         * text2.C: font.realize function adaption.
13616
13617         * text.C (draw): add a warnings lyxerr text if needed.
13618
13619         * layout.C: font.realize function adaption.
13620
13621         * language.C: add inherit_language and implement it's handlings
13622
13623         * bufferview_funcs.C (StyleReset): remove language parameter from
13624         font creation (should be language_inherit now).
13625
13626         * bufferparams.C (writeFile): handle ignore_language.
13627
13628         * paragraph.C (getFontSettings): the language has to be resolved
13629         otherwise we have problems in LyXFont!
13630
13631         * lyxfont.C (lyxWriteChanges): added document_language parameter
13632         (update): removed unneeded language parameter
13633
13634         * paragraph.C (validate): fixed wrong output of color-package when
13635         using interface colors for certain fonts in certain environments,
13636         which should not seen as that on the final output.
13637
13638 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * BufferView_pimpl.C:
13641         * Thesaurus.h:
13642         * Thesaurus.C:
13643         * Makefile.am:
13644         * commandtags.h:
13645         * LyXAction.C: add thesaurus support
13646
13647         * lyxfind.h:
13648         * lyxfind.C: add "once" parameter, for thesaurus, to not
13649           move to the next match
13650
13651 2001-07-26  Juergen Vigna  <jug@sad.it>
13652
13653         * lyxfont.C (realize): honor ignore_language too!
13654         (resolved): ditto.
13655
13656         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13657
13658         * text.C (draw): one place more for ignore_language to not draw
13659         itself!
13660
13661 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13662
13663         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13664
13665 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13668         the minipage conversion problem.
13669
13670 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13673         insert an inset.
13674
13675 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * BufferView.h: don't forward declare WorkArea
13678
13679         * BufferView.C: don't include WorkArea.h
13680
13681 2001-07-25  André Pönitz <poenitz@gmx.net>
13682
13683         * commandtags.h:
13684         * LyXAction.C:
13685         * lyxfunc.C:  new LFUN 'math-space'
13686
13687         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13688
13689 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * text2.C (toggleInset): call open/close
13692
13693 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * lyxfunc.C (dispatch): add debug for the disabled case
13696
13697         * font.C (buttonText): make similar to rectText
13698
13699         * buffer.C (readInset): comment out parsing of insetlist and
13700         insttheorem
13701
13702         * PainterBase.C (rectText): small correction
13703
13704         * BufferView_pimpl.C: comment out insettheorem and insetlist
13705         * LyXAction.C: ditto
13706         * commandtags.h: ditto
13707
13708 2001-07-24  Juergen Vigna  <jug@sad.it>
13709
13710         * text.C (draw): honor the ignore_language.
13711
13712         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13713
13714 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13717         char inset.
13718
13719 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13720
13721         * lyxtext.h: remove unused (and unimplemented) methods
13722
13723 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13724
13725         * text.C (getVisibleRow): honor background color
13726
13727         * PainterBase.h:
13728         * Painter.h: remove default color argument for fillRectangle
13729
13730         * text.C (backgroundColor): new method
13731
13732 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * text.C (getVisibleRow): adjust
13735
13736         * font.[Ch] (rectText): new method, metrics
13737         (buttonText): new method, metrics
13738
13739         * PainterBase.[hC]: make rectText and buttonText always draw and take
13740         fewer paramteres.
13741
13742 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13743
13744         * ToolbarDefaults.C (read):
13745         * MenuBackend.C (read): allow escaping in all strings
13746
13747         * BufferView_pimpl.C (insertAndEditInset): new method.
13748         (Dispatch): use insertAndEditInset whenever appropriate.
13749
13750         * BufferView_pimpl.C (insertNote): removed
13751
13752         * BufferView_pimpl.C (smartQuote): new method, moved from
13753         BufferView; if an insetquote cannot be inserted, insert a '"'
13754         character instead.
13755
13756         * BufferView2.C: remove insertCorrectQuote();
13757
13758         * lyxfunc.C (getStatus): Add support for all remaingin
13759         inset-insert lfuns.
13760
13761         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13762
13763         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13764         command (necessary to pass " as parameter of self-insert.
13765
13766         * text.C (selectWordWhenUnderCursor):
13767         (selectWord): add word_location parameter
13768         (selectWordWhenUnderCursor): same + remove special code for word
13769         boundary.
13770         (selectNextWord): use kind() to guess type of insetspecialchar,
13771         not latex().
13772
13773         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13774         (insertErtContents): create ert insets as collapsed.
13775         (readInset): better compatibility code for Info inset.
13776
13777 2001-07-20  Juergen Vigna  <jug@sad.it>
13778
13779         * lyxfunc.C (dispatch): use always LyXFind now!
13780
13781         * text2.C (init): add a reinit flag so that the LyXText can be
13782         reinited instead of deleted and reallocated (used in InsetText).
13783
13784         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13785
13786         * text.C: ditto
13787
13788         * text2.C: ditto
13789
13790 2001-07-18  Juergen Vigna  <jug@sad.it>
13791
13792         * text.C (selectNextWord): handle insets inside inset by calling
13793         always the bv->text functions so that we can go up the_locking_inset!
13794
13795         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13796         in strange locations when inside an inset!
13797
13798         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13799         handling to include insets.
13800
13801         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13802
13803 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * LyXAction.C (init):
13806         * commandtags.h:
13807         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13808         LIGATURE_BREAK, since the name is so stupid.
13809
13810 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13813         InsetInfos.
13814
13815         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13816
13817         * sp_form.[Ch]: remove.
13818
13819         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13820
13821         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13822         InsetInfo.
13823
13824         * src/buffer.C (readInset): ditto.
13825
13826 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13827
13828         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13829         menuSeparator(), endOfSentenceDot(), ldots() and
13830         hyphenationPoint(), which are therefore removed.
13831         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13832
13833         * LyXAction.C (init):
13834         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13835
13836         * paragraph.C (getWord): removed.
13837
13838         * BufferView_pimpl.C (Dispatch): use last word or selection for
13839         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13840
13841         * lyx_main.C (queryUserLyXDir): do not ask before creating
13842         user_dir, except if it has been named explicitely.
13843
13844 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13845
13846         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13847         a document of zero size.
13848
13849 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13850
13851         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13852         approriately in the c-tor and in require().
13853         (getPackages): output the appropriate LaTeX for natbib support.
13854
13855         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13856         variables "use_natbib" and "use_numerical_citations" when reading the
13857         LyX file.
13858         (readInset): read the various natbib cite commands.
13859         (validate): white-space change.
13860
13861         * bufferparams.[Ch]: new variables "bool use_natbib" and
13862         "bool use_numerical_citations".
13863         (writeFile): output them in the LyX file.
13864
13865 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13866
13867         * lyxfunc.C (getStatus): add support for all the inset insertion
13868         commands.
13869
13870         * text2.C (insertInset):
13871         * paragraph.C (insetAllowed):
13872         * BufferView_pimpl.C (insertInset): update to take in account the
13873         renaming of insertInsetAllowed
13874
13875         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13876
13877         * text2.C (getInset): new method. returns inset at cursor position.
13878
13879         * BufferView_pimpl.C (Dispatch): changes because of this.
13880
13881         * LyXAction.C (init): rename open-stuff to inset-toggle.
13882
13883         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13884
13885         * text2.C (toggleInset): renamed from openStuff; use
13886         Inset::open().
13887
13888 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13889
13890         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13891
13892         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13893
13894 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * buffer.C (readLyXformat2): Add filename to the error dialog
13897
13898 2001-07-18  Juergen Vigna  <jug@sad.it>
13899
13900         * tabular.C (GetCellNumber): put an assert here instead of the check!
13901
13902 2001-07-17  Juergen Vigna  <jug@sad.it>
13903
13904         * BufferView_pimpl.C (toggleSelection): adapted too.
13905
13906         * text.C (selectNextWord): adapted for use with insets.
13907         (selectSelectedWord): ditto
13908
13909 2001-07-17  Juergen Vigna  <jug@sad.it>
13910
13911         * sp_spell.C (PSpell): fix initialitation order.
13912
13913 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * paragraph.C: spacing
13916
13917 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13918
13919         * sp_spell.C: repair language selection for pspell
13920
13921 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * lyxfunc.h: change more methods to begin with lower char.
13924
13925 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13928         for unknown layouts.
13929
13930 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * buffer.C (readLyXformat2): Generate an error dialog if there are
13933         unknown layouts.
13934
13935 2001-07-16  Juergen Vigna  <jug@sad.it>
13936
13937         * sp_spell.C: always compile ISpell part.
13938
13939         * lyxrc.C: added use_pspell entry and it's handling.
13940
13941 2001-07-13  Juergen Vigna  <jug@sad.it>
13942
13943         * sp_spell.C: removed double includes.
13944
13945 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         Consistent use of Lsstream.h:
13948         * Lsstream.h: added using std::stringstream for consistencies sake.
13949
13950         * buffer.C: removed using std::stringstream
13951
13952         * lyxfont.C (stateText):
13953         * paragraph.C (asString):
13954         * text.C (selectNextWord, selectSelectedWord):
13955         * text2.C (setCounter):
13956         * vspace.C (asString, asLatexString):
13957         std::ostringstream -> ostringstream.
13958
13959 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13960
13961         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13962         * commandtags.h: add LFUN_HELP_ABOUTLYX
13963         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13964
13965 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13966
13967         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13968         cursorToggle()
13969         * lyx_gui_misc.C: remove spellchecker
13970         * lyxfunc.C: showSpellchecker
13971         * sp_base.h: added
13972         * sp_ispell.h: added
13973         * sp_pspell.h: added
13974         * sp_spell.C: added
13975         * sp_form.[Ch]: removed
13976         * spellchecker.[Ch]: removed
13977
13978 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13979
13980         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13981         is set.
13982         (simpleTeXSpecialChars): Simply print the input character without
13983         any special translation if pass_thru is set.
13984
13985         * layout.h: Added bool pass_thru to layout class for being able to
13986         implement pass through of a paragraph for Literate Programming.
13987
13988         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13989         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13990         * layout.C (Read): add "passthru" to list of layout tags and add
13991         code to set the pass_thru boolean when it is read.
13992
13993 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * trans_decl.h: remove allowed from KmodInfo
13996
13997         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13998         remove allowed code
13999         (Load): adjust
14000
14001         * paragraph_pimpl.C (erase): use boost::prior
14002
14003         * Painter.C (text): use data() instead of c_str() when length is
14004         also provided.
14005         * WorkArea.C (putClipboard): ditto
14006         * font.h (width): ditto
14007
14008         * BufferView2.C: use it-> instead of (*it). for iterators
14009         * texrow.C: ditto
14010         * paragraph_pimpl.C: ditto
14011         * paragraph.C: ditto
14012         * minibuffer.C: ditto
14013         * language.C: ditto
14014         * kbmap.C: ditto
14015         * encoding.C: ditto
14016         * counters.C: ditto
14017         * converter.C: ditto
14018         * chset.C: ditto
14019         * Variables.C: ditto
14020         * TextCache.C: ditto
14021         * MenuBackend.C: ditto
14022         * LyXAction.C: ditto
14023         * LColor.C: ditto
14024         * FloatList.C: ditto
14025         * DepTable.C: ditto
14026         * ColorHandler.C (LyXColorHandler): ditto
14027
14028 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14031
14032         * text2.C (openStuff): reintroduce this method (which had been
14033         nuked in NEW_INSETS frenzy).
14034
14035         * lyxfunc.C (Dispatch): when an action has not been handled, use
14036         its name in the error message, not its number.
14037
14038         * paragraph.C (inInset): change method name to begin with lowercase.
14039
14040         * undo_funcs.C:
14041         * text2.C: updates because of this.
14042
14043 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * ToolbarDefaults.C (add): add spaces in error message
14046
14047 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14048
14049         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14050         (readLyXformat2): rename return_par to first_par, use lyxlex's
14051         pushToken and remove the manual push handling.
14052         (parseSingleLyXformat2Token): add another ert comp. variable:
14053         in_tabular, rename return_par to first_par. handle newlines better
14054
14055 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14058
14059 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * text2.C (getParFromID): removed
14062
14063         * buffer.C (getParFromID): new method moved form lyxtext.
14064         * BufferView2.C (insertErrors): adjust
14065         (setCursorFromRow): adjust
14066         * BufferView_pimpl.C (restorePosition): adjust
14067         * lyxfunc.C (Dispatch): adjust
14068         * undo_funcs.C (textUndo): adjust
14069         (textRedo): adjust
14070         (textHandleUndo): adjust
14071         (textHandleUndo): adjust
14072
14073 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074
14075         * buffer.C: up' the LYX_FORMAT
14076
14077         * lyxfont.h: turn NO_LATEX on as default
14078
14079         * buffer.C (insertErtContents): new methods of tex style compability.
14080         (parseSingleLyXformat2Token): use it several places.
14081         * tabular.C (OldFormatRead): and here
14082
14083 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14084
14085         * text2.C: remove some commented code.
14086         reindent file.
14087
14088         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14089         * trans.C: changes because of the above.
14090
14091 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * text2.C (setCounter): Fix counters bug with bibliography layout.
14094
14095 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14096
14097         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14098         own member functions
14099         (simpleTeXSpecialChars): ditto
14100
14101 2001-07-06  Juergen Vigna  <jug@sad.it>
14102
14103         * a lot of files: changed the access to LyXText::status and the
14104         call of undo-functions.
14105
14106         * undo.[Ch]: added a inset_id to the undo informations.
14107
14108         * undo_funcs.[Ch]: added and moved here all undo functions.
14109
14110         * lyxtext.h: give the status enum a weight, made status_ a private
14111         variable and made accessor functions for it, removed the whole bunch
14112         of undo-functions as they are now in their own file, make some
14113         functions publically available. Added function ownerParagraph with
14114         int parameter.
14115
14116         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14117         made InInset() a const function, added getParFromID() function.
14118
14119         * buffer.[Ch]: added const version for inset_iterator functions,
14120         added getInsetFromID() function.
14121
14122         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14123         changed undo functions for new version.
14124
14125 2001-07-05  Juergen Vigna  <jug@sad.it>
14126
14127         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14128         unknow mechanism does not call the proper constructor but only this
14129         one also if I request the other!?
14130
14131 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14132
14133         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14134
14135         * text2.C (LyXText): use initialization lists.
14136
14137         * lyxtext.h (Selection): initialize set_ and mark_
14138         (init): remove method
14139
14140 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14141
14142         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14143
14144 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14145
14146         * screen.[Ch]: change method names to begin with lowercase
14147
14148         * BufferView_pimpl.C (updateScrollbar): simplify further and
14149         hopefully make it a bit faster.
14150
14151 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14154         calling directly xforms functions.
14155
14156         * Painter.C (Painter):
14157         * lyx_cb.C (MenuWrite):
14158         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14159         fl_display.
14160
14161         * lyx_gui.C: remove bogus guiruntime extern declaration.
14162
14163 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14166         in NEW_INSETS
14167         (redoDrawingOfParagraph): ditto
14168         (redoParagraphs): ditto
14169         (cutSelection): don't create a object for CutAndPaste use the
14170         static method directly
14171         (pasteSelection): ditto
14172
14173         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14174         LyXview (+ rename)
14175
14176 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * modifications to some other files because of this.
14179
14180         * Makefile.am (lyx_SOURCES): add XFormsView
14181
14182         * XFormsView.[Ch]: new files
14183
14184         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14185         the main window. Move the gui dependent stuff to XFormsView
14186
14187 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * tabular.C (GetCellInset): update cur_cell also in the row/col
14190         version of this function.
14191
14192         * lyxfunc.C: no need to include figure_form.h here.
14193
14194         * FontLoader.h:
14195         * lyxfunc.h:
14196         * lyxscreen.h:
14197         * text2.C:
14198         * lyxvc.C: no need to include forms.h here.
14199
14200 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14203
14204         * lyxfunc.C (Dispatch):
14205         * Spacing.C (set):
14206         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14207         constructor argument.
14208
14209 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * paragraph.C (Paragraph): dont't clear, and just set layout.
14212         (makeSameLayout): use params's copy contructor.
14213
14214         * ParagraphParameters.[Ch] (makeSame): delete method
14215
14216 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * Variables.[Ch]: fix indentation, rename set to isSet
14219
14220 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * lyxfunc.C (Dispatch): fix typo
14223
14224 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14227         upper_bound.
14228
14229         * bufferlist.C: include assert.h for emergencyWrite().
14230
14231 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14234           give up at last (bug #425202) !
14235
14236 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * lyx_gui_misc.C:
14239         * sp_form.h:
14240         * sp_form.C:
14241         * spellchecker.h:
14242         * spellchecker.C: strip spellchecker options and bring up
14243           preferences tab instead
14244
14245 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14246
14247         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14248         the istringstream constructor
14249
14250 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * paragraph.C (getLayout): fix return value
14253
14254         * paragraph.h: do not declare getLayout as inline.
14255
14256         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14257
14258 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * lyxcursor.h (operator<): new func
14261         (operator>): new func
14262         (operator>=): new func
14263         (operator<=): new func
14264
14265         * text.C (changeCase): use selection.start and selection.end
14266         (changeRegionCase): require from to be <= to. Require par to be a
14267         valid paragraph.
14268
14269         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14270
14271 2001-06-27  Juergen Vigna  <jug@sad.it>
14272
14273         * text.C (cursorLeftOneWord): changed to return the cursor and added
14274         overlay with BufferView * parameter which calls this one.
14275         (getWord): added
14276         (selectWord): use new getWord function.
14277         (changeCase): renamed from changeWordCase as and extended to work
14278         also on selections.
14279
14280         * lyxtext.h: added enum word_location
14281
14282         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14283         changeCase as this operates now also on selections.
14284
14285 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14286
14287         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14288
14289         * many files: send debug output to Debug::INFO instead of
14290         Debug::ANY.
14291
14292         * converter.C (View):
14293         (Convert):
14294         (Move): send debug output to Debug::FILES instead of console.
14295
14296 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14297
14298         * lyxfunc.C (getStatus): use func_status
14299
14300         * func_status.h: new header, describing the results of
14301         LyXFunc::getStatus;
14302
14303         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14304         LFUN_MATH_HALIGN.
14305
14306 2001-06-25  The LyX Project  <jug@sad.it>
14307
14308         * buffer.C (sgmlOpenTag):
14309         (sgmlCloseTag):
14310         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14311
14312 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14313
14314         * text2.C: remove some dead code
14315
14316         * tabular.C (GetCellInset): store the last cell checked (gotten)
14317
14318         * tabular.h: add the helper for the speedup
14319
14320         * lyxtext.h: remove some dead code
14321
14322 2001-06-26  The LyX Project  <Asger>
14323
14324         * paragraph.C: Change export to LaTeX of alignment to
14325         \begin{center} and family for better roundtrip work with reLyX.
14326
14327         * Tune the math drawing a bit.
14328
14329 2001-06-25  The LyX Project  <Asger>
14330
14331         * LColor.C (LColor): New color for math background. New color
14332         for buttons.
14333
14334 2001-06-25  The LyX Project  <jug@sad.it>
14335
14336         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14337
14338         * lyxfunc.C (Open):
14339         * bufferlist.C (newFile): do not restrict to files ending with
14340         .lyx
14341
14342         * BufferView_pimpl.C (MenuInsertLyXFile):
14343
14344 2001-06-24  The LyX Project  <jug@sad.it>
14345
14346         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14347         of compare_no_case
14348
14349 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14350
14351         * lyxtext.h: rename most methods to begin with a small char.
14352         Lots of changes because of this.
14353
14354         * paragraph.C (Paragraph): do not call fitToSize
14355         (erase): call Pimpl::erase
14356         (insertChar): call Pimpl::insertChar
14357         (insertInset): call Pipl::insertInset
14358         (breakParagraph): do not call fitToSize
14359         (breakParagraphConservative): do not call fitToSize
14360         (fitToSize): remove method
14361
14362         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14363
14364 2001-06-24  The LyX Project  <Asger>
14365
14366         * Fix Qt compilation^2
14367
14368 2001-06-24  The LyX Project  <jug@sad.it>
14369
14370         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14371         depthHook(getDepth()-1).
14372
14373         * paragraph.h:
14374         * ParagraphParameters.h:
14375         * ParameterStruct.h: change type of depth to unsigned int ==
14376         depth_type. Many adaptations to other files before of that.
14377
14378 2001-06-24  The LyX Project  <Asger>
14379
14380         * Fix Qt compilation.
14381
14382 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * paragraph.h: renamed several methods to begin with small letter.
14385         several changes to many parts of the code because of this.
14386
14387 2001-06-23  The LyX Project  <jug@sad.it>
14388
14389         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14390         rewritten to discard all double spaces when KeepEmpty is off
14391         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14392         to only handle newlines but not fiddle with spaces and friends.
14393
14394         * lyxfunc.C (MenuNew): when doing 'new from template', use
14395         template_path as default directory
14396
14397 2001-06-23  The LyX Project  <Asger>
14398
14399         * Clean-up of header file includes all over
14400         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14401
14402 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * paragraph.h: renamed from lyxparagraph.h
14405
14406 2001-06-23  Asger  <lyx@violet.home.sad.it>
14407
14408         * Buffer.h: Removed Buffer::resize
14409         * BufferList.h: Removed BufferList::resize
14410         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14411         the document lazily when we change the width, or the font settings.
14412
14413 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14416
14417 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14418
14419         * buffer.h: remove out of date comment
14420
14421 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * lyxscreen.h:
14424         * screen.C: fix "theoretical" GC leak
14425
14426 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14427
14428         * LaTeX.C (scanAuxFile):
14429         (deplog): remove trailing \r when reading stream (useful under
14430         win32)
14431
14432 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14435         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14436         and BufferView::theLockingInset(Inset*), so should use them and not
14437         access bv_->text->the_locking_inset directly.
14438
14439         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14440
14441 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * Makefile.am:
14444         * tex-defs.h: remove old unused file
14445
14446 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * BufferView_pimpl.C: fix typo, remove minibuffer message
14449           when buffer has loaded
14450
14451 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14452
14453         * lyxfunc.C (Dispatch): use stringstream
14454         (MenuNew): use stringstream
14455         (Open): use stringstream
14456
14457         * importer.C (Import): use stringstream
14458
14459         * bufferview_funcs.C (CurrentState): use stringstream
14460
14461         * LaTeX.C (run): use stringstream
14462
14463         * BufferView_pimpl.C (savePosition): use stringstream
14464         (restorePosition): use stringstream
14465         (MenuInsertLyXFile): use stringstream
14466
14467 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * BufferView.C:
14470         * Bullet.C:
14471         * ColorHandler.C:
14472         * FontInfo.C:
14473         * FontLoader.C:
14474         * LColor.C:
14475         * LaTeXFeatures.C:
14476         * Painter.C:
14477         * gettext.C:
14478         * lyx_gui_misc.C:
14479         * lyxserver.C:
14480         * vspace.C: removed // -*- C++ -*- as first line.
14481
14482         * lyxfind.h:
14483         * version.h: added // -*- C++ -*- as first line.
14484
14485 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14488
14489         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14490         of string
14491
14492 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14495         of floats.
14496
14497 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14498
14499         * gettext.C: include LString.h even when --disable-nls is on.
14500
14501 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * converter.h (Get): changed argument type from int to
14504         FormatList::size_type to avoid unnecessary conversion.
14505
14506         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14507         before using it.
14508
14509 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * gettext.h: include LString.h even when --disable-nls is on.
14512
14513 2001-06-07  Juergen Vigna  <jug@sad.it>
14514
14515         * text.C (BreakAgain): subst spaces with tabs.
14516
14517         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14518         (resizeInsetsLyXText): set force on resizeLyXText.
14519
14520 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * gettext.h (gettext_init):
14523         (locale_init): use a real definition instead of a macro
14524
14525 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * Bufferview_pimpl.C:
14528         * LColor.h:
14529         * LColor.C: further lcolor tidies
14530
14531 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * BufferView_pimpl.C (updateScrollbar): simplify.
14534
14535         * BufferView2.C: don't include insets/insetinfo.h, change
14536         prototype for insertInset and call the Pimpl version. let
14537         updateInset call Pimpl version.
14538
14539         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14540         gotoInset to BufferView::Pimpl
14541
14542 2001-06-01  Juergen Vigna  <jug@sad.it>
14543
14544         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14545         inside a LockingInset (is the update needed at all?).
14546
14547 2001-05-31  Juergen Vigna  <jug@sad.it>
14548
14549         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14550         here not the old one otherwise how should we compare it afterwards
14551         if it's the same!
14552
14553 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14554
14555         * lyxfont.C:
14556         * tabular.C:
14557         * tabular-old.C:
14558         * FontInfo.C: bring C functions into global namespace when
14559         necessary
14560
14561 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * LString.h: make sure config.h has been loaded before LString.h.
14564
14565         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14566         (one for each char read by EatLine!).
14567
14568         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14569         variables.
14570
14571 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14574         to the same as the par we break from
14575
14576 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14579
14580         * MenuBackend.C (expand): also create menu entries for wide
14581         versions of the floats.
14582
14583         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14584
14585         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14586
14587         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14588         frontends/Makefile.am
14589
14590         * text2.C: adjust
14591         * text.C: adjust
14592
14593
14594         * tabular.C (getTokenValue): add std::
14595
14596         * tabular-old.C (getTokenValue): add std::
14597         (getTokenValue): ditto
14598         (getTokenValue): ditto
14599
14600         * screen.C (ToggleSelection): adjust
14601
14602         * lyxtext.h: put selection cursors inside a Selection struct.
14603
14604         * lyxfunc.C (moveCursorUpdate): adjust
14605
14606         * lyxfont.C (latexWriteStartChanges): add std::
14607
14608         * lyxfind.C: adjust
14609
14610         * font.h: delete with(char const *, LyXFont const &)
14611
14612         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14613
14614         * FontInfo.C (getFontname): add std::
14615
14616         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14617         (workAreaButtonPress): adjust
14618         (tripleClick): adjust
14619         (update): adjust
14620         (moveCursorUpdate): adjust
14621         (Dispatch): adjust
14622
14623         * BufferView2.C (gotoInset): adjust
14624
14625 2001-05-30  Juergen Vigna  <jug@sad.it>
14626
14627         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14628         to check pspell I add this as default as I now have new pspell
14629         libraries and they seem to use this.
14630
14631 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14632
14633         * text2.C (CutSelection): make the cursor valid before the call to
14634         ClearSelection.
14635
14636 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14639         relied on 0 terminated strings and other horrors. Bug found due to
14640         the new assert in lyxstring!
14641
14642         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14643         KP_ keys.
14644
14645 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14648         to latinkeys.bind.
14649
14650         * lyxfunc.C (processKeySym): change method of getting to the
14651         self-insert char.
14652
14653         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14654         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14655         * BufferView_pimpl.[Ch]: here as private methods.
14656
14657 2001-05-28  Juergen Vigna  <jug@sad.it>
14658
14659         * text.C (SetHeightOfRow): added the update() call again as it is
14660         needed to initialize inset dimensions!
14661
14662 2001-05-16  Juergen Vigna  <jug@sad.it>
14663
14664         * text2.C (SetCharFont): Add new function with BufferView * and
14665         bool toggleall parameters for setting insets internal fonts.
14666         (SetFont): Freeze the undo as we may change fonts in Insets and
14667         all this change should be inside only one Undo!
14668
14669         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14670         setting font's in insets as for them we have the SetFont function!
14671
14672 2001-05-15  Juergen Vigna  <jug@sad.it>
14673
14674         * text2.C (ClearSelection): to be sure we REALLY don't have any
14675         selection anymore!
14676
14677         * tabular.C (TeXCellPreamble): fixed the left border problem for
14678         multicolumn cells.
14679
14680 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14683         dependancy file
14684
14685 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14686
14687         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14688         LFUN_BREAKPARAGRAPH.
14689
14690         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14691         help test to "internal only", similar for LFUN_INSERT_URL
14692
14693         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14694         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14695         auto_region_delete and deadkeys.
14696
14697 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * LColor.h:
14700         * LColor.C: remove some dead entries, tidy a little
14701
14702 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14705         commented code.
14706         (Dispatch): implement LFUN_ESCAPE
14707
14708         * commandtags.h: add LFUN_ESCAPE
14709
14710         * LyXAction.C (init): add entry for LFUN_ESCAPE
14711
14712         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14713         Remove commented code.
14714         (insertNote): moved here
14715         (open_new_inset): moved here
14716
14717         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14718         BufferView_pimpl
14719
14720 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * kbmap.C (findbinding): clean it up and make it work correctly.
14723
14724         * lyx_main.C (init): do not pass argc and argv as parameters
14725
14726 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14727
14728         * buffer.C: fix path for OS/2 & Win32
14729
14730         * lyx_gui.C:
14731         * lyx_main:
14732         * lyx_main.C: Added os:: class.
14733
14734         * os2_defines.h: update
14735
14736 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14739         better by trying again with reduced state.
14740
14741 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14742
14743         * lyxrc.C (read): print error about invalid key sequence only when
14744         debugging (because not all latinX keysyms are known to some X
14745         servers)
14746
14747         * kbsequence.C (getiso): add a few std:: qualifiers
14748         (getiso): comment out extra return statement.
14749
14750 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14751
14752         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14753         handling.
14754         (Dispatch): enhance the accent inset a bit. (not perfect)
14755
14756 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14759
14760 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * bufferlist.C (emergencyWrite): fix assert() call
14763
14764 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14765
14766         * text.C (InsertChar): Added trivial patch to only send the "you
14767         can not do multiple spaces this way" message once during a
14768         session.
14769
14770 2001-05-08  Baruch Even  <baruch@lyx.org>
14771
14772         * Makefile.am: Changed order of libraries to get LyX to link properly
14773         with the gnome frontend.
14774
14775 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * LaTeXFeatures.h: add a std:: qualifier
14778
14779 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * paragraph.C (String): use stringstream
14782
14783 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * paragraph.C (writeFile): remove footflag arg
14786
14787         * buffer.C (makeLaTeXFile): use stringstream
14788         (latexParagraphs): remove footnot gurba
14789
14790         * LaTeXFeatures.C (getPackages): use stringstream
14791         (getMacros): likewise
14792         (getTClassPreamble): likewise
14793         (getFloatDefinitions): new method
14794
14795         * paragraph.C (writeFile): reindent
14796         (Erase): reindent
14797
14798         * WorkArea.h: revert the xpos + etc changes.
14799
14800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14801
14802         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14803
14804         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14805         (pasteSelection): likewise
14806         * text2.C (CreateUndo): likewise
14807
14808 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * minibuffer.C (peek_event): temporarily reduce the functionality
14811         of the minibuffer (to allow args on lfuns)
14812
14813         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14814         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14815
14816         * buffer.C (readInset): add compability reading of old float
14817         lists, add reading of new style float list.
14818         (readInset): avoid reevaluation of inscmd.getCmdName()
14819         (getLists): reindent
14820
14821         * MenuBackend.C (MenuItem): implement parsing of
14822         md_floatlistinsert and md_floatinsert.
14823         (expand::LastFiles): move initalizaton of iterators out of loop,
14824         avoid reevaluation.
14825         (expand::Documents): introduce typdedef vector<string> Strings,
14826         and use it.
14827         (expand::ExportFormats): introduce typedef vector<Format const *>
14828         Formats, and use it.
14829         (expand): implement FloatListInsert and FloatInsert.
14830
14831         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14832         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14833         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14834
14835         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14836         handling.
14837         (Dispatch::LFUN_FLOAT_LIST): implement
14838
14839 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14840
14841         * LaTeX.C (run): Fix problem with --export code.
14842
14843 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14844
14845         * BufferView.[Ch] (workarea): removed.
14846         (getClipboard) new method; wrapper for workarea()->getClipboard()
14847
14848         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14849         bug.
14850
14851         * WorkArea.h (width, height, xpos, ypos): These methods all
14852         returned the dimensions of the work_area sub-area of WorkArea,
14853         resulting in a position error if the WorkArea were resized. Now
14854         return the dimensions of the entire WorkArea.
14855
14856         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14857
14858 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * LaTeX.C (deplog): correct the syntax of regex reg1
14861
14862 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * undo.C: remove !NEW_INSETS cruft
14865
14866 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * text2.C: remove !NEW_INSETS cruft
14869
14870         * text.C: remove !NEW_INSETS cruft
14871
14872         * tabular.C: remove !NEW_INSETS cruft
14873
14874         * spellchecker.C: remove !NEW_INSETS cruft
14875
14876         * lyxtext.h: remove !NEW_INSETS cruft
14877
14878         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14879
14880         * lyxfunc.C: remove !NEW_INSETS cruft
14881
14882         * lyxfind.C: remove !NEW_INSETS cruft
14883
14884         * lyx_cb.C: remove !NEW_INSETS cruft
14885
14886         * figureForm.C: remove  !NEW_INSETS cruft
14887
14888         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14889
14890         * buffer.[Ch]: remove !NEW_INSETS cruft
14891
14892         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14893
14894         * CutAndPaste.C: remove !NEW_INSETS cruft
14895
14896         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14897
14898         * BufferView2.C: remove !NEW_INSETS cruft
14899
14900         * BufferView.h: remove !NEW_INSETS cruft
14901
14902 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * Lsstream.h: include LString.h before the sstream headers to
14905         fix problem with gcc 2.95.3 and lyxstring
14906
14907 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * lyx_main.C: add using directives when needed for C functions
14910         declared in std:: namespace.
14911
14912 2001-04-27  Juergen Vigna  <jug@sad.it>
14913
14914         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14915         (SetHeightOfRow): comment out the update call should not be needed!
14916
14917 2001-04-13  Juergen Vigna  <jug@sad.it>
14918
14919         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14920         (LyXTabular): tried to minimize operator= operations (and realized
14921         hopfully Lars wish).
14922
14923 2001-04-27  Juergen Vigna  <jug@sad.it>
14924
14925         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14926
14927 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14930
14931         * buffer.C (readInset): hack to make listof algorithm work
14932
14933         * BufferView_pimpl.C: hack to make listof algorithm work
14934
14935 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14936
14937         * LyXAction.C: removed all !NEW_INSETS cruft
14938         (init): moved lfun_item in method
14939
14940         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14941
14942 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14943
14944         * BufferView2.C (theLockingInset): white space.
14945
14946 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14947
14948         * minibuffer.C: include <iostream>
14949
14950         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14951
14952         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14953
14954         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14955
14956         * text.[Ch] (TransposeChars): new method
14957
14958 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * call message directly through LyXView instead of through LyXFunc
14961         * BufferView2.C: adjust
14962         * BufferView_pimpl.C: adjust
14963         * FontLoader.C: adjust
14964         * buffer.C: adjust
14965         * bufferview_funcs.C: adjust
14966         * converter.C: adjust
14967         * figureForm.C: adjust
14968         * importer.C: adjust
14969         * lyx_cb.C: adjust
14970         * lyx_gui_misc.C: adjust
14971         * lyxfunc.C: adjust
14972         * lyxvc.C: adjust
14973         * text2.C: adjust
14974         + more files in subdirs
14975
14976         * lyxparagraph.h (size): move up int file
14977         (GetLayout): ditto
14978
14979         * adjust all uses of Assert to lyx::Assert.
14980
14981         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14982         lyxfunctional in namespace lyx
14983         * layout.C (hasLayout): ditto
14984         (GetLayout): ditto
14985         (GetLayout): ditto
14986         (delete_layout): ditto
14987         (NumberOfClass): ditto
14988         * converter.C (GetFormat): ditto
14989         (GetNumber): ditto
14990         (Add): ditto
14991         (Delete): ditto
14992         (SetViewer): ditto
14993         * bufferlist.C (getFileNames): ditto
14994         (emergencyWriteAll): ditto
14995         (exists): ditto
14996         (getBuffer): ditto
14997         * MenuBackend.C (hasSubmenu): ditto
14998         (hasMenu): ditto
14999         (getMenu): ditto
15000         * BufferView_pimpl.C (getInsetByCode): ditto
15001
15002 2001-04-18  Juergen Vigna  <jug@sad.it>
15003
15004         * vspace.C (asLatexString): fixed the 100% problem.
15005
15006 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * lyxfunc.C (Dispatch):
15009         * minibuffer.C:
15010         * minibuffer.h: add a few std:: qualifiers
15011
15012 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * minibuffer.[Ch]: reimplement so that commands is initiated and
15015         run from lyxfunc, simplified som handling, and made the completion
15016         and history code for complete. wip.
15017
15018         * lyxfunc.C (processKeySym): call message
15019         (miniDispatch): new temporary method
15020         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15021         (LFUN_MESSAGE): implement
15022         (LFUN_MESSAGE_PUSH): implement
15023         (LFUN_MESSAGE_POP): implement
15024         (initMiniBuffer): the initial/defualt minibuffer message.
15025
15026         * lyxfont.[Ch]: inline some more getters
15027
15028         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15029
15030         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15031
15032         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15033         (AutoSave): use LFUN_MESSAGE
15034         (Reconfigure): ditto
15035
15036         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15037
15038         * figureForm.C: use LFUN_MESSAGE
15039
15040         * converter.C (runLaTeX): use LFUN_MESSAGE
15041
15042         * bufferview_funcs.C: use LFUN_MESSAGE
15043         (Melt): ditto
15044         (changeDepth): ditto
15045
15046         * bufferparams.h: use boost::
15047
15048         * bufferlist.h: inherit privately from noncopyable
15049
15050         * bufferlist.C (loadLyXFile): remove some commented code.
15051
15052         * buffer.C (runChktex): use LFUN_MESSAGE
15053
15054         * ShareContainer.h: inherit privately from noncopyable
15055
15056         * ParagraphParameters.[hC] (depth): inline it.
15057
15058         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15059         methods.
15060         (message): new method
15061         (messagePush): ditto
15062         (messagePop): ditto
15063         (show): init minibuffer
15064         (showState): direct call
15065
15066         * LaTeX.[Ch]: inherit privately from noncopyable
15067         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15068         instead of WriteStatus.
15069
15070         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15071
15072         * BufferView_pimpl.C (buffer): don't init minibuffer
15073         (workAreaButtonPress): use LFUN_MESSAGE
15074         (workAreaButtonRelease): ditto
15075         (savePosition): ditto
15076         (restorePosition): ditto
15077         (MenuInsertLyXFile): ditto
15078         (workAreaExpose): don't init minibuffer
15079         (update): remove commented code, simplify
15080
15081         * BufferView2.C (openStuff): use LFUN_MESSAGE
15082         (toggleFloat): ditto
15083         (menuUndo): ditto
15084         (menuRedo): ditto
15085         (copyEnvironment): ditto
15086         (pasteEnvironment): ditto
15087         (copy): ditto
15088         (cut): ditto
15089         (paste): ditto
15090         (gotoInset): ditto
15091         (updateInset): remove some commented code
15092
15093         * lastfiles.h: inherit privately from noncopyable
15094         * layout.h: ditto
15095         * lyx_gui.h: ditto
15096         * lyx_main.h: ditto
15097         * lyxlex.h: ditto
15098         * lyxlex_pimpl.h: ditto
15099
15100         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15101         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15102         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15103
15104         * LyXAction.h: inherit privately from noncopyable, add methods
15105         func_begin, func_end, returning iterators to the func map.
15106
15107         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15108         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15109         (func_begin): new method
15110         (func_end): new method
15111
15112         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15113         and not)
15114         (copySelection): ditto
15115         (pasteSelection): ditto
15116
15117         * BufferView.C: whitespace change
15118         * BufferView.h: inherit privately from noncopyable
15119
15120 2001-04-16  Allan Rae  <rae@lyx.org>
15121
15122         * tabular-old.C (l_getline):
15123         * spellchecker.C (sc_check_word):
15124         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15125         an unrecognised preprocessor directive.  So ensure they're wrapped.
15126
15127 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15128
15129         * src/exporter.C (Export): Give an error message when path to file
15130         contains spaces.
15131
15132 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15133
15134         * LaTeX.C (deplog): Always check that foundfile exists.
15135
15136 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * lyx_main.h:
15139         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15140
15141 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15142
15143         * tabular.[Ch] (getLabelList): implement new method
15144
15145         * minibuffer.h: comment ouf setTiimer
15146
15147         * minibuffer.C (ExecutingCB): constify res
15148         (peek_event): constify s
15149         (Set): constify ntext
15150         (Init): constify nicename
15151
15152         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15153
15154         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15155         (savePosition): use two params to Minibuffer::Set
15156         (restorePosition): ditto
15157
15158 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * lyx_main.C: include language.h
15161
15162         * Makefile.am (lyx_main.o): add language.h
15163
15164 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * exporter.C:
15167         * paragraph.C:
15168         * screen.C:
15169         * tabular.C:
15170         * CutAndPaste.C: include gettext.h
15171
15172         * lyxfont.h: remove old hack with ON and OFF.
15173
15174         * lyxparagraph.h:
15175         * lyxfont.h: do not include language.h...
15176
15177         * BufferView2.C:
15178         * LaTeXFeatures.C:
15179         * Painter.C:
15180         * bufferview_funcs.C:
15181         * font.C:
15182         * lyxfont.C:
15183         * text.C:
15184         * text2.C:
15185         * trans_mgr.C:
15186         * paragraph.C: ... but do it here instead
15187
15188 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15191
15192         * tabular.C: small reformat
15193
15194         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15195         NEW_INSETS version
15196         (GetChar): ditto
15197         (BreakParagraph): ditto
15198         (SetOnlyLayout): ditto
15199         (SetLayout): ditto
15200
15201         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15202         with one arg less.
15203
15204         * lastfiles.C: removed most using decl, add std:: where needed
15205
15206         * buffer.C: ws changes
15207
15208         * MenuBackend.C (class compare_format): put into anon namespace
15209         (expand): constify label, names, action, action2
15210         (expand):
15211
15212         * text.C (SingleWidth): constify font
15213         (IsBoundary): constify rtl2
15214         (GetVisibleRow): constify ww
15215
15216         * LaTeX.C (deplog): constify logfile
15217
15218         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15219         start_x, end_x
15220         (workAreaExpose): constify widthChange, heightChange
15221
15222         * lyxrow.C (par): moved
15223         (height): moved
15224         (next): moved
15225         * lyxrow.h: as inlines here
15226
15227         * lyxfont.h (shape): moved from lyxfont.C
15228         (emph): moved from lyxfont.C
15229
15230         * lyxfont.C (LyXFont): use initialization list for all
15231         constructors
15232         (shape): move to lyxfont.h as inline
15233         (emph): move to lyxfont.h as inline
15234
15235
15236 2001-04-04  Juergen Vigna  <jug@sad.it>
15237
15238         * vspace.C: had to include stdio.h for use of sscanf
15239
15240 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15241
15242         * BufferView.h:
15243         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15244         independent of xforms.
15245
15246 2001-04-02  Juergen Vigna  <jug@sad.it>
15247
15248         * spellchecker.C: fixed namespace placing!
15249
15250 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15253         the LyXParagraph * is 0.
15254
15255 2001-03-29  Juergen Vigna  <jug@sad.it>
15256
15257         * vspace.C: added support for %, c%, p%, l%.
15258         (stringFromUnit): added helper function.
15259         (asLatexString): changed to give right results for the %-values.
15260
15261         * buffer.C: convert the widthp in a width%.
15262
15263 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15264
15265         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15266         figureForm.[Ch].
15267
15268         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15269         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15270
15271         * lyx_cb.[Ch]: see above.
15272
15273         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15274         form1.[Ch].
15275
15276         * form1.[Ch]:
15277         * lyx.[Ch]: replaced by figure_form.[Ch].
15278
15279         * lyx_gui.C:
15280         * lyx_gui_misc.C:
15281         * lyxfunc.C: changed headers associated with above changes.
15282
15283 2001-03-27  Juergen Vigna  <jug@sad.it>
15284
15285         * BufferView_pimpl.C: set the temporary cursor right!
15286
15287 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15290
15291 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15292
15293         * LString.h: removed "using std::getline"!
15294
15295         * BufferView_pimpl.C (Dispatch): changes due to changes in
15296         InsetInclude::Params.
15297
15298         * buffer.C (tag_name): removed redundant break statements as they were
15299         producing lots of warnings with my compiler.
15300
15301 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * LString.h: add "using std::getline" when using the real <string>.
15304
15305 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15306
15307         * buffer.C: removed bitset usage.
15308         PAR_TAG moved to an anonymous name space.
15309         (tag_name): new funtion, also in the anonymous namespace.
15310         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15311         (makeDocBookFile): clean code. Completed transition from string arrays
15312         to string vectors.
15313         (SimpleDocBookOnePar): code clean.
15314
15315 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15316
15317         * tabular.C: add some comments.
15318
15319 2001-03-22  Juergen Vigna  <jug@sad.it>
15320
15321         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15322         compatibility read a bit and fixed bug with minipage in different
15323         depth.
15324
15325 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15326
15327         * buffer.C (pop_tag): removed.
15328         (push_tag): removed.
15329         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15330         array replaced with vector. Added support for CDATA sections.
15331         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15332         at any nest level.
15333         (makeDocBookFile): XML conformant declaration of CDATA section,
15334         fixed bug related to <emphasis> in the first paragraph char.
15335         (sgmlOpenTag): exclude empty tags.
15336         (sgmlCloseTag): ditto.
15337
15338         * buffer.h (pop_tag): removed.
15339         (push_tag): removed.
15340
15341 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15342
15343         * language.h (Languages): added size_type and size().
15344
15345 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15346
15347         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15348         response on compability reading of minipages. One probliem is that
15349         the old usage of minipages was «flertydig»
15350
15351         * several files here and in subdirs: don't use static at file
15352         scope use anon namespaces instead.
15353
15354 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15355
15356         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15357         LaTeX output. This is necessary for Literate document
15358         processing.
15359
15360 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15361
15362         * buffer.C: insert hfill when needed.
15363
15364         * tabular.C (l_getline): use string::erase, small whitespace change.
15365
15366         * BufferView_pimpl.C: try the anon namespace.
15367         * WorkArea.C: ditto
15368
15369 2001-03-16  Juergen Vigna  <jug@sad.it>
15370
15371         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15372         otherwise it won't open options-dialogs.
15373
15374         * buffer.C: honor pextraWidth(p) on converting minipages.
15375
15376         * tabular.C (l_getline): changed the functions to strip trailing \r.
15377
15378 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15379
15380         * BufferView_pimpl.C:
15381         * minibuffer..C: added "using SigC::slot" declaration.
15382
15383 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15384
15385         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15386
15387         * text2.C: ditto
15388
15389         * text.C: ditto
15390
15391         * paragraph.C: ditto
15392
15393         * lyxtext.h: NO_PEXTRA
15394
15395         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15396
15397         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15398         * ParameterStruct.h: ditto
15399         * ParagraphParameters.h: ditto
15400         * lyxparagraph.h: ditto
15401
15402 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15403
15404         * buffer.C: add compability for minipage alignment.
15405         (latexParagraphs): remove unwanted pextra check.
15406
15407         * several files: remove CXX_WORKING_NAMESPACES
15408
15409         * buffer.C (pop_tag): tie is in namespace boost
15410
15411         * BufferView.h: noncopyable is in namespace boost
15412         * lyxlex.h: ditto
15413         * lyx_main.h: ditto
15414         * lyx_gui.h: ditto
15415         * layout.h: ditto
15416         * lastfiles.h: ditto
15417         * bufferlist.h: ditto
15418         * ShareContainer.h: ditto
15419         * LyXView.h: ditto
15420         * LyXAction.h: ditto
15421         * LaTeX.h: ditto
15422
15423 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15424
15425         * Merging changes from BRANCH_MVC back into HEAD.
15426
15427         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15428
15429 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15430
15431         * BufferView_pimpl.C: change from intl.C
15432
15433         * combox.h:
15434         * combox.C:
15435         * Makefile.am: move combox.*
15436
15437         * form1.h:
15438         * form1.C:
15439         * lyx_gui.C:
15440         * intl.h:
15441         * intl.C: remove dialog (covered by prefs)
15442
15443 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15444
15445         * lyxfunc.C (Dispatch): removed redundant break statement.
15446
15447 2001-03-14  Juergen Vigna  <jug@sad.it>
15448
15449         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15450
15451 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15452
15453         * buffer.C: add hack to fix compability reading of minipages.
15454
15455 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15456
15457         * buffer.C (getLists): Cleanup.
15458
15459 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * lyxfont.C (update): don't honor toggleall on font size.
15462
15463 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15464
15465         * bmtable.c:
15466         * bmtable.h:
15467         * Makefile.am: moved to frontends/xforms/
15468
15469         * lyx_gui_misc.C:
15470         * lyxfunc.C:
15471         * BufferView_pimpl.C: changes for moved mathpanel
15472
15473 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15474
15475         * gettext.h: fix gettext_init() in --disable-nls
15476
15477 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15480
15481 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15482
15483         * lyx.C:
15484         * lyx.h: strip external form
15485
15486 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15487
15488         * BufferView_pimpl.C: add comment, destroySplash()
15489
15490 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15491
15492         * BufferView_pimpl.C:
15493         * LyXAction.C:
15494         * buffer.C:
15495         * commandtags.h:
15496         * lyxfunc.C: use re-worked insetinclude
15497
15498 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15499
15500         * buffer.C: add using std::stringstream.
15501
15502         * lyx_cb.C: readd using std::ios.
15503
15504         * buffer.C: add using std::map.
15505
15506         * BufferView_pimpl.C: add using std::vector.
15507
15508         * ShareContainer.h: add std:: to swap.
15509
15510         * buffer.h: add some typedefs
15511         * buffer.C (getLists): use them
15512         (getLists): renamed from getTocList.
15513         add a counter for the different float types and use it in the
15514         generated string.
15515         (getLists): use the same counter for the NEW_INSETS and the "non"
15516         NEW_INSETS
15517
15518         * lyx_cb.h: remove unused items, includes, using etc.
15519
15520         * ShareContainer.h: remove some commented code, add more comments
15521         and "documentation".
15522
15523 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15524
15525         * buffer.C (getTocList): make the list also when NEW_INSETS is
15526         defined.
15527
15528         * buffer.h: remove TocType
15529
15530         * buffer.C (getTocList): change to return a map<string,
15531         vector<TocItem> >, implement for dynamic number of list.
15532
15533         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15534         * text2.C (PasteSelection): adjust
15535         * CutAndPaste.C (pasteSelection): adjust
15536
15537         * FloatList.C (FloatList): update from the new_insets branch.
15538         * Floating.[Ch]: ditto
15539         * LaTeXFeatures.C: ditto
15540         * buffer.C: ditto
15541         * lyxlex_pimpl.C: ditto
15542
15543         * paragraph.C (Last): remove when NEW_INSETS is defined.
15544
15545         * other file: changes because of the above.
15546
15547 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15548
15549         * lyxparagraph.h: rename next to next_, previous to previous_,
15550         make them private for NEW_INSETS. Rename Next() to next(),
15551         Previous() to previous().
15552
15553         * other files: changes because of the above.
15554
15555 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15556
15557         * BufferView.h:
15558         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15559         problem.
15560
15561 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * main.C (main): pass lyx_localedir to gettext_init().
15564
15565         * gettext.h: remove locale_init and gettext_init macros
15566
15567         * gettext.C (locale_init): new function
15568         (gettext_init): new function
15569
15570         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15571         setlocale().
15572
15573 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15574
15575         * Moved credits to frontends:
15576         * credits.[Ch]: removed
15577         * credits_form.[Ch]: removed
15578         * lyx_gui_misc.C: remove credits stuff
15579         * Makefile.am:
15580
15581 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15582
15583         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15584
15585         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15586         unneeded destructor.
15587
15588         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15589         a standalone pointer again.
15590
15591         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15592
15593 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15594
15595         * Makefile.am:
15596         * filedlg.h:
15597         * filedlg.C:
15598         * LyXAction.C:
15599         * ToolbarDefaults.C:
15600         * bufferlist.C:
15601         * commandtags.h:
15602         * form1.C:
15603         * form1.h:
15604         * lyx_cb.C:
15605         * lyx_cb.h:
15606         * lyxfunc.h:
15607         * lyxfunc.C:
15608         * BufferView_pimpl.C: use new file dialog in GUII
15609
15610         * lyx_cb.h:
15611         * lyx_cb.C: remove LayoutsCB to Toolbar
15612
15613 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * ShareContainer.h (get): add std:: qualifier
15616
15617 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * ShareContainer.h: define a proper ShareContainer::value_type
15620         type (and use typename to please compaq cxx)
15621
15622 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15623
15624         * lyxparagraph.h: move serveral local vars to
15625         ParameterStruct/ParagraphParameters., use ShareContainer in
15626         FontTable., make vars in FontTable private and add getter and
15627         setter.
15628
15629         * paragraph.C: changes because of the above.
15630
15631         * lyxfont.h: remove copy constructor and copy assignment. (the
15632         default ones is ok), move number inside FontBits. move inlines to
15633         lyxfont.C
15634
15635         * lyxfont.C: add number to initializaton of statics, move several
15636         inlines here. constify several local vars. some whitespace
15637         cleanup. Dont hide outerscope variables.
15638
15639         * Spacing.h: add two new constructors to match the set methods.
15640
15641         * ShareContainer.h: new file, will perhaps be moved to support
15642
15643         * ParameterStruct.h: new file
15644
15645         * ParagraphParameters.h: new file
15646
15647         * ParagraphParameters.C: new file
15648
15649         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15650         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15651
15652         * BufferView_pimpl.C: ParagraphParameter changes.
15653         * buffer.C: Likewise.
15654         * bufferview_funcs.C: Likewise.
15655         * text.C: Likewise.
15656         * text2.C: Likewise.
15657
15658 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * lyxfind.C (LyXReplace): do not redefine default argument in
15661         implementation.
15662         (IsStringInText): ditto
15663         (SearchForward): ditto
15664         (SearchBackward): ditto
15665
15666 2001-03-06  Juergen Vigna  <jug@sad.it>
15667
15668         * lyxfind.C (IsStringInText): put parentes around expressions.
15669
15670 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15671
15672         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15673
15674 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15675
15676         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15677
15678         * stl_string_fwd.h: add comment
15679
15680         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15681
15682         * tabular.h:
15683         * tabular.C: remove unused DocBook methods
15684
15685         * intl.C:
15686         * language.C:
15687         * paragraph.C:
15688         * buffer.C:
15689         killed DO_USE_DEFAULT_LANGUAGE
15690
15691 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * lyx_gui.C: do not include language.h.
15694
15695         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15696         arguments in function implementation.
15697
15698 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15699
15700         * BufferView_pimpl.C: add <ctime>
15701
15702 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15703
15704         * BufferView_pimpl.C: add using std::find_if
15705
15706 2001-02-27  José Matos  <jamatos@fep.up.pt>
15707
15708         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15709         by OnlyPath.
15710
15711 2001-02-11  José Matos  <jamatos@fep.up.pt>
15712
15713         * buffer.C (makeDocBookFile): command styles now have a parameter as
15714         "title" by default.
15715
15716 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15717
15718         * layout_forms.[Ch]: removed
15719         * lyx_cb.[Ch]: out character
15720         * lyx_gui.C: out character
15721         * lyx_gui_misc.C: out character
15722         * bufferview_funcs.C: : out character,
15723         added toggleall as parameter in ToggleAndShow
15724
15725 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15726
15727         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15728
15729         * text2.C (SetCurrentFont): Disable number property at boundary.
15730
15731 2001-02-26  Juergen Vigna  <jug@sad.it>
15732
15733         * lyxfunc.C (getStatus): added a string argument override function so
15734         that this is correctly called from LyXFunc::Dispatch if it contains a
15735         do_not_use_argument which is used!
15736         (Dispatch): added check for "custom" export and call appropriate func.
15737
15738 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * lyxrc.C: Add language_command_local, language_use_babel and
15741         language_global_options.
15742
15743         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15744
15745         * buffer.C (makeLaTeXFile): Use language_use_babel and
15746         language_global_options.
15747
15748 2001-02-23  Juergen Vigna  <jug@sad.it>
15749
15750         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15751         which works with LyXText and putted it inside BufferView. Here now we
15752         only call for that part the BufferView::Dispatch() function.
15753
15754         * BufferView.C (Dispatch): added.
15755
15756         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15757         functions which needs to use a LyXText over from LyXFunc.
15758         (MenuInsertLyXFile): added
15759         (getInsetByCode): added
15760         (moveCursorUpdate): added
15761         (static TEXT): added
15762
15763 2001-02-22  Juergen Vigna  <jug@sad.it>
15764
15765         * BufferView_pimpl.C (update): call a status update to see if LyXText
15766         needs it.
15767
15768 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15769
15770         * vc-backend.C (revert): implement for CVS
15771         (getLog): implement for CVS
15772
15773 2001-02-20  Juergen Vigna  <jug@sad.it>
15774
15775         * text2.C (ClearSelection): added BufferView param for inset_owner call
15776
15777         * lyxfunc.C (TEXT): added this function and use it instead of
15778         directly owner->view()-text of getLyXText().
15779
15780 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15781
15782         * src/layout_forms.C: out preamble
15783         * src/layout_forms.h: out preamble
15784         * src/lyx_cb.C: out preamble
15785         * src/lyx_cb.h: out preamble
15786         * src/lyx_gui.C: out preamble
15787         * src/lyx_gui_misc.C: out preamble
15788         * src/lyxfunc.C: connect with guii preamble
15789
15790 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15793
15794 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15795
15796         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15797         whether to run bibtex.
15798
15799 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15802
15803 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15804
15805         * Makefile.am (lyx_SOURCES): removed bibforms.h
15806
15807         * vspace.h: doxygen
15808
15809         * text.C (GetVisibleRow): make several local vars const
15810
15811         * tabular.C: small cleanup.
15812
15813         * lyxserver.C (callback): use compare instead of strncmp
15814
15815         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15816         inlines to after class or to paragraph.C
15817
15818         * lyxfont.h: remove friend operator!=
15819
15820         * converter.h: move friend bool operator< to non friend and after
15821         class def.
15822
15823         * combox.h: small cleanup
15824
15825         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15826         to inlines after class def.
15827
15828         * buffer.C (pop_tag): use string operations instead of strcmp
15829
15830         * bmtable.c: doxygen, small cleanup
15831
15832         * LaTeX.h: remove friend operator==
15833
15834 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15835
15836         * screen.C:
15837         * lyxrc.[Ch]:
15838         * lyxfunc.C:
15839         * lyxfont.[Ch]:
15840         * lyx_cb.C:
15841         * intl.[Ch]:
15842         * commandtags.h:
15843         * buffer.C:
15844         * WorkArea.[Ch]:
15845         * LyXAction.C:
15846         * BufferView_pimpl.C:
15847         * BufferView.[Ch]: remove cruft
15848
15849 2001-02-14  Juergen Vigna  <jug@sad.it>
15850
15851         * lyxfunc.C: removed #if 0 unused code
15852
15853         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15854
15855         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15856
15857         * text2.C (SetSelection): added a BufferView * parameter
15858
15859 2001-02-13  Juergen Vigna  <jug@sad.it>
15860
15861         * lyxfunc.C (Dispatch): fixed protected blank problem.
15862         * BufferView2.C (protectedBlank): added LyxText * parameter.
15863
15864         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15865         (AppendColumn): same as above for column_info.
15866
15867         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15868         (moveCursorUpdate): use a LyXText param for support of InsetText.
15869
15870         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15871         (tripleClick): ditto
15872
15873         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15874
15875         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15876
15877         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15878
15879         * text2.C (SetSelection): set correct update status if inset_owner
15880         (ToggleFree): ditto
15881
15882 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15883
15884         * tabular.C: remove some commented code.
15885
15886 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15887
15888         * BufferView_pimpl.C: call hideSplash()
15889
15890         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15891
15892         * include_form.h:
15893         * bibforms.h: remove
15894
15895         * lyxfunc.C:
15896         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15897           add LFUN_CHILD_CREATE
15898
15899         * counters.h: fix tiny typo
15900
15901         * lyx_cb.C:
15902         * lyx.h:
15903         * lyx_gui.C:
15904         * lyx.C: move splash to frontends/xforms/
15905
15906         * lyx_gui_misc.C: move Include and Bibform to frontends
15907
15908         * lyxvc.h: clarify comment
15909
15910         * vspace.C: tiny housekeeping
15911
15912 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15913
15914         * text.C (PrepareToPrint): RTL Fix.
15915
15916         * paragraph.C (GetUChar): New method.
15917         (String):  Use GetUChar.
15918
15919         * buffer.C (asciiParagraph): Use GetUChar.
15920
15921 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15922
15923         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15924
15925 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15926
15927         * buffer.h:
15928         * buffer.C: rename to getLogName(), handle
15929           build log / latex log nicely
15930
15931 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * MenuBackend.C:
15934         * MenuBackend.h: remove support for reference menuitem type.
15935
15936 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15937
15938         * BufferView_pimpl.C: housekeeping
15939         * BufferView_pimpl.h:
15940         * LyXView.h:
15941         * Makefile.am:
15942         * Timeout.C:
15943         * Timeout.h:
15944         * minibuffer.h: move Timeout GUI-I
15945
15946 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15947
15948         * lyxrc.C (read): Update converters data-structures.
15949
15950 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15951
15952         * LaTeX.h (operator!=): add operator != for Aux_Info
15953
15954 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15957
15958         * LaTeXLog.C: deleted, useful code moved to Buffer
15959
15960         * buffer.h:
15961         * buffer.C: new function getLatexLogName()
15962
15963         * lyx_gui_misc.C:
15964         * lyx_gui.C:
15965         * lyxvc.C:
15966         * lyxvc.h:
15967         * lyxfunc.C: use frontends for LaTeX and VC logs
15968
15969 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15970
15971         * LaTeX.h: yet another std:: that Allan forgot.
15972
15973         * Variables.C (set): renamed from isset(), because this clashes
15974         with some HP-UX macros (grr).
15975
15976 2001-02-06  Allan Rae  <rae@lyx.org>
15977
15978         * LaTeX.h: Another bug fix.  Missing std:: this time.
15979
15980 2001-02-04  Allan Rae  <rae@lyx.org>
15981
15982         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15983         floats problem. I've left it commented out because it's not quite
15984         correct.  It should also test that the current object is a table or
15985         figure inset.  But I haven't gotten around to figuring out how to do
15986         that.  I *think* it'll be something like: "table" == inset.type()
15987
15988         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15989         bool.
15990
15991 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15992
15993         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15994         all the citation/databases/styles in the auxilary file.
15995         (run): Rerun latex if there was a babel language error.
15996
15997 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15998
15999         * text.C (Backspace): Preserve the font when changing newline char
16000         with a space.
16001         (BreakParagraph): If the cursor is before a space, delete the space.
16002
16003         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16004
16005 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16006
16007         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16008         new argument (code).
16009         (ChangeCitationsIfUnique): New method.
16010
16011         * paragraph.C (GetPositionOfInset): Handle bibkey.
16012
16013 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16014
16015         * BufferView_pimpl.h: change type of Position::par_pos to
16016         LyXParagraph::size_type.
16017
16018 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16019
16020         * BufferView_pimpl.C (savePosition, restorePosition): Write
16021         messages to minibuffer.
16022
16023 2001-01-28  José Matos  <jamatos@fep.up.pt>
16024
16025         * buffer.C (makeDocBookFile): adds support for document language.
16026         A silly restriction on the name of LatexCommand types where removed.
16027         Added support for CDATA sections, allows to chars unescaped, used
16028         among others in code, to avoid escape < and >.
16029
16030 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16033         saved positions instrad of a stack. Furthermore, a position is
16034         stored using paragraph id/paragraph position.
16035
16036         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16037         Remove LFUN_REF_BACK.
16038
16039 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16040
16041         * converter.C (dvipdfm_options): New method.
16042
16043 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16044
16045         * vspace.C (isValidLength): Fix for empty input string.
16046
16047 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * LyXAction.C (init): change description of LFUN_FIGURE to
16050         "Insert Graphics"
16051
16052 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16053
16054         * LaTeX.C: add using directive
16055
16056 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16057
16058         * MenuBackend.C (expand): Fix the sorting of the formats.
16059
16060 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16061
16062         * lyx_main.C: tiny error message fix
16063
16064 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16067         calling fl_initialize(). This fixes the problem with ',' as
16068         decimal separator in text files.
16069
16070 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16071
16072         * trans.C (process): Fix the keymap bug.
16073
16074 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * LaTeX.C (scanAuxFiles): New method. Provides support for
16077         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16078         (scanLogFile) Scan for "run BibTeX" messages.
16079
16080         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16081         OT1 font encoding. Also, load the aecompl package if the ae
16082         package is loaded.
16083
16084         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16085
16086 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16087
16088         * texrow.C (increasePos): turn two error messages into debug
16089         messages.
16090
16091 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16092
16093         * LaTeX.C (scanAux): Handle the \@input macro.
16094         (runBibTeX): Use scanAux().
16095
16096         * language.C (latex_options_): New field.
16097
16098         * LaTeXFeatures.C (getMacros): Add language macros.
16099
16100         * buffer.C (makeLaTeXFile): Small fix.
16101
16102 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16105
16106         * text2.C: add a using directive.
16107
16108 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16109
16110         * BufferView2.C:
16111         * lyx_gui_misc.h:
16112         * lyxfr1.C:
16113         * lyxfunc.C: kill LyXBell.
16114
16115 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16116
16117         * text.C (IsBoundary): Remove the error message
16118
16119         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16120
16121         * lyxrc.C (setDefaults): Correct initialization value for
16122         font_norm_type.
16123
16124 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16125
16126         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16127         gotoError().
16128
16129         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16130         and GotoNextNote().
16131
16132         * src/LyXAction.C: Added reference-next.
16133
16134         * text.C (InsertChar): Use contains instead of strchr.
16135
16136         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16137
16138 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16139
16140         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16141         alignment commands (when needed).
16142
16143         * text.C (InsertChar): Add ':' to number separator chars.